NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I have now posted two questions about mapping intersections of divided roads and turn restrictions. I am getting there, but I wanted to ask this separately.

If two divided roads intersect, we are going to end up with four intersection nodes. This much is clear. If there are "No U turn" signs to be made, then the ways need to be split in two and three parts respectively. The northbound side of Street A becomes the "from" of the relation, the southbound side is the "to", and the short section of Street B in-between is the "via".

Should I wipe out the name of this short "via" section? If I don't, it can lead to some interesting rendering. Or it may not. Is there a best practice for this?

asked 05 Mar '11, 09:46

ponzu's gravatar image

ponzu
2.1k496483
accept rate: 0%


No you don't need to (or actually should't) remove the name from the short "via" section. Every decent renderer will omit the name on that short bit and any good renderer will merge the pieces with the same name internally and will perform label placement on the stitched way. This obviously only works if all touching parts of the street actually carry the name of the street.

Routing software benefits from the name on the short "via" part too. Many routers simply check if the name of the next part of the route is the same as the name on the current part. If not they will issue a command like "continue on to Street A". Obviously this gets a lot harder to check and generate if short unnamed stretches of Street A are present.

And last but not least: that part is part of Street A so it should carry that name.

permanent link

answered 05 Mar '11, 10:04

petschge's gravatar image

petschge
8.3k217398
accept rate: 21%

> If I don't, it can lead to some interesting rendering

Don't let that concern you. Map what's correct. The renderers will figure it out for themselves, and if not, we'll fix the renderers.

permanent link

answered 05 Mar '11, 12:18

Richard's gravatar image

Richard ♦
30.9k44279412
accept rate: 18%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×930
×440
×45

question asked: 05 Mar '11, 09:46

question was seen: 4,934 times

last updated: 05 Mar '11, 12:18

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum