Morocco/Roads/Motorways

Motorways (autoroutes الطرق السيارة) are major roads designed for high-speed vehicular traffic, often with controlled access and tolls. Their speed limit is maxspeed=* is 120 km/h and their ref=* starts with A.

Road signs on A3, 6 km from Amskroud and 195 km from Marrakesh.

Tagging

Ways

Roads

Tag the major roads as follows:

  • highway=motorway
  • ref=*: the reference of the motorway, e.g. A1, A2. (note—ADM classifies the references as follows: odd numbers for motorways going north-south, e.g. A1 from Rabat to Safi, and even numbers for motorways going west-east, e.g. A2 from Rabat to Oujda).
  • oneway=yes: all motorways are physically divided, meaning each carriageway goes in one direction.
  • lanes=*: the number of lanes.
  • maxspeed=*: the speed limit, as displayed on signs. Note that the speed limit is generally 120 km/h, but it can sometimes be reduced to 100 or 80 depending on the signs.
  • destination=*: name of the town/cities in the direction of the motorway, as displayed on signs.
  • toll=yes (or toll=no): in most parts, a toll is required to use the motorway, meaning it is necessary to go through a toll booth before (or after) using it. However, some parts do not require paying to use them. That is especially the case near cities (e.g. you don't pay a toll to go from Casablanca to Bouskoura).

Exits, links and interchanges

  • highway=motorway_junction: the exit nodes.
    • ref=*: use this tag on the nodes of the exits to precise their reference. These are numbers written on the signs beforehand that display the names of the cities/towns/roads of destination.
    • destination=*: use this tag on the nodes of the exits to precise the names of the cities/towns/roads of destination when taking this exit, as displayed on the signs.
    • destination:ref=*: use this tag on the exit nodes if it's a junction with another road that has a reference, e.g. A3, RN8.
  • highway=motorway_link: the links and interchanges leading to/from a motorway.
    • junction:ref=*: the exit's reference. This is the same number as the exit node's ref=* beforehand.
    • destination=*: use this tag on the ways of the exits to precise the names of the cities/towns/roads of destination when taking this exit. Same as the node's destination=* beforehand.
    • destination:ref=*: use this tag on the exit ways if it's a junction with another road that has a reference, e.g. A3, RN8.
    • oneway=yes
    • lanes=*
    • maxspeed=*: the speed limit, as displayed on signs.
    • toll=yes (or toll=no)

Toll booths

  • barrier=toll_booth: place two nodes, one on each way, at the location of the toll booths (péages).
  • name=*: add the name of the toll booth on both nodes, e.g. Péage Had Soualem.
  • building=roof and layer=1: for the outline of the roof of the building.

Relations

Add the ways to their respective relation, then tag the relation as follows:

List of motorways and progress

Principal motorways
ref=* from=* to=* Relation Status Notes
A1 Rabat Safi relation 1828265 RoadExitsService areasJunctionsLanesSpeed limitsDetoursTraffic Message ChannelRelation
A2 Rabat Oujda relation 4082192 RoadExitsService areasJunctionsLanesSpeed limitsDetoursTraffic Message ChannelRelation
A3 Casablanca Agadir relation 1550089 RoadExitsService areasJunctionsLanesSpeed limitsDetoursTraffic Message ChannelRelation
A4 Berrechid Beni Mellal relation 6119470 RoadExitsService areasJunctionsLanesSpeed limitsDetoursTraffic Message ChannelRelation
A5 Port Tanger Med Rabat relation 1828266 RoadExitsService areasJunctionsLanesSpeed limitsDetoursTraffic Message ChannelRelation
A7 Fnideq Tétouan relation 6119700 RoadExitsService areasJunctionsLanesSpeed limitsDetoursTraffic Message ChannelRelation
A? Tit Mellil Berrechid relation 18874579 Under construction as of June 2025
A? Guercif Nador relation 18879003 Under construction as of June 2025
Pénétrantes
ref=* name=* Relation Status Notes
A101 Pénétrante d'Ain Harrouda relation 6839025 RoadExitsService areasJunctionsLanesSpeed limitsDetoursTraffic Message ChannelRelation
A102 Pénétrante d'Azbane relation 18524149 RoadExitsService areasJunctionsLanesSpeed limitsDetoursTraffic Message ChannelRelation
A103 Pénétrante d'El Jadida relation 19283026 RoadExitsService areasJunctionsLanesSpeed limitsDetoursTraffic Message ChannelRelation
A201 Pénétrante de Fès relation 19152074 RoadExitsService areasJunctionsLanesSpeed limitsDetoursTraffic Message ChannelRelation
A301 Pénétrante de Marrakech-Palmeraie relation 10186366 RoadExitsService areasJunctionsLanesSpeed limitsDetoursTraffic Message ChannelRelation
A501 Pénétrante de Tanger-Ouest relation 19283053 RoadExitsService areasJunctionsLanesSpeed limitsDetoursTraffic Message ChannelRelation

External links