Skip to main content
Question

Splitting line features at intersections with a separate line feature class


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?

2 replies

philippeb
Enthusiast
Forum|alt.badge.img+16
  • Enthusiast
  • 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+28
  • Contributor
  • 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.

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings