wavded / ogre

ogr2ogr geojson-focused web client
http://ogre.adc4gis.com
MIT License
266 stars 79 forks source link

Add support for Esri GeoDB format #10

Closed nvkelso closed 10 years ago

wavded commented 11 years ago

Interesting... I'm assuming you are referring to: http://www.gdal.org/ogr/drv_filegdb.html. The demo version of Ogre is run GDAL 1.9.2, have you tried a file against the service at all? Although not tested it may work already, if not I'd have to look into what would need to be tweaks to support.

nvkelso commented 11 years ago

Maybe simple fix for ZIP test to also allow GeoDB?

GDAL / OGR sometimes needs to be compiled with explicate support for GeoDB format, too.

I get error:

{"error":true,"message":"Ogre can't transform files of type: zip","file":"ne_10m_admin_1_states_provinces_geodb_2.0.0.zip"}

From: https://github.com/nvkelso/natural-earth-vector/raw/master/zips/10m_cultural/ne_10m_admin_1_states_provinces_geodb.zip

wavded commented 11 years ago

That could work, being someone who has not worked with that format in ogr2ogr, what command to you run with the tool to convert it? In other words, what file is the entry point in the sample you gave. Have you been able to successfully run it in your environment?

wavded commented 11 years ago

I'm going to look into getting support for this into the wrapper project, which is now located here: https://github.com/wavded/ogr2ogr