fasterize

From MaRDI portal
Software:1353627



swMATH41522CRANfasterizeMaRDI QIDQ1353627

Fast Polygon to Raster Conversion

Noam Ross

Last update: 5 November 2023

Copyright license: MIT license, File License

Software version identifier: 1.0.4, 1.0.0, 1.0.2, 1.0.3, 1.0.5


Source code repository: https://github.com/cran/fasterize

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