trait CellFeatures[R, D] extends AnyRef
Type class to convert a raster into features of cell geometries
- Alphabetic
- By Inheritance
- CellFeatures
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
cellFeatures[G <: Geometry](raster: R, geom: Geometry, options: Options, cellGeom: (Long, Long) ⇒ G): Iterator[Feature[G, D]]
Given a geometry, produce an iterator of cell features intersecting this geometry.
Given a geometry, produce an iterator of cell features intersecting this geometry. Relating geometry to raster cell grid is rasterization, options for this are given. The call will decide how each cell will be represented as geometry (Point, Polygon)
- raster
source of cell values
- geom
geometry filter, only cells under this geometry will be returned
- options
rasterizer options that specify which cells should be considered as intersection geom
- cellGeom
function that converts a cell, specified by column and row into geometry (Point, Polygon)
- Note
This method returns an Iterator because the feature representation of raster will require significantly more memory and it may not be possible to hold all features from a "large" raster tile in memory. It is assumed that either filter, fold or sink will be the next step.
,Conceptually rasterisation must happen but it is left to interface implementer to decide how to do it. Potentially the raster will need to be read in chunks.
-
abstract
def
cellGrid(raster: R): GridExtent[Long]
Describe cell grid of the source raster
Concrete 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
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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()