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

Version: 1.0.4
Depends: R (≥ 3.3.0)
Imports: methods, Rcpp, raster, sp
LinkingTo: Rcpp, RcppArmadillo
Suggests: testthat, microbenchmark, knitr, rmarkdown, sf, spelling
Published: 2022-12-06
Author: Noam Ross ORCID iD [aut], Michael Sumner ORCID iD [cre, ctb], Jeroen Ooms [ctb], Antoine Stevens [ctb], EcoHealth Alliance [cph], USAID PREDICT [fnd]
Maintainer: Michael Sumner <mdsumner at>
License: MIT + file LICENSE
NeedsCompilation: yes
SystemRequirements: C++11
Language: en-US
Materials: NEWS
CRAN checks: fasterize results


Reference manual: fasterize.pdf
Vignettes: Using Fasterize


Package source: fasterize_1.0.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): fasterize_1.0.4.tgz, r-oldrel (arm64): fasterize_1.0.4.tgz, r-release (x86_64): fasterize_1.0.4.tgz, r-oldrel (x86_64): fasterize_1.0.4.tgz
Old sources: fasterize archive

Reverse dependencies:

Reverse imports: BIEN, naturaList, rasterDT, siland, tabularaster
Reverse suggests: distanceto, ursa


Please use the canonical form to link to this page.