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. _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
