Skip to main content
Solved

Create centerline on highways and intersections

  • February 4, 2025
  • 4 replies
  • 52 views

Jonathan Slope
Contributor
Forum|alt.badge.img+5

Hi! I have a new question today. 

I want to create centerlines on highways. Now, long lines, without intersections, work fine. However, i get wrong results when fme encounters a intersection, like in the pictures below. I expected this and tried to solve it, but it only became worse. 

 

Does anyone know a right way to do it? 

Thanks in advance!

 

 

 

 

Best answer by redgeographics

I would try the BRT, on one of the smaller scale levels they may show roads as a single line (rather than one line per direction)

View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.

4 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

Unfortunately that kinda is what the CenterlineReplacer does… Do you want the individual ramps as well as the main roads? (if you don’t want the ramps, perhaps dropping the donut holes before the CenterlineReplacer could make a difference)

 

Thinking out of the box here… since it’s a Dutch example: 

Road centerlines are available as open data, you could get those and then use your polygons to do a spatial select.


Jonathan Slope
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • February 4, 2025

Hi!

Thanks for your answer! Yes, i want all of them. I tested it before, and the donuts are a solution for the main highway. But i also want the ramps. 

Yes, i did try working with the open data. Which one can you recommend? I already did try the NWB - wegvakken , but that layer isnt that precise in the opinion of my college. 

 

Thanks in advance! (Dankjewel ;) )


redgeographics
Celebrity
Forum|alt.badge.img+49
  • Celebrity
  • Best Answer
  • February 4, 2025

I would try the BRT, on one of the smaller scale levels they may show roads as a single line (rather than one line per direction)


s.jager
Influencer
Forum|alt.badge.img+16
  • Influencer
  • February 4, 2025

try the NWB - wegvakken , but that layer isnt that precise in the opinion of my college

It is way more precise than the lines you are getting by using the CenterlineReplacer:

https://app.pdok.nl/viewer/#x=177778.66&y=429989.92&z=10.8652&background=Luchtfoto&layers=f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8;wegvakken;_;1

Maybe your colleague is thinking of the geometry returned by the Locatieserver for roads, because that is indeed simplified - but NWB data is definitely not. Especially the highways, coming from RWS, are quite good.


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