Skip to main content
Solved

Split ERDAS Imagine rasters into individual pixels with value ?

  • December 7, 2016
  • 1 reply
  • 12 views

lifalin2016
Contributor
Forum|alt.badge.img+29

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.

Best answer by redgeographics

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.

 

View original
Did this help you find an answer to your question?

1 reply

redgeographics
Celebrity
Forum|alt.badge.img+50
  • Celebrity
  • Best Answer
  • December 7, 2016

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.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings