Skip to main content
Archived

Raster property correspondence forcer

Related products:Transformers
  • February 18, 2020
  • 0 replies
  • 29 views

jdh
Contributor
Forum|alt.badge.img+40

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 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.