fasterize: Fast Polygon to Raster Conversion

Provides a drop-in replacement for rasterize() from the 'raster' package that takes polygon vector or data frame 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.5
Depends: R (≥ 3.3.0)
Imports: Rcpp, raster (≥ 2.8-3), wk
LinkingTo: Rcpp, RcppArmadillo
Suggests: testthat, microbenchmark, knitr, rmarkdown, sf, spelling, geos
Published: 2023-11-05
DOI: 10.32614/CRAN.package.fasterize
Author: Noam Ross ORCID iD [aut] (Original author), 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
Language: en-US
Materials: NEWS
CRAN checks: fasterize results


Reference manual: fasterize.pdf
Vignettes: Using Fasterize


Package source: fasterize_1.0.5.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): fasterize_1.0.5.tgz, r-oldrel (arm64): fasterize_1.0.5.tgz, r-release (x86_64): fasterize_1.0.5.tgz, r-oldrel (x86_64): fasterize_1.0.5.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.