Tag:highway=primary
![]() |
![]() |
Description |
---|
A highway linking large towns. In cities, a major arterial road. ![]() |
Rendering in OSM Carto |
![]() |
Group: highways |
Used on these elements |
Useful combination |
Status: de facto |
Tools for this tag |
|
Use highway=primary
to tag a major highway linking large towns, but which does not satisfy the performance requirements of a motorway
and does not qualify to be trunk
. Primary highways are generally well matched by the country road classification bylaws and assigned a ref=reference code
.
In cities, primary
is usually used to tag major arterial roads.
See the international highway classification equivalence for an overview of highway tagging principles among countries.
How to map
Select all ways which belong to the highway and tag them with highway=primary
.
Tags used in combination
name=Name of the highway
ref=reference code
for example, A 1old_ref=*
- former numberint_ref=*
International reference number E.g. E 12lanes=*
- Number of lanesmaxspeed=Number
indicates the maximum speed which is allowedminspeed=Number
indicates the minimum speed which needs to be reached to use the highwayoneway=yes
- One-way streetsurface=*
- Road surfacelit=yes
- Indicates whether a road is litmotorroad=yes
- A highway with motorway-like traffic rules
Special situations
When a highway section runs over a bridge or through a tunnel, split the way from the rest of the road and tag it with one of:
bridge=yes
- if it goes over a street or waterwaytunnel=yes
- if it goes below a street or waterway
Roads with dual carriageways are mapped as two parallel lines, one per traffic direction, with oneway=yes
and dual_carriageway=yes
. In each direction, specify the number of traffic lanes with the lanes=*
tag.
Route relations
In OSM, roads are divided into many sections (ways) which differ by tag values such as maxspeed=*
, bridge=*
or tunnel=*
. Those sections should be added to a route relation that identifies them as a single legally defined route with common properties (typically ref=*
, operator=*
, name=*
, from=*
, to=*
).
Road quality
Primary highways in developed countries are normally asphalt roads with at least one lane in each direction. The traffic for both directions is usually not separated by a central barrier. In less developed countries road quality may be far worse and may even include unpaved roads.
Who can use it
Primary highways are usually open to all motorised trafic, while non-motorised traffic may be subject to restrictions subject to local laws. See access=*
for applicable limitations.
Official classification
Official classification often matches the actual road importance, and therefore primary
should be applied to roads designated as "primary", "1st order" or similar. However, it should not be followed blindly, since some route designations are aspirational. For example, a road leading only to a closed border crossing or toward a future bridge may be classified high in the official national network, but currently has no important role. Such roads should be assigned a lower importance, such as tertiary
or unclassified
.
Note that OSM maps world as it exists now, while official road classification may be structured in some way for budgeting and symbolic reasons - for example unpaved dirt road may be classified highly as large road is planned there and it qualifies for government funding to construct it. That does not mean that we should map this dirt road as primary
just because it is highly classed, maybe actual main connection currently goes elsewhere. Some roads may be highly classified for political or symbolic reasons without actually having such importance.
On the other hand, some of major traffic arteries and boulevards within cities should be tagged as primary
or secondary
, as appropriate, even if they do not have an official route designation by the country authorities. That may happen, for example, if the country road administration does not have jurisdiction over the city highways.
International equivalence
Country | Description | More details |
---|---|---|
![]() |
Main routes between urban centres with over 20,000 inhabitants, and urban structural ways (designation varies by municipality). | Brazilian Highway Classification (pt) |
![]() |
Provincial Highway / Urban arterial road (省道或城市主干路) | |
![]() |
2nd-tier National Roads | WikiProject Greece § Road Network |
![]() |
A ![]() |
|
![]() |
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, for example: "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. |
|
![]() |
Mainly "N-ways" below 400, often called a "provincial way" | NL:The_Netherlands_roads_tagging |
![]() |
State Highways and strategic local roads
All State Highways which do not meet the criteria for Strategic local roads are generally the most important roads that are not State Highways. They may be multi-lane divided, or connect major airports, seaports or isolated areas of a city. Examples include South Eastern Highway and Manuaku Road in Auckland, Wairere Drive in Hamilton, and the "Four Avenues" in Christchurch. |
|
![]() |
Regional infrastructure road (primær fylkesvei / skitet fylkesvei) that are not "Motorvei" , white signs ![]() Road properties varies according to traffic/population density and geographical constraints. From single shared lane roads to dual carriageway with grade separated intersection. |
No:Map Features#Road classes |
![]() |
Major route connecting smaller cities and large towns with large cities. Major arterial roads in cities. | Philippines/Mapping conventions/Roads/Classification |
![]() |
National Roads (with ref=EN *) and important urban avenues with two lanes in each direction.
National Roads which are not officially declassified. If it's a declassified EN, it may remain a primary if it is of first order (ex: EN 109). In urban centres, important avenues and arteries with two lanes on each way and a physical separator are also primary. |
Portugal's highways standardization (pt) |
![]() |
Hauptstrasse. There are two kinds:
In contrast to other routes, for example cycling or hiking routes, we do not use relations to model numbered "Hauptstrassen" in Switzerland, use |
|
![]() |
![]() ![]() ![]() ![]() |
WikiProject_Thailand#Intercity |
![]() |
Primary highway or arterial road.
U.S. Highways are mostly primary. Some State Roads are also primary, the criterion being either connecting large towns/cities, or being a major road in an urban area. |
|
![]() |
Regional roads network that connect the most important cities and towns of each State. | Venezuela roads tagging (es) |
|