[gdal-dev] Re: [Qgis-developer] Issue saving shapefiles with REAL15 values

Anita Graser anitagraser at gmx.at
Tue Feb 22 10:51:10 EST 2011


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.ch at 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
>




More information about the gdal-dev mailing list