From gdaldem I can view slope, aspect, and hillshade maps.

"gdaldem slope manj.tif ouoi.tif -p -s 60"
"gdaldem aspect manj.tif gg.tif"
"gdaldem hillshade manj.tif hh.tif"

Is there any command to get flow direction map from gdaldem?

Can you give a working example of flow direction and drainage network extraction?


I don't believe that GDAL currently offers the functionality needed to perform flow path modelling and automated stream network extraction. There are however many good open-source GIS alternatives that can be used for this task. I know that GRASS, SAGA, and QGIS each have tools for flow accumulation and stream network extraction. Also, I develop a free and open-source GIS called Whitebox Geospatial Analysis tools (can be downloaded here) that has extensive tools for extracting flow direction, accumulation and stream networks. It includes several common flow algorithms (D8, FD8, D-infinity, FD-infinity) as well as tools for stream network analysis and hydrological analysis.

enter image description here

  • I am new to GRASS and QGIS provide any material related to .I didn't get from whitebox geospatial analysis tool
    – user28536
    Sep 12 '14 at 12:25
  • @user28536, Please see my reply to the question that you posted earlier. Sep 12 '14 at 13:37
  • In GRASS GIS there is no command for drainage line extraction?
    – user28536
    Sep 18 '14 at 8:59
  • GRASS GIS is doing this from its own cmd prompt .How can i get flow direction from my ms-dos cmd prompt
    – user28536
    Sep 19 '14 at 11:38
  • @user28536 I'm afraid that I cannot help you with GRASS specific instructions. Perhaps markusN would be better suited to that. I did however give you detailed instructions on how to extract a drainage network here: gis.stackexchange.com/questions/113634/… Sep 19 '14 at 11:44

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.