class LayoutTileSource[K] extends AnyRef

Reads tiles by key from a RasterSource as keyed by a LayoutDefinition

Note

It is required that the RasterSource is pixel aligned with the LayoutDefinition

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LayoutTileSource
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LayoutTileSource(source: RasterSource, layout: LayoutDefinition, tileKeyTransform: (SpatialKey) ⇒ K)(implicit arg0: SpatialComponent[K])

    source

    raster source that can be queried by bounding box

    layout

    definition of a tile grid over the pixel grid

    tileKeyTransform

    defines the key transformation you want to apply to the spatially tiled data

Value Members

  1. def keyedRasterRegions(): Iterator[(K, RasterRegion)]

    All intersecting RasterRegions with their respective keys

  2. def keys: Set[K]

    Set of keys that can be read from this tile source

  3. val layout: LayoutDefinition
  4. def rasterRegionForKey(key: K): Option[RasterRegion]
  5. def read(key: K, bands: Seq[Int]): Option[MultibandTile]

    Read tile according to key.

    Read tile according to key. If tile area intersects source partially the non-intersecting pixels will be filled with NODATA. If tile area does not intersect source None will be returned.

  6. def read(key: K): Option[MultibandTile]
  7. def readAll(): Iterator[(K, MultibandTile)]

    Read all available tiles

  8. def readAll(keys: Iterator[K]): Iterator[(K, MultibandTile)]
  9. def readAll(keys: Iterator[K], bands: Seq[Int]): Iterator[(K, MultibandTile)]

    Read multiple tiles according to key.

    Read multiple tiles according to key. If each tile area intersects source partially the non-intersecting pixels will be filled with NODATA. If tile area does not intersect source it will be excluded from result iterator.

  10. val source: RasterSource
  11. def sourceColOffset: Long
  12. def sourceRowOffset: Long
  13. val tileKeyTransform: (SpatialKey) ⇒ K