gdalraster: Bindings to the 'Geospatial Data Abstraction Library' Raster API

Interface to the raster API of the 'Geospatial Data Abstraction Library' ('GDAL') supporting manual creation of uninitialized datasets, creation from existing raster as template, low level I/O, configuration of virtual raster (VRT), coordinate transformation, and access to 'gdalwarp' for reprojection. Convenience functions facilitate working with spatial reference systems. Calling signatures resemble the native C, C++ and Python APIs provided by the 'GDAL' project (<>). Bindings to 'GDAL' are implemented in class 'GDALRaster' along with several stand-alone functions. Additional functionality includes: class 'RunningStats' for efficient summary statistics on large data streams; class 'CmbTable' for counting unique combinations of integer values with a hash table; a raster overlay utility to identify and count unique combinations across multiple inputs; and a calculation utility for evaluating an R expression on raster layers with pixel coordinates available as variables. 'gdalraster' may be suitable for applications that primarily need low-level raster I/O, explicit manipulation of VRT format, or prefer native 'GDAL'-like calling. Additional functionality is somewhat aimed at thematic data analysis but may have other utility.

Version: 1.2.0
Depends: R (≥ 4.2.0)
Imports: methods, tools, utils, Rcpp (≥ 1.0.7)
LinkingTo: Rcpp
Suggests: xml2
Published: 2023-05-28
Author: Chris Toney [aut, cre], Frank Warmerdam [ctb, cph] (GDAL API/documentation; src/progress_r.cpp from /gdal/port/cpl_progress.cpp), Even Rouault [ctb, cph] (GDAL API/documentation), Marius Appel [ctb, cph] ( based on, Daniel James [ctb, cph] (Boost combine hashes method), Peter Dimov [ctb, cph] (Boost combine hashes method)
Maintainer: Chris Toney <chris.toney at>
License: MIT + file LICENSE
Copyright: See file inst/COPYRIGHTS for details.
gdalraster copyright details
NeedsCompilation: yes
SystemRequirements: GDAL (>= 2.3.0, built against GEOS), PROJ (>= 4.8.0)
Citation: gdalraster citation info
Materials: README NEWS
CRAN checks: gdalraster results


Reference manual: gdalraster.pdf


Package source: gdalraster_1.2.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): gdalraster_1.2.0.tgz, r-oldrel (arm64): gdalraster_1.2.0.tgz, r-release (x86_64): gdalraster_1.2.0.tgz, r-oldrel (x86_64): gdalraster_1.2.0.tgz
Old sources: gdalraster archive

Reverse dependencies:

Reverse imports: FIESTA, FIESTAutils


Please use the canonical form to link to this page.