class MapKeyTransform extends Serializable

Transforms between geographic map coordinates and spatial keys. Since geographic point can only be mapped to a grid tile that contains that point, transformation from Extent to GridBounds to Extent will likely not produce the original geographic extent, but a larger one.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MapKeyTransform
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MapKeyTransform(extent: Extent, layoutCols: Int, layoutRows: Int)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(col: Int, row: Int): Extent
  5. def apply(key: SpatialKey): Extent
  6. def apply[K](key: K)(implicit arg0: SpatialComponent[K]): Extent
  7. def apply(x: Double, y: Double): SpatialKey
  8. def apply(p: Point): SpatialKey
  9. def apply(gridBounds: TileBounds): Extent
  10. def apply(otherExtent: Extent): TileBounds
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def boundsToExtent(gridBounds: TileBounds): Extent
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. val extent: Extent
  17. def extentToBounds(otherExtent: Extent): TileBounds
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def keyToExtent(col: Int, row: Int): Extent

    'col' and 'row' correspond to a SpatialKey column and row in some grid.

  23. def keyToExtent[K](key: K)(implicit arg0: SpatialComponent[K]): Extent

    Get the Extent corresponding to a SpatialComponent of K in some zoom level.

  24. def keyToExtent(key: SpatialKey): Extent

    Get the Extent corresponding to a SpatialKey in some zoom level.

  25. def keysForGeometry[G <: Geometry](g: G): Set[SpatialKey]

    For some given Geometry, find the unique SpatialKeys for all Tile extents that it touches.

  26. val layoutCols: Int
  27. val layoutRows: Int
  28. def multiLineToKeys(multiLine: MultiLineString): Set[SpatialKey]
  29. def multiPolygonToKeys(multiPolygon: MultiPolygon): Set[SpatialKey]
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. def pointToKey(x: Double, y: Double): SpatialKey

    Fetch the SpatialKey that corresponds to some coordinates in some CRS on the Earth.

  34. def pointToKey(p: Point): SpatialKey

    Fetch the SpatialKey that corresponds to some coordinates in some CRS on the Earth.

  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. lazy val tileHeight: Double
  37. lazy val tileWidth: Double
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped