t

geotrellis.spark.rasterize

KeyedFeatureRDDRasterizeMethods

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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KeyedFeatureRDDRasterizeMethods
  2. MethodExtensions
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def self: RDD[(SpatialKey, Feature[G, Double])]
    Definition Classes
    MethodExtensions

Concrete Value Members

  1. 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