[postgis-users] *.gdbtable, etc

Mike Toews mwtoews at sfu.ca
Mon Jan 25 12:16:19 PST 2010


David Fawcett wrote:
> [...] OSGeo4W build, ogr2ogr outputs odbc as a possible format value.
>   

Oh yes, alive and well. I use OGR via OSGeo4W with Personal File 
Geodatabases (MDB) on a routine basis with no issues:

# List the contents
ogrinfo mypgeofile.mdb

# Dump the contents
ogrinfo mypgeofile.mdb layer_name

# Transfer to PostgreSQL
ogr2ogr -f "PostgreSQL" PG:"host=localhost user=myname 
dbname=mypostgisdb password=foopass" mypgeofile.mdb layer_name


Regarding ESRI's file-based Geodatabase (GDB) .. good luck. Even Safe 
FMS's R/W depend on ArcObjects (so you need ArcGIS Desktop installed 
anyway). This was discussed to some degree a few months ago:
http://postgis.refractions.net/pipermail/postgis-users/2009-May/023572.html

-Mike



More information about the postgis-users mailing list