Skip to main content
Solved

Intersections points of lines

  • July 15, 2020
  • 2 replies
  • 290 views

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).

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
  • 3427 replies
  • 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
Celebrity
  • 7843 replies
  • 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).