Closed jacksonvoelkel closed 2 years ago
@jacksonvoelkel There are three paths to work with FileGDB in R:
Tool | read | write | notes |
---|---|---|---|
arcgisbinding |
☑ | ☑ | ArcGIS installation as described in prerequsites |
OpenFileGDB GDAL driver | ☑ | 🔲 | clean room implementation described here |
FileGDB GDAL driver | ☑ | ☑ | Requires FileGDB API SDK installation |
This package is the first in the list above, and uses the native implementation Esri software provides to work with FileGDBs which we support. The other two paths use GDAL, and if you want to work through GDAL with writing FileGDBs, you can install the FileGDB API and use it that way. If you want to see the OpenFileGDB implementation gain full write support, that's something you should bring up with the GDAL developers as an enhancement request — it definitely would be a nice addition.
Is it possible for Esri to contribute a GDB writer to the OpenFileGDB driver? 99.99% of the time people will have this driver installed, but it will not allow direct writing to a .gdb.
I know you provide some tools to "directly" write to a gdb, but these are just creating temp shapefiles and copying them in. This added complexity is prone to errors, and a much more intelligent solution would be to simply allow GDAL (and by extension R and
sf
) to write to a .gdb.