@@ -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
1212links :
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
152153Start 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 >}}
154155to set the extent and resolution of the computational region.
155156Since we are working in a Cartesian coordinate system,
156157we can simply create a region starting at the origin
@@ -285,7 +286,7 @@ Print the rescaled elevation range with
285286``` {bash}
286287r.mapcalc expression="elevation = fractal / 10"
287288r.colors map=elevation color=elevation
288- r.info -r map=elevation format=plain
289+ r.info -r map=elevation
289290```
290291## Python
291292``` {python}
0 commit comments