|Additional information about a service highway/railway/waterway, or about services offered at a business|
|Used on these elements|
|Documented values: 12|
|Status: in use|
|Tools for this tag|
The service tag provides additional information that depends on the context of a more "top level" tag on the same object. (service=* should not appear in isolation.) It is used to describe the service or services offered by a car shop/garage, or to drill into more detail about a types of "service" roads, railways or waterways.
shop=car / shop=car_repair / shop=bicycle / shop=motorcycle
See shop=car and shop=car_repair pages for details of how the service tag is used alongside these, to describe the service or services on offer.
shop=bicycle and shop=motorcycle handle services using namespaces.
The format is not standardised yet for all of them which might be irritating in case of shops which offer several services (car/motorcycle/bicycle).
- service=emergency_access for firefighters
- service=User Defined
Tracks running straightforward through a station without turning right or left at switches are tagged usage=main/branch/industrial/military/test without service=*. This is useful for map renderers (e.g. OSM Carto) which can hide minor tracks at lower zoom levels and for railway routing engines which can prefer the fastest way through a station (turning left/right at a switch requires the engineman to reduce the speed).
service=* is more or less independent from the train classes using a track. The service=* tag does not care if a track is only used by local trains or by long distance or high speed trains. service=* and usage=main/branch are only dependent from signalling, the permitted speed on the tracks and the points.
|A track is either tagged with usage=* or with service=*! Execptions only exist for harbour, industrial, mine and military railway lines. Only those tracks may be tagged with both usage=industrial/military and service=* at the same OSM object.|
This tag is used for the tracks at yard stations which are operated by the railway company itself (in difference to spur tracks).
The difference between a yard and a siding track is the absense of main signals at yard tracks while siding tracks have main signals.
Some yards have track numbers you can see from outside the yard area. They are tagged using railway:track_ref=*. Sometimes this numbers only can be derived from the signal numbers.
This tag is used for tracks which run parallel to the main track and are connected to it. These tracks are used by slower trains to be overtaken or to let passengers enter/leave the train if the main tracks do not have platforms. These tracks might be hard to differ from the main tracks in some cases.
This tag is used for short tracks connecting a factory or power plant to the railway network.
This tag is used for only few metres long tracks connecting to tracks of different directions of traffic. To be found only on double or more tracked railways. Often found in stations and at (crossover) junctions.
Tram tracks are tagged as railway=tram. Tram-specific service=* values were never defined, and editors iD and JOSM use the railway values (crossover, siding, spur, and yard) as presets. However, tram systems rarely have spurs or sidings as seen on mainline railways. Prior to 2019, service=yard, service=siding and service=spur were in practice used interchangeably, except that tracks inside tram yards (garages, depots) were fairly consistently tagged service=yard.
In March 2019, User:Jarek Piórkowski suggests repurposing the railway values with tram-specific meanings to allow future tagging to be more consistent:
- "Normal" tracks have no service tag. These are typically tracks serving a stop where a passenger can expect to regularly board a tram. This would also include tracks that a scheduled tram servicing a route connecting these stops uses (for example end-route loops).
Tram systems can have significant differences between cities, so definition of what are "normal" tracks or what "regular" service is might differ between cities, but try to be consistent within a city/system.
- service=yard for tracks within tram storage and work areas ("yards", "garages", "depots" - where trams are parked overnight, maintained, light repairs), and for tracks leading to the yard, provided they don't have regular passenger service stops. Example in Helsinki:
- service=crossover for tracks used by double-ended trams to change direction. Only use it between two main tracks with no service tag, otherwise use service tag of the tracks that are connected.
- service=siding for tracks not described above. These will be tracks not used for normally scheduled passenger service, including diversion-only tracks, emergency, non-revenue trackage, as well as turn tracks not used in scheduled service. Example in Berlin:
See https://lists.openstreetmap.org/pipermail/tagging/2019-January/042313.html for more information including overview of tagging in January 2019.