3

I tried to figure out the legend of the output for flow direction when I use the QGIS processing toolbox function from SAGA (Channel network and drainage basin). I get a raster with values from 0 to 7. The Taudem d8 uses an encoding from 1 to 8 that does not correspond with this result. Anybody knows how this is encoded?

  • 1
    Why not check online documentation? – aldo_tapia Sep 11 '17 at 11:42
  • 1
    Thanks. I already checked this documentation and other internet resources. This documentation also states that the range is from 1-8 which is not in line with the results I get (0-7). Is it a systematic shift or a different encoding? – Hansakwast Sep 11 '17 at 12:06
5

SAGA's flow directions are coded from North = 0 :

7 0 1
6   2
5 4 3

Each GIS has its codification : for GRASS it's

3 2 1
4   8
5 6 7

and for ARcgis : http://desktop.arcgis.com/fr/arcmap/10.3/tools/spatial-analyst-toolbox/how-flow-direction-works.htm

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.