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
The core issue here is the override of the nodata value with 0.0 whereas the raster has a nodata value of -3.4028234663852886e+38. So when encountering such big negative values with nodata overrideen to 0, the algorithm will try to generate billions of intermediate coutour lines
The fix will avoid such attempt and error out immediately
Expected behavior and actual behavior.
Using
gdal_contour
with-snodata
flag kills the command after a while. Without this flag it works niceSteps to reproduce the problem.
gdal_contour -b 1 -a ELEV -i 500.0 -snodata 0.0 -f "ESRI Shapefile" /home/matteo/dtm.tif "home/matteo/OUTPUT.shp"
Both with CLI and within QGIS 3.1 master
Operating system
Linux Debian SID
GDAL version and provenance
GDAL 2.2.4, released 2018/03/19
The text was updated successfully, but these errors were encountered: