Malaysian Roads Tagging
| Sabah and Sarawak mappers? Feedbacks are welcome! |
| Further questions? Discussions? Head to the forum (or the discussion page)! |
This page merely recommends how to tag highway=* in Malaysia (note: strictly the peninsular at the moment). Over time, different mappers will have their own way to interpret a certain tag, but definitely, some key-value pairs will become the standard way to tag things.
The main classification for Malaysian highways are as follows:
- Expressways (Lebuh Raya Ekspres)
- Federal roads (Jalan Persekutuan)
- State roads (Jalan Negeri)
- Municipal roads (Lebuh)
Other types of roads may not fall under any kind of the mentioned categories, but they are able to be systematically tagged in the OSM database according to their primary function and/or importance to local traffic. The ref tags listed on signs do not delineate between ref and ref:to markers. In order to determine how to tag the ref network, mappers should look at the larger road network before tagging.
Attention Organised Editing Teams
Remember local craft mappers are humans too - these people may make mistakes. However, please, please, with cherry on top, analyse for any possible recent edits of their work before straight into making any changes. Check for any history of edits in the JOSM editor (Ctrl or ⌘ Cmd and H). Unless more concrete evidences, especially from KartaView, Mapillary or likewise, are made available; try not to discard any likely recent ground truth observations.
Carriageways demystified
- For more details on this topic, see Dual carriageway.
Should highways be mapped as undivided (single carriageways)? Or otherwise (multiple carriageways)?
Refer to the following diagram on the right.
In short: no physical divider, no need to trace separate highway. This is not a Malaysia-specific policy.[1]
| Case | Divided highway? |
|---|---|
| yes | |
| no | |
| no: painted barriers are not physical barriers | |
| no | |
| yes: traffic delineators are fixed to the ground | |
| yes: only for the link highway with the give way sign | |
| yes: don't forget to map the tree, growing in the middle of the divider | |
no: painted chevrons are not physical barriers, use lanes=* instead
| |
| yes |
Expressway
The highway system which is the highest class in Malaysia. Full list of expressways is available at Malaysian Highway Authority (Lembaga Lebuhraya Malaysia) website.
| Reference number
Highway shield |
OSM tagging
Typical examples |
Description, comments | Photo | |
|---|---|---|---|---|
One or two digits, beginning with the letter E |
highway=motorway
|
Exceptions:
|
||
highway=motorway_link
|
|
|||
highway=path
|
|
Further reading
Federal roads
These highways are maintained under the Ministry of Works (MoW or KKR). Features blue road signs.
| Reference number
Highway shield |
OSM tagging
Typical examples |
Description, comments | Photo |
|---|---|---|---|
Main Federal Road One or two or three digits |
highway=trunk
|
Semi-expressways
|
|
highway=primary
|
Main roads
|
||
highway=*
|
Other main roads Some roads in certain places (e.g. Langkawi or Selangor) may not be suitable to be tagged with |
N/A | |
Main Federal Road (Borneo) One to three digits |
highway=trunk
|
Semi-expressways
Examples:
|
|
highway=primary
|
Main roads
In short, all federal roads that are not double carriageways should be E.g. Jalan Datuk Mohd. Musa (Section Simpang Summer Mall - Kota Samarahan) |
N/A | |
FELDA or FELCRA Federal Road Four digits, beginning with 1000-2999 |
highway=*
|
N/A | |
Industrial Federal Roads Four digits, beginning with 3000-3799 |
highway=*
|
N/A |
Note
- Major federal route, for example, Federal Route 1, is usually referred as a federal trunk. However, as it winds through small cities or towns or rural areas (e.g. outside Greater Kuala Lumpur or Johor Bahru), the route may show clear signs not fully meeting the conventional
highway=trunkcriteria.highway=primarytag (or lower tag classifications) describes better this particular stretch of road. This may apply to the rest of major federal routes (which usually has a single digit reference number). Divided stretch (dual carriageway), or an undivided stretch (single carriageway) does not directly imply whether it should be tagged ashighway=trunkorhighway=primary– consider access control. To discuss more in depth, the forum is the best place to do so! Important: do not simply tag for the renderer.
- Currently the road reference system can be said quite messy. The last time the road list was updated in 2013, the main federal routes are coded with 1-255 and institutional roads are coded with 250-499. However, recently, some of the formerly state roads were made into roads maintained under the federal level (MoW) and are using codes meant for institutional road.
Major federal routes suitable to be tagged as a highway=trunk
- The Federal Highway, route number 2
- The Pan-Borneo Highway, route number 1
Further reading
- Malaysian Federal Roads System (Wikipedia)
- List and map of the Malaysian Federal Route (official website) - says it was last updated 1 June 2015 but still holds the outdated information.
State roads
Roads connecting towns, districts or villages in a state. Maintained under the state's Public Works Department.
Peninsular Malaysia (States of Malaya)
| Reference number
Highway shield |
OSM tagging
Typical examples |
Description, comments | Photo |
|---|---|---|---|
One to three digits, beginning with specified letters for each state |
highway=*
|
The main function of the road can be considered to decide the class of a state road. For example:
Please note that although certain roads may look like residential roads, classification is based on official status. Once a road has been gazetted and given a state road code, it shall not be classified as a residential road. In short, universal tag convention gives the best description. |
Borneo States (Sabah and Sarawak)
Road Classification in Borneo (Sabah and Sarawak)
In Sabah and Sarawak, the classification of state roads should not rely primarily on traffic volume. Due to the vast land area and low population density in much of Borneo, traffic congestion is uncommon outside of peak festive periods. Instead, greater emphasis should be placed on a road’s length, continuity, and functional role within the regional transport network.
Sarawak
In Sarawak, the primary criterion for determining the class of a state road is its principal function. Roads are classified based on the scale of connectivity they provide, particularly their role in linking administrative centers, divisions, and settlements.
| Reference number
Highway shield |
OSM tagging
Typical examples |
Description, comments | Photo |
|---|---|---|---|
One to four digits, beginning with specified letters for each state |
highway=trunk
|
Sarawak state semi-expressways
Examples:
|
|
Primary Roads (highway=primary)
Examples:
Note: ‘Lack of access controls’ may be determined by the frequency of access points (lorong). |
|||
highway=*
|
Secondary Roads (highway=secondary)
Examples:
|
||
Tertiary Roads (highway=tertiary)
Example:
|
Sabah
Unlike Sarawak, Sabah’s Highway Ordinance does not formally define the concept of state roads, nor does it grant the state government explicit authority to gazette roads as state roads. Nevertheless, in practice, roads that are neither federal roads nor municipal roads are generally regarded as state roads by functional classification. Despite this, some roads in Sabah carry state-style route code signage (for example, Jalan Semporna–Tawau, SA51); however, such designations are considered cosmetic only and do not reflect a legally gazetted state road status.
| Reference number
Highway shield |
OSM tagging
Typical examples |
Description, comments | Photo |
|---|---|---|---|
One to four digits, beginning with specified letters for each state Note: Sabah state road rarely has state road code |
highway=trunk
|
Sabah state semi-expressways
Examples:
|
|
Primary Roads (highway=primary)
Examples:
Note: ‘Lack of access controls’ may be determined by the frequency of access points (lorong). |
|||
highway=*
|
Secondary Roads (highway=secondary)
Examples:
|
||
Tertiary Roads (highway=tertiary)
Example:
|
State road codes
|
|
|
Federal routes in Labuan has Lxxx prefix[2].
Kuala Lumpur Federal Territory allegedly uses W prefix, however on the ground rules apply. No offical signages, so nothing.
Further reading
Malaysian State Roads system (Wikipedia)
Municipal roads

