This is the layer for labelling the highways. Only highways that are named name=* and are long enough to place text upon appear. The OSM roads are stitched together if they contain the same name to have better label placement than having many small linestrings. For motorways you should use the ref field to label them while for other roads you should use name.

Fields

name_de

German name name:de if available, otherwise name or name:en.

name

The OSM name value of the highway.

ref

The OSM ref tag of the motorway or its network.

name_en

English name name:en if available, otherwise name.

ref_length

Length of the ref field. Useful for having a shield icon as background for labeling motorways.

class

Distinguish between more and less important roads.

Possible values:

  • motorway
  • trunk
  • primary
  • secondary
  • tertiary
  • minor
  • service
  • track
  • path
  • raceway
  • rail
  • transit

network

The network type derived mainly from network tag of the road. See more info about us-*, ca-transcanada, or gb-*.

Possible values:

  • us-interstate
  • us-highway
  • us-state
  • ca-transcanada
  • gb-motorway
  • gb-trunk
  • road (default)
K

OpenMapTiles.org is an open-source project from Klokan Technologies GmbH and OSM community
Share this page on