Why not ask your question on the new OpenStreetMap Community Forum?

Good morning.

I'm adding some nodes in my town, trying to indicate crosswalks and traffic signals. One example here

Some of them are only traffic signals (highway=traffic_signals), but others are pedestrian crossings (highway=crossing) with traffic signals near them.

I think that I'm not doing it well. Because my low English level, sometimes I don't understand correctly Wiki.

As far as I understand, pedestrian crossing with traffic lights have to be tagged as highway=crossing + crossing=traffic_signals. (Nowadays I've not added the tag "crossing=traffic_signals", so I have to correct them). But, is it necessary (or convenient) to add a node near the pedestrian crossing where the traffic signal is?

I'll appreciate all your comments. I don't want to continue this labour if I have doubts.

Thank you in advance.

asked 12 Dec '13, 13:20

odce72's gravatar image

accept rate: 0%

closed 16 Dec '13, 20:37


meta @odce72: you do not need to "close" after accepting (and it is not done usually). See e.g. unanswered q.s ("open questions without an accepted answer").

(16 Dec '13, 21:11) aseerel4c26 ♦

@aseerel4c26 Thanks for your comment. I didn't know it.

(17 Dec '13, 07:43) odce72

The question has been closed for the following reason "The question is answered, right answer was accepted" by odce72 16 Dec '13, 20:37

As other people said before, many times there is no single "right" way to tag things in OSM. I usually tag pedestrian crossings and vehicle crossings following simple rules:

highway=traffic_signals are used whenever vehicles must obey to the traffic lights. For example, when two roads intersect, the highway=traffic_signals would be applied to the node at the intersection.

alt text

(In the image above, the crossings do not have traffic lights in them)

highway=crossing + crossing=traffic_signals are used when pedestrians must obey the traffic lights.

(See image below)

If both pedestrians and vehicles must obey the traffic lights, there would be two nodes, one with highway=traffic_signals where the vehicles must stop and another with highway=crossing+crossing=traffic_signals where the zebra/etc is.

If there is a crossing, but without traffic lights, it would be tagged as highway=crossing (and optionally crossing=* to specify the type of crossing)

This way, it is possible to clearly separate the pedestrian and the vehicles "rules". Vehicles need to obey the lights at highway=traffic_signals and pedestrians must obey the lights at crossing=traffic_signals. I always put the node tagged highway=traffic_signals or highway=crossing on the way (never besides).

Also, sometimes it may be needed to add a way with highway=footway (or other like it) between two or more crossing nodes, making shortest path routing possible between crossings placed on long disjointed ways.

alt text

permanent link

answered 13 Dec '13, 18:02

MCPicoli's gravatar image

accept rate: 24%

This makes a nice rendered map but... many contributors put the "highway=traffic_signals" on every traffic light position, with or without pedestrian crossing. And apart rendering, it would be important to know which traffic signals are synchronized. This could be helpful for routers adding time penalties on traffic lights. Counting them becomes a real challenge since nobody is following the same rules.

(17 Dec '13, 09:46) Pieren

First, as always at OSM, there is no single "right" way to tag something, but various approaches that have different pros/cons.
If I understand your case right, you ask for a "complex" crossing, that has traffic lights for the car highways, but also traffic lights for the parallel footways? For me this sounds similar to this situation: alt text.

Here the crossing lanes have a dedicated traffic light that is tagged highway=crossing, crossing=traffic_light for the pedestrian footways. Keeping the traffic light and the crossing together at a single node keeps the semantic interpretation (making a computer understand that there is a place where people can save cross a highway) easier.
The only advantage I see for keeping them seperated would be that you can map the different positions more detailed, but IMHO at least currently it's not worth to do so. But who knows, maybe in 2..3 years we will alter the existing data to be more accurate :)

permanent link

answered 12 Dec '13, 18:26

iii's gravatar image

accept rate: 10%

highway=traffic_signals is missing in your text, isn't it? You mean it by "Keeping the traffic light […]", don't you?

(12 Dec '13, 21:32) aseerel4c26 ♦

Hi read these as well, https://help.openstreetmap.org/questions/1489/how-to-tag-traffic-lights-on-pedestrian-crossing, just by typing 'how to tag traffic lights' Some of us choose your tagging scheme (my choice, moore accurate) but a single node at the crossing can be found as well.

permanent link

answered 12 Dec '13, 22:45

Hendrikklaas's gravatar image

accept rate: 5%

Thanks for your answers.

So, I think I was doing it well, or not too bad :P

I´ll follow MCPicoli's explanation, If both pedestrians and vehicles must obey the traffic lights, there would be two nodes, one with highway=traffic_signals where the vehicles must stop and another with highway=crossing+crossing=traffic_signals where the zebra/etc is, because it's the best approach to the reality where I live, and it's the way I began to tag.

Obviously, where there is only a traffic light (without a crosswalk) , I´ll tag one node with highway=traffic_signals. And, where there is only a crosswalk (without traffic lights that pedestrian must obey), I'll tag one node with highway=crossing.

Again, thanks for all your answers.

permanent link

answered 14 Dec '13, 19:48

odce72's gravatar image

accept rate: 0%

Follow this question

By Email:

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



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:


question asked: 12 Dec '13, 13:20

question was seen: 3,615 times

last updated: 17 Dec '13, 09:46

powered by OSQA