There are 32 route types, which are a subset of the many feature type values. They can all be tested in style sheet expressions. For example, the expression '@feature_type = "primary road' tests whether a map object is a primary road. The route types are:

  • motorway
  • motorway link
  • trunk road
  • trunk link
  • primary road
  • primary link
  • secondary road
  • secondary link
  • tertiary toad
  • unclassified road
  • residential road
  • track
  • service road
  • pedestrian road
  • vehicular ferry
  • passenger ferry
  • living street
  • cycleway
  • path
  • footway
  • bridleway
  • steps
  • other road
  • unpaved road
  • railway
  • light rail
  • subway
  • aerialway
  • ski downhill
  • ski nordic
  • waterway
  • unknown route

Style Sheets Directory