Skip to main content
Solved

RasterMosaicker gaps

  • October 9, 2024
  • 2 replies
  • 95 views

mr_fme
Enthusiast
Forum|alt.badge.img+9

Hi,

I have a dataset with 8 images. Look below at the images together:

 

After using the Raster Mosaicker, the output is 1 image like this:

 

What could I have done wrong in the transformer, or what else is necessary?

Thanks.

Best answer by crystalatsafe

Hi @mr_fme 

You could try changing the Data Values parameters, particularly the Overlapping Values parameter. By default the last value in will win, so if a raster with empty space comes in after a raster that has meaningful values in that area, the empty space will overwrite the meaningful values since they arrived later. Changing the data value parameters may help with this, here are a few things you could try:

  • If your data has an alpha band, setting Overlapping Values to Composite Using Alpha Band will likely have the best result.
  • If your data has nodata values, ensure that Nodata Overwrites Data is No. You may also need to set the no data value before the RasterMosaicker. 
  • If your data has neither alpha nor nodata, you could try setting Overlapping Values to Minimum, since white would be (255, 255, 255), so any real value would be less than that.

Please let me know how this goes and if you have any questions.

Crystal 

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.

2 replies

crystalatsafe
Safer
Forum|alt.badge.img+26
  • Safer
  • Best Answer
  • October 16, 2024

Hi @mr_fme 

You could try changing the Data Values parameters, particularly the Overlapping Values parameter. By default the last value in will win, so if a raster with empty space comes in after a raster that has meaningful values in that area, the empty space will overwrite the meaningful values since they arrived later. Changing the data value parameters may help with this, here are a few things you could try:

  • If your data has an alpha band, setting Overlapping Values to Composite Using Alpha Band will likely have the best result.
  • If your data has nodata values, ensure that Nodata Overwrites Data is No. You may also need to set the no data value before the RasterMosaicker. 
  • If your data has neither alpha nor nodata, you could try setting Overlapping Values to Minimum, since white would be (255, 255, 255), so any real value would be less than that.

Please let me know how this goes and if you have any questions.

Crystal 


mr_fme
Enthusiast
Forum|alt.badge.img+9
  • Author
  • Enthusiast
  • October 17, 2024

Thank´s