You may change the field type by using the 'cast' sql option during the
ogr2ogr conversion, like 'select cast(DEPTH as numeric(8,2)) from SOUNDG'
for more info see: http://www.gdal.org/ogr/ogr_sql.html
Best regards,
Tamas
2010/7/21 easyl
>
> How can I let ogr2ogr keep, change or determine
El día Wednesday 21 July 2010 15:53:50, easyl dijo:
> How can I let ogr2ogr keep, change or determine real number precision??
[...]
> > ogr2ogr -skipfailure -append -f "ESRI Shapefile" out shape.000 -nlt
One thing you can do is create an empty shapefile with the desired field types
and preci
How can I let ogr2ogr keep, change or determine real number precision?? when
converting shapefiles.
ogr2ogr changes the representation (or precision) of a numeric attributes.
For example, I use ogr2ogr to convert S-57 files to shapefiles.
The layer "SOUNDG" of S-57 represents the water depth in