Skip to main content
Solved

How to filter pixel value - other way

  • October 17, 2024
  • 2 replies
  • 81 views

mr_fme
Enthusiast
Forum|alt.badge.img+9

Hi,

I understand that the Raster Expression Evaluator transformer doesn't work properly, only in the new version 2024.2.

I would like to know how I can proceed with my workspace, as I want to keep only the raster pixels with values greater than 0.3.

 

How can I solve this?

 

Please find my sample attached:

 

https://drive.google.com/file/d/1Yil9aZj5mkiTQi7lbvDJfFejWKQE4YTl/view?usp=sharing

 

Thank´s

Best answer by hkingsbury

By keep do you mean set the other values to nodata? you can use the RasterCellValueReplacer and RasterBandNodataSetter to achieve this

 

The above results in:
 

 

 

FYI, the data you attached has no values less than 0.3

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

hkingsbury
Celebrity
Forum|alt.badge.img+65
  • Celebrity
  • Best Answer
  • October 17, 2024

By keep do you mean set the other values to nodata? you can use the RasterCellValueReplacer and RasterBandNodataSetter to achieve this

 

The above results in:
 

 

 

FYI, the data you attached has no values less than 0.3


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

Hi @hkingsbury ,

 

Once more. Helped me a lot.

 

Thank´s