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, <https://orcid.org/0000-0002-2136-0000>), Michael Sumner [cre, ctb] (<https://orcid.org/0000-0002-2471-7511>), Jeroen Ooms [ctb], Antoine Stevens [ctb], EcoHealth Alliance [cph], USAID PREDICT [fnd]
MaintainerMichael Sumner <mdsumner@gmail.com>
LicenseMIT + file LICENSE
Version1.1.0
URL https://github.com/ecohealthalliance/fasterize
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("fasterize")

Try the fasterize package in your browser

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

fasterize documentation built on Oct. 1, 2024, 5:06 p.m.