openmaptiles/layers/railway/README.md

1.4 KiB

railway

The railway layer contains linestrings marking tracks from OSM Railways. It contains tracks for passenger and freight trains and smaller tracks for Trams or similar vehicles. But also tracks for subways, narrow-gauge trains or historic trains. Non mainline tracks (marked with class minor_rail) used for storage of trains and maintenance are contained in the highest zoom levels and should be styled more subtle than the mainline tracks with class rail.

Fields

  • class: Divides the track into mainline tracks (class rail) and less important tracks used for maintenance (class minor_rail).
  • subclass: Original value of the railway can be one of rail, light_rail, subway, narrow_gauge, preserved, tram.
  • properties: Additional properties describing the nature of tracks. Can be either bridge or tunnel.

Mapping