Am 24.07.2012 17:07, schrieb Micha Silver:
This worked for me (on a *very* small shapefile. Some of the "Name" attributes where "rest 1", "rest 2" etc): ogr2ogr -f "ESRI Shapefile" -where "Name LIKE 'Rest%'" waypoints3.shp waypoints.shp
Using Windows 7 cmd box, the % will get misinterpreted. But this works for me:
ogr2ogr -where "name LIKE '2200%%'" test.shp source.shp HTH, André Joost _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user