Skip to main content
Question

Splitting line features at intersections with a separate line feature class

  • October 3, 2017
  • 2 replies
  • 66 views

Hello,

I would like to split the lines in my feature class only where it intersects with a separate linear feature class.

I have my base linear feature class, and a second linear feature class that I have created to demarcate exactly where the base lines should be split. Is there a transformer that can easily do this?

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

philippeb
Enthusiast
Forum|alt.badge.img+22
  • Enthusiast
  • 329 replies
  • October 3, 2017

Try to use the LineOnLineOverlayer. After, with a tester, you can filter the Feature Class you want to keep and your lines will be split.


jdh
Contributor
Forum|alt.badge.img+37
  • Contributor
  • 2002 replies
  • October 3, 2017

Is your base linear feature class otherwise topologically correct? Or are there intersecting lines within it that should not be split (ex. overpass on road)? If the former then either a LineOnLineOverlayer as @philippeb suggests or an Intersector can be used.

 

 

If you need to keep your original lines intact, except at the demarcated places, then you need a way to isolate your segments. I suggest assigning a unique ID to your base feature class and then using a spatialRelator with the split class as the requestor and the base class as the supplier with the predicate as intersects. Follow this by a listExploder (if necessary) and then send everything to the Intersector with the Group By set to the unique ID.