Skip to main content
Hi There,

 

 

I am trying to merge two DEMs which are currently in TIFF format in different bands (one 64bit the other 32). When I convert them to both be 64bit and attempt to mosaic them, I get an error as follows...

 

 

" The band nodata value '-3.4028230607371e+038' of the selected band '1:0' does not match the band nodata value '-3.4028230607371' of the corresponding band in the mosaicked raster"

 

 

I've tried using a RasterBandNoDataSetter to ensure that noData cells match but the does not seem to resolve the issue.

 

 

Any suggestions would be much appreciated!
Hi,

 

 

Have you tried the RasterBandInterpretationCoercer to change interpretation of the 32bit raster to 64bit?

 

 

Takashi
Yes, unfortunately.

 

That's the transformer that I used to convert the 32bit file...
hmm... I think the RasterMosaicker should work for rasters having identical interpretation and Nodata.

 

Check again whether the rasters really have same Nodata setting.

 

If they have exactly same Nodata but cannot be mosaicked, try removing Nodata from them with the RasterBandNodataRemover before mosaicking.
That was the issue. Setting the NoData cells to a new value without removing the differring NoData values first was creating issues.

 

 

Many Thanks.

Reply