Skip to main content
Question

Merging different segments

  • May 9, 2024
  • 2 replies
  • 56 views

olivier2
Contributor
Forum|alt.badge.img+1

Dear,

 

I want to merge two different datasets. One data set has road segments with a maximum speed and the other is bike segments. For each bike segment I want to know what the maximum speed is on the nearby road segment. Now I want to merge for each bike segment the road segments that are near (next to each other) I have tried anchored snapper but that does not work 100procent. Do you have some ideas on how I could take this problem on?

Thank you in advance

 

 

(purple the road segments, pink? the bike segments) Only the segments that are parallel to each other should be combined

 

2 replies

liamfez
Influencer
Forum|alt.badge.img+44
  • Influencer
  • May 9, 2024

You could try the custom transformer that @ctredinnick recommended as a solution on this post:

The LineOnLineRelator.

I have not used it yet myself but the way @ctredinnick described it, and looking at it on the hub, it seems like it may be what you are looking for.


olivier2
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • May 9, 2024

Thank you very much, I will try it!