Watershed analysis with GRASS
Session - IV
Workshop on “Introduction to Remote Sensing”, July 7 – 11, 2014, JNEC Aurangabad
Strategy – watershed analysis
● Take an elevation map provided in the data
– Study the elevation map by drawing various profiles
● Use the elevation maps to create basins and
catchment accumulation lines
● Thin the catchment lines
● Convert the thinned lines to a vector map
Installing your dataset
1. Download your data from
http://grass.osgeo.org/download/sample-data/
1. Download your data from
http://grass.osgeo.org/download/sample-data/
2. Store the compressed file in your GRASS
project folder
2. Store the compressed file in your GRASS
project folder
3. Uncompress the file to obtain the
spearfish60 folder
3. Uncompress the file to obtain the
spearfish60 folder
4. Select spearfish604. Select spearfish60
5. Select PERMANENT5. Select PERMANENT
6. Click Start GRASS6. Click Start GRASS
Two blank windows are displayed in parallel. The left one is known as the layer
manager and the right one is known as the MAP DISPLAY window
Two blank windows are displayed in parallel. The left one is known as the layer
manager and the right one is known as the MAP DISPLAY window
7. Click here to add raster layer7. Click here to add raster layer
8. Select layer elevation.dem@PERMANENT8. Select layer elevation.dem@PERMANENT
9. Click OK9. Click OK
10. Elevation data displayed10. Elevation data displayed
11. Click here. Select Profile
Surface Map
11. Click here. Select Profile
Surface Map
12. Select raster map to
profile. Click Ok.
12. Select raster map to
profile. Click Ok.
13. Click here to draw a
transect for profiling the
terrain on the map window
13. Click here to draw a
transect for profiling the
terrain on the map window
14. Draw the profile. Switch
back to the Profile Analysis
Tool
14. Draw the profile. Switch
back to the Profile Analysis
Tool
16. Click here for rendering
the profile
16. Click here for rendering
the profile
17. Profile displayed here.
Close window after studying
17. Profile displayed here.
Close window after studying
18. Click Raster > Hydrologic
Modelling > Watershed analysis
19. Select
elevation.dem@PERMANENT
18. Click Raster > Hydrologic
Modelling > Watershed analysis
19. Select
elevation.dem@PERMANENT
21. Minimum size of exterior
watershed basin (1000)
21. Minimum size of exterior
watershed basin (1000)
20. Click Input_options20. Click Input_options
22. Click Output_options22. Click Output_options
23. Name of output map (number
of cells draining through each
cell)
23. Name of output map (number
of cells draining through each
cell)
24. Name of watershed “basin”24. Name of watershed “basin”
25. Click Run25. Click Run
26. Switch on / off the layer
displays using the check-boxes
26. Switch on / off the layer
displays using the check-boxes 27. Basins map27. Basins map
28. Accumulation map28. Accumulation map
29. Go to the command console and type
r.mapcalc 'log_accumulation=log(abs(accumulation)+1)'
Press Enter
29. Go to the command console and type
r.mapcalc 'log_accumulation=log(abs(accumulation)+1)'
Press Enter
30. Add the layer named
log_accumulation using the layer
manager
30. Add the layer named
log_accumulation using the layer
manager
31. Tick the check box for the
log_accumulation layer
31. Tick the check box for the
log_accumulation layer
32. log_accumulation layer
displayed
32. log_accumulation layer
displayed
33. Go the command console and type the
following command:
r.mapcalc 'inf_rivers=if(log_accumulation>6)'
Press Enter
33. Go the command console and type the
following command:
r.mapcalc 'inf_rivers=if(log_accumulation>6)'
Press Enter
34. Add the inf_rivers layer
using the layer manager
34. Add the inf_rivers layer
using the layer manager
34. Add the inf_rivers layer
using the layer manager
34. Add the inf_rivers layer
using the layer manager
Watershed Analysis with GRASS
Watershed Analysis with GRASS
33. Go the command console and type the
following command:
r.mapcalc 'inf_rivers=if(log_accumulation>6)'
Press Enter
33. Go the command console and type the
following command:
r.mapcalc 'inf_rivers=if(log_accumulation>6)'
Press Enter
34. Add the inf_rivers layer
using the layer manager
34. Add the inf_rivers layer
using the layer manager
35. Check on the display of
the inf_rivers layer
35. Check on the display of
the inf_rivers layer
36. inf_layers displayed.36. inf_layers displayed.
37. Click Raster > Transform Features
> Thin from the layers manager menu
37. Click Raster > Transform Features
> Thin from the layers manager menu
38. Select inf_rivers as input raster
map and set the output map name to
rivers_thin
38. Select inf_rivers as input raster
map and set the output map name to
rivers_thin
39. Click Run39. Click Run
40. Click Raster > Map type
conversion > Raster to vector
40. Click Raster > Map type
conversion > Raster to vector
41. Select rivers_thin as input raster map
and set the output vector map name to
rivers
41. Select rivers_thin as input raster map
and set the output vector map name to
rivers
42. Click Run42. Click Run
43. The vector map rivers is displayed in the
Map Display window
43. The vector map rivers is displayed in the
Map Display window
Exercises
● Draw more profiles using the elevation map
– Can you now predict the shape of the terrain by
looking at the elevation map?
● Use the elevation.10m layer, and repeat the same
exercise again
– In case you chose to use the same layer names for
outputs, remember to use the overwrite option.
– See if more details in the river network happen. Why is
it so?
● Use another dataset e.g. North Carolina available
from the GRASS website to do the same exercise.
Watershed Analysis with GRASS

