Proposed features/Extended traffic signs tagging/Tools

From OpenStreetMap Wiki
Jump to navigation Jump to search
Extended traffic signs tagging
Status: Draft (under way)
Proposed by: yopaseopor
Tagging: traffic_sign=*
Applies to: node
Definition: An extended and advanced scheme to tag all kind of traffic signs
Drafted on: 2017-02-05


Traffic signs presets for JOSM

Traffic_signs_XX preset is a set of 43 presets for JOSM which contains all the combination of tags for more than 12000 different traffic signs. There are presets for traffic signs of Andorra, Argentina, Austria, Australia, Belarus, Belgium, Brazil, Canada, Chile, China, Colombia, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Indonesia, Israel, Ireland, Iceland, Italy, Japan, The Nederlands, Norway, Peru, Poland, Portugal, Russia, Serbia, South Africa, South Korea, Spain, Sweden, Switzerland, Slovakia, Turkey, Ukraine, United Kingdom and United States.

In some countries preset is so complete as Spain. Well-Developed countries are Nederlands, Finland and Belgium, and the others has all the basic tagging you can find in their countries traffic laws. You can install it from Edit > Preferences > tagging presets (3rd tab).

Preset traffic signs.png


Other tools are divided in zones:

  • Traffic_signs_AFR (Africa): South Africa.
  • Traffic_signs_AME (America): Canada, United States, Mexico, Brazil, Argentina, Chile, Colombia and Peru.
  • Traffic_signs_DE (Germany): Germany from 2017 law. In SVG.
  • Traffic_signs_EUR_OC (West Europe):Austria, Andorra, Belgium, Switzerland, Czech Republic, Denmark, Spain, France, United Kingdom, Ireland, Italy, The Nederlands and Portugal.
  • Traffic_signs_EUR_OR (East Europe):Belarus, Greece, Estonia, Finland, Hungary, Iceland, Norway, Poland, Russia, Serbia, Sweden, Slovakia, Turkey, and Ukraine.
  • Traffic_signs_PAC (Pacific Zone): Australia, China, Indonesia, Israel, Japan and South Korea

Traffic signs presets for Vespucci

As you know newest version of Android app Vespucci cap accept JOSM presets so you can use Traffic_signs_XX presets with your favourite app to edit osm on the ground with the most complete options with a simple touch of your fingers. To execute this specify it to Vespucci in Configuration > Advanced > Presets and then touch Add preset to set the name and the URL of the preset.


Origins of Deriviste

In October 2018, a new OpenStreetMap tool called Deriviste was introduced by Richard Fairhurst. This tool presented the user with a way to directly create OSM data from user images on Mapillary, including by clicking directly on the image. Thanks to an experimental feature in the open-source MapillaryJS library, Deriviste meant that a click in the Mapillary image was translated to a point on the map. Richard borrowed some code from the OpenStreetMap iD editor in order to allow searching for OSM tag presets, then used simple user authentication to allow submission of the newly created data as an OSM changeset.

Deriviste screenshot1.png

How it works this fork

With a fork of this tool called Deriviste_traffic_signs you have a simple interface to add nodes to OpenStreetMap based on what you see in Mapillary street-level imagery.

  • Click a place on the map with a green highlight.
  • Double-click a traffic_sign object on the street imagery to place a node there.

Deriviste screenshot2.png

  • Use the search box to find the code for this country in the preset.

Deriviste screenshot3.png

  • Complete the tags using the right-hand tag table (don't forget key side).Delete the code for what direction is not. Deriviste screenshot4.png
  • Repeat until you're done.
  • Enter your OSM username and password, then click 'Upload'.
  • Make an overpass-turbo query to detect the new nodes (you can try to find traffic_sign:forward or traffic_sign backward)
  • Export it to other editor like JOSM, Vespucci, iD or Potlatch. Now you can attach to the road the traffic sign if you want to. Also you can remove any duplicates and generally clean up. The Mapillary API sometimes fails to find co-ordinates for a click.

The currently selected node is shown in red, others in blue. You can drag the nodes around to fine-tune their position. (You can also place nodes by double-clicking on the map.)

Taginfo project

Traffic signs taginfo project (divided by zones) contains almost the majority of the keys and values it can be used with traffic signs. It works well as a stats tool.

You can find:


OSM Traffic signs test maps


With Leaflet and Overpass you can see some examples how can be rendered traffic signs well-located. There is a repository in Github for these maps. Done by jmrobles from Digitalillusion

Traffic signs example map screenshot.png


Based on Bicycle Tags Map you can see some examples of the distribution of all king of traffic signs. There is also a repository in Github for this map. Done by Ramiro Balado

Screenshot of Openlayers Customapp.png

Traffic signs JOSM style

Style Traffic signs show more than 12000 traffic signs of the 42 countries mentioned above in JOSM (divided by zones). It places traffic sign on the chosen side and it shows also subkey :2 traffic signs if each traffic sign is in a different node.

Traffic signs JOSM style.jpg

Kendzi3D plug-in for JOSM

Kendzi3D JOSM plug-in has a set up and configuration files showing generic +14000 traffic signs of the 42 countries mentioned above. Depends of the country will show you more or less information. Also we split the models into files to assure the content is shown in a good way.

Considerations to do your files

  • It is recommended to use SVG models and use programs to do the PNG files like Inkscape
  • In the name file inside the code it is important to avoid in the name any non-English character as " " or "'" or any accent.Use normal letters without accents and change " " or "'" with "_"
  • In the query inside the code it is important to avoid the use of "'" in the name of the town. You can only change it with "'" (not ") . But this is in the Kendzi3D xml file, don't change any name in OSM to make it suitable to Kendzi3D.

To make it work install Kendzi3D plug-in in JOSM. Then go to 3D > Models library and add these URL files choosing the zone or the country. To see it you have to add these models to your Kendzi3D library:

All concrete references or destinations have to be done, but it can be batch done. Example of all positions you can have in a roundabout traffic sign with JOSM Kendzi3D plugin:

Roundabout preset.jpg

Kendzi example.jpg


South Africa






For Spain it shows you the generic traffic signs and also it shows specific destination traffic signs. It has the possibility to adapt Spanish panels positions to other destination signs' countries.

To see it you have to add these models to your Kendzi3D library:

For roads:

For motorways:

Pacific Zone



To contribute to any of these parts of this project there are some Github repositories like this:

Please comment on the discussion page of the proposal.