Skip to main content

How do i convert a small raster to an (aspatial ) long list of numbers (the pixel values with comma separators idealy) without coercing to vector. I want to look at frequency of numbers occuring in the raster, Thanks

Hi @rossdognz,

If you do not want to use the RasterCellCoercer then I would recommend exploring the fmeobjects documentation on raster data to use in the PythonCaller.

You can find some examples of how this is used from Takashi in the comment section here:

https://knowledge.safe.com/questions/38000/python-fme-objects-api-for-raster-manipulation.html


Reply