Skip to main content
Question

Hi, I converted a raster image with the RasterPaletteGenerator. The new file can be easily filtered in QGIS using the Raster calculator (I only want one value out of the 255). However, I cannot find an equivalent tool in FME. Thanks for your help. Os

  • September 7, 2020
  • 2 replies
  • 17 views

ozuritah
Participant
Forum|alt.badge.img

I've tried using the raster selector but it always fails (probably because I do not know how to correctly introduce the parameters)

I am attaching a print screen of the Raster Calculator from QGIS with the "Expression" I used to filter my raster image. Thanks

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

takashi
Celebrity
  • 7843 replies
  • September 7, 2020

Hi @ozuritah​ , the RasterExpressionEvaluator could be what you are looking for.


ozuritah
Participant
Forum|alt.badge.img
  • Author
  • Participant
  • 4 replies
  • September 9, 2020

Hi @ozuritah​ , the RasterExpressionEvaluator could be what you are looking for.

Thanks @Takashi Iijima​ but after countless attempts I am not able to get the RasterExpressionEvaluator to work as I wish. My raster/palette has one band with 255 colours . I want to filter the file so that I end up having a black and white image where white corresponds to colour 5 (for example) and all the other colours become black. Then I can easily polygonise the black and white raster image.

As mentioned, I did it with the Raster Calculator in QGIS but it would be more efficient and fast if I could do it in FME.

Thanks, Oscar