trait KeyedGeometryRDDRasterizeMethods[G <: Geometry] extends MethodExtensions[RDD[(SpatialKey, G)]]
Extension methods for invoking the rasterizer on RDD of Geometry objects keyed by the associated spatial key(s).
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- KeyedGeometryRDDRasterizeMethods
- MethodExtensions
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
self: RDD[(SpatialKey, G)]
- Definition Classes
- MethodExtensions
Concrete Value Members
-
def
rasterize(value: Double, cellType: CellType, layout: LayoutDefinition, options: Options = Rasterizer.Options.DEFAULT, partitioner: Option[Partitioner] = None): RDD[(SpatialKey, Tile)] with Metadata[LayoutDefinition]
Rasterize an RDD of Geometry objects keyed by the associated spatial key(s) into a tiled raster RDD.
Rasterize an RDD of Geometry objects keyed by the associated spatial key(s) into a tiled raster RDD. Cells not intersecting any geometry will left as NODATA. Value will be converted to type matching specified CellType.
- value
Cell value for cells intersecting a geometry
- cellType
CellType for creating raster tiles
- layout
Raster layer layout for the result of rasterization
- options
Rasterizer options for cell intersection rules
- partitioner
Partitioner for result RDD