Skip to main content
Question

How to build polygons from lines?

  • December 1, 2015
  • 2 replies
  • 771 views

tono
Supporter
Forum|alt.badge.img+13

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!

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

jpvo
Contributor
Forum|alt.badge.img+2
  • Contributor
  • December 1, 2015

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


fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • December 1, 2015