Skip to main content
Question

How to convert a polyline with many sections into a single polyline

  • August 11, 2020
  • 2 replies
  • 258 views

nicholas
Contributor
Forum|alt.badge.img+14

I have a MapInfo dataset of polylines where each polyline is composed of many sections (this is the MapInfo term). I want to convert to a clean polyline with only one section. What transformer can I use? I only want to combine the sections within each polyline, not between polylines.

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

deanhowell
Influencer
Forum|alt.badge.img+24
  • Influencer
  • August 11, 2020

Hello @nicholas​ I would suggest the LineCombiner transformer https://www.safe.com/transformers/line-combiner/


jdh
Contributor
Forum|alt.badge.img+38
  • Contributor
  • August 12, 2020

If I understand correctly you have a multipart path (polyline) features comprised of multiple segments (FME term) in which case you'll want to use the custom transformer PathSegmentJoiner.