software.uncharted.salt.core.projection.numeric

MercatorProjection

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MercatorProjection(min: (Double, Double) = ..., max: (Double, Double) = ..., tms: Boolean = true)

    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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val _internalMaxX: Double

  7. val _internalMaxY: Double

  8. val _internalMinX: Double

  9. val _internalMinY: Double

  10. final def asInstanceOf[T0]: T0

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

    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
  12. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  22. val piOver180: Double

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

    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

    z

    the zoom level

    maxBin

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

    returns

    Some[(TC, Int)] representing the tile coordinate and bin index if the given row is within the bounds of the viz. None otherwise.

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

    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    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