Skip to content

Commit 112b45d

Browse files
authored
Basic map algebra tutorial: minor revisions (#79)
1 parent 64e9184 commit 112b45d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

content/tutorials/map_algebra/basic_map_algebra.qmd

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ description: >
88
Learn the basics of map algebra in GRASS
99
including arithmetic, functions, and logic.
1010
Use map algebra to model a landscape.
11-
thumbnail: images/map_algebra_00.webp
11+
image: images/map_algebra_01.webp
1212
links:
13+
g_region: "[g.region](https://grass.osgeo.org/grass-stable/manuals/g.region.html)"
1314
r_mapcalc: "[r.mapcalc](https://grass.osgeo.org/grass-stable/manuals/r.mapcalc.html)"
1415
r_mapcalc_simple: "[r.mapcalc.simple](https://grass.osgeo.org/grass-stable/manuals/r.mapcalc.simple.html)"
1516
r_series: "[r.series](https://grass.osgeo.org/grass-stable/manuals/r.series.html)"
@@ -150,7 +151,7 @@ Map algebra operators, functions, and variables in this tutorial
150151

151152
# Setup
152153
Start a GRASS session in a new project with a Cartesian (XY) coordinate system.
153-
Use [g.region](https://grass.osgeo.org/grass-stable/manuals/g.region.html)
154+
Use {{< meta links.g_region >}}
154155
to set the extent and resolution of the computational region.
155156
Since we are working in a Cartesian coordinate system,
156157
we can simply create a region starting at the origin
@@ -285,7 +286,7 @@ Print the rescaled elevation range with
285286
```{bash}
286287
r.mapcalc expression="elevation = fractal / 10"
287288
r.colors map=elevation color=elevation
288-
r.info -r map=elevation format=plain
289+
r.info -r map=elevation
289290
```
290291
## Python
291292
```{python}

content/tutorials/map_algebra/images/map_algebra_01.svg

Lines changed: 2 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)