Class/Object

geotrellis.spark.tiling

MapKeyTransform

Related Docs: object MapKeyTransform | package tiling

Permalink

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)

    Permalink

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. def apply(col: Int, row: Int): Extent

    Permalink
  5. def apply(key: SpatialKey): Extent

    Permalink
  6. def apply(x: Double, y: Double): SpatialKey

    Permalink
  7. def apply(p: Point): SpatialKey

    Permalink
  8. def apply(gridBounds: GridBounds): Extent

    Permalink
  9. def apply(otherExtent: Extent): GridBounds

    Permalink
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def boundsToExtent(gridBounds: GridBounds): Extent

    Permalink
  12. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. val extent: Extent

    Permalink
  16. def extentToBounds(otherExtent: Extent): GridBounds

    Permalink
  17. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  21. def keyToExtent(col: Int, row: Int): Extent

    Permalink

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

  22. def keyToExtent(key: SpatialKey): Extent

    Permalink

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

  23. val layoutCols: Int

    Permalink
  24. val layoutRows: Int

    Permalink
  25. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  28. def pointToKey(x: Double, y: Double): SpatialKey

    Permalink

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

  29. def pointToKey(p: Point): SpatialKey

    Permalink

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

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. lazy val tileHeight: Double

    Permalink
  32. lazy val tileWidth: Double

    Permalink
  33. def toString(): String

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

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

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

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

Deprecated Value Members

  1. def apply[K](key: K)(implicit arg0: SpatialComponent[K]): Extent

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.2) Use this instead: MapKeyTransform.keyToExtent(key.getComponent[SpatialKey])

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped