fasterize: Fast Polygon to Raster Conversion

Provides a drop-in replacement for rasterize() from the 'raster' package that takes 'sf'-type objects, and is much faster. There is support for the main options provided by the rasterize() function, including setting the field used and background value, and options for aggregating multi-layer rasters. Uses the scan line algorithm attributed to Wylie et al. (1967) <doi:10.1145/1465611.1465619>.

Package details

AuthorNoam Ross [aut, cre] (<>), Michael Sumner [ctb] (<>), EcoHealth Alliance [cph]
MaintainerNoam Ross <[email protected]>
LicenseMIT + file LICENSE
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the fasterize package in your browser

Any scripts or data that you put into this service are public.

fasterize documentation built on March 22, 2018, 5:04 p.m.