Packages

o

geotrellis.spark.summary.polygonal

RDDPolygonalSummary

object RDDPolygonalSummary

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

Value Members

  1. 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

  2. object ops extends ToRDDPolygonalSummaryMethods