Skip to main content
Archived

Raster property correspondence forcer

Related products:Transformers
siennaatsafe
david_r
jdh
  • siennaatsafe
    siennaatsafe
  • david_r
    david_r
  • jdh
    jdh

jdh
Contributor
  • Contributor

The RasterExpressionEvaluator and the RasterBandCombiner require that the input rasters have identical properties. If one raster has a spacing of 0.6666667 and the other 0.6666667000000001 then the second raster is rejected. See https://knowledge.safe.com/content/idea/58136/fuzzy-tolerance-on-rasterbandcombiner.html. Likewise if the origin is off by a picometer, and let's not talk about 20000 vs 19999 rows.

It would be nice to have a transformer that takes one raster as a reference, and then forces all other rasters (candidates) to correspond to it's properties.

This transformer would:

  • resample the candidates to the reference _spacingX, _spacingY
  • clip and or pad the candidates so they cover the same extent as the reference
  • snap the candidates to the reference origin
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.

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