Feature request #13825

Save a shapefile to an EXISTING ESRI Geodatabase

Added by Andy Harfoot almost 9 years ago. Updated about 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Data Provider/OGR
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:21850

Description

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:

  1. Create the file GDB
    ogr2ogr -f "FileGDB" "c:\\temp\\testFGDB.gdb" "c:\\temp\\test.shp" -nln "testFC" 
    
  2. 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?

History

#1 Updated by Giovanni Manghi over 7 years ago

  • Easy fix? set to No

#2 Updated by Andy Harfoot about 6 years ago

  • Status changed from Open to Closed

Fixed with the introduction of the ability to specify File and Layer names when saving to container formats. Available in 3.2.3 and 2.18.24

Also available in: Atom PDF