[gdal-dev] problems converting gdb to shp
Sarah Zatko
szatko at radiantblue.com
Thu Jan 31 12:30:19 PST 2013
I'm trying to use the -where command in ogr2ogr (1.9.0) to separate out
different geometry types, as was described in the FAQ for converting gdb to
shp files, but when I do the following command
Ogr2ogr.exe -f ESRI Shapefile points.shp input.gdb -a_srs EPSG:4326 -nln
points -where 'ogr_geometry="POINT"'
it thinks that the -where. part of the command is the name of a gdb layer.
I tried moving the -where part of the command earlier, to before the -f
argument, but then it just hangs and doesn't complete at all.
Any thoughts on what I'm doing wrong here?
Also, when I try to go from shapefile to geodb in Windows, it only works if
I'm running as administrator. Is that just a requirement? It doesn't
require root in Linux.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130131/0edc1754/attachment.html>
More information about the gdal-dev
mailing list