Digiroad Route Types - HY-OHTUPROJ-OSRM/osrm-project GitHub Wiki

Digiroad Route Types

Code Route Type Traffic Usage Speed Limit Access Rights Traffic Direction Functional Class Restrictions Connectivity Features Public Transport Accessibility
1 Motorway Long-distance traffic 80–120 km/h Motor vehicles only One-way (4) Main road (1) Weight limits Bridges, tunnels Bus lanes
2 Multi-lane Road Faster traffic 50–100 km/h Motor vehicles Two-way (2) Regional road (2) Height limits Intersections Bus stops
3 Single-lane Road Local traffic 30–80 km/h All vehicles Two-way (2) Local road (3) None Standard roads Limited access
4 Semi-motorway Regional traffic 50–100 km/h Motor vehicles One-way (4) Secondary road (4) Weight limits Bridges, tunnels Bus lanes
6 Access Road Motorway connections Variable Motor vehicles One-way (4) Connector road (5) None Ramps, junctions No public transport
7 Wide-lane Road Traffic efficiency Variable Motor vehicles Two-way (2) Secondary road (4) None Overtaking lanes Bus stops
8 Pedestrian & Cycle Path Walking & cycling No restriction Non-motorized traffic only Two-way (2) Pathway (8) None Separated lanes No public transport
10 Service or Emergency Road Special use cases Variable Restricted access One-way (4) Utility road (10) None Alternative routes No public transport
11 Restricted Traffic Area Controlled access Variable Limited to authorized vehicles Two-way (2) Private road (11) Access restrictions Private infrastructure No public transport
12 Driving Path Forest roads, trails Variable Off-road vehicles Two-way (2) Trail (12) Seasonal access Minimal infrastructure No public transport
21 Ferry Connection Waterway crossing No restriction All vehicles Two-way (2) Waterway (21) Weather impact Ferry docks No public transport

Traffic Direction Codes

  • 2 = Two-way traffic allowed
  • 3 = Traffic allowed against digitization direction
  • 4 = Traffic allowed in digitization direction

Functional Class Codes

  • 1 = Main road (highway)
  • 2 = Regional road
  • 3 = Local road
  • 4 = Secondary road
  • 5 = Connector road
  • 8 = Pathway
  • 10 = Utility road
  • 11 = Private road
  • 12 = Trail
  • 21 = Waterway

Digiroad Nonroad Datatypes

1. Bus Stops

  • Locations where public transport busses stop.
  • Attributes: shelter availability, accessibility features, stop type (urban, rural, express).

2. Bridges

  • Structures allowing roads or pathways to cross obstacles like rivers or railways.
  • Attributes: bridge type (suspension, arch, beam), height restrictions, structural materials.

3. Tunnels

  • Underground passages for roads, railways, or pedestrians.
  • Attributes: tunnel length, ventilation systems, lighting conditions.

4. Underpasses

  • Road or pedestrian pathways passing beneath another structure.
  • Attributes: clearance height, pedestrian access, lighting.

5. Traffic Lights

  • Locations of signalized intersections.
  • Attributes: timing, pedestrian crossing signals, adaptive traffic control.

6. Public Transport Lanes

  • Dedicated lanes for buses or trams.
  • Attributes: lane type (exclusive, shared), operational hours.

7. Ferry Connections

  • Routes where vehicles and pedestrians cross water bodies via ferry transport.
  • Attributes: ferry type, capacity, schedule.

8. Restricted Traffic Areas

  • Zones with controlled access, such as private roads or pedestrian-only streets.
  • Attributes: access restrictions, permitted vehicle types.

9. Road Address Data

  • Address-based location data for navigation and mapping.
  • Attributes: street names, postal codes, coordinate references.

10. Geometric Accuracy

  • Data on the precision of mapped transport elements.
  • Attributes: coordinate reference systems, height accuracy.