Calculate value from raster cell under a point feature using provided function.
Calculate value from raster cell under a point feature using provided function.
This method follows the general pattern of the feature aggregation methods, even though a point only covers a single raster cell.
Perform a zonal summary by invoking a function on each cell under provided features.
Perform a zonal summary by invoking a function on each cell under provided features.
This function is a closure that returns Unit; all results are a side effect of this function.
Note: the function f should modify a mutable variable as a side effect. While not ideal, this avoids the unavoidable boxing that occurs when a Function3 returns a primitive value.
Feature for calculation
RasterExtent to use for iterating through cells
A function that takes (col:Int, row:Int, rasterValue:Int, feature:Feature)
lines
Apply function f to every cell contained within MultiLineString.
Apply function f to every cell contained within MultiLineString.
MultiLineString used to define zone
RasterExtent used to determine cols and rows
Function to apply: f(cols,row,feature)
Apply function f to every cell contained with MultiPolygon.
Apply function f to every cell contained with MultiPolygon.
MultiPolygon used to define zone
RasterExtent used to determine cols and rows
Function to apply: f(cols,row,feature)
Invoke a function on raster cells under a point feature.
Invoke a function on raster cells under a point feature.
The function f is a closure that should alter a mutable variable by side effect (to avoid boxing).
Invoke a function on each point in a sequences of Points.
Apply function f(col,row,feature) to every cell contained within polygon.
Apply function f(col,row,feature) to every cell contained within polygon.
Polygon used to define zone
RasterExtent used to determine cols and rows
Function to apply: f(cols,row,feature)
Create a raster from a geometry feature.
Create a raster from a geometry feature.
Feature to rasterize
Definition of raster to create
Function that takes col, row, feature and returns value to burn
Create a raster from a geometry feature.
Create a raster from a geometry feature.
Feature to rasterize
Definition of raster to create
Function that returns single value to burn