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
We observed that the FillSingleCellPits method algorithm is flawed, when the kernel window works along raster edges.
The result is an elevation raster, which has line artefacts on the raster edge (where a flattened lake creates same values).
Problem
We observed that the FillSingleCellPits method algorithm is flawed, when the kernel window works along raster edges.
The result is an elevation raster, which has line artefacts on the raster edge (where a flattened lake creates same values).
Some visual explanations
Flattened lake with same elevation (370m)
Line artefacts caused by FillSingleCellPits
Code
The problematic part in the code is happening in line 222 (fill_pits.rs)
Solution
A new min value for the observed raster window should only be set, when the pixel value is not NODATA (in this case outside of the raster bounds)
line 222: if zn != nodata && zn < min_zn {
The text was updated successfully, but these errors were encountered: