Skip to main content
Question

FME 2024 RasterStatisticsCalculator Incorrect Results

  • October 30, 2024
  • 1 reply
  • 41 views

ktv101
Participant
Forum|alt.badge.img

I am clipping a raster and then running RasterStatisticsCalculator. The results are completely wrong to what I get in ESRI using  zonal statistics and the only stat that is correct is the max value.

FME Results:
 

When I export the raster and bring it into ESRI, cell values are different and zonal stats are different
 


Zonal stats results from ESRI: 

 

I would appreciate some help in how best to run zonal stats in FME.

 

Thanks,

K

1 reply

virtualcitymatt
Celebrity
Forum|alt.badge.img+47
  • Celebrity
  • 2000 replies
  • October 30, 2024

I wonder what the results are if you do the statistics calculation before you do the clipping. 

I’ve seen sometimes certain operations can get done out of order, I wonder if something like that is happening here. It probably wont change anything but you could try and run a RasterCheckpointer in between the clip and statistics calculator. 

Some insight into how fme processes rasters can be found here: https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Transformers/Transformers/rastercheckpointer.htm