[Qgis-user] Raster calculation: if Layer1 is > 1, then Layer2 should be 0

Bernd Vogelgesang bernd.vogelgesang at gmx.de
Sat Feb 19 09:45:56 PST 2022


Hi Nyall,


I think, the problem with the native raster calculator in my case have
something to do with the zoo of raster formats.
My 1m-DEM was float, while the reclassified layer (0 or 1) was integer.
The GDAL-calculator seems to be agnostic to that.

Thanks a lot for your support

Bernd

Am 18.02.22 um 00:23 schrieb Nyall Dawson:
> On Fri, 18 Feb 2022 at 09:22, Nyall Dawson <nyall.dawson at gmail.com> wrote:
>
>> By
>> not setting a "maximum" value in the row we indicate that the range is
>> from 100 < input value < +infinity.
> Gah, that should be "1 < input value < +infinity"!
> Nyall


More information about the Qgis-user mailing list