Skip to content
Permalink
Browse files
Update gridcalculator.rst
  • Loading branch information
pcav committed Jun 6, 2014
1 parent 86ab4c8 commit 0b60118476ac6c3c743dbb3ef63a9e88eaf82300
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/saga/help/gridcalculator.rst
@@ -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".

2 comments on commit 0b60118

@gioman

This comment has been minimized.

Copy link
Contributor

@gioman gioman replied Jun 6, 2014

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

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

@pcav

This comment has been minimized.

Copy link
Member Author

@pcav pcav replied Jun 6, 2014

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

Please sign in to comment.