Menu ▾ ▴

#337 Bug in Upslope Area calculation for Multiple Maximum Downslope Gradient Based Flow Direction method

v9.14
closed
nobody
None
1
2026-09-09
2026-09-08
No

Hi Saga devs!

In the process of porting the Upslope Area tool to QGIS, I've noticed a bug in the implementation of this method.

Specifically, at https://sourceforge.net/p/saga-gis/code/ci/master/tree/saga-gis/src/tools/terrain_analysis/ta_hydrology/Flow_AreaUpslope.cpp#l414 , the term added to Flow should be multiplied by the neighbor flow.

See also note in the QGIS port at https://github.com/nyalldawson/QGIS/blob/9275ebb84b9e102110900d46e62b0e1fcc7da508/src/analysis/processing/qgsalgorithmupslopearea.cpp#L606

Related

Commit: [e3a93a]

Discussion

  • Olaf Conrad

    Olaf Conrad - 2026-09-09
    • status: open --> closed
     
  • Olaf Conrad

    Olaf Conrad - 2026-09-09

    dear nyall, many thanks for reporting this hidden bug. has been fixed with commit [f24c13]. best

     

    Related

    Commit: [f24c13]

Anonymous
Anonymous

Add attachments
Cancel