More Related Content

PPTX
Steps for Principal Component Analysis (pca) using ERDAS software
PDF
Hydrogeology in Watershed Planning - Samaj Pragati Sahyog
PDF
FEM Introduction: Solving ODE-BVP using the Galerkin's Method
PDF
Port of Long Beach - Final Presentation.
PDF
プログラマ脳を鍛える会 Vol8
PPT
Shankaraiah N :Watershed Program Present
DOC
Watershed management
PPT
NAIP Component 3
Steps for Principal Component Analysis (pca) using ERDAS software
Hydrogeology in Watershed Planning - Samaj Pragati Sahyog
FEM Introduction: Solving ODE-BVP using the Galerkin's Method
Port of Long Beach - Final Presentation.
プログラマ脳を鍛える会 Vol8
Shankaraiah N :Watershed Program Present
Watershed management
NAIP Component 3

Viewers also liked (20)

PDF
Adavanced GIS Solution
PPT
iMapLibraries at American Library Association, June 2013
PPTX
Timmons Group ArcGIS Explorer Emergency Operations Solution
PDF
GIS and Location-analytics-business
PPTX
Munciple gis
PPT
GIS for Research and Data Management
PPTX
Arc GIS Overlay Functions
PDF
Kevin Byrne Offering a Team Study of GIS in Business, 2009
PPT
Hydrologic analysis
PPTX
IGARSS2011_final.pptx
PPTX
Oral defense b. henry
PPT
Integrated watershed managment
PPTX
Municipal solid waste collection by using gis term paper
PPTX
Geographic information system (gis)
PPT
Gis Concepts 3/5
PPTX
GEOPROCESSING IN QGIS
PPTX
Using GIS for Water Resources Management – Selected U.S. and International Ap...
PPTX
Arhar presentation
PPTX
Gis in urban
PPT
Building Consensus For Gis
Adavanced GIS Solution
iMapLibraries at American Library Association, June 2013
Timmons Group ArcGIS Explorer Emergency Operations Solution
GIS and Location-analytics-business
Munciple gis
GIS for Research and Data Management
Arc GIS Overlay Functions
Kevin Byrne Offering a Team Study of GIS in Business, 2009
Hydrologic analysis
IGARSS2011_final.pptx
Oral defense b. henry
Integrated watershed managment
Municipal solid waste collection by using gis term paper
Geographic information system (gis)
Gis Concepts 3/5
GEOPROCESSING IN QGIS
Using GIS for Water Resources Management – Selected U.S. and International Ap...
Arhar presentation
Gis in urban
Building Consensus For Gis
Ad

Similar to Watershed Analysis with GRASS (20)

PDF
Cfd analysis of horizontal plate in fluent
PDF
Global mapperhelp
PDF
Ex32018.pdf
PDF
PDF
Surpac geological modelling 3
PPT
3D Analyst - Watershed from SRTM
PDF
Mg examp
PPTX
Surpac Software
PDF
Surpac geological modelling 3
PDF
Soil and Water Assessment Tool Procedure
PPT
Creating watershed using SRTM DEM
DOCX
manual global mapper
PPT
How to empower community by using GIS lecture 2
DOCX
Training Manual.docx
PDF
Geopaparazzi workshop on FOSS4G2015 Seoul
PPTX
HEC-RAS LiDAR Cross Sections With Microstation SS3 V8i
PDF
SPHARM-PDM_Tutorial_July2015
PDF
Drainage generation using_arc_gis
PPT
3D Analyst - Watershed, Padang
PDF
ENVI Pocket Guide: Volume 2 | Intermediate
Cfd analysis of horizontal plate in fluent
Global mapperhelp
Ex32018.pdf
Surpac geological modelling 3
3D Analyst - Watershed from SRTM
Mg examp
Surpac Software
Surpac geological modelling 3
Soil and Water Assessment Tool Procedure
Creating watershed using SRTM DEM
manual global mapper
How to empower community by using GIS lecture 2
Training Manual.docx
Geopaparazzi workshop on FOSS4G2015 Seoul
HEC-RAS LiDAR Cross Sections With Microstation SS3 V8i
SPHARM-PDM_Tutorial_July2015
Drainage generation using_arc_gis
3D Analyst - Watershed, Padang
ENVI Pocket Guide: Volume 2 | Intermediate
Ad

