Package: rgdal 1.6-7

Roger Bivand

rgdal: 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'.

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]

rgdal_1.6-7.tar.gz

rgdal_1.6-7.tgz(r-4.4-x86_64)rgdal_1.6-7.tgz(r-4.4-arm64)rgdal_1.6-7.tgz(r-4.3-x86_64)rgdal_1.6-7.tgz(r-4.3-arm64)
rgdal_1.6-7.tar.gz(r-4.5-noble)rgdal_1.6-7.tar.gz(r-4.4-noble)
rgdal_1.6-7.tgz(r-4.4-emscripten)rgdal_1.6-7.tgz(r-4.3-emscripten)
rgdal.pdf |rgdal.html
rgdal/json (API)
NEWS

# Install 'rgdal' in R:
install.packages('rgdal', repos = c('https://ices-tools-prod.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://r-forge.r-project.org/projects/rgdal

Pkgdown:https://rgdal.r-forge.r-project.org

Uses libs:
  • gdal– Geospatial Data Abstraction Library
  • proj– Cartographic projection library
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

gdalprojcpp

8.95 score 10 stars 1 packages 33k scripts 3.0k downloads 328 mentions 105 exports 2 dependencies

Last updated 2 years agofrom:5098f49a1c. Checks:OK: 1 WARNING: 3 NOTE: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 11 2024
R-4.5-linux-x86_64WARNINGOct 12 2024
R-4.4-mac-x86_64WARNINGDec 11 2024
R-4.4-mac-aarch64WARNINGDec 11 2024
R-4.3-mac-x86_64NOTEDec 11 2024
R-4.3-mac-aarch64NOTEDec 11 2024

Exports:asSGDF_GRODbest_instantiable_coordOpcheckCRSArgscheckCRSArgs_ngcloseDatasetcoercecompare_CRScopy.SpatialGDALcopyDatasetcreate2GDALCRSargsdeleteDatasetdisable_proj_CDNdisplayDatasetenable_proj_CDNEPSG_versionGDAL_OSR_PROJGDAL.closeGDAL.openGDALcallgdalDriversGDALinfoGDALis3ormoreGDALSpatialRefget_cached_orig_GDAL_DATAget_cached_orig_PROJ_LIBget_cached_set_GDAL_DATAget_cached_set_PROJ_LIBget_enforce_xyget_last_coordOpget_OVERRIDE_PROJ_DATUM_WITH_TOWGS84get_P6_datum_hard_failget_prefer_projget_proj_search_pathsget_PROJ6_warnings_countget_rgdal_show_exportToProj4_warningsget_thin_PROJ6_warningsget_transform_wkt_commentgetColorTablegetCPLConfigOptiongetDescriptiongetDrivergetDriverLongNamegetDriverNamegetGDAL_DATA_PathgetGDALCheckVersiongetGDALDriverNamesgetGDALVersionInfogetGDALwithGEOSgetGeoTransFuncgetPROJ4libPathgetPROJ4VersionInfogetProjectionRefgetRasterBandgetRasterBlockSizegetRasterDatagetRasterTableinitializeis_proj_CDN_enabledlist_coordOpsllgridlinesmake_EPSGnew_proj_and_gdalogrDriversogrFIDsogrInfoogrListLayersOGRSpatialRefopen.SpatialGDALOSRIsProjectedprint.GDALobjproj_CDN_user_writable_dirprojectprojInfoPROJis6ormoreprojNADputRasterDatarawTransformreadGDALreadOGRRGB2PCTrgdal_extSoftVersionsaveDatasetsaveDatasetAsset_enforce_xyset_OVERRIDE_PROJ_DATUM_WITH_TOWGS84set_P6_datum_hard_failset_prefer_projset_proj_search_pathsset_rgdal_show_exportToProj4_warningsset_thin_PROJ6_warningsset_transform_wkt_commentsetCPLConfigOptionSGDF2PCTshowEPSGshowP4showSRIDshowWKTsub.GDRODsummarytoSignedtoUnSignedvec2RGBwriteGDALwriteOGR

Dependencies:latticesp

Why have CRS, projections and transformations changed?

Rendered fromCRS_projections_transformations.Rmdusingknitr::rmarkdownon Dec 11 2024.

Last update: 2022-03-16
Started: 2020-05-28

Migration to PROJ6/GDAL3

Rendered fromPROJ6_GDAL3.Rmdusingknitr::rmarkdownon Dec 11 2024.

Last update: 2022-12-14
Started: 2020-05-28

OGR shapefile encoding

Rendered fromOGR_shape_encoding.Rnwusingutils::Sweaveon Dec 11 2024.

Last update: 2022-12-14
Started: 2012-12-21

Readme and manuals

Help Manual

Help pageTopics
closeDataset methodscloseDataset closeDataset,ANY-method closeDataset,GDALReadOnlyDataset-method closeDataset,GDALTransientDataset-method closeDataset-methods closeDataset.default
Class "CRS" of coordinate reference system argumentscheckCRSArgs checkCRSArgs_ng compare_CRS CRS CRS-class print.CRS RGDAL_checkCRSArgs show,CRS-method
Display a GDAL datasetdisplayDataset
Class "GDALDataset"copyDataset deleteDataset GDALDataset-class initialize,GDALDataset-method putRasterData saveDataset saveDatasetAs
Class "GDALDriver": GDAL Driver ObjectGDALDriver-class gdalDrivers getDriverLongName getDriverName getGDALCheckVersion getGDALDriverNames getGDALVersionInfo getGDALwithGEOS getGDAL_DATA_Path get_cached_orig_GDAL_DATA get_cached_orig_PROJ_LIB get_cached_set_GDAL_DATA get_cached_set_PROJ_LIB initialize,GDALDriver-method rgdal_extSoftVersion
Class "GDALMajorObject"GDALMajorObject-class getDescription
Class "GDALRasterBand"dim,GDALRasterBand-method GDALRasterBand-class getProjectionRef getRasterBand getRasterBlockSize getRasterData getRasterTable get_OVERRIDE_PROJ_DATUM_WITH_TOWGS84 initialize,GDALRasterBand-method set_OVERRIDE_PROJ_DATUM_WITH_TOWGS84 toSigned toUnSigned
Class "GDALReadOnlyDataset"dim,GDALReadOnlyDataset-method GDAL.close GDAL.open GDALReadOnlyDataset-class getColorTable getDriver getGeoTransFunc initialize,GDALReadOnlyDataset-method
subset methods for "GDALReadOnlyDataset",GDALReadOnlyDataset-method coerce,GDALReadOnlyDataset,SpatialGridDataFrame-method GDALReadOnlyDataset-methods sub.GDROD [,GDALReadOnlyDataset-method
Class "GDALTransientDataset"GDALTransientDataset-class initialize,GDALTransientDataset-method
Grids and Datums PE&RS listingGridsDatums
PROJ search paths and content download network handlingdisable_proj_CDN enable_proj_CDN get_proj_search_paths is_proj_CDN_enabled proj_CDN_user_writable_dir set_proj_search_paths
List PROJ 6 coordinate operationsbest_instantiable_coordOp list_coordOps print.coordOps
Plot long-lat grid over projected datallgridlines
Make a data frame of EPSG projection codesEPSG_version make_EPSG
Norwegian peaks over 2000mnor2k
List PROJ.4 tag informationGDALis3ormore GDAL_OSR_PROJ getPROJ4libPath getPROJ4VersionInfo new_proj_and_gdal projInfo PROJis6ormore projNAD
Convert RGB three band to single band colour tableRGB2PCT
Deprecated functions and methodsasSGDF_GROD create2GDAL CRSargs GDALcall GDALinfo GDALSpatialRef getCPLConfigOption ogrDrivers ogrFIDs ogrInfo ogrListLayers OGRSpatialRef print.GDALobj print.ogrinfo project rawTransform readGDAL readOGR rgdal-deprecated setCPLConfigOption showEPSG showWKT writeGDAL writeOGR
Convert RGB three band to single band colour tableSGDF2PCT vec2RGB
Show Well-Known Text spatial reference system metadataget_P6_datum_hard_fail get_prefer_proj get_PROJ6_warnings_count get_rgdal_show_exportToProj4_warnings get_thin_PROJ6_warnings OSRIsProjected set_P6_datum_hard_fail set_prefer_proj set_rgdal_show_exportToProj4_warnings set_thin_PROJ6_warnings showP4 showSRID
Class "SpatialGDAL"$,SpatialGDAL-method $<-,SpatialGDAL-method close.SpatialGDAL coerce,SpatialGDAL,SpatialGridDataFrame-method coerce,SpatialGDAL,SpatialPixelsDataFrame-method copy.SpatialGDAL open.SpatialGDAL print.summary.SpatialGDAL SpatialGDAL-class SpatialGDALWrite-class summary,SpatialGDAL-method [,SpatialGDAL-method [<-,SpatialGDALWrite-method [[,SpatialGDAL,ANY,missing-method [[<-,SpatialGDAL,ANY,missing-method
Methods for Function spTransform for map projection and datum transformation in package "rgdal"get_enforce_xy get_last_coordOp get_transform_wkt_comment set_enforce_xy set_transform_wkt_comment spTransform spTransform,SpatialGridDataFrame,CRS-method spTransform,SpatialLines,CRS-method spTransform,SpatialLinesDataFrame,CRS-method spTransform,SpatialPixelsDataFrame,CRS-method spTransform,SpatialPoints,CRS-method spTransform,SpatialPointsDataFrame,CRS-method spTransform,SpatialPolygons,CRS-method spTransform,SpatialPolygonsDataFrame,CRS-method spTransform-methods spTransform.SpatialLines spTransform.SpatialLinesDataFrame spTransform.SpatialPoints spTransform.SpatialPointsDataFrame spTransform.SpatialPolygons spTransform.SpatialPolygonsDataFrame