I have tried this several different ways and get lots of NaN.
I need to specify that in my raster 'test1', I want a certain set of values to equal 1 and the rest to equal zero. For instance, I want 1, 42, and 102 to equal 1 and the rest to equal zero.
I have tried:
"test1@1" = 1 OR "test1@1" = 42 OR "test1@1" = 102
as well a few other options.
Unfortunately, there seem to be no existing syntax guidelines for the raster calculator (if you know of some, please send me a link).
How do I make this work?