Skip to content

Commit

Permalink
Update gridcalculator.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
pcav committed Jun 6, 2014
1 parent 86ab4c8 commit 0b60118
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -53,7 +53,7 @@ Example

You can for instance use the Grid Calculator module to flag 0 cells with -1:

ifelse(eq(g1,0), (-1), g2)
``ifelse(eq(g1,0), (-1), g2)``

The formula reads like "if the cell is equal to zero, then write -1 else write the current value to the output grid".

Expand Down

2 comments on commit 0b60118

@gioman
Copy link
Contributor

@gioman gioman commented on 0b60118 Jun 6, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "g" format cannot be used in SAGA raster calc anymore, see

http://hub.qgis.org/issues/10443#note-2

@pcav
Copy link
Member Author

@pcav pcav commented on 0b60118 Jun 6, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed (also the original file was wrong), thanks.

Please sign in to comment.