Skip to main content
Question

How to convert polygons to lines and vice versa?

  • February 12, 2014
  • 6 replies
  • 3441 views

jamal
Forum|alt.badge.img+5
How to convert polygons to lines and vice versa?

 

 

I couldn’t figure out how the conversions are implemented in the FME. For example, how polygons are converted to polylines and vice versa?

 

 

Thank you

 

 

Best

 

 

Jamal
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.

6 replies

redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3700 replies
  • February 12, 2014
There's the GeometryCoercer which can turn a polygon into a closed polyline. Then, depending on what you want and what your data looks like, you can use an Intersector and/or a Chopper to remove overlapping lines and cut them up into smaller bits.

fmelizard
Safer
Forum|alt.badge.img+20
  • Safer
  • 3719 replies
  • February 12, 2014
And the area builder correctly grouped to return to polygons

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • 2252 replies
  • February 14, 2014
dont forget to treat donuts seperatly...

jamal
Forum|alt.badge.img+5
  • Author
  • 342 replies
  • February 14, 2014
Many thanks for the help. It works fine

 

 

Best

 

 

Jamal

  • 17 replies
  • June 26, 2020
There's the GeometryCoercer which can turn a polygon into a closed polyline. Then, depending on what you want and what your data looks like, you can use an Intersector and/or a Chopper to remove overlapping lines and cut them up into smaller bits.

Hi, I have a similar question. I turn a polygon to a closed polyline with GeometryCoercer, and then try to decompose it to four lines. But instead of four lines, the result is many of broken segments with Chopper, or only one closed polyline with Intersector. Why is that? Can you help me? Thank you so much.


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • June 26, 2020

Hi, I have a similar question. I turn a polygon to a closed polyline with GeometryCoercer, and then try to decompose it to four lines. But instead of four lines, the result is many of broken segments with Chopper, or only one closed polyline with Intersector. Why is that? Can you help me? Thank you so much.

Probably better to post this as a new question