trait CellValueFeatureRDDRasterizeMethods[G <: Geometry] extends MethodExtensions[RDD[Feature[G, CellValue]]]
Extension methods for invoking the rasterizer on RDD of Feature objects with CellValue data.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- CellValueFeatureRDDRasterizeMethods
- MethodExtensions
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
self: RDD[Feature[G, CellValue]]
- Definition Classes
- MethodExtensions
Concrete Value Members
-
def
rasterize(cellType: CellType, layout: LayoutDefinition, options: Options = Rasterizer.Options.DEFAULT, partitioner: Option[Partitioner] = None): RDD[(SpatialKey, Tile)] with Metadata[LayoutDefinition]
Rasterize an RDD of Feature objects into a tiled raster RDD.
Rasterize an RDD of Feature objects into a tiled raster RDD. Cells not intersecting any geometry will left as NODATA. Feature value will be converted to type matching specified CellType. Z-Index from CellValue will be maintained per-cell during rasterization. A cell with greater zindex is always in front of a cell with a lower zinde.
- 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