Skip to main content

Hi,

I'm a reasonably novice with regard to handling rasters in FME, and has been given the task of converting 100 ERDAS Imagine files into a number of MapInfo tables containing polygons with the original pixel values as an attribute. The pixel value is a height-above-sea-level, and the data represents flooding estimation data.

I'm using RasterToPolygonCoercer to generate the "pixel polygons", which works fine, but the pixel value is lost somewhere along the line.

I'm discarding "NoData" values, but have "Preserving Attributes" turned on, so where did the pixel values go ??

Cheers

Lars I.

At the default settings it'll create an attribute called _label which is a concatenated string of the band values. It will also dissolve any adjacent pixels with the same band values.

The RasterCellCoercer might be more what you're looking for. It will create a list of the band values and will not dissolve the resulting polygons.

Hope this helps.

 


Reply