I've want to move a traffic light by dragging( is in the wrong position). But in Potlatch and ID, it drags the road away with. How exactly can I move the tag alone?

asked 25 Apr '14, 14:21

Bummibaer's gravatar image

Bummibaer
6111
accept rate: 0%


It seems as if the node of traffic light in question is actually part of the road. The simple way to fix your problem is to create a new node and add the tags from the original one to the new one (and remove them from the old node). Doing it this way has the disadvantage of losing the history of the old node.

JOSM has a dedicated "detach" node function that does it the "proper" way, you can emulate this in iD by:

  • adding a node on both sides of the traffic light on the way
  • spliting and unjoining the way at both new nodes
  • moving the three node way you now have out of the way and joining the original way again
  • removing the end points from the three node way, leaving you with the traffic light node

I wouldn't :-)

permanent link

answered 25 Apr '14, 14:46

SimonPoole's gravatar image

SimonPoole ♦
38.4k13286610
accept rate: 19%

1

Hi thanks! I will try it.

(25 Apr '14, 14:47) Bummibaer
4

Note you should check if what you want to do is actually compatible with http://wiki.openstreetmap.org/wiki/Tag:highway=traffic_signals which in general assumes that the signal is mapped on the actual way.

(25 Apr '14, 15:05) SimonPoole ♦
1

In OSM we usually prefer to map the signal's effect (which is to stop traffic, and implies placing it on a way's node) rather than the physical object (of which there can be many for a single stop location).

The reason for this (appart from avoiding too micro a mapping) is that it would be very hard for routing engines to use the traffic signal information if it wasn't placed on the way being routed.

I wouldn't move the traffic signal off the way unless you understand very well what you're doing.

(25 Apr '14, 15:58) Vincent de P... ♦

I have to strongly agree with vincent-de-phily on this: Don't remove the tag from the highway! One of the main "rendering" (i.e. users) of OSM data are routing engines which use this information to determine the best route. By adding highway=stop, highway=give_way and highway=traffic_signal tags to appropriate nodes on highways routing engines can make a better decisions on a good route.

See also: http://wiki.openstreetmap.org/wiki/Tag:highway%3Dtraffic_signals#Complex_intersections

If you must, add a separate node in the actual physical location for a map image renderer.

(25 Apr '14, 17:04) stf
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:

×147
×8

question asked: 25 Apr '14, 14:21

question was seen: 1,442 times

last updated: 25 Apr '14, 17:04

powered by OSQA