I'm looking for my problem's solution.
I've got 2 rasters:
one - with classification's output (*.tif - multiple value: 0-9):
and one - with classification of water's output (*.tif - value: 0-1):
I try to insert information from second raster to first raster. I mean:
if in pixel on first raster is NoData value and on second raster value in this the same pixel = 1, then value on output raster = 9 (Water ID), but if not - value from first raster in this pixel.
Eventually i want to obtain this result in on image:
Another step, which I want to obtain is fill all remaining NoData pixels value = 2 (Ground ID).
Does anyone know how solves this problem? I try to use Raster Calculator, but in my way it's not works.
I would appreciate. 😉