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
- Alphabetic
- By Inheritance
- LayoutTileSource
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
-
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
keyedRasterRegions(): Iterator[(K, RasterRegion)]
All intersecting RasterRegions with their respective keys
-
def
keys: Set[K]
Set of keys that can be read from this tile source
- val layout: LayoutDefinition
-
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 rasterRegionForKey(key: K): Option[RasterRegion]
-
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.
- def read(key: K): Option[MultibandTile]
-
def
readAll(): Iterator[(K, MultibandTile)]
Read all available tiles
- def readAll(keys: Iterator[K]): Iterator[(K, MultibandTile)]
-
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.
- val source: RasterSource
- def sourceColOffset: Long
- def sourceRowOffset: Long
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tileKeyTransform: (SpatialKey) ⇒ K
-
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()