object RDDPolygonalSummary
- Alphabetic
- By Inheritance
- RDDPolygonalSummary
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait RDDPolygonalSummaryMethods[R, T <: CellGrid[Int]] extends MethodExtensions[RDD[(SpatialKey, T)] with Metadata[TileLayerMetadata[SpatialKey]]]
- trait ToRDDPolygonalSummaryMethods extends AnyRef
Value Members
-
def
apply[R, T <: CellGrid[Int]](rasterRdd: RDD[(SpatialKey, T)] with Metadata[TileLayerMetadata[SpatialKey]], geometryRdd: RDD[Geometry], visitor: GridVisitor[Raster[T], R], options: Options)(implicit semigroupR: Semigroup[R], tagR: ClassTag[R]): RDD[Feature[Geometry, PolygonalSummaryResult[R]]]
Perform a polygonal summary over all geometries in geometryRdd using data from rasterRdd
Perform a polygonal summary over all geometries in geometryRdd using data from rasterRdd
Helper methods are provided in RDDPolygonalSummaryMethods which handle some common derived cases, such as only performing a summary for a single geometry across rasterRdd.
The provided visitor is cloned for each individual polygonal summary operation on each geometry in the input. Do not rely on private state within the passed visitor to persist to each summary operation.
- R
Type of the summary being performed
- T
Type of the Raster contained in rasterRdd
- options
Rasterizer.Options for this polygonal summary operation
- returns
An RDD containing each unique input geometry and it's summary result R
- object ops extends ToRDDPolygonalSummaryMethods