Class

software.uncharted.salt.core.projection.numeric

MercatorProjection

Related Doc: package numeric

Permalink

class MercatorProjection extends NumericProjection[(Double, Double), (Int, Int, Int), (Int, Int)]

A projection into 2D mercator (lon,lat) space

Linear Supertypes
NumericProjection[(Double, Double), (Int, Int, Int), (Int, Int)], Projection[(Double, Double), (Int, Int, Int), (Int, Int)], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MercatorProjection
  2. NumericProjection
  3. Projection
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MercatorProjection(zoomLevels: Seq[Int], min: (Double, Double) = (-180, -85.05112878), max: (Double, Double) = (180, 85.05112878), tms: Boolean = true)

    Permalink

    zoomLevels

    the TMS/WMS zoom levels to project into

    min

    the minimum value of a data-space coordinate (minLon, minLat)

    max

    the maximum value of a data-space coordinate (maxLon, maxLat)

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val _internalMaxX: Double

    Permalink
  5. val _internalMaxY: Double

    Permalink
  6. val _internalMinX: Double

    Permalink
  7. val _internalMinY: Double

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def binTo1D(bin: (Int, Int), maxBin: (Int, Int)): Int

    Permalink

    Project a bin index BC into 1 dimension for easy storage of bin values in an array

    Project a bin index BC into 1 dimension for easy storage of bin values in an array

    bin

    A bin index

    maxBin

    The maximum possible bin index (i.e. if your tile is 256x256, this would be (255,255))

    returns

    the bin index converted into its one-dimensional representation

    Definition Classes
    MercatorProjectionProjection
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. val max: (Double, Double)

    Permalink

    the maximum value of a data-space coordinate

    the maximum value of a data-space coordinate

    Definition Classes
    NumericProjection
  18. val min: (Double, Double)

    Permalink

    the minimum value of a data-space coordinate

    the minimum value of a data-space coordinate

    Definition Classes
    NumericProjection
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. val piOver180: Double

    Permalink
  23. def project(dCoords: Option[(Double, Double)], maxBin: (Int, Int)): Option[Seq[((Int, Int, Int), (Int, Int))]]

    Permalink

    Project a data-space coordinate into the corresponding tile coordinate and bin coordinate

    Project a data-space coordinate into the corresponding tile coordinate and bin coordinate

    maxBin

    The maximum possible bin index (i.e. if your tile is 256x256, this would be (255,255))

    returns

    Option[Traversable[(TC, Int)]] representing a series of tile coordinate/bin index pairs if the given source row is within the bounds of the viz. None otherwise.

    Definition Classes
    MercatorProjectionProjection
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from NumericProjection[(Double, Double), (Int, Int, Int), (Int, Int)]

Inherited from Projection[(Double, Double), (Int, Int, Int), (Int, Int)]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped