Le samedi 10 octobre 2015 17:56:24, Hermann Peifer a écrit : > On 2015-10-10 14:06, Even Rouault wrote: > > The implementation of ExportToWKT() in GDAL uses 15 decimal figures > > ("%.15f" printf formatting) whatever the source precision was, and as > > you point, whatever the intrinsic precision of the double value is. > > Does "%.15f" have any added value over "%.15g" (in the usual real-life > GIS situations, I mean). I also vaguely remember some posting/ticket > about "%.15f" versus "%.15g", including a request to partially revert a > changeset. This was years ago, and I can't find at the moment.
Hum I thought that WKT didn't allow scientific notation for coordinates, but actually checking at http://portal.opengeospatial.org/files/?artifact_id=25355 (SFA 1.2.1), page 52, it seems legal. So perhaps this could be changed. > > Hermann > > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev