Description
API bindings to the Geospatial Data Abstraction Library ('GDAL', <https://gdal.org>). Implements the 'GDAL' Raster and Vector Data Models. Bindings are implemented with 'Rcpp' modules. Exposed C++ classes and stand-alone functions wrap much of the 'GDAL' API and provide additional functionality. Calling signatures resemble the native C, C++ and Python APIs provided by the 'GDAL' project. Class 'GDALRaster' encapsulates a 'GDALDataset' and its raster band objects. Class 'GDALVector' encapsulates an 'OGRLayer' and the 'GDALDataset' that contains it. Initial bindings are provided to the unified 'gdal' command line interface added in 'GDAL' 3.11. C++ stand-alone functions provide bindings to most 'GDAL' "traditional" raster and vector utilities, including 'OGR' facilities for vector geoprocessing, several algorithms, as well as the Geometry API ('GEOS' via 'GDAL' headers), the Spatial Reference Systems API, and methods for coordinate transformation. Bindings to the Virtual Systems Interface ('VSI') API implement standard file system operations abstracted for URLs, cloud storage services, 'Zip'/'GZip'/'7z'/'RAR', in-memory files, as well as regular local file systems. This provides a single interface for operating on file system objects that works the same for any storage backend. A custom raster calculator evaluates a user-defined R expression on a layer or stack of layers, with pixel x/y available as variables in the expression. Raster 'combine()' identifies and counts unique pixel combinations across multiple input layers, with optional raster output of the pixel-level combination IDs. Basic plotting capability is provided for raster and vector display. 'gdalraster' leans toward minimalism and the use of simple, lightweight objects for holding raw data. Currently, only minimal S3 class interfaces have been implemented for selected R objects that contain spatial data. 'gdalraster' may be useful in applications that need scalable, low-level I/O, or prefer a direct 'GDAL' API.
Downloads
1.3K
Last 30 days
3250th
4.2K
Last 90 days
17.1K
Last year
Trend: -14.9% (30d vs prior 30d)
25
Last 30 days
192
Last 90 days
786
Last year
Trend: -67.5% (30d vs prior 30d)
0
Last 7 days
11
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
390
Last 30 days
1.5K
Last 90 days
6.9K
Last year
Trend: -60.3% (30d vs prior 30d)
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
for unstated dependencies in examples
Warning in file(out, "wt") : cannot open file '/tmp/Rtmpys3qQn/file14233934813ff8/vsi_get_actual_url.R': No space left on device Error in file(out, "wt") : cannot open the connection Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 12, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE May 11, 2026
PDF version of manual
LaTeX errors when creating PDF version. This typically indicates Rd problems. LaTeX errors found:
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
installed package size
installed size is 79.6Mb
sub-directories of 1Mb or more:
extdata 2.0Mb
libs 75.5Mb
installed package size
installed size is 82.0Mb
sub-directories of 1Mb or more:
extdata 2.0Mb
libs 77.8Mb
installed package size
installed size is 111.0Mb
sub-directories of 1Mb or more:
extdata 2.0Mb
gdal 3.0Mb
libs 94.9Mb
proj 9.0Mb
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
whether package can be installed
Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/gdalraster.Rcheck/00install.out' for details.
installed package size
installed size is 79.6Mb
sub-directories of 1Mb or more:
extdata 2.0Mb
libs 75.5Mb
installed package size
installed size is 82.0Mb
sub-directories of 1Mb or more:
extdata 2.0Mb
libs 77.8Mb
installed package size
installed size is 111.0Mb
sub-directories of 1Mb or more:
extdata 2.0Mb
gdal 3.0Mb
libs 94.9Mb
proj 9.0Mb
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
installed package size
installed size is 79.6Mb
sub-directories of 1Mb or more:
extdata 2.0Mb
libs 75.5Mb
installed package size
installed size is 82.0Mb
sub-directories of 1Mb or more:
extdata 2.0Mb
libs 77.9Mb
installed package size
installed size is 110.9Mb
sub-directories of 1Mb or more:
extdata 2.0Mb
gdal 3.0Mb
libs 94.8Mb
proj 9.0Mb
Code
Structure
Lines of code
76,332
Files
291
Compiled share
38.4%
Has compiled src
Yes
Language breakdown
API
Exported functions
228
Internal functions
125
Testing & CI
Has tests
Yes
Test-to-code ratio
0.52
testthat edition
3
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
–
\dontrun example ratio
2.5%
Roxygen coverage
–
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
50%
Unsafe pattern score
8
Dep constraint coverage
7.7%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
4.2.0
System requirements
3
C++ standard
C++17
License
MIT + file LICENSE
License flags
SPDX valid, OSI approved
History
Versions
22
First release
2023-05-24
Latest release
2026-05-16
Avg cadence
33 days
Cold removal rate
–
Dep drift
11
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.