Re: [gdal-dev] Numeric accuracy

2017-11-11 Thread Jan Heckman
Hi Ari and all, why not use machine epsilon ? somewhat over 1e-16 for double precision, or an even more tolerant tolerance? Most cases of meter coordinates 0.001 is realistic. Given projection errors, a bit more is also defensible. Am I to simplistic

Re: [gdal-dev] Numeric accuracy

2017-11-11 Thread Craig Bruce
On 11/11/2017 06:05 AM, Ari Jolma wrote: I'm making a data request on the corner of the bounding box, let's say it has minimum X of 75042.7273594. I'm setting my minX to that value and I'm enforcing it to that value with MAX (this was introduced bec

Re: [gdal-dev] Numeric accuracy

2017-11-11 Thread Ari Jolma
Ari Jolma kirjoitti 11.11.2017 klo 12:05: I have been bitten twice, once with ArcGIS and now with Rasdaman WCS, with numeric accuracy. I'm making a data request on the corner of the bounding box, let's say it has minimum X of 75042.7273594. I'm setting my minX to that value and I'm enforcing

[gdal-dev] Numeric accuracy

2017-11-11 Thread Ari Jolma
I have been bitten twice, once with ArcGIS and now with Rasdaman WCS, with numeric accuracy. I'm making a data request on the corner of the bounding box, let's say it has minimum X of 75042.7273594. I'm setting my minX to that value and I'm enforcing it to that value with MAX (this was introdu