Bindings for the 'Geospatial' Data Abstraction Library

Provides bindings to the 'Geospatial' Data Abstraction Library ('GDAL') (>= 1.11.4) and access to projection/transformation operations from the 'PROJ' library. Please note that 'rgdal' will be retired during October 2023, plan transition to sf/stars/'terra' functions using 'GDAL' and 'PROJ' at your earliest convenience (see < https://r-spatial.org/r/2023/05/15/evolution4.html> and earlier blogs for guidance). Use is made of classes defined in the 'sp' package. Raster and vector map data can be imported into R, and raster and vector 'sp' objects exported. The 'GDAL' and 'PROJ' libraries are external to the package, and, when installing the package from source, must be correctly installed first; it is important that 'GDAL' < 3 be matched with 'PROJ' < 6. From 'rgdal' 1.5-8, installed with to 'GDAL' >=3, 'PROJ' >=6 and 'sp' >= 1.4, coordinate reference systems use 'WKT2_2019' strings, not 'PROJ' strings. 'Windows' and 'macOS' binaries (including 'GDAL', 'PROJ' and their dependencies) are provided on 'CRAN'.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rgdal")

1.6-7 by Roger Bivand, 3 years ago


http://rgdal.r-forge.r-project.org, https://gdal.org, https://proj.org, https://r-forge.r-project.org/projects/rgdal/


Browse source code at https://github.com/cran/rgdal


Authors: Roger Bivand [cre, aut] , Tim Keitt [aut] , Barry Rowlingson [aut, ctb] , Edzer Pebesma [ctb] , Michael Sumner [ctb] , Robert Hijmans [ctb] , Daniel Baston [ctb] , Even Rouault [cph, ctb] , Frank Warmerdam [cph, ctb] , Jeroen Ooms [ctb] , Colin Rundel [ctb]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports grDevices, graphics, stats, utils

Depends on methods, sp

Suggests knitr, DBI, RSQLite, maptools, mapview, rmarkdown, curl, rgeos

Linking to sp

System requirements: PROJ (>= 4.8.0, https://proj.org/download.html) and GDAL (>= 1.11.4, https://gdal.org/download.html), with versions either (A) PROJ < 6 and GDAL < 3 or (B) PROJ >= 6 and GDAL >= 3. For degraded PROJ 6 or 7 and GDAL < 3, use the configure argument '--with-proj_api="proj_api.h"'.


See at CRAN