Skip to main content
Solved

Intersections points of lines


Hello!

I have two datasets of lines - streets and roads. I would now like to get all intersections of streets and roads as points, but not intersections of streets and streets or roads and roads. I tried the transformers "Intersector" and "LineOnLineOverlayer" but both only have one input. So how can I sove this problem?

Thank you, Stefan

Best answer by takashi

Hi @ferorelatum, a possible approach is, firstly find out intersections between streets and roads and then split the lines by those intersection points. This screenshot illustrates an implementation example. Assuming that the two datasets have different feature type name (fme_feature_type).

View original
Did this help you find an answer to your question?

2 replies

ebygomm
Influencer
Forum|alt.badge.img+33
  • Influencer
  • July 15, 2020

If you build a list within the Intersector, you can then use this list to identify points where a street and a road cross - include whichever attribute identifies whether a line is a street or a road in your list, then use a ListDuplicateRemover on this element, followed by a ListElementCounter and a tester to only keep nodes where a the list element count is greater than 1


takashi
Influencer
  • Best Answer
  • July 15, 2020

Hi @ferorelatum, a possible approach is, firstly find out intersections between streets and roads and then split the lines by those intersection points. This screenshot illustrates an implementation example. Assuming that the two datasets have different feature type name (fme_feature_type).


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