Skip to content

gdalraster

2.6.1

Bindings to 'GDAL'

6packages depend
16.5Kdownloads / year
74.7%test coverage
11/13checks pass

Overview

About
Maintained by Chris ToneyFirst published 2023-05-2422 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 23.9 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.52
74.7%
Coverage · measured lines
13
Dependencies · direct
Check history
  • NOTE2026-07-11
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-12
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-05-11
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 829 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
98%
Documented parameters
not tracked
Return-value docs
not tracked
References docs
1%

Downloads

16.5K
CRAN downloads in the past year
Rank #3,354 · ~45/day · ~1.4K/mo
Daily download trend is not available in this view yet.
81330 days
3.2K90 days
16.5K1 year
Compare downloads with other packages →
Also on787 r2u27 autocran7.1K conda_forge27 c2d4u

Repository

Repository
59Stars
10Forks
11Open issues
0Open PRs
22Releases
3,366Commits
9Contributors
gdalrasterr-packagerstatsgeospatialvectorgis
3,366 commits · Last activity 2026-08-23 · +1.7% stars, 30d

Stars over time

2025-07-15 · 472026-08-11 · 59

Repository practices

Upstream repositoryBeta

11 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/firelab/gdalraster on 2026-08-23.

Continuous integration (1)
GitHub Actions
Docs source (1)
README.Rmd
Automation and maintenance (1)
Dependabot
Lint, format, editor (4)
lintrEditorConfigVS CodeRStudio project
Show all practices
Coverage (1)
Codecov
Governance and community (1)
Security policy
Git structural (2)
.gitattributesblame-ignore revs
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.2.0
Imports (13)
bit64cligraphicsgrDevicesmethodsnanoarrowRcpp (>= 1.0.7)statstoolsutilswkxml2yyjsonr
Enhances (0)
none
Reverse dependencies
6direct
0indirect

Code & Tests

Datasets

People & History

People (8)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author · added in 1.11.0
Contributors (6)
Contributor, Copyright holder
Contributor, Copyright holder
Contributor, Copyright holder
Contributor, Copyright holder
Contributor, Copyright holder
Contributor · added in 2.5.0
Copyright holders (5)
Contributor, Copyright holder
Contributor, Copyright holder
Contributor, Copyright holder
Contributor, Copyright holder
Contributor, Copyright holder
Package Timeline

22 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 2.6.1Latest
    2026-05-16 · current release · diff ↗
  • 2.6.0
    2026-05-04 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 2.5.0
    2026-03-25 · diff ↗
  • 2.4.0
    2025-12-18 · diff ↗
  • 2.3.0
    2025-11-19 · diff ↗
  • 2.2.1
    2025-08-29 · diff ↗
  • 2.2.0
    2025-08-22 · diff ↗
  • 2.1.0
    2025-07-14 · diff ↗
  • 2.0.0
    2025-05-11 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.12.0
    2025-01-19 · diff ↗
  • 1.11.1
    2024-06-13 · diff ↗
  • 1.11.0
    2024-06-03 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.10.0
    2024-03-26 · diff ↗
Show 10 earlier events
  • 1.9.0
    2024-02-26 · diff ↗
  • 1.8.0
    2024-01-27 · diff ↗
  • 1.7.0
    2023-11-29 · diff ↗
  • 1.6.0
    2023-10-28 · diff ↗
  • 1.5.0
    2023-09-25 · diff ↗
  • 1.4.0
    2023-08-29 · diff ↗
  • 1.3.0
    2023-06-29 · diff ↗
  • 1.2.0
    2023-05-29 · diff ↗
  • 1.1.1
    2023-05-24
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-05-24
Total releases
22 / 3 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.2.0
Download size
3.2 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("gdalraster")
Toney, C., Appel, M., Dimov, P., James, D., Rouault, E., Sumner, M. D., Warmerdam, F., & de Vries, P. (2026). gdalraster: Bindings to 'GDAL' (Version 2.6.1) [Computer software]. https://doi.org/10.32614/CRAN.package.gdalraster

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for gdalraster version 2.6.1 [Data set]. HJJB, LLC. Data release v2026-08-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy