Skip to main content

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

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


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


Reply