Skip to main content
Question

How to join line segment and arc?

  • February 22, 2019
  • 2 replies
  • 100 views

arthy
Contributor
Forum|alt.badge.img+8
  • Contributor
  • 101 replies

Hello,

I have an issue when using the linejoiner. I would like to merge lineear features, some of them are arc while other are segment line.

I first use ArcStoker to transform all the arc features in to segment lines and then I use LineJoiner to combine the features..

It appears that the transformation with ArcStroker is creating a shift between the start/end point of consecutive features lines. Because of that it is not possible to merge the original arc features with the line segment features.

Does anyone has an idea on how to overcome this issue?

Thanks

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

ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3429 replies
  • February 22, 2019

You could try a snapper prior to the linecombiner


Forum|alt.badge.img+2
  • 1891 replies
  • March 1, 2019

@arthy The LineCombiner (new name for the LineJoiner) can preserve the arcs if you set the Advanced Parameter: Preserve Lines as Path Segments = Yes.

Most FME writers will stroke the Arc in the path if the format does not support arcs - like shape. I've attached an example workspace (2018.1): linecombiner.fmw

If you do need to stroke the arcs, then you probably have to use Snapper or Anchor Snapper @egomm suggests. AnchorSnapper will allow you to snap the arcs to the lines (or vise versa) giving you a little more control.