Feature request #13825
Save a shapefile to an EXISTING ESRI Geodatabase
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||21850|
This is a duplicate of the closed #12846, which I don't have the power to reopen.
Using QGIS 2.12.0 (OSGeo4W package installer) on Windows 7 64bit
As the original ticket states, it is not currently possible to add feature classes to an existing File GeoDatabase through the QGIS Layer context menu's Save As command (using the ESRI file GDB API driver).
However, this is easily achieved at the command prompt using the ogr2ogr command:
- Create the file GDB
ogr2ogr -f "FileGDB" "c:\\temp\\testFGDB.gdb" "c:\\temp\\test.shp" -nln "testFC"
- Insert an additional feature class into the same FGDB
ogr2ogr -f "FileGDB" -update "c:\\temp\\testFGDB.gdb" "c:\\temp\\test.shp" -nln "testFC_v2"
Given that the same GDAL library is responsible for both the GUI Save As command, and the ogr2ogr commmand, can the '-update' functionality be added to the file GDB Save As dialog?