Skip to content

Commit d129228

Browse files
baharmonveroandreo
andauthored
Update content/tutorials/map_algebra/basic_map_algebra.qmd
Co-authored-by: Veronica Andreo <[email protected]>
1 parent 4db5f19 commit d129228

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/tutorials/map_algebra/basic_map_algebra.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,8 @@ to model the plateaus using an `if then else` statement.
532532
In map algebra, the syntax for these logical statements is `if(x, a, b)`
533533
where if the relational statement `x` is true, then do `a`, else do `b`.
534534
Write the expression `elevation = if(elevation > 30, 30, elevation)`.
535-
All cells with elevation values greater than thirty
536-
will be assigned a value of thirty,
535+
All cells with elevation values greater than 30
536+
will be assigned a value of 30,
537537
while all other cells will keep their original values.
538538
This will flatten all of the mountain peaks above the threshold of 30,
539539
forming plateaus.

0 commit comments

Comments
 (0)