Skip to main content
Solved

How to filter pixel value - other way

  • October 17, 2024
  • 2 replies
  • 47 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

View original
Did this help you find an answer to your question?

2 replies

hkingsbury
Celebrity
Forum|alt.badge.img+54
  • 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


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