Re: [gdal-dev] gdal_contour: min value unexpected

2024-04-19 Thread Paul Meems via gdal-dev
Thanks Even, I create a ticket: https://github.com/OSGeo/gdal/issues/9705 With regards, Paul Op vr 19 apr 2024 om 11:46 schreef Even Rouault : > Hi, > > > I can't imagine this is a bug that was never noticed before. > > Why? If everybody followed that reasoning nobody will report and hardly >

Re: [gdal-dev] gdal_contour: min value unexpected

2024-04-19 Thread Even Rouault via gdal-dev
Hi, I can't imagine this is a bug that was never noticed before. Why? If everybody followed that reasoning nobody will report and hardly any bug would be fixed. (and there are a number of known bugs that nobody has had time to fix either) So I assume I'm doing something wrong. But I can't fig

Re: [gdal-dev] gdal_contour: min value unexpected

2024-04-19 Thread Paul Meems via gdal-dev
Hi List, I tried my command on GDAL 3.8.4, released 2024/02/08. And the results are the same. The lowest value is still incorrect. I can't imagine this is a bug that was never noticed before. So I assume I'm doing something wrong. But I can't figure it out. Please give me some advice. Regards,

[gdal-dev] gdal_contour: min value unexpected

2024-04-05 Thread Paul Meems via gdal-dev
Hello List, I have a Surfer grid which I want to convert into polygons using gdal_contour. The min value of the lowest polygon is 0 which I didn't expect. In the next step, I calculate the average of the min and max values, and in this case that average is wrong. These are the values of the grid: