Geographic Information Systems Asked by dthib65 on January 4, 2021
How can I import a raster file from a gdb into R?
Name of raster file: Cont_maturite
in gdb : CAROPER_04151.gdb
In wd: c:testcaroper
R spatial packages all depend on GDAL for file read/write, and GDAL uses the OpenFileGDB driver, which can only read vector data sources at this time - see https://www.gdal.org/drv_openfilegdb.html. The driver provides no write access at all.
If you have a recent version of ArcMap (>=10.3.1) or ArcGis Pro (1.1) installed, you can use the R package arcgisbinding
to connect to ESRI proprietary data sources. This allows read/write access to anything in a File Geodatabase, plus SDE connections, as well as conversion from ESRI's own take on R spatial objects to and from sf
, sp
, and raster
style objects. See https://github.com/R-ArcGIS/r-bridge.
Answered by obrl_soil on January 4, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP