[gdal-dev] Too much precision in WKT

Brent Fraser bfraser at geoanalytic.com
Tue Jun 2 13:50:40 EDT 2009


I've been experimenting with v1.6.0 ogr2ogr:

    ogr2ogr -f csv test_dir test_in.shp -nln test_out -lco GEOMETRY=AS_WKT

The precision of the coordinates in the WKT seems to be overkill, eg: 

    "LINESTRING (-115.11433812265155 53.146791166875367,-115.12192424362472 53.147304268559473,

Is there any way to limit the precision?

Thanks!
Brent Fraser


More information about the gdal-dev mailing list