Does anyone know if it is possible to create a histogram for a raster in FME?
This would be similar to the 'calculate statistics' arcgis tool.
I am using the file geodatabase raster writer.
Thanks,
Owen
Does anyone know if it is possible to create a histogram for a raster in FME?
This would be similar to the 'calculate statistics' arcgis tool.
I am using the file geodatabase raster writer.
Thanks,
Owen
There is no simple transformer for raster statistics or histograms in FME yet athough we are looking at adding one in the future. In the meantime Dmitri of Safe came up with an interesting way of getting a histogram by converting the rasters to point clouds and then splitting the point cloud on th ranges your want. Turns out this approach runs quite quickly. I placed his workspace here temporarily so you can download it (I will put it on FMEPedia shortly):
https://www.dropbox.com/s/pescarzsy5n3cmh/RasterHistogram.fmw
From what I know these stats are only used internally in ArcMap. Creating the stats is mainly used with creating raster pyramids for better visualisation.
This can be done with FME via format attributes.
Hope this helps,
Itay
Have there been any developments on this in the past 3 years? I'd like to do the same thing.