Re: [gdal-dev] GDAL precision for Geometry object

2015-10-10 Thread Even Rouault
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 o

Re: [gdal-dev] GDAL precision for Geometry object

2015-10-10 Thread Hermann Peifer
On 2015-10-10 17:56, Hermann Peifer wrote: 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. Do

Re: [gdal-dev] GDAL precision for Geometry object

2015-10-10 Thread Hermann Peifer
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"

Re: [gdal-dev] Unable to compile Gdal under Cygwin

2015-10-10 Thread Even Rouault
Le samedi 10 octobre 2015 16:31:50, Dr Rainer Woitok a écrit : > Even, > > On Friday, 2015-10-09 19:10:53 +0200, you wrote: > > ... > > It seems the error is linked to the Python GNM module when GDAL is not > > configured --with-gnm. > > Ok, I thought, if the missing "--with-gnm" option spoils my

Re: [gdal-dev] Unable to compile Gdal under Cygwin

2015-10-10 Thread Dr Rainer Woitok
Even, On Friday, 2015-10-09 19:10:53 +0200, you wrote: > ... > It seems the error is linked to the Python GNM module when GDAL is not > configured --with-gnm. Ok, I thought, if the missing "--with-gnm" option spoils my compilation, I could as well add it. And lo and behold! the compilation suc

Re: [gdal-dev] GDAL precision for Geometry object

2015-10-10 Thread Even Rouault
Le samedi 10 octobre 2015 13:45:05, Dimitrianos Savva a écrit : > Hi all, > > Recently I noticed that the ExportToWKT > function > of a Geometry object that has been read from a Shapefile, generates the > well known text representatio

[gdal-dev] GDAL precision for Geometry object

2015-10-10 Thread Dimitrianos Savva
Hi all, Recently I noticed that the ExportToWKT 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. I