I run a select on a SHP file with this command:
ogr2ogr -where "ONEWAY<>'N'" -f "ESRI Shapefile" nw2.shp nw.shp

The ONEWAY field has 4 possible values: <blank>, FT, TF and N.
Fieldtype is char(2).

The problem is only records with FT and TF are selected. All the <blank> records are skipped.

This is with the 4-1-2013 version in release-1600-gdal-mapserver.zip

In the older version in fwtools it works correctly, but that one has other issues.

Regards
Uffe Kousgaard

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to