Skip to main content

Hi,

I have 1 raster containing 3 bands. All bands contain water depths, but for separate areas. Since they are for separate areas, I would like to merge this information into one band. The final product would be 1 raster with 1 band containing the water depths for the different areas. Thanks.

Hi @filipfaust​ , if every band has an identical "Nodata" definition that represents out of area for each band, you can separate the raster into three 1-band rasters with the RasterBandSeparator, and then merge them into one 1-band raster with the RasterMosaicker (Nodata Overwrites Data: No). Assuming the three areas don't overlap each other.


Hi @filipfaust​ , if every band has an identical "Nodata" definition that represents out of area for each band, you can separate the raster into three 1-band rasters with the RasterBandSeparator, and then merge them into one 1-band raster with the RasterMosaicker (Nodata Overwrites Data: No). Assuming the three areas don't overlap each other.

This solved my problem, thank you!


Reply