<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px; widows: 1; background-color: rgb(255, 255, 255);" class="">Hi all,</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px; widows: 1; background-color: rgb(255, 255, 255);" class="">Recently I noticed that the <a href="http://gdal.org/java/org/gdal/ogr/Geometry.html#ExportToWkt()" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; text-decoration: none; cursor: pointer; color: rgb(12, 101, 165);" class="">ExportToWKT</a> function of a Geometry object that has been read from a Shapefile, generates the well known text representation without any compromise on the precision of the coordinates values.</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px; widows: 1; background-color: rgb(255, 255, 255);" class="">I wonder how these coordinates are represented in memory. A double precision floating type is not enough to represent some coordinates.</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px; widows: 1; background-color: rgb(255, 255, 255);" class="">For example the geometry POINT (4799826.09861662145704 2773995.445373429451138) cannot be represented by two double types. But still the ExportToWKT function produces the correct result with full precision for the values.</p><div class="">Thnks,</div><div class="">Dimis</div></body></html>