Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I think I've found the answer (you can't edit FGDB's) but there seem to be few reports around that it is possible to edit FGDB files in QGIS.

Can anyone advise if it's possible to setup QGIS (presently 1.8) to edit FGDB's, and how?

It seems like this lack of editing ability could either be a bug in OGR or something to do with having to compile with the FGDB API (I've only ever used OS4GEOW to install QGIS etc).

Thanks

share|improve this question
2  
@R.K. - it looks like this is a valid entry and not a duplicate. The answer you reference discusses how to be able to load layers into QGIS. It does not discuss editing at all. I think it is valid to ask why layers may be added in from a File GDB, but they are not editable, though the API and the GDAL documentation say this should be possible. –  Get Spatial Oct 10 '12 at 6:50
1  
Convert to Shapefile using GDAL - File Geodatabase source is locked down (arcobjects) you can create using resources.arcgis.com/content/geodatabases/10.0/file-gdb-api but it is still restricted. –  Mapperz Oct 10 '12 at 13:44
1  
I think I have to correct myself here. After reviewing the documentation for the OGR Driver for the File GDB, it only talks about creation and bulk feature loading in the FGDB. There is no talk about editing at the feature level. The API documentation referenced by @Mapperz, states that "Read and write data in the geodatabase" is an option, but not to what extent. –  Get Spatial Oct 10 '12 at 15:08
1  
If you look at the File GDB API Details, it states that it is possible to Insert, Delete and Edit the contents of simple datasets:. Upon seeing that, the inability to edit in QGIS is likely a limitation of the OGR driver. –  Get Spatial Oct 10 '12 at 15:14
1  
Last I heard, the File GDB does not have write yet do to a bug in the Arc API (I believe I saw this on the github page for the driver). –  wildintellect Oct 11 '12 at 6:13

1 Answer 1

You CAN edit fGDBs in QGIS (tested in 1.8.0 standalone and package based install, Win7 x64), however the technique to do this suggests that it is unintended, though I'm not sure of the reason for not enabling this feature. The steps to edit are described below:

  1. Load a fGDB layer
  2. Open the Layer properties and switch to the Fields tab
  3. You should see an edit mode toggle button that is enabled (unlike all the others in QGIS for this layer)
  4. Enable editing and start drawing / modifying
  5. To save your changes, the only way is to disable the editing mode using the same button as described above. You'll then be prompted to save.

Note that this only allows the editing of existing layers in the fGDB, I've not been able to add new layers yet.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.