transportation contains roads, railways, aerialways, and ferry lines. It contains all roads from motorways to primary, secondary and tertiary roads to residential roads and foot paths. Styling the roads is the most essential part of the map.

Fields

class

Distinguish between more and less important roads, railways, shipways and aerialways.

Possible values:

  • motorway
  • trunk
  • primary
  • secondary
  • tertiary
  • minor
  • path
  • footway
  • service
  • track
  • trail
  • transit
  • rail
  • via_ferrata
  • ferry
  • car_ferry
  • cable_car
  • gondola
  • chair_lift

subclass

Distinguish more specific qualities.

Possible values:

  • avalanche_protector
  • avalanche_protector_bridge
  • covered_bridge
  • steps
  • tram
  • subway
  • funicular
  • rail
  • rack_rail
  • narrow_gauge

brunnel

Mark whether it is a bridge or tunnel or ford.

Possible values:

  • bridge
  • tunnel
  • ford

ramp

Mark with 1 whether way is a ramp (link or steps) or not with 0.

Possible values:

  • 0
  • 1

oneway

Trafficways that are not oneway are marked with 0, oneway trafficways are marked with 1 and duplicate road tunnel oneways may be marked with 2 for filtering at lower zoomlevels.

Possible values:

  • 0
  • 1
  • 2

layer

Used to describe vertical relationships between crossing or overlapping features.

Possible values:

  • -5
  • -4
  • -3
  • -2
  • -1
  • 1
  • 2
  • 3
  • 4
  • 5

surface

Used to describe the surface type of roads.

Possible values:

  • paved
  • unpaved

sac_scale

Different kinds of hiking trails.

Possible values:

  • mountain_hiking
  • hiking
  • alpine_hiking

service

Mark railways that are dead-ends.

Possible values:

  • siding

is_route

Mark roads that are important routes (values 5-10) or main railways (value 99).

Possible values:

  • 5
  • 6
  • 7
  • 8
  • 10
  • 99
On this page