Hafas Bitmasks

These are the bitmasks used in the DB Hafas.

Vehicle SelectionBitmask
All vehicles11111111111111
"ICE trains"10000000001111
"Intercity and Eurocity trains"01000000001111
"Interregio and fast trains"00100000001111
"Regional and local trains"00010000001111
"S-Bahn"00001000001111
"Bus"00000100001111
"Boat"00000010001111
"Underground"00000001001111
"Tram"00000000101111
"Traffic services requiring tel. registration for passengers"00000000011111