Hi,

I used the following ogr2ogr command:

ogr2ogr -sql "select * from nw where NAME = 'Am Johannesberg'" new.shp nw.shp

The resulting shp contains correct geometries, but the values in ID,N,15,0 fields are broken.

I guess that shows that it's a GDAL/OGR problem.

Thanks, best wishes,
Anita


Am 22.02.2011, 16:33 Uhr, schrieb Chaitanya kumar CH <chaitanya...@gmail.com>:

Anita,

First, let us isolate the source of this error. QGIS or GDAL/OGR.
Use ogr2ogr to clip the part you did with QGIS. See the extents of the
clipped shapefile using ogrinfo and use it with the ogr2ogr utility.
http://www.gdal.org/ogr2ogr.html



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

Reply via email to