Kaart: Access and Barrier Tags

Introduction
Barriers and access tags are important in OSM as they provide valuable information on accessibility and routability. This guide will provide definitions and propose a workflow for mapping these features in OSM.
Key Terms and Definitions
Here are some basic terms and definitions that help clarify how to tag barriers and access tags.
| Implicit Classifications: | Highway classifications that imply a certain mode of transport is permitted or prohibited by default without further tags necessary to enforce the access restriction. Sometime self-evident in the name. There are two universal implicit classifications in OSM: |
| Innavigable Way: | Way cannot be accessed by any means. Way cannot form part of a route. |
| Terminal Way: | A road that does not allow thru traffic. Contains the beginning or endpoint of a route. |
| Enclosed Area: | An area with a closed perimeter of walls and fences. There are barriers controlling access at every point of entry. At least one barrier is a gate. |
| Gated Community: | An enclosed area of residential housing. |
Prerequisites
- Familiar with JOSM, highway classifications, and road geometry.
- Review access implications of highway classification tags. Specific highway classifications make some access tags redundant. We want to avoid adding redundant tagging.
- Familiar with ground imagery platforms (Mapillary, Kartaview, etc.)
Skill Instruction
Barriers
A barrier is a physical structure that blocks or prevents movement. To map barriers in OSM, an editor will add a barrier=* tag to a node or way depending on the type of barrier.
How to Map
Before we add a new barrier we first need to determine if it will go on a node or a way. To do this we'll reference both ground and aerial imagery to identify what kind of barrier it is and how it should be tagged.
Nodes
Barrier nodes are placed where the barrier structure is visible in aerial or ground imagery (where available).
- Use available imagery to identify where the barrier(s) is/are.
- Split the ways where the barrier(s) is visible.
- Add the appropriate
barrier=*tag based on ground imagery.- Some barriers can be added to areas as well.
Note: Never connect a barrier to a highway junction as this will block routing for ALL incoming ways.
Some barriers have implied access tags, meaning you are required to stop to request permission before proceeding through the barrier.
The following types of barriers have implied access(access=permissive):
Linear Barriers(Ways)
Linear barriers include fences and freestanding walls. These are added as line features and are often used to enclose areas.
To add a linear barrier:
- Use available imagery to identify where the barrier is.
- Draw a line where the barrier can be seen in aerial/ground imagery.
- Add the appropriate
barrier=*tag.
Common Barriers
Below is a list of common barrier tags that Kaart uses. These are identified in the Kaart paint style with a green casing. For more information on this see the Kaart Paint Style page.
barrier=gate |
Any section of wall or fence which can be opened to allow or block access. | |
barrier=lift_gate |
Vehicular access is blocked using one or two horizontal bars. The bars are raised and lowered either electronically or manually. | |
barrier=bollard |
A post installed to block entrance by most vehicles or prevent motorcars from colliding or crashing into pedestrians and structures. | |
barrier=block |
A large, solid, immobile object—typically made of concrete or similar material—that can only be moved with heavy machinery or significant effort. | |
barrier=jersey_barrier |
A jersey barrier consists of heavy prefabricated blocks which create a barrier blocking access or separating lanes. They have a distinctive shape. Often made of concrete, but can be plastic, filled with sand or water. | |
barrier=kerb |
A kerb is a low profile barrier that is located at the edge of a road that separates it from a sidewalk or a path. |
Access
In addition to barriers, access tags are used to further improve routing. These can be added to both nodes and ways.
Access tags are divided into two subcategories:
- Tags that describe legal restrictions against access by people.
- Tags that describe legal restrictions against access by modes of transport.
How to Map
Nodes
Access tags can be added to various node features, but the focus of this page will focus specifically on adding them to barriers.
To add an access tag to a barrier:
- Use available ground imagery to look for clues that determine what the access value will be.
- Add the appropriate access tag to the barrier node.
Ways
When an access tag is added to a way it is describing the legal restriction against a specific mode of transport.
- e.g.
motor_vehicle=no,motorcar=no,motorcycle=no, andfoot=yes.
To add an access tag to a way:
- Use available ground imagery to look clues to determine what the access will be.
- e.g. Signage, narrow roads, barriers that allow foot traffic but not vehicle traffic, etc.
- Determine where the access restriction applies.
- Add the appropriate access tag to the way(s).
Note: Remember to use tools like the graph view plugin to check routing for barrier and access tags.
Conditional Access Tags
Conditional access tags are restrictions that restrict access depending on a condition. This may be a specific type of transportation or a period of time where a road may not be used.
For more information on these restrictions see the Conditional restrictions page.
Common Access Tags
Below is a list of common access tags that Kaart uses. There are settings in the Kaart paint style that make it easier to see what access a barrier/way has.
access=no |
|
access=private |
|
access=permissive |
|
access=yes |
|
access=destination |
|
Mapping Barriers/Access Workflow
Refer to the following flowchart to help you determine how to tag barriers/access tags.
Additional Notes
Here are some additional things to consider when editing barriers and access tags.
- The way leading up to the barrier should not have an access tag to enable routing up to the barrier.
- Make sure contradictory tags are resolved according to the community standards of a particular country, assuming they are clearly defined. Some countries allow tags that may initially seem contradictory, but it is possible sometimes for specific tags to represent the exception to a rule, such as a
bus=yesfollowing anaccess=notag for a road limited to usage by public transport. - Check and resolve all redundant tags like
foot=yeson a footway,foot=noon a motorway andmotorcar=noon a footway. - A situation is particularly complex and you're still uncertain how you should proceed? Ask for help in a community channel or leave a
fixme=*/note=*tag explaining the situation.