All roads, except expressways, federal, state, and private roads, fall under the jurisdiction of the local government (Pihak Berkuasa Tempatan, PBT). Some municipal roads have specific road code signs, such as in Shah Alam, where the BSA code is followed by a number. When determining whether a municipal road is primary, secondary, or tertiary, the street hierarchy should be considered. Cities and larger towns can be divided into blocks of primary roads, which are further divided into secondary and thentertiary roads, down to the level of residential and minor roads.
| Sample signpost | OSM tagging
Typical examples |
Description, comments | Photo |
|---|---|---|---|
|
highway=*
|
Maintained by local authorities (majlis bandar raya or majlis perbandaran). This kind of road is typical, for example, in Shah Alam (with BSA code followed by a number). Again, the degree of importance of the road depends on its traffic, etc.
More about its road code over here. |
N/A |
Notes
Other roads
| Sample signpost | OSM tagging
Typical examples |
Description, comments | Photo |
|---|---|---|---|
highway=unclassified
|
Roads with no certain classification. These may include:
These kind of road act as feeder roads, which means they mainly carries traffic from villages (or special residential areas) to a major road. |
||
highway=residential
|
Roads in a typical housing estate (taman perumahan). May also be used in villages (or any other kind of residential areas) upon roads that act as feeders to the more important local highway. | ||
highway=service
|
Provides access to parking spaces, fuel stations, buildings, etc. | ||
highway=track
|
The bottom class of the road network which is still accessible by cars (or probably four-wheeled drive only). The tag can describe the tracks in agriculture lands or the only way deep in remote areas. | ||
|
Signposted motorcycle lane in expressways
Signposted bicycle lane
|
highway=path
|
Used for roads totally inaccessible by any four-wheeled vehicles. Motorcycles may or may not be able to use it. | |
| N/A | highway=pedestrian
|
As shown in the picture to the right (Kuala Lumpur Central Market), the road is open for pedestrians only. No vehicles is allowed on the road. | |
highway=footway
|
N/A | ||
highway=living_street
|
|||
| Example based on 560371536 |
highway=motorway_link |
||
| Example based on 249848185 |
highway=motorway_link
|
Often times there is no clear difference between the destination:ref and destination:ref:to signs for motorways and links. Look at the larger road network to see which refs connect directly to a link. |
Notes
- The road Lebuh AMJ is an abbreviation commonly used on a road running from Simpang Ampat to Malaaca City before going west-east from Malacca City to Muar. The less commonly used expanded form is Lebuhraya Alor Gajah–Melaka Tengah–Jasin.
Route reference number
These can be found in direction signs or mile markers: the route reference number is in hexagonal highway shields (
)
See also
- Highway classification in Thailand
- Highway classification in Singapore
- Highway classification in Indonesia







