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.4' library. The 'GDAL' and 'PROJ.4' libraries are external to the package, and, when installing the package from source, must be correctly installed first. From 'rgdal' 1.4-1, provision is made for 'PROJ6' accommodation, with 'PROJ6' functionality to follow; from 1.4-1 'rgdal' will build and function when 'PROJ' >= 6. From 'rgdal' 1.5-1, attempts are made to adapt the handling of coordinate reference systems to 'GDAL' 3 and 'PROJ' 6, using 'WKT2_2019' strings. Both 'GDAL' raster and 'OGR' vector map data can be imported into R, and 'GDAL' raster data and 'OGR' vector data exported. Use is made of classes defined in the 'sp' package. Windows and Mac Intel OS X binaries (including 'GDAL', 'PROJ.4' and 'Expat') 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.


1.5-8 by Roger Bivand, 10 days ago,,,

Browse source code at

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

Documentation:   PDF Manual  

Task views: Analysis of Spatial Data

GPL (>= 2) license

Imports grDevices, graphics, stats, utils

Depends on methods, sp

Suggests knitr, RSQLite, maptools, mapview

Linking to sp

System requirements: for building from source: GDAL >= 1.11.4, library from and PROJ.4 (proj >= 4.8.0) from, note that sqlite3 >= 3.11 is required by PROJ >= 6.0.0; GDAL OSX frameworks built by William Kyngesburye at may be used for source installs on OSX. For installation with older external dependencies, override configure checks with --configure-args="enable-deprecated=yes". Consider source installations using archived versions of rgdal contemporary with installed external dependencies, for example rgdal_0.8-7 for PROJ4 4.8.0 (March 2012).

Imported by APfun, ASIP, AmostraBrasil, BARIS, BIEN, BIRDS, CARBayes, CARBayesST, CAWaR, CCAMLRGIS, ConR, CoordinateCleaner, EcoGenetics, ExtractTrainData, FLightR, FedData, FloodMapper, GSIF, GmAMisc, ISRaD, LabourMarketAreas, MEDITS, MODIS, Mapinguari, MazamaSpatialUtils, OCNet, OasisR, OpasnetUtils, OpenStreetMap, Orcs, PReMiuM, PWFSLSmoke, PopGenReport, RAC, RSAGA, RStoolbox, RSurvey, Rsagacmd, SIRItoGTFS, SSN, SWMPrExtension, SeerMapper, ShapePattern, SiMRiv, SpNetPrep, SpatialEpiApp, TrajDataMining, agriwater, ambhasGW, animaltracker, assignR, bbsBayes, bdvis, bfsMaps, bioRad, birdring, bnspatial, bomrang, briskaR, contact, ctmm, dartR, disaggregation, downscaledl, dssd, dtwSat, dynatopmodel, ebirdst, eddi, eechidna, eseis, fastmaRching, flightplanning, forestChange, gDefrag, gdalUtils, geoSpectral, geodetector, geodiv, geometr, geonetwork, geotopbricks, geoviz, gfcanalysis, grainscape, graph4lg, gridsample, gtfs2gps, hyfo, iSDM, iemisc, importinegi, inlabru, inlmisc, intamap, intamapInteractive, lakemorpho, landsat8, leastcostpath, letsR, lidR, loa, malariaAtlas, mapsRinteractive, meteo, meteoland, morphomap, movecost, naijR, nhdR, nichevol, npphen, openSTARS, opentraj, ows4R, paleofire, patternize, pgirmess, phenomap, plotKML, postGIStools, ppcSpatial, prevR, psgp, psyosphere, quickPlot, quickmapr, rAvis, rCAT, rWBclimate, raceland, rangeMapper, rangeModelMetadata, raptr, rcanvec, rcrimeanalysis, rdefra, rdhs, red, ref.ICAR, rflexscan, riverdist, rmapzen, rnrfa, rosm, sara4r, sdStaf, secrlinear, sen2r, simplevis, smartR, soilassessment, spacey, sperich, stampr, tidyUSDA, tigris, tiler, trackdf, tripEstimation, tweet2r, uFTIR, ursa, wallace, waterquality, windfarmGA, wux, xROI, zonator, zoon.

Depended on by DMMF, DeducerSpatial, GADMTools, M3, ModelMap, RSIP, SPODT, TOC, UScancer, cffdrs, dggridR, diffeR, divagis, hddtools, hsdar, intensity.analysis, landsat, landsepi, mapReasy, micromap, modiscloud, move, r2dRue, rangeBuilder, sdmpredictors, water, waver.

Suggested by AQuadtree, BiodiversityR, DiversityOccupancy, EmissV, GSODR, INLAMSM, MODISTools, MODIStsp, R.SamBada, R2BayesX, RFmerge, RGISTools, SDMPlay, SDMtune, SSDM, SpaDES.core, SpatialKDE, TexMix, USGSstates2k, UScensus2010, agridat, bayesTFR, bcmaps, camtrapR, cancensus, cartogram, cartography, ceramic, crawl, daymetr, dismo, ecospat, elevatr, envirem, epiR, febr, fieldRS, foto, geohashTools, geoknife, geostatsp, ggspatial, graticule, gstat, gwer, gwfa, ibeemd, icosa, ipdw, ipumsr, lacunaritycovariance, latticeDensity, leaflet, leaflet.opacity, leafletR, lgcp, lingtypology, link2GI, lutz, magick, mapmisc, meteoForecast, mptools, mregions, oce, onemapsgapi, openCR, parlitools, plotdap, prettymapr, raster, rasterDT, redlistr, reproducible, rerddapXtracto, rgeoprofile, rgeos, rgrass7, rmapshaper, rnaturalearth, rnoaa, rpostgis, rsMove, rsatscan, rsyncrosim, rtop, rworldmap, satellite, secr, seg, sf, shadow, sharpshootR, smapr, soilDB, sos4R, sp, spData, spacetime, spatsurv, spcosa, spdep, spgrass6, spgwr, spmoran, stplanr, tangles, trajectories, trip, usdm, usmap, viridis.

See at CRAN