Skip to content

Commit 0608114

Browse files
committed
formatting and typo corrections
Applying Anna's suggestions
1 parent 20c6528 commit 0608114

File tree

1 file changed

+23
-21
lines changed

1 file changed

+23
-21
lines changed

content/tutorials/terrain_and_DEMs/GRASS_terrain.qmd

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ format:
1313
code-copy: true
1414
code-fold: false
1515
page-layout: article
16-
categories: [beginner, intermediate, raster, DEM, visualization, terrain, topography, slope, aspect, landforms, stream networks, watershed]
16+
categories: [beginner, intermediate, raster, DEM, visualization, terrain, topography, slope, aspect, landforms, hydrology, streams]
1717
description: This tutorial guides a user through multiple ways of analyzing and modeling terrain from DEM raster maps.
1818
execute:
1919
eval: false
@@ -33,15 +33,15 @@ GRASS has many tools that can help you visualize and model terrain from digital
3333

3434
- [r.watershed](https://grass.osgeo.org/grass-stable/manuals/r.watershed.html) for modeling overland flow and watershed basins, and
3535

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.
3737

3838
This tutorial will explore these tools, but they are only a few of the many GRASS modules to represent and analyze landscapes.
3939

4040
::: {.callout-note title="Demo Dataset"}
4141
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.
4242
:::
4343

44-
::: {.callout-note title="GRASS environment"}
44+
::: {.callout-note title="GRASS interfaces"}
4545
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.
4646
:::
4747

@@ -174,7 +174,7 @@ A shaded relief map adds shadows to a DEM, for a user-specified direction of sun
174174

175175
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.
176176

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.
178178

179179
::::::::: {.panel-tabset group="language"}
180180

@@ -217,7 +217,7 @@ r.relief input=elevation output=relief zscale=3
217217
#### Python
218218

219219
```{python}
220-
gs.run_command("r.relief",input="elevation", output="relief zscale=3")
220+
gs.run_command("r.relief",input="elevation", output="relief" zscale=3)
221221
```
222222

223223
:::::::::
@@ -226,7 +226,9 @@ gs.run_command("r.relief",input="elevation", output="relief zscale=3")
226226

227227
## Combining color and relief
228228

229-
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.
230232

231233
- This can be done by creating a new map, using [r.shade](https://grass.osgeo.org/grass-stable/manuals/r.shade.html) tool or
232234

@@ -601,9 +603,9 @@ Filtering for a limited range of slope values highlights important terrain featu
601603

602604
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:
603605

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.
605607

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.
607609

608610
Additional GRASS Addons useful for this kind of terrain analysis include:
609611

@@ -615,9 +617,9 @@ Additional GRASS Addons useful for this kind of terrain analysis include:
615617

616618
- [r.terrain.texture](https://grass.osgeo.org/grass-stable/manuals/addons/r.terrain.texture.html)
617619

618-
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.
619621

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.
621623

622624
- 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.
623625

@@ -746,7 +748,7 @@ Because DEM rasters make it possible to generate maps of slope and aspect, this
746748

747749
- and many other environmental phenomena.
748750

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).
750752

751753
## Watershed basins
752754

@@ -771,7 +773,7 @@ Watershed basins are portions of a terrain in which all surface water will flow
771773
::::: grid
772774
::: g-col-6
773775

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.
775777

776778
2. Set "Name of elevation raster map" to *elevation*.
777779

@@ -855,7 +857,7 @@ Above, we also made a flow accumulation map. A flow accumulation map models the
855857

856858
- 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.
857859

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.
859861
:::
860862

861863
::: g-col-6
@@ -926,7 +928,7 @@ Here is a flow accumulation map with a legend using a logarithmic scale. Note hi
926928

927929
### Vectorizing stream network with *r.to.vect*
928930

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.
930932

931933
- *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.
932934

@@ -939,7 +941,7 @@ We can make the streams more easily visible if we convert the raster stream map
939941
::::: grid
940942
::: g-col-6
941943

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.
943945

944946
2. Enter the map *watershed_streams10000* as the "Name of input raster map".
945947

@@ -988,12 +990,12 @@ The maps below show the vector stream network overlaying watershed basins on the
988990
:::::
989991

990992
::: {.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.
992994
:::
993995

994996
### Vectorizing stream network with *r.stream.extract*
995997

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.
997999

9981000
- This tool uses a DEM and a flow accumulation map to generate a vector or raster stream network.
9991001

@@ -1008,7 +1010,7 @@ An alternative way to generate a stream network from a watershed analysis is wit
10081010
::::: grid
10091011
::: g-col-6
10101012

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.
10121014

10131015
2. Enter *elevation* for the "Name of input elevation raster map".
10141016

@@ -1060,9 +1062,9 @@ gs.run_command("r.stream.extract",
10601062

10611063
:::::::::::::::
10621064

1063-
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).
10641066

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).
10661068

10671069
- 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.
10681070

@@ -1082,4 +1084,4 @@ To display the stream network without the junction nodes, uncheck the "point" bo
10821084

10831085
# Summary
10841086

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

Comments
 (0)