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
description: This tutorial guides a user through multiple ways of analyzing and modeling terrain from DEM raster maps.
18
18
execute:
19
19
eval: false
@@ -33,15 +33,15 @@ GRASS has many tools that can help you visualize and model terrain from digital
33
33
34
34
-[r.watershed](https://grass.osgeo.org/grass-stable/manuals/r.watershed.html) for modeling overland flow and watershed basins, and
35
35
36
-
-[r.stream.extract](https://grass.osgeo.org/grass%20stable/manuals/r.stream.extract.html) to generate stream networks.
36
+
-[r.stream.extract](https://grass.osgeo.org/grass-stable/manuals/r.stream.extract.html) to generate stream networks.
37
37
38
38
This tutorial will explore these tools, but they are only a few of the many GRASS modules to represent and analyze landscapes.
39
39
40
40
::: {.callout-note title="Demo Dataset"}
41
41
This tutorial uses one of the standard GRASS sample data sets for Flagstaff, Arizona, USA: ***flagstaff_arizona_usa***. We will refer to place names in that data set, but it can be completed with any of the [standard sample data sets](https://grass.osgeo.org/download/data/) for any region--for example, the [North Carolina data set](https://grass.osgeo.org/sampledata/north_carolina/nc_spm_08_grass7.zip). We will use the *elevation* DEM.
42
42
:::
43
43
44
-
::: {.callout-note title="GRASS environment"}
44
+
::: {.callout-note title="GRASS interfaces"}
45
45
This tutorial is designed so that you can complete it using the **GRASS GUI**, GRASS commands from the **console or terminal**, or using GRASS commands in a **Jupyter Notebook** environment.
46
46
:::
47
47
@@ -174,7 +174,7 @@ A shaded relief map adds shadows to a DEM, for a user-specified direction of sun
174
174
175
175
We can use the [r.relief](https://grass.osgeo.org/grass-stable/manuals/r.relief.html) tool to visualize the topographic relief of the *elevation* DEM for the Flagstaff area.
176
176
177
-
We will keep the defaults for sun direction and height, but increase the z-exaggeration to 3 to make the topography stand out better.
177
+
We will keep the defaults for sun direction and height, but increase the vertical exaggeration to 3 to make the topography stand out better.
To better visualize the difference in the terrain, you can drape the color elevation over the relief map you just made GRASS makes it easy for you to fuse color and relief shading to visualize topography, terrain features, land cover, or other geographic information.
229
+
To better visualize the difference in the terrain, you can drape the color elevation over the relief map you just made.
230
+
231
+
GRASS makes it easy for you to fuse color and relief shading to visualize topography, terrain features, land cover, or other geographic information.
230
232
231
233
- This can be done by creating a new map, using [r.shade](https://grass.osgeo.org/grass-stable/manuals/r.shade.html) tool or
232
234
@@ -601,9 +603,9 @@ Filtering for a limited range of slope values highlights important terrain featu
601
603
602
604
Slope, aspect, and related analyses can help identify terrain features like volcanoes and canyons. GRASS also offers tools to identify topographic features and classify terrain into landform categories. In the standard GRASS tools set, these include:
603
605
604
-
-[r.geomorphon](https://grass.osgeo.org/grass84/manuals/r.geomorphon.html): Calculates geomorphons (terrain forms) and associated geometry using machine vision approach.
606
+
-[r.geomorphon](https://grass.osgeo.org/grass-stable/manuals/r.geomorphon.html): Calculates geomorphons (terrain forms) and associated geometry using machine vision approach.
605
607
606
-
-[r.param.scale](https://grass.osgeo.org/grass84/manuals/r.param.scale.html): Extracts terrain parameters from a DEM.
608
+
-[r.param.scale](https://grass.osgeo.org/grass-stable/manuals/r.param.scale.html): Extracts terrain parameters from a DEM.
607
609
608
610
Additional GRASS Addons useful for this kind of terrain analysis include:
609
611
@@ -615,9 +617,9 @@ Additional GRASS Addons useful for this kind of terrain analysis include:
In this tutorial, we will briefly explore [r.geomorphon](https://grass.osgeo.org/grass84/manuals/r.geomorphon.html) to classify the DEM into a set of landform categories. You are encouraged to try out the other tools for using the standard GRASS sample data sets or your own data.
620
+
In this tutorial, we will briefly explore [r.geomorphon](https://grass.osgeo.org/grass-stable/manuals/r.geomorphon.html) to classify the DEM into a set of landform categories. You are encouraged to try out the other tools for using the standard GRASS sample data sets or your own data.
619
621
620
-
- The *r.geomorphon* tool identifies and classifies a cell using information about the topographic relief in eight directions (see the [r.geomorphon](https://grass.osgeo.org/grass84/manuals/r.geomorphon.html) Description for more details)). There are a number of options.
622
+
- The *r.geomorphon* tool identifies and classifies a cell using information about the topographic relief in eight directions (see the [r.geomorphon](https://grass.osgeo.org/grass-stable/manuals/r.geomorphon.html) Description for more details)). There are a number of options.
621
623
622
624
- The most important option is the **Outer search radius**, which is the maximum distance that the algorithm will record topographic relief. By default, this distance is measured in map cells, but you can change it measure in meters with the "-m" option.
623
625
@@ -746,7 +748,7 @@ Because DEM rasters make it possible to generate maps of slope and aspect, this
746
748
747
749
- and many other environmental phenomena.
748
750
749
-
GRASS has many modules for analyzing and modeling [hydrology and watersheds](https://grass.osgeo.org/grass84/manuals/topic_hydrology.html), far more than can be covered in this tutorial. Rather, the goal of this tutorial is to give you a sense of what the potential for watershed modeling in GRASS and encourage you to explore its rich array of tools on your own. To that end, this tutorial will explore a few of many features of two of these tools, [r.watershed](https://grass.osgeo.org/grass84/manuals/r.watershed.html) and [r.stream.extract](https://grass.osgeo.org/grass84/manuals/r.stream.extract.html).
751
+
GRASS has many modules for analyzing and modeling [hydrology and watersheds](https://grass.osgeo.org/grass-stable/manuals/topic_hydrology.html), far more than can be covered in this tutorial. Rather, the goal of this tutorial is to give you a sense of what the potential for watershed modeling in GRASS and encourage you to explore its rich array of tools on your own. To that end, this tutorial will explore a few of many features of two of these tools, [r.watershed](https://grass.osgeo.org/grass-stable/manuals/r.watershed.html) and [r.stream.extract](https://grass.osgeo.org/grass-stable/manuals/r.stream.extract.html).
750
752
751
753
## Watershed basins
752
754
@@ -771,7 +773,7 @@ Watershed basins are portions of a terrain in which all surface water will flow
771
773
::::: grid
772
774
::: g-col-6
773
775
774
-
1. Open the [r.watershed](https://grass.osgeo.org/grass84/manuals/r.watershed.html) module from the Raster/Hydrologic modeling/Watershed analysis menu.
776
+
1. Open the [r.watershed](https://grass.osgeo.org/grass-stable/manuals/r.watershed.html) module from the Raster/Hydrologic modeling/Watershed analysis menu.
775
777
776
778
2. Set "Name of elevation raster map" to *elevation*.
777
779
@@ -855,7 +857,7 @@ Above, we also made a flow accumulation map. A flow accumulation map models the
855
857
856
858
- Additional settings in *r.watershed* enable modeling overland flow more realistically with different amounts of rain falling across the region, and vegetation, soil characteristics, or barriers like dams or dikes also affecting accumulation.
857
859
858
-
-[r.watershed](https://grass.osgeo.org/grass84/manuals/r.watershed.html) uses a **multiple flow direction** algorithm by default in which water flowing out of a cell is distributed among all adjacent downslope cells. The greatest flow is directed to the adjacent downslope cell with the greatest elevation difference and lower flows are allocated to downslope cells with lesser elevation difference.
860
+
-[r.watershed](https://grass.osgeo.org/grass-stable/manuals/r.watershed.html) uses a **multiple flow direction** algorithm by default in which water flowing out of a cell is distributed among all adjacent downslope cells. The greatest flow is directed to the adjacent downslope cell with the greatest elevation difference and lower flows are allocated to downslope cells with lesser elevation difference.
859
861
:::
860
862
861
863
::: g-col-6
@@ -926,7 +928,7 @@ Here is a flow accumulation map with a legend using a logarithmic scale. Note hi
926
928
927
929
### Vectorizing stream network with *r.to.vect*
928
930
929
-
We can make the streams more easily visible if we convert the raster stream map to a vector line map. This can be done easily with the [r.to.vect](https://grass.osgeo.org/grass84/manuals/r.to.vect.html) tool that converts rasters maps into vectors.
931
+
We can make the streams more easily visible if we convert the raster stream map to a vector line map. This can be done easily with the [r.to.vect](https://grass.osgeo.org/grass-stable/manuals/r.to.vect.html) tool that converts rasters maps into vectors.
930
932
931
933
-*r.to.vect* can convert points, lines, and areas. In this case, we will convert the stream segments created by *r.watershed* into vector lines.
932
934
@@ -939,7 +941,7 @@ We can make the streams more easily visible if we convert the raster stream map
939
941
::::: grid
940
942
::: g-col-6
941
943
942
-
1. Select the [r.to.vect](https://grass.osgeo.org/grass84/manuals/r.to.vect.html) tool from either the Raster/Map type conversions/Raster to vector **or** the File/Map type conversions/Raster to vector menu.
944
+
1. Select the [r.to.vect](https://grass.osgeo.org/grass-stable/manuals/r.to.vect.html) tool from either the Raster/Map type conversions/Raster to vector **or** the File/Map type conversions/Raster to vector menu.
943
945
944
946
2. Enter the map *watershed_streams10000* as the "Name of input raster map".
945
947
@@ -988,12 +990,12 @@ The maps below show the vector stream network overlaying watershed basins on the
988
990
:::::
989
991
990
992
::: {.callout-note title="Tip"}
991
-
For a more detailed stream network, run *r.watershed* with a minimum basin size smaller than the 10,000 cells used above. If you choose a very small minimum basin size to create a very detailed stream map, you may be prompted to run [r.thin](https://grass.osgeo.org/grass84/manuals/r.thin.html) before running *r.to.vect* to make sure that raster stream map consists of only single grid cell stream lines.
993
+
For a more detailed stream network, run *r.watershed* with a minimum basin size smaller than the 10,000 cells used above. If you choose a very small minimum basin size to create a very detailed stream map, you may be prompted to run [r.thin](https://grass.osgeo.org/grass-stable/manuals/r.thin.html) before running *r.to.vect* to make sure that raster stream map consists of only single grid cell stream lines.
992
994
:::
993
995
994
996
### Vectorizing stream network with *r.stream.extract*
995
997
996
-
An alternative way to generate a stream network from a watershed analysis is with the [r.stream.extract](https://grass.osgeo.org/grass84/manuals/r.stream.extract.html) tool.
998
+
An alternative way to generate a stream network from a watershed analysis is with the [r.stream.extract](https://grass.osgeo.org/grass-stable/manuals/r.stream.extract.html) tool.
997
999
998
1000
- This tool uses a DEM and a flow accumulation map to generate a vector or raster stream network.
999
1001
@@ -1008,7 +1010,7 @@ An alternative way to generate a stream network from a watershed analysis is wit
1008
1010
::::: grid
1009
1011
::: g-col-6
1010
1012
1011
-
1. Select the [r.stream.extract](https://grass.osgeo.org/grass84/manuals/r.to.vect.html) tool from either the Raster/Hydrologic modeling/Extraction of stream networks menu.
1013
+
1. Select the [r.stream.extract](https://grass.osgeo.org/grass-stable/manuals/r.to.vect.html) tool from either the Raster/Hydrologic modeling/Extraction of stream networks menu.
1012
1014
1013
1015
2. Enter *elevation* for the "Name of input elevation raster map".
The 2 images below show the stream network generated by *r.stream.extract* overlaying a color shaded relief map (left) and a comparison of this network with the one generated by r.watershed and then vectorized with *r.to.vect(* (right).
1065
+
The 2 images below show the stream network generated by *r.stream.extract* overlaying a color shaded relief map (left) and a comparison of this network with the one generated by r.watershed and then vectorized with *r.to.vect* (right).
1064
1066
1065
-
- Note the stream lines (blue) and points (red) indicating stream heads and junctions in the left image. Lines or points can be displayed or hidden or shown together in the vector properties tool [d.vect](https://grass.osgeo.org/grass84/manuals/d.vect.html).
1067
+
- Note the stream lines (blue) and points (red) indicating stream heads and junctions in the left image. Lines or points can be displayed or hidden or shown together in the vector properties tool [d.vect](https://grass.osgeo.org/grass-stable/manuals/d.vect.html).
1066
1068
1067
1069
- In the image to the right, the more detailed stream network generated by *r.stream.extract* is shown in narrow blue lines and the the stream network generated by *r.watershed* and *r.to.vect* is shown as wider yellow lines.
1068
1070
@@ -1082,4 +1084,4 @@ To display the stream network without the junction nodes, uncheck the "point" bo
1082
1084
1083
1085
# Summary
1084
1086
1085
-
In this tutorial we have gone over only a few the many tools available in GRASS to conduct terrain and watershed analysis. We used the Flagstaff sample dataset to complete this analysis, but you can also try this other datasets and DEM maps. You can also use the GRASS sample datasets to explore the Many other tools available under the terrain analysis and [hydrology](https://grass.osgeo.org/grass84/manuals/topic_hydrology.html) hydrology sections. In addition to the main GRASS modules, there are also many others available as [GRASS addons](https://grass.osgeo.org/grass-stable/manuals/addons/).
1087
+
In this tutorial we have gone over only a few of the many tools available in GRASS to conduct terrain and watershed analysis. We used the Flagstaff sample dataset to complete this analysis, but you can also try this other datasets and DEM maps. You can also use the GRASS sample datasets to explore the many other tools available under the terrain analysis and [hydrology](https://grass.osgeo.org/grass-stable/manuals/topic_hydrology.html) hydrology sections. In addition to the main GRASS modules, there are also many others available as [GRASS addons](https://grass.osgeo.org/grass-stable/manuals/addons/).
0 commit comments