trait KeyedFeatureRDDRasterizeMethods[G <: Geometry] extends MethodExtensions[RDD[(SpatialKey, Feature[G, Double])]]
Extension methods for invoking the rasterizer on RDD of Feature objects keyed by the associated spatial key(s).
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- KeyedFeatureRDDRasterizeMethods
- MethodExtensions
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
self: RDD[(SpatialKey, Feature[G, Double])]
- 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 data will be converted to type matching specified CellType. Feature rasterization order is undefined in this operation.
- 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