Solved

Split ERDAS Imagine rasters into individual pixels with value ?

  • 7 December 2016
  • 1 reply
  • 2 views

Userlevel 1
Badge +22

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.

icon

Best answer by redgeographics 7 December 2016, 10:45

View original

1 reply

Userlevel 5
Badge +25

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