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


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.0.3 by Noam Ross, 2 years ago

Report a bug at

Browse source code at

Authors: Noam Ross [aut, cre] , Michael Sumner [ctb] , EcoHealth Alliance [cph] , USAID PREDICT [fnd]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports methods, Rcpp, raster, sp

Suggests testthat, microbenchmark, knitr, rmarkdown, sf

Linking to Rcpp, RcppArmadillo

System requirements: C++11

Imported by GapAnalysis, NLMR, SUNGEO, briskaR, ebirdst, naturaList, prioritizr, raceland, rasterDT, siland, tabularaster.

Suggested by, distanceto, reproducible, ursa.

See at CRAN