[Qgis-user] Raster calculator

Jocelyn Le Baut jocelyn.lebaut at gmail.com
Thu May 23 06:45:45 PDT 2019


Hello everybody,

I have a problem to use the raster calculator. Some pixels of my geotiff
file have the value 255 on the band 1, 2 and 3. I want to replace the value
by 0 on the band 1, 2 and 3 for these pixels.

I have try with this formula but it's not look good :
("test at 1" != 255)+("test at 2" != 255)+("test at 3" != 255) * "test"

[image: test.jpg]
Thanks a lot for the help,

Jocelyn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190523/d8a3a722/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.jpg
Type: image/jpeg
Size: 58523 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190523/d8a3a722/attachment-0001.jpg>


More information about the Qgis-user mailing list