Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Un-parseable file db #4

Closed
forkandwait opened this issue Jun 9, 2014 · 6 comments
Closed

Un-parseable file db #4

forkandwait opened this issue Jun 9, 2014 · 6 comments

Comments

@forkandwait
Copy link

Hi there,

I have been using the excellent ogr2ogr gdb extension, but I found a database that it can't open, the Washington state soils database downloads (both statewide and per-county):

https://fortress.wa.gov/dnr/app1/dataweb/dmmatrix.html#Soils

Note that I found geometry problems even after opening in ESRI and exporting to shapefile and playing with that using ogr2ogr.

Not sure where else to post this, will also post to the GDAL trac site.

Thanks!

@rouault
Copy link
Owner

rouault commented Jun 9, 2014

Works for me with https://fortress.wa.gov/dnr/app1/data/itd/Asotin_soils.zip :

and python dump_gdbtable/dump_gdbtable.py Asotin_soils/soils.gdb/a00000027.gdbtable

@forkandwait
Copy link
Author

Here is what I just ran that generated errors (silly windows machine at work via mingw). (I don't have python in my path yet, so I haven't experimented with the python scripts):

GDAL_experiments/ (j=0,r=1)$ ogrinfo --version
GDAL 1.12dev, released 2014/04/16

GDAL_experiments/ (j=0,r=1)$ ogrinfo -al 'C:\Users\webbs\Desktop\GDAL_experiments\Asotin_soils\Asotin_soils\soils.gdb'
ERROR 1: Error: Failed to open Geodatabase (This release of the GeoDatabase is either invalid or out of date.)

ERROR 1: Error: Failed to open Geodatabase (This release of the GeoDatabase is either invalid or out of date.)

FAILURE:
Unable to open datasource `C:\Users\webbs\Desktop\GDAL_experiments\Asotin_soils\Asotin_soils\soils.gdb' with the following drivers.
-> FileGDB

Thanks!

@rouault
Copy link
Owner

rouault commented Jun 9, 2014

It looks like you don't have the OpenFileGDB driver configured for some reason. Try adding "-ro" to your ogrinfo command line.

@rouault rouault closed this as completed Jun 9, 2014
@forkandwait
Copy link
Author

I tried add "-ro" and it still fails. ... (edit:) until I uninstall the file GDB add in based on ESRI's SDK (must have been defaulting to that)! Good work on your part!

Getting my binaries here:

http://www.gisinternals.com/sdk/PackageList.aspx?file=release-1600-x64-gdal-mapserver.zip

@rouault
Copy link
Owner

rouault commented Jun 9, 2014

Does OpenFileGDB appears in "ogrinfo --formats" ? It should normally. If it doesn't then it is likely a configuration problem.

@forkandwait
Copy link
Author

Yes, it does now. I think ogrXXX was hitting FileGDB first. I am inexperienced with GDAL, so I don't know why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants