object RasterizeRDD
- Alphabetic
- By Inheritance
- RasterizeRDD
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
fromFeature[G <: Geometry](features: RDD[Feature[G, Double]], 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 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
-
def
fromFeatureWithZIndex[G <: Geometry](features: RDD[Feature[G, CellValue]], cellType: CellType, layout: LayoutDefinition, options: Options = Rasterizer.Options.DEFAULT, partitioner: Option[Partitioner] = None, zIndexCellType: CellType = ByteConstantNoDataCellType): 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
-
def
fromGeometry[G <: Geometry](geoms: RDD[G], 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 into a tiled raster RDD.
Rasterize an RDD of Geometry objects 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
-
def
fromKeyedFeature[G <: Geometry](features: RDD[(SpatialKey, Feature[G, Double])], 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
-
def
fromKeyedFeatureWithZIndex[G <: Geometry](features: RDD[(SpatialKey, Feature[G, CellValue])], cellType: CellType, layout: LayoutDefinition, options: Options = Rasterizer.Options.DEFAULT, partitioner: Option[Partitioner] = None, zIndexCellType: CellType = ByteConstantNoDataCellType): 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
-
def
fromKeyedGeometry[G <: Geometry](geoms: RDD[(SpatialKey, G)], 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