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

I’m struggling with the tag enforcement with 2 utilities, maxspeed and traffic lights. As soon as I added one and safe it, the otherone disappears. The red light camera reacts at > speed levels too. The taglist shows some but I misted this specific one.

asked 18 Nov '12, 22:48

Hendrikklaas's gravatar image

Hendrikklaas
9.3k207238387
accept rate: 5%


You cannot have a highway=speed_camera and highway=traffic_signals on the same element because they obviously share the same key. Create a separate element for each.

Another common approach is to use a semicolon to separate multiple values for the same key. But don't expect all tools to handle this correctly.

I don't understand your maxspeed problem though.

permanent link

answered 19 Nov '12, 06:17

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

edited 19 Nov '12, 18:13

1

Thanks, but its only one pole with surprisingly a double function. Just add a extra node on top of the other one ? Greetz

(19 Nov '12, 11:11) Hendrikklaas
1

Although having two nodes on the exact same location is usually discouraged it seems to be a valid solution here.

(19 Nov '12, 14:15) scai ♦

Hi, would this format do without any complaints ? Enforcement - traffic_signals / maxspeed, I'd already added it here ; http://www.openstreetmap.org/edit?lat=52.3295&lon=6.6467&zoom=17 Greetz

(19 Nov '12, 17:45) Hendrikklaas
1

No it won't. Why are you asking if you are ignoring the answer anyway?

(19 Nov '12, 18:11) scai ♦

Scai, Im just asked because this is one of the platforms I know, to talk together to make OSM better and usable. Isnt that whats all about ? Making a Worldwide and usable map together and trying to improve the system daily to be used by everyone ? If its a mistake please tell me. Greetz

(19 Nov '12, 21:16) Hendrikklaas

Of course Hendrik, that's why I told you how this specific problem is usually solved by the majority of the community.

(20 Nov '12, 06:16) scai ♦
showing 5 of 6 show 1 more comments

The maxspeed tag applies to a way rather than a node, so it does not conflict with the other two tags mentioned. Traffic signals and enforcement cameras each exist at a point, and so must belong to a node. The OSM community has decided that both should use the 'highway' key, and scai has explained that an element may not have two tags with the same key, so the traffic signals and the camera must be tagged on different nodes. If they happen to be at exactly the same place, at least when recorded in only two dimensions (e.g. if they are mounted on the same pole), that must be a justification for having two nodes in exactly the same place. Two nodes at the same position on the map give the most accurate representation of what exists on the ground.

permanent link

answered 20 Nov '12, 18:09

Madryn's gravatar image

Madryn
2.2k365181
accept rate: 13%

Thanks, done http://www.openstreetmap.org/edit?lat=52.36018&lon=6.54994&zoom=16, even the shadow is recognisable !

(20 Nov '12, 20:08) Hendrikklaas
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:

×46
×9
×1
×1

question asked: 18 Nov '12, 22:48

question was seen: 3,260 times

last updated: 20 Nov '12, 20:08

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