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.
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev