Skip to main content
Solved

Converting DEM TIFFs into different bands


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.
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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
Influencer
  • 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
Influencer
  • 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.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings