trait KeyedCellValueFeatureRDDRasterizeMethods[G <: Geometry] extends MethodExtensions[RDD[(SpatialKey, Feature[G, CellValue])]]
Extension methods for invoking the rasterizer on RDD of Feature objects keyed by the associated spatial key(s) and having CellValue data
- Alphabetic
- By Inheritance
- KeyedCellValueFeatureRDDRasterizeMethods
- MethodExtensions
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
self: RDD[(SpatialKey, 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 keyed by the associated spatial key(s) into a tiled raster RDD.
Rasterize an RDD of Feature objects keyed by the associated spatial key(s) 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