OpenRailwayMap/Tagging Trams in Germany
This page is a guide on how to tag signals of legal tramways in Germany as defined by BOStrab. This include actual tramways, light rail networks and subways. For normal and narrow gauge railways as defined by EBO resp. ESBO, please refer to OpenRailwayMap/Tagging in Germany instead.
Preamble
Although the BOStrab defines various signals which are more or less universally used, each operator can also use its own signals in addition to those as defined by BOStrab. Standard signals are prefixed with DE-BOStrab:
but in order to differentiate local systems, the country prefix DE-
and an abbreviation of the operator is used instead. For example, for Stuttgart it's DE-SBB:
, for Hamburg it's it's DE-HHA:
and for Hannover it's DE-UESTRA:
.
BOStrab
Main signals (Hauptsignal, H)
H 0 | A red light | Stop | ![]() |
H 1 | A green light | Go | ![]() |
H 2 | A green light over a yellow light | Go with limited speed | ![]() |
It's important to know that main signals can also be used as distant signals. If they're purely used main signals, one use railway:signal:main:*
, otherwise if it also serves as a distant signal, use railway:signal:combined:*
.
For example, Go with limited speed can mean on some systems, that the next signal shows stop which makes it a main signal with characteristics of distant signals.
Main signal without characteristics of a distant signal
This section does not apply to Karlsruhe, Stuttgart, Hamburg und Hannover which use a different signalling instead.
railway:signal:main=DE-BOStrab:h
railway:signal:main:form=light
railway:signal:main:states=DE-BOStrab:h0;DE-BOStrab:h1;DE-BOStrab:h2
Value only contains states which the signal can show.
Main signal with characteristics of a distant signal
This section does not apply to Karlsruhe, Stuttgart, Hamburg und Hannover which use a different signalling instead.
railway:signal:combined=DE-BOStrab:h
railway:signal:combined:form=light
railway:signal:combined:states=DE-BOStrab:h0;DE-BOStrab:h1;DE-BOStrab:h2
Value only contains states which the signal can show.
Distant signals for main signals (Vorsignal, V)
V 0 | Two yellow lights | Stop expected | ![]() |
V 1 | Two green lights | Go expected | ![]() |
V 2 | A yellow light over a green light | Go with limited speed expected | ![]() |
Distinct from driving signals (Fahrsignale) which show dots and letters as light signals.
railway:signal:distant=DE-BOStrab:v
railway:signal:distant:states=DE-BOStrab:v0;DE-BOStrab:v1
railway:signal:distant:form=light
Driving signals (Fahrsignal, F)
railway:signal:main=DE-BOStrab:f
railway:signal:main:form=light
railway:signal:main:states=DE-BOStrab:f0;DE-BOStrab:f1;DE-BOStrab:f2;DE-BOStrab:f3;DE-BOStrab:f4;DE-BOStrab:f5
Value only contains states which the signal can show.
Those signals can also appear as signs and not as traffic signals. Those signs are tagged with railway:signal:main:form=sign
instead.
Signals which permit signal priority are often depicted as a glowing A and are tagged as railway:signal:main:PT_priority=requested;off
.
Speed limit signals (Geschwindigkeitssignal, G)
Announcement of a speed limit (G 1a/b)
This signal announces a speed limit (change to a slower speed). The number in the sign times 10 equals to the speed limit.
G 1a | A yellow triangle which points downwards with a white border and black number. If the space is limited, the triangle can point upward instead. | ![]() |
G 1b | A yellow glowing light. | ![]() |
railway:signal:speed_limit_distant=DE-BOStrab:g1a/DE-BOStrab:g1b
railway:signal:speed_limit_distant:form=sign/light
Sign or light signal?railway:signal:speed_limit_distant:speed=<speed limit in km/h>
Start of speed limit (G 2a/b)
The given number times 10 equals the allowed speed.
G 2a | A yellow rectangular sign with a white border and black number. | ![]() |
G 2b | A white glowing number. | ![]() |
railway:signal:speed_limit=DE-BOStrab:g2a/DE-BOStrab:g2b
railway:signal:speed_limit:form=sign/light
Schild oder Lichtsignal?- {{Tag|railway:signal:speed_limit:speed||<Sign oder light signal
railway:signal:speed_limit:speed=<speed in km/h>
End of speed limit (G 3)

A white rectangular sign with a black E.
railway:signal:speed_limit=DE-BOStrab:g3
railway:signal:speed_limit:form=sign
railway:signal:speed_limit:speed=none
Increment of speed limit (G 4)

A white rectangular sign with a black border and black number.
railway:signal:speed_limit=DE-BOStrab:g4
railway:signal:speed_limit:form=sign/light
Sign oder light signalrailway:signal:speed_limit:speed=<speed limit in km/h>
Protection signal (Schutzsignal, Sh)
Forced stop (Sh 1)

Denotes places where one has to stop if driving on sign. A yellow square with a horizontal stripe.
railway:signal:minor=DE-BOStrab:sh1
railway:signal:minor:form=sign
Protection stop (Sh 2)

Continuing is invalid. A red rectangle with a white border. Equal to Sh 2 on heavy railways.
railway:signal:minor=DE-BOStrab:sh2
railway:signal:minor:form=sign
Emergency stop (Sh 3d)

The train is to stop immediately. A red blinking light or many red lights below. These come up especially in subways.
railway:signal:minor=DE-BOStrab:sh3d
railway:signal:minor:form=light
Ringing (Sh 4)

A white rectangle with a black L.
railway:signal:ring=DE-BOStrab:sh4
railway:signal:main:form=sign
Border sign (Sh 6)

Denotes the border to which the train can drive. Ein rot-weißes Zeichen oder entsprechende Markierung im Gleisbereich.
This signal isn't placed on the tracks but instead at its physical location.
railway:signal:fouling_point=DE-BOStrab:sh6
Stop sign (Sh 7)

Denotes the location where the front of the train should stop. A black rectangle with a white H, a white rectangle with a black H some related markings on the trackbed.
railway:signal:stop=DE-BOStrab:sh7
railway:signal:stop:caption=Caption
Text on some additional sign e.g. train length or type
Switch signals (Schaltsignal, St)
Signal contact (St 1)

A signal contact has to be confirmed at the St 1 location. A blue square with a white S.
railway:signal:switch=DE-BOStrab:st1
railway:signal:main:form=sign
Weichenkontakt (St 2)

A point control has to be performed at the St 2 location. A blue square with a white W.
railway:signal:switch=DE-BOStrab:st2
railway:signal:main:form=sign
Ausschalten (St 3)

The current has to be disabled from signal St 3 onwards. A blue diamond with a black and white border and a split U.
The meaning is comparable to El 1 of heavy railways.
railway:signal:electricity=DE-BOStrab:st3
railway:signal:electricity:type=power_off
railway:signal:electricity:form=sign
Einschalten erlaubt (St 4)

The current can now be enabled from signal St 4 onwards. A blue diamond with a black and white border and a connected U.
The meaning is comparable to El 2 of heavy railways.
railway:signal:electricity=DE-BOStrab:st4
railway:signal:electricity:type=power_on
railway:signal:electricity:form=sign
Stromabnehmer abziehen (St 5)

The current collect has to be lowered from signal St 5 onwards. A blue diamond with a black and white border and a horizontal stripe.
The meaning is comparable to El 4 of heavy railways.
railway:signal:electricity=DE-BOStrab:st5
railway:signal:electricity:type=pantograph_down
railway:signal:electricity:form=sign
Stromabnehmer anlegen (St 6)

The current collect can be risen again from signal St 5 onwards. A blue diamond with a black and white border and a vertical stripe.
The meaning is comparable to El 5 of heavy railways.
railway:signal:electricity=DE-BOStrab:st6
railway:signal:electricity:type=pantograph_up
railway:signal:electricity:form=sign
Streckentrenner (St 7)

The current collection is to be shortly disabled at signal St 7. A blue square with a white T.
railway:signal:electricity=DE-BOStrab:st7
railway:signal:electricity:type=power_off_shortly
railway:signal:electricity:form=sign
Stop for vehicles (St 8)

Driving through signal St 8 is forbidden for all vehicles with a deployed current collector. A blue diamond with a black and white border with white border and on the inside a white diamond.
The meaning is comparable to El 6 of heavy railways.
railway:signal:electricity=DE-BOStrab:st8
railway:signal:electricity:type=end_of_catenary
railway:signal:electricity:form=sign
Point signals (Weichensignal, W)
railway:signal:switch=DE-BOStrab:w
railway:signal:switch:form=light/sign
Sign or light signal?railway:signal:switch:states=DE-BOStrab:w1;DE-BOStrab:w2;DE-BOStrab:w3;DE-BOStrab:w11;DE-BOStrab:w12;DE-BOStrab:w13;DE-BOStrab:w14
possible displayable values separated by semicolons.
Those signs are yellow in Karlsruhe which is why these are tagged with the DE-VBK:
instead of DE-BOStrab:
.
Monitoring signals for level crossing (Überwachungssignal für Bahnübergänge, Bü)
Level crossing monitoring signals (Bü 0/1)
railway:signal:crossing=DE-BOStrab:bü
railway:signal:crossing:form=light
railway:signal:crossing:states=DE-BOStrab:bü0;DE-BOStrab:bü1
?
Monitoring signal expected (Bü 2)

A monitoring signal is to be expected. A black rectangular sign with on top of each other standing white diamonds. This signal is comparable to Bü 2 of heavy railways.
Special signals (Sondersignal, So)
Start of train protection (So 1)

Transition from driving on sight to driving on train protection. A white square with two dots on top of each other.
railway:signal:train_protection=DE-BOStrab:so1
railway:signal:train_protection:form=sign
railway:signal:train_protection:type=start
Ende einer Strecke mit Zugsicherung (So 2)

Transition from driving on train protection to driving on sight. A white square with two dots on top of each other and a diagonal red stripe which points to the top right.
railway:signal:train_protection=DE-BOStrab:so2
railway:signal:train_protection:form=sign
railway:signal:train_protection:type=end
Auftragsschild (So 4)

If the driving signals stay dark on a level crossing, it tells the driver to stop in front of the level crossing. Driving can be continued if traffic allows it.
railway:signal:traversable=DE-BOStrab:so4
railway:signal:traversable:form=sign
railway:signal:traversable:type=dictated_default_speed
Forbid of encounter start (So 5)

Additional signs can be used if the forbid of encounter applies for specific vehicles and directions. A yellow square with a green cross.
railway:signal:passing=DE-BOStrab:so5
railway:signal:passing:type=no_passing
railway:signal:passing:form=sign
railway:signal:passing:caption=
Forbid of encounter Finish (So 6)

A yellow square with a black border
railway:signal:passing=DE-BOStrab:so6
railway:signal:passing:type=passing_allowed
railway:signal:passing:form=sign