More from Suddhasheel GHOSH, PhD (13)

PDF
Solve ODE - BVP through the Least Squares Method
PDF
Point Collocation Method used in the solving of Differential Equations, parti...
PDF
Making presentations with LaTeX: Workshop Day 4
PDF
Typesetting Theses / Reports with LaTeX : Workshop Day 3
PDF
Typesetting Mathematics with LaTeX - Day 2
PDF
Introduction to LaTeX - Workshop Day 1
PDF
Map Calculaton using GRASS
PDF
The LaTeX Workshop: Document design in LaTeX: Invocation
PDF
The LaTeX Workshop: Typesetting Mathematics with LaTeX
PDF
Research Prospects with Geoinformatics
PDF
Prepare your literature review
PDF
Expert Lecture on GPS at UIET, CSJM, Kanpur
PDF
45324291 a-good-ph d-student
Solve ODE - BVP through the Least Squares Method
Point Collocation Method used in the solving of Differential Equations, parti...
Making presentations with LaTeX: Workshop Day 4
Typesetting Theses / Reports with LaTeX : Workshop Day 3
Typesetting Mathematics with LaTeX - Day 2
Introduction to LaTeX - Workshop Day 1
Map Calculaton using GRASS
The LaTeX Workshop: Document design in LaTeX: Invocation
The LaTeX Workshop: Typesetting Mathematics with LaTeX
Research Prospects with Geoinformatics
Prepare your literature review
Expert Lecture on GPS at UIET, CSJM, Kanpur
45324291 a-good-ph d-student

Recently uploaded (20)

PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
1 - Historical Antecedents, Social Consideration.pdf
DOCX
search engine optimization ppt fir known well about this
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPT
What is a Computer? Input Devices /output devices
PPTX
Modernising the Digital Integration Hub
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
A review of recent deep learning applications in wood surface defect identifi...
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PDF
Unlock new opportunities with location data.pdf
PDF
August Patch Tuesday
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
A comparative study of natural language inference in Swahili using monolingua...
Module 1.ppt Iot fundamentals and Architecture
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
A contest of sentiment analysis: k-nearest neighbor versus neural network
1 - Historical Antecedents, Social Consideration.pdf
search engine optimization ppt fir known well about this
observCloud-Native Containerability and monitoring.pptx
NewMind AI Weekly Chronicles – August ’25 Week III
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Zenith AI: Advanced Artificial Intelligence
Assigned Numbers - 2025 - Bluetooth® Document
Enhancing emotion recognition model for a student engagement use case through...
What is a Computer? Input Devices /output devices
Modernising the Digital Integration Hub
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
A review of recent deep learning applications in wood surface defect identifi...
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
Unlock new opportunities with location data.pdf
August Patch Tuesday
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
A comparative study of natural language inference in Swahili using monolingua...

