package tiling
This package is concerned with translation of coordinates or extents between geographic extents and the grid space represented by SpatialKey(col, row) coordinates, the layout that defines that grid space, as well as functionality for cutting tiles into a uniform grid space.
- Alphabetic
- By Inheritance
- tiling
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- implicit class CRSWorldExtent extends AnyRef
- class FloatingLayoutScheme extends LayoutScheme
- trait Implicits extends AnyRef
-
case class
LayoutDefinition(extent: Extent, tileLayout: TileLayout) extends GridExtent with Product with Serializable
Defines tiled raster layout
Defines tiled raster layout
- extent
extent covered by the layout tiles, could be greater than extent of data in the layer
- tileLayout
tile layout (tile cols, tile rows, tile pixel size)
- case class LayoutLevel(zoom: Int, layout: LayoutDefinition) extends Product with Serializable
-
trait
LayoutScheme extends Serializable
A LayoutScheme is something that provides LayoutLevels based on an integer id or an extent and cellsize.
A LayoutScheme is something that provides LayoutLevels based on an integer id or an extent and cellsize. The resolution of the tiles for the LayoutLevel returned will not necessarily match the CellSize provided, but an appropriately close selection will be made.
It also provides methods for next zoomed out tile layout level.
-
class
LocalLayoutScheme extends LayoutScheme
Layout scheme for building a local power of 2 pyramid.
Layout scheme for building a local power of 2 pyramid. Zooming out will reduce raster pixel resolution by 2, while using minimum number of tiles. Layouts produced by this scheme will not be power of 2 however. Uneven layouts will pyramid up until they are reduced to a single tile.
-
class
MapKeyTransform extends Serializable
Transforms between geographic map coordinates and spatial keys.
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.
- trait TilerKeyMethods[K1, K2] extends MethodExtensions[K1]
- class TilerMethods[K, V <: CellGrid] extends MethodExtensions[RDD[(K, V)]]
-
class
ZoomedLayoutScheme extends LayoutScheme
Layout for zoom levels based off of a power-of-2 scheme, used in Leaflet et al.
Value Members
- object CutTiles extends LazyLogging
- object FloatingLayoutScheme extends Serializable
- object Implicits extends Implicits
- object LayoutDefinition extends Serializable
- object LayoutLevel extends Serializable
- object LocalLayoutScheme extends Serializable
- object MapKeyTransform extends Serializable
- object Tiler
- object ZoomedLayoutScheme extends Serializable