This function causes the function f to be called on each pixel that interacts with the polygon.
This function causes the function f to be called on each pixel that interacts with the polygon. The definition of the word "interacts" is controlled by the options parameter.
A polygon to rasterize
A raster extent to rasterize the polygon into
The options parameter controls whether to treat pixels as points or areas and whether to report partially-intersected areas.
Given a polygon and a raster extent, return an R-Tree (being used as an Interval Tree) containing the Segments -- in raster coordinates -- that comprise the boundary of the polygon.
Given a polygon and a raster extent, return an R-Tree (being used as an Interval Tree) containing the Segments -- in raster coordinates -- that comprise the boundary of the polygon.
A polygon
A raster extent
Object holding polygon rasterization functions.