Watershed Analysis with GRASS

  • 1. Watershed analysis with GRASS Session - IV Workshop on “Introduction to Remote Sensing”, July 7 – 11, 2014, JNEC Aurangabad
  • 2. Strategy – watershed analysis ● Take an elevation map provided in the data – Study the elevation map by drawing various profiles ● Use the elevation maps to create basins and catchment accumulation lines ● Thin the catchment lines ● Convert the thinned lines to a vector map
  • 3. Installing your dataset 1. Download your data from http://grass.osgeo.org/download/sample-data/ 1. Download your data from http://grass.osgeo.org/download/sample-data/ 2. Store the compressed file in your GRASS project folder 2. Store the compressed file in your GRASS project folder 3. Uncompress the file to obtain the spearfish60 folder 3. Uncompress the file to obtain the spearfish60 folder
  • 4. 4. Select spearfish604. Select spearfish60 5. Select PERMANENT5. Select PERMANENT 6. Click Start GRASS6. Click Start GRASS
  • 5. Two blank windows are displayed in parallel. The left one is known as the layer manager and the right one is known as the MAP DISPLAY window Two blank windows are displayed in parallel. The left one is known as the layer manager and the right one is known as the MAP DISPLAY window
  • 6. 7. Click here to add raster layer7. Click here to add raster layer 8. Select layer elevation.dem@PERMANENT8. Select layer elevation.dem@PERMANENT 9. Click OK9. Click OK 10. Elevation data displayed10. Elevation data displayed
  • 7. 11. Click here. Select Profile Surface Map 11. Click here. Select Profile Surface Map 12. Select raster map to profile. Click Ok. 12. Select raster map to profile. Click Ok.
  • 8. 13. Click here to draw a transect for profiling the terrain on the map window 13. Click here to draw a transect for profiling the terrain on the map window 14. Draw the profile. Switch back to the Profile Analysis Tool 14. Draw the profile. Switch back to the Profile Analysis Tool 16. Click here for rendering the profile 16. Click here for rendering the profile 17. Profile displayed here. Close window after studying 17. Profile displayed here. Close window after studying
  • 9. 18. Click Raster > Hydrologic Modelling > Watershed analysis 19. Select elevation.dem@PERMANENT 18. Click Raster > Hydrologic Modelling > Watershed analysis 19. Select elevation.dem@PERMANENT 21. Minimum size of exterior watershed basin (1000) 21. Minimum size of exterior watershed basin (1000) 20. Click Input_options20. Click Input_options 22. Click Output_options22. Click Output_options 23. Name of output map (number of cells draining through each cell) 23. Name of output map (number of cells draining through each cell) 24. Name of watershed “basin”24. Name of watershed “basin” 25. Click Run25. Click Run
  • 10. 26. Switch on / off the layer displays using the check-boxes 26. Switch on / off the layer displays using the check-boxes 27. Basins map27. Basins map 28. Accumulation map28. Accumulation map
  • 11. 29. Go to the command console and type r.mapcalc 'log_accumulation=log(abs(accumulation)+1)' Press Enter 29. Go to the command console and type r.mapcalc 'log_accumulation=log(abs(accumulation)+1)' Press Enter 30. Add the layer named log_accumulation using the layer manager 30. Add the layer named log_accumulation using the layer manager 31. Tick the check box for the log_accumulation layer 31. Tick the check box for the log_accumulation layer 32. log_accumulation layer displayed 32. log_accumulation layer displayed
  • 12. 33. Go the command console and type the following command: r.mapcalc 'inf_rivers=if(log_accumulation>6)' Press Enter 33. Go the command console and type the following command: r.mapcalc 'inf_rivers=if(log_accumulation>6)' Press Enter 34. Add the inf_rivers layer using the layer manager 34. Add the inf_rivers layer using the layer manager 34. Add the inf_rivers layer using the layer manager 34. Add the inf_rivers layer using the layer manager
  • 15. 33. Go the command console and type the following command: r.mapcalc 'inf_rivers=if(log_accumulation>6)' Press Enter 33. Go the command console and type the following command: r.mapcalc 'inf_rivers=if(log_accumulation>6)' Press Enter 34. Add the inf_rivers layer using the layer manager 34. Add the inf_rivers layer using the layer manager 35. Check on the display of the inf_rivers layer 35. Check on the display of the inf_rivers layer 36. inf_layers displayed.36. inf_layers displayed.
  • 16. 37. Click Raster > Transform Features > Thin from the layers manager menu 37. Click Raster > Transform Features > Thin from the layers manager menu 38. Select inf_rivers as input raster map and set the output map name to rivers_thin 38. Select inf_rivers as input raster map and set the output map name to rivers_thin 39. Click Run39. Click Run 40. Click Raster > Map type conversion > Raster to vector 40. Click Raster > Map type conversion > Raster to vector 41. Select rivers_thin as input raster map and set the output vector map name to rivers 41. Select rivers_thin as input raster map and set the output vector map name to rivers 42. Click Run42. Click Run
  • 17. 43. The vector map rivers is displayed in the Map Display window 43. The vector map rivers is displayed in the Map Display window
  • 18. Exercises ● Draw more profiles using the elevation map – Can you now predict the shape of the terrain by looking at the elevation map? ● Use the elevation.10m layer, and repeat the same exercise again – In case you chose to use the same layer names for outputs, remember to use the overwrite option. – See if more details in the river network happen. Why is it so? ● Use another dataset e.g. North Carolina available from the GRASS website to do the same exercise.