You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gdal_contour fails with Float32 GeoTIFF http://latuviitta.org/downloads/461864267output_la.tif with GDAL versions 2.4.1 and 3.1.0dev. On Windows the task just seems to stop at 0%. On Linux this error is observed: 0ERROR 1: std::bad_alloc
With GDAL 2.2.3 on Windows the process runs fine in a few seconds.
The source tiff has NoData Value=3.40282346600000016e+38 but running the command with option -snodata 3.40282346600000016e+38 does not change the situation. I believe that GDAL does not get the nodata right but starts to generate huge amount of contours. That would explain why command with fixed levels works well.
Also, I am not sure if gdal_contour is supposed to work with a combination of "fixed levels" and "output as polygons" but on one Ubuntu machine it was leading to "core dumped". Another Ubuntu just aborted without dumping.
Gdal_contour fails with Float32 GeoTIFF http://latuviitta.org/downloads/461864267output_la.tif with GDAL versions 2.4.1 and 3.1.0dev. On Windows the task just seems to stop at 0%. On Linux this error is observed:
0ERROR 1: std::bad_alloc
With GDAL 2.2.3 on Windows the process runs fine in a few seconds.
Command to use for testing:
gdal_contour 461864267output_la.tif -f GPKG output_contour.gpkg -i 0.1
The source tiff has NoData Value=3.40282346600000016e+38 but running the command with option
-snodata 3.40282346600000016e+38
does not change the situation. I believe that GDAL does not get the nodata right but starts to generate huge amount of contours. That would explain why command with fixed levels works well.gdal_contour 461864267output_la.tif -f GPKG output_contour.gpkg -fl 0.0 0.1 0.2
Also, I am not sure if gdal_contour is supposed to work with a combination of "fixed levels" and "output as polygons" but on one Ubuntu machine it was leading to "core dumped". Another Ubuntu just aborted without dumping.
There may also be a connection with #1970
The text was updated successfully, but these errors were encountered: