[Qgis-user] set null or no data pixels from other raster using raster calculator

Gabriel Cotlier gabiklm01 at gmail.com
Thu Jul 1 09:11:26 PDT 2021


Hello,
 I would like to set null or no data raster values in QGIS employing Raster
Calculator Tool for masking pixels from other raster as for instance is
possible to be done in ArcGIS>Spatial Analyst> Map Algebra>Raster
Calculator with the formula:

SetNull(~IsNull("hydro.tif"),"suitability").

With such formula in the Raster Calculator of ArcGIs the new obtained
raster will be equal to suitability, but with the location where  hydro.tif
pixels are with no data value.

Thanks a lot,
Kind regards,
Gabriel

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210701/21009efd/attachment.html>


More information about the Qgis-user mailing list