Question

How to stop RasterToPolygonCoercer from aggregating cells into larger polygons when neighboring cell values are the same?

  • 14 November 2014
  • 2 replies
  • 2 views

Badge
It seems that by default that RasterToPolygonCoercer transformer joins polygons if they have the same value as the neighbouring cell, as seen below:

 

 

And there seems to be no option in the RasterToPolygonCoercer to stop it from doing this.

 

 

What is the simplest way I can fix or avoid this aggregation of cells to larger polygons - either by using a different transformer(s) to coerce the raster, or by further processing the polygon output? 

2 replies

Userlevel 2
Badge +17
Hi,

 

 

You can use the RasterCellCoercer transformer to transform a raster into individual cell polygons. Set "Polygons" to the "Output Cell Geometry" parameter.

 

 

Takashi
Badge
ah yes, I forgot about the RastercellCoercer! Thanks!

Reply