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

Chaitanya kumar CH chaitanya.ch at gmail.com
Tue Feb 22 10:33:52 EST 2011


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

On Tue, Feb 22, 2011 at 6:07 PM, Anita Graser <anitagraser at gmx.at> wrote:

> Am 22.02.2011, 13:19 Uhr, schrieb Paolo Cavallini <cavallini at faunalia.it>:
>
>  Il giorno mar, 22/02/2011 alle 13.16 +0100, Anita Graser ha scritto:
>>
>>> I have a shapefile containing fields of type REAL15. I'd like to cut an
>>> area of interest out of this shapefile using QGIS "Save as ..." function.
>>> The resulting shapefile still has fields of type REAL15 but the contained
>>> values are botched, e.g. 10400000603695 becomes -2147483648.
>>>
>>
>>  I'm uncertain whether the problem lies with GDAL or QGIS' use of GDAL.
>>>
>>
>> Which versions?
>>
>
> OSGeo4W r15203 with GDAL 1.8.0
>
>
>>  It would be great if this problem could be resolved. Unfortunately, I
>>> can't share the original (commercial) dataset.
>>>
>>
>> You can extract just one record, and share that one.
>>
>
> How? If I use QGIS, the values will be broken.
>
> Best wishes,
>
> Anita
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110222/50a78f76/attachment.html


More information about the gdal-dev mailing list