Skip to main content
Solved

Converting DEM TIFFs into different bands

  • December 5, 2014
  • 4 replies
  • 17 views

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!

Best answer by takashi

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.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

takashi
Celebrity
  • December 5, 2014
Hi,

 

 

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

 

 

Takashi

  • Author
  • December 5, 2014
Yes, unfortunately.

 

That's the transformer that I used to convert the 32bit file...

takashi
Celebrity
  • Best Answer
  • December 5, 2014
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.

  • Author
  • December 5, 2014
That was the issue. Setting the NoData cells to a new value without removing the differring NoData values first was creating issues.

 

 

Many Thanks.