[gdal-dev] Geometry.ExportToWKT : numeric precision ?
Even Rouault
even.rouault at mines-paris.org
Wed Apr 6 18:06:28 EDT 2011
Le mercredi 06 avril 2011 23:58:27, Jay Jennings a écrit :
> Even, thanks for the excellent info. I think we may pursue the first
> option.
>
> BTW setting the default precision to (for example) 8 instead of 15 would
> increase the chance of consecutive identical coordinates in the output
> string. Do you think ExportToWKT would be smart enough to condense to a
> single coordinate in such a case ?
>
No, ExportToWKT() is just plain stupid ;-) I haven't checked the OGC simple
feature spec, but I think that nothing prevents the user from specifying 2
consecutive identical points in a linestring.
More information about the gdal-dev
mailing list