I am trying to find the best way to tag the following situation:

alt text

It is a bike path that starts near the intersection of two streets. It is necessary to somehow indicate that the path communicates with the roads. One way to do it of course is by adding the red line shown in the picture, and tagging it as highway=cycleway.

Is there a more accurate way to tag this, that will still work well with routing? How about tagging the red segment as cycleway=crossing (without any other tags)?

asked 09 Sep '13, 03:01

Augusto%20S's gravatar image

Augusto S
96348
accept rate: 0%

edited 09 Sep '13, 03:01

1

I regularly face this kind of conundrum for pedestrians as well. Most annoying is when I need to show that an area is connected (for routing but not geometrically) to a way. I haven't found a satisfying solution yet.

(09 Sep '13, 10:58) Vincent de P... ♦

Your solution is fine and the red line is definitely required for a correct routing. Although there is a crossing tag it is only used to describe points where one can cross the road from one side to the other.

Your proposed cycleway=crossing without any other tags wouldn't get recognized by any router because it is not an established tag. And it misses the highway key which is usually crucial for vehicle and pedestrian routing. Furthermore this is not a real crossing but more a link. So one could theoretically use both highway=cycleway and cycleway=link.

Another solution would be to add cycleway=track to the existing highway and remove the separate cycleway. See the bicycle page on the wiki for an overview with examples on the different cycleway values.

And don't forget to check the access restrictions. If you use highway=cycleway then you also need to add foot=yes to the way if pedestrians are allowed to walk there, too. Because according to the default access restrictions pedestrians are not allowed on cycleways. Forgetting to add this tag is a common error.

permanent link

answered 09 Sep '13, 07:39

scai's gravatar image

scai ♦
30.8k18278430
accept rate: 23%

edited 09 Sep '13, 07:43

The only thing against tagging the red segment as highway=cycleway is that it is going to rendered in the map, and will look ugly. That's why I was looking for something that allows the router to determine the ways are connected, but is typically not rendered. But if there's not such a thing, it will stick to that solution.

[This cycleway soon diverges from the road, that's why I am not using cycleway=track.]

(09 Sep '13, 19:49) Augusto S
1

Don't give too much importance of rendering aspects. OSM is in anyway just a simplified view of the real world. The roads are not a simple thin line. A line is not an area and we have to accept some simplification, especially around the junctions.

(10 Sep '13, 09:25) Pieren
1

Sometimes, I add short "artificial" ways like the one shown above to aid pedestrian routing around some pedestrian-only bridges (they would be unconnected to anything if they did not exist, and no routing would take place through them) and large bus stations (no other way to reach the bus stops without them). If they do not exist physically, I tag them with a note saying "Artificial for routing purposes".

(10 Sep '13, 11:09) MCPicoli

I am getting convinced that a special tag for "non-physical", router-aiding highways should be created to handle these situations.

(10 Sep '13, 18:35) Augusto S

Hi Augusto, If I were mapping this I'd start the cycleway from the road running vertically - shift click to add new node then shift click on the node to start cycleway running off to the left. The road running left to right is already connected to the road running vertically (if I have interpreted your screen print correctly) so routing would be able to follow from that connection to the new connection you made when you drew the cycleway. I don't think your 'red line' linking all three elements (2 roads & 1 cycleway) is needed. Ask me more if I haven't explained clearly enough! Graham

permanent link

answered 09 Sep '13, 06:45

NZGraham's gravatar image

NZGraham
1.8k122648
accept rate: 17%

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:

×66

question asked: 09 Sep '13, 03:01

question was seen: 1,934 times

last updated: 10 Sep '13, 18:35

powered by OSQA