Skip to main content


Hello,


I am trying to build some polygons from lines that match in nodes and are already closed.

As I try with AreaBuilder transformer i get some polygons, but in that ones that a line shares the boundary of two expected polygons only one polygon is created. Is there anyway to build polygons from shared lines?

Example: In the image you can see how two expected polygons were not drawn.

Thanks in advance!

Hi tono,

I can see some reasons why you areas don't build.

  1. Your lines are not topologically connected. you can use the Snapping parameter to specify a tolerance
  2. your lines are not properly split at intersections. You can use an intersector prior to the Area builder
  3. Make sure you are creating donuts

FME can build polygons from shared lines, good luck.

.JP


Definitely see also https://knowledge.safe.com/questions/20714/polygons-from-lines-issue.html


Reply