I have an ESRI File Geodatabase (
.gdb) file that I would like to convert to shapefile (or any other non-proprietary format). Are there any Open Source tools to do so?
In the geospatial world a directory ending in .gdb is usually the Esri File Geodatabase Format, which has an open API which many 3rd party programs can read -- gdal/ogr, fme, and GlobalMapper to name the ones I'm familiar with. Gdal/ogr is open source and is included in many other applications like QGIS and SAGA.
Windows end users can most easily get the filegdb driver via the OSGeo4W
No. .gdb is a proprietary format and ESRI isn't sharing the spec or providing an API.
I believe that some people have been able to hack together something to pull the features out, but none of the relationships, topology, domains, etc.
The best way to get the features out would be to dump the database to a shapefile or a ESRI personal database. The OGR library and tools can read personal geodatabases.
The API to read file geodatabases out of ArcObjects was promised by ESRI three years ago or so, but still has not seen the light.
There is a question related to this: File Geodatabase Open API? When?
This web app will allow you to get your data out of GDB format:
I know it does not do File Geodatabase (as we are still waiting for Esri to release the API) but FDO Toolbox is pretty good as far as capability for reading and outputing file formats
Have a look at it here http://fdo.osgeo.org/
as petr k. says also look at the other thread for the release on the FGDB Open API.
You could always use something else like the ST_Geometry (SQL Server Spatial data Type, Oracle Spatial data Type, PostGIS)
Just a thought, CDB
I have tried to use both QGIS and osgeo4W and none of them worked for huge datasets, and i ended with using FME Safe Software.
it's not an open source software but it has 30 days free trial with fully functionnal software. It's by far the best converter tool i've ever seen will hundred of formats and easy usage.
Please refer to the following question.This will allow you to add the feature in QGIS . And then over here you can save it as a shapefile