Skip to main content
Question

Extract NDVI value from raster

  • November 26, 2022
  • 1 reply
  • 14 views

arsouzaesilva
Participant

Hi,

 

After using the NDVI calculator I would like to get the image indices that vary between -1 and 1. How can I do this in FME?

 

Thank´s

1 reply

caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • November 28, 2022

You have to be more specific. What type of feature do you need to extract.

One way would be to use two RasterCellValueReplacers one for values <-1 and one for values >1 and replace them by some value that you set as NoData via RasterBandNodataSetter. -32768 is one of the commonly used values as it is the lowest 16bit signed integer.

You can then use RasterExtentsCoercer to get Data Extents in a polygon or just style the raster accordingly in your software of choice.

Or use RasterStatisticsCalculator to extract some other data that you might need.

Please specify your desired end result.


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