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

Package details

AuthorNoam Ross [aut] (Original author, <>), Michael Sumner [cre, ctb] (<>), Jeroen Ooms [ctb], Antoine Stevens [ctb], EcoHealth Alliance [cph], USAID PREDICT [fnd]
MaintainerMichael Sumner <>
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 Nov. 5, 2023, 9:06 a.m.