Tag:highway=primary

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages
Public-images-osm logo.svg highway = primary
Osm element tag.svg
Description
A highway linking large towns.
Used on these elements
should not be used on nodes
may be used on ways
should not be used on areas
use on relations unspecified
Useful combination
Implies
Status: Unspecified

A major highway linking large towns, normally with 2 lanes. The traffic for both directions is usually not separated by a central barrier.

How to map

To map a simple primary highway you can just draw a line for it. Select all ways which belong to the highway and tag them with highway=primary. Use oneway=yes when it is not possible to drive in both directions on the highway. Make sure the way points in the same direction as the oneway goes, otherwise reverse the direction or use oneway=-1.

To attach more information for the highway you should add further keys.

  • name=Name of the highway
  • maxspeed=Number indicates the maximum speed which is allowed
  • minspeed=Number indicates the minimum speed which needs to be reached to use the highway
  • ref=reference name for example A 1, E 22

Special situations

In the case you do not have a normal highway you should take a look on these sites:

  • bridge=yes - If the highway goes over a street or waterway.
  • tunnel=yes - If the highway goes below a street or waterway.


International equivalence

Country Description more
Italy Strada Statale (SS) or Strada Regionale (SR) The "SSs" are mostly primary. You should also indicate the name of the highway, if it has one, example:
  • highway=primary
  • ref=SS12
  • name=Strada Statale dell'Abetone e del Brennero

"SRs" can be tagged as primary as well, if they have a relevant role in linking two major cities.

In general the highway-tag is not representing the administrative class but the importance of the connection.

By default this kind of highway is rendered:

  • with a label carrying the "ref" field at lower zoom levels;
  • with the name of the highway at higher zoom levels.
Switzerland Hauptstrasse There are two kind of "Hauptstrassen" in Switzerland:
Example of a signpost for a numbered "Hauptstrasse"
Use multiple numbers separated by semikolon (;) if a segment is used by more than one numbered "Hauptstrasse". Example: ref=6;12
Example of a signpost for a normal primary highway


In contrast to other routes, for example cycling or hiking routes, we do not use relations to model numbered "Hauptstrassen" in Switzerland, use ref=number as described above.

United States Primary highway or arterial road. U.S. Highways are mostly primary. You should also indicate the name of the highway if it exists, example:

Some State Roads or State Routes may also be primary, if they have a significant role in linking two major cities.

By default this kind of highway is rendered:

  • with a label carrying the "ref" field at lower zoom levels;
  • with the name of the highway at higher zoom levels.
Brazil Via arterial urbana (urban arterial way), estrada estadual (state road), >50-60 km/h