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
Ordering
- Alphabetic
- By Inheritance
Inherited
- MapKeyTransform
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(col: Int, row: Int): Extent
- def apply(key: SpatialKey): Extent
- def apply[K](key: K)(implicit arg0: SpatialComponent[K]): Extent
- def apply(x: Double, y: Double): SpatialKey
- def apply(p: Point): SpatialKey
- def apply(gridBounds: TileBounds): Extent
- def apply(otherExtent: Extent): TileBounds
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def boundsToExtent(gridBounds: TileBounds): Extent
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val extent: Extent
- def extentToBounds(otherExtent: Extent): TileBounds
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
keyToExtent(col: Int, row: Int): Extent
'col' and 'row' correspond to a SpatialKey column and row in some grid.
-
def
keyToExtent[K](key: K)(implicit arg0: SpatialComponent[K]): Extent
Get the Extent corresponding to a SpatialComponent of K in some zoom level.
-
def
keyToExtent(key: SpatialKey): Extent
Get the Extent corresponding to a SpatialKey in some zoom level.
-
def
keysForGeometry[G <: Geometry](g: G): Set[SpatialKey]
For some given Geometry, find the unique SpatialKeys for all Tile extents that it touches.
- val layoutCols: Int
- val layoutRows: Int
- def multiLineToKeys(multiLine: MultiLineString): Set[SpatialKey]
- def multiPolygonToKeys(multiPolygon: MultiPolygon): Set[SpatialKey]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
pointToKey(x: Double, y: Double): SpatialKey
Fetch the SpatialKey that corresponds to some coordinates in some CRS on the Earth.
-
def
pointToKey(p: Point): SpatialKey
Fetch the SpatialKey that corresponds to some coordinates in some CRS on the Earth.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- lazy val tileHeight: Double
- lazy val tileWidth: Double
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()