mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-22 22:59:35 +02:00
* parse bahn.de boards * add optional chaining in line.js * unit tests for bahn.de boards * fix product check in line.js for bahn.de boards * add integration tests for bahn.de boards * allow letting hafas decide the amount of vias * split dbweb and dbregioguide profiles; add db profile * commit location-filter.js (forgot that in the last commit) * simplify how db profile works * remove `ezGleis` from coalesce for scheduled platform * un-break parsing of remarks * determine fahrtNr by removing all non-digits * employ enrichStations for board stop property * prevent timeouts in dbweb e2e test from calling `end()` twice * use promises in dbweb e2e tests when waiting for enrichStations to work * replace vias option with stopovers option for dbweb profile; enrich stations when only name is known * change dbweb-departures test covering enrichStation feature for stop and stopovers * remove check for not existing option * move verkehrsmittel.name in front of verkehrsmittel.langText when parsing name in line.js
1508 lines
33 KiB
JavaScript
1508 lines
33 KiB
JavaScript
const dbwebDepartures = [
|
|
{
|
|
tripId: '2|#VN#1#ST#1738783727#PI#0#ZI#315246#TA#0#DA#80225#1S#8000260#1T#1437#LS#8000096#LT#1653#PU#80#RT#1#CA#DPN#ZE#19073#ZB#RE 19073#PC#3#FR#8000260#FT#1437#TO#8000096#TT#1653#',
|
|
stop: {
|
|
type: 'station',
|
|
id: '8000295',
|
|
name: 'Osterburken',
|
|
location: {
|
|
type: 'location',
|
|
id: '8000295',
|
|
latitude: 49.42992,
|
|
longitude: 9.422996,
|
|
},
|
|
products: {
|
|
nationalExpress: false,
|
|
national: false,
|
|
regionalExp: false,
|
|
regional: true,
|
|
suburban: true,
|
|
bus: true,
|
|
ferry: false,
|
|
subway: false,
|
|
tram: false,
|
|
taxi: true,
|
|
},
|
|
weight: 5.6,
|
|
},
|
|
when: '2025-02-08T16:05:00+01:00',
|
|
plannedWhen: '2025-02-08T15:31:00+01:00',
|
|
delay: 2040,
|
|
platform: '2',
|
|
plannedPlatform: '2',
|
|
direction: 'Stuttgart Hbf',
|
|
provenance: null,
|
|
line: {
|
|
type: 'line',
|
|
id: 're-19073',
|
|
fahrtNr: '19073',
|
|
name: 'RE 19073',
|
|
public: true,
|
|
productName: 'RE',
|
|
mode: 'train',
|
|
product: 'regional',
|
|
operator: null,
|
|
},
|
|
remarks: [],
|
|
origin: null,
|
|
destination: null,
|
|
nextStopovers: [
|
|
{
|
|
stop: {
|
|
type: 'station',
|
|
id: '8000295',
|
|
name: 'Osterburken',
|
|
location: {
|
|
type: 'location',
|
|
id: '8000295',
|
|
latitude: 49.42992,
|
|
longitude: 9.422996,
|
|
},
|
|
products: {
|
|
nationalExpress: false,
|
|
national: false,
|
|
regionalExp: false,
|
|
regional: true,
|
|
suburban: true,
|
|
bus: true,
|
|
ferry: false,
|
|
subway: false,
|
|
tram: false,
|
|
taxi: true,
|
|
},
|
|
weight: 5.6,
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'station',
|
|
id: '8004050',
|
|
name: 'Möckmühl',
|
|
location: {
|
|
type: 'location',
|
|
id: '8004050',
|
|
latitude: 49.321187,
|
|
longitude: 9.357977,
|
|
},
|
|
products: {
|
|
nationalExpress: false,
|
|
national: false,
|
|
regionalExp: false,
|
|
regional: true,
|
|
suburban: false,
|
|
bus: true,
|
|
ferry: false,
|
|
subway: false,
|
|
tram: false,
|
|
taxi: false,
|
|
},
|
|
distance: 2114,
|
|
weight: 6.45,
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Bad Friedrichshall Hbf',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Neckarsulm',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Heilbronn Hbf',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Bietigheim-Bissingen',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Ludwigsburg',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Stuttgart Hbf',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
tripId: '2|#VN#1#ST#1738783727#PI#0#ZI#500575#TA#0#DA#80225#1S#508987#1T#1620#LS#506182#LT#1655#PU#80#RT#1#CA#Bus#ZE#844#ZB#Bus 844#PC#5#FR#508987#FT#1620#TO#506182#TT#1655#',
|
|
stop: {
|
|
type: 'station',
|
|
id: '508987',
|
|
},
|
|
when: '2025-02-08T16:20:00+01:00',
|
|
plannedWhen: '2025-02-08T16:20:00+01:00',
|
|
delay: null,
|
|
platform: null,
|
|
plannedPlatform: null,
|
|
direction: 'Erlenbach',
|
|
provenance: null,
|
|
line: {
|
|
type: 'line',
|
|
id: 'bus-844',
|
|
fahrtNr: '844',
|
|
name: 'Bus 844',
|
|
public: true,
|
|
productName: 'Bus',
|
|
mode: 'bus',
|
|
product: 'bus',
|
|
operator: null,
|
|
},
|
|
remarks: [],
|
|
origin: null,
|
|
destination: null,
|
|
nextStopovers: [
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Bahnhof, Osterburken',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Rathaus, Osterburken',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'RIO, Osterburken',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Merchingen Ort, Ravenstein',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Hüngheim Ort, Ravenstein',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Oberwittstadt Ort, Ravenstein',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Unterwittstadt Ort, Ravenstein',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Erlenbach, Ravenstein',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
tripId: '2|#VN#1#ST#1738783727#PI#0#ZI#315248#TA#0#DA#80225#1S#8000096#1T#1506#LS#8000260#LT#1721#PU#80#RT#1#CA#DPN#ZE#19074#ZB#RE 19074#PC#3#FR#8000096#FT#1506#TO#8000260#TT#1721#',
|
|
stop: {
|
|
type: 'station',
|
|
id: '8000295',
|
|
name: 'Osterburken',
|
|
location: {
|
|
type: 'location',
|
|
id: '8000295',
|
|
latitude: 49.42992,
|
|
longitude: 9.422996,
|
|
},
|
|
products: {
|
|
nationalExpress: false,
|
|
national: false,
|
|
regionalExp: false,
|
|
regional: true,
|
|
suburban: true,
|
|
bus: true,
|
|
ferry: false,
|
|
subway: false,
|
|
tram: false,
|
|
taxi: true,
|
|
},
|
|
weight: 5.6,
|
|
},
|
|
when: '2025-02-08T16:27:00+01:00',
|
|
plannedWhen: '2025-02-08T16:27:00+01:00',
|
|
delay: 0,
|
|
platform: '4',
|
|
plannedPlatform: '4',
|
|
direction: 'Würzburg Hbf',
|
|
provenance: null,
|
|
line: {
|
|
type: 'line',
|
|
id: 're-19074',
|
|
fahrtNr: '19074',
|
|
name: 'RE 19074',
|
|
public: true,
|
|
productName: 'RE',
|
|
mode: 'train',
|
|
product: 'regional',
|
|
operator: null,
|
|
},
|
|
remarks: [],
|
|
origin: null,
|
|
destination: null,
|
|
nextStopovers: [
|
|
{
|
|
stop: {
|
|
type: 'station',
|
|
id: '8000295',
|
|
name: 'Osterburken',
|
|
location: {
|
|
type: 'location',
|
|
id: '8000295',
|
|
latitude: 49.42992,
|
|
longitude: 9.422996,
|
|
},
|
|
products: {
|
|
nationalExpress: false,
|
|
national: false,
|
|
regionalExp: false,
|
|
regional: true,
|
|
suburban: true,
|
|
bus: true,
|
|
ferry: false,
|
|
subway: false,
|
|
tram: false,
|
|
taxi: true,
|
|
},
|
|
weight: 5.6,
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Lauda',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Würzburg Hbf',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
tripId: '2|#VN#1#ST#1738783727#PI#0#ZI#316113#TA#0#DA#80225#1S#8000260#1T#1537#LS#8000096#LT#1756#PU#80#RT#1#CA#DPN#ZE#63379#ZB#RE 63379#PC#3#FR#8000260#FT#1537#TO#8000096#TT#1756#',
|
|
stop: {
|
|
type: 'station',
|
|
id: '8000295',
|
|
name: 'Osterburken',
|
|
location: {
|
|
type: 'location',
|
|
id: '8000295',
|
|
latitude: 49.42992,
|
|
longitude: 9.422996,
|
|
},
|
|
products: {
|
|
nationalExpress: false,
|
|
national: false,
|
|
regionalExp: false,
|
|
regional: true,
|
|
suburban: true,
|
|
bus: true,
|
|
ferry: false,
|
|
subway: false,
|
|
tram: false,
|
|
taxi: true,
|
|
},
|
|
weight: 5.6,
|
|
},
|
|
when: '2025-02-08T16:39:00+01:00',
|
|
plannedWhen: '2025-02-08T16:31:00+01:00',
|
|
delay: 480,
|
|
platform: '2',
|
|
plannedPlatform: '2',
|
|
direction: 'Stuttgart Hbf',
|
|
provenance: null,
|
|
line: {
|
|
type: 'line',
|
|
id: 're-63379',
|
|
fahrtNr: '63379',
|
|
name: 'RE 63379',
|
|
public: true,
|
|
productName: 'RE',
|
|
mode: 'train',
|
|
product: 'regional',
|
|
operator: null,
|
|
},
|
|
remarks: [
|
|
{
|
|
code: undefined,
|
|
summary: 'Keine rollstuhlgerechte Einrichtung, kein behindertengerechtes WC im Zug. Mobilitätseingeschränkte Reisende wenden sich bzgl. eventuell erforderlicher Umbuchungen an unsere Mobilitätsservice-Zentrale unter 030 65212888.',
|
|
text: 'Keine rollstuhlgerechte Einrichtung, kein behindertengerechtes WC im Zug. Mobilitätseingeschränkte Reisende wenden sich bzgl. eventuell erforderlicher Umbuchungen an unsere Mobilitätsservice-Zentrale unter 030 65212888.',
|
|
type: 'status',
|
|
},
|
|
],
|
|
origin: null,
|
|
destination: null,
|
|
nextStopovers: [
|
|
{
|
|
stop: {
|
|
type: 'station',
|
|
id: '8000295',
|
|
name: 'Osterburken',
|
|
location: {
|
|
type: 'location',
|
|
id: '8000295',
|
|
latitude: 49.42992,
|
|
longitude: 9.422996,
|
|
},
|
|
products: {
|
|
nationalExpress: false,
|
|
national: false,
|
|
regionalExp: false,
|
|
regional: true,
|
|
suburban: true,
|
|
bus: true,
|
|
ferry: false,
|
|
subway: false,
|
|
tram: false,
|
|
taxi: true,
|
|
},
|
|
weight: 5.6,
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'station',
|
|
id: '8004050',
|
|
name: 'Möckmühl',
|
|
location: {
|
|
type: 'location',
|
|
id: '8004050',
|
|
latitude: 49.321187,
|
|
longitude: 9.357977,
|
|
},
|
|
products: {
|
|
nationalExpress: false,
|
|
national: false,
|
|
regionalExp: false,
|
|
regional: true,
|
|
suburban: false,
|
|
bus: true,
|
|
ferry: false,
|
|
subway: false,
|
|
tram: false,
|
|
taxi: false,
|
|
},
|
|
distance: 2114,
|
|
weight: 6.45,
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Bad Friedrichshall Hbf',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Neckarsulm',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Heilbronn Hbf',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Bietigheim-Bissingen',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Ludwigsburg',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Stuttgart Hbf',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
tripId: '2|#VN#1#ST#1738783727#PI#0#ZI#1108875#TA#4#DA#80225#1S#510853#1T#1635#LS#421730#LT#1713#PU#80#RT#1#CA#rfb#ZE#9839#ZB#RUF 9839#PC#9#FR#510853#FT#1635#TO#421730#TT#1713#',
|
|
stop: {
|
|
type: 'station',
|
|
id: '510853',
|
|
},
|
|
when: '2025-02-08T16:35:00+01:00',
|
|
plannedWhen: '2025-02-08T16:35:00+01:00',
|
|
delay: null,
|
|
platform: null,
|
|
plannedPlatform: null,
|
|
direction: 'Rathaus, Boxberg (Baden)',
|
|
provenance: null,
|
|
line: {
|
|
type: 'line',
|
|
id: 'ruf-9839',
|
|
fahrtNr: '9839',
|
|
name: 'RUF 9839',
|
|
public: true,
|
|
productName: 'RUF',
|
|
mode: 'taxi',
|
|
product: 'taxi',
|
|
operator: null,
|
|
},
|
|
remarks: [],
|
|
origin: null,
|
|
destination: null,
|
|
nextStopovers: [
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Bahnhof, Osterburken',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Hohenstadt Ort, Ahorn (Baden)',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Eubigheim Kirche, Ahorn (Baden)',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Eubigheim Obereubigheim Ort, Ahorn (Baden)',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Buch Ort, Ahorn (Baden)',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Uiffingen Ort, Boxberg (Baden)',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Angeltürn Ort, Boxberg (Baden)',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Rathaus, Boxberg (Baden)',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
tripId: '2|#VN#1#ST#1738783727#PI#0#ZI#248243#TA#0#DA#80225#1S#8000295#1T#1636#LS#8000176#LT#2006#PU#80#RT#1#CA#s#ZE#1#ZB#S 1#PC#4#FR#8000295#FT#1636#TO#8000176#TT#2006#',
|
|
stop: {
|
|
type: 'station',
|
|
id: '8000295',
|
|
name: 'Osterburken',
|
|
location: {
|
|
type: 'location',
|
|
id: '8000295',
|
|
latitude: 49.42992,
|
|
longitude: 9.422996,
|
|
},
|
|
products: {
|
|
nationalExpress: false,
|
|
national: false,
|
|
regionalExp: false,
|
|
regional: true,
|
|
suburban: true,
|
|
bus: true,
|
|
ferry: false,
|
|
subway: false,
|
|
tram: false,
|
|
taxi: true,
|
|
},
|
|
weight: 5.6,
|
|
},
|
|
when: '2025-02-08T16:36:00+01:00',
|
|
plannedWhen: '2025-02-08T16:36:00+01:00',
|
|
delay: null,
|
|
platform: '1',
|
|
plannedPlatform: '1',
|
|
direction: 'Homburg(Saar)Hbf',
|
|
provenance: null,
|
|
line: {
|
|
type: 'line',
|
|
id: 's-1',
|
|
fahrtNr: '1',
|
|
name: 'S 1',
|
|
public: true,
|
|
productName: 'S',
|
|
mode: 'train',
|
|
product: 'suburban',
|
|
operator: null,
|
|
},
|
|
remarks: [],
|
|
origin: null,
|
|
destination: null,
|
|
nextStopovers: [
|
|
{
|
|
stop: {
|
|
type: 'station',
|
|
id: '8000295',
|
|
name: 'Osterburken',
|
|
location: {
|
|
type: 'location',
|
|
id: '8000295',
|
|
latitude: 49.42992,
|
|
longitude: 9.422996,
|
|
},
|
|
products: {
|
|
nationalExpress: false,
|
|
national: false,
|
|
regionalExp: false,
|
|
regional: true,
|
|
suburban: true,
|
|
bus: true,
|
|
ferry: false,
|
|
subway: false,
|
|
tram: false,
|
|
taxi: true,
|
|
},
|
|
weight: 5.6,
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Adelsheim Nord',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Zimmern(b Seckach)',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Seckach',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Eicholzheim',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Oberschefflenz',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Auerbach(b Mosbach, Baden)',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Homburg(Saar)Hbf',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
tripId: '2|#VN#1#ST#1738783727#PI#0#ZI#898552#TA#0#DA#80225#1S#8000295#1T#1636#LS#8000141#LT#1922#PU#80#RT#1#CA#DPN#ZE#19329#ZB#MEX19329#PC#3#FR#8000295#FT#1636#TO#8000141#TT#1922#',
|
|
stop: {
|
|
type: 'station',
|
|
id: '8000295',
|
|
name: 'Osterburken',
|
|
location: {
|
|
type: 'location',
|
|
id: '8000295',
|
|
latitude: 49.42992,
|
|
longitude: 9.422996,
|
|
},
|
|
products: {
|
|
nationalExpress: false,
|
|
national: false,
|
|
regionalExp: false,
|
|
regional: true,
|
|
suburban: true,
|
|
bus: true,
|
|
ferry: false,
|
|
subway: false,
|
|
tram: false,
|
|
taxi: true,
|
|
},
|
|
weight: 5.6,
|
|
},
|
|
when: null,
|
|
plannedWhen: '2025-02-08T16:36:00+01:00',
|
|
prognosedWhen: null,
|
|
delay: null,
|
|
platform: null,
|
|
plannedPlatform: '3',
|
|
prognosedPlatform: null,
|
|
direction: 'Tübingen Hbf',
|
|
provenance: null,
|
|
line: {
|
|
type: 'line',
|
|
id: 'mex19329',
|
|
fahrtNr: '19329',
|
|
name: 'MEX19329',
|
|
public: true,
|
|
productName: 'MEX',
|
|
mode: 'train',
|
|
product: 'regional',
|
|
operator: null,
|
|
},
|
|
remarks: [
|
|
{
|
|
code: undefined,
|
|
summary: 'Halt entfällt',
|
|
text: 'Halt entfällt',
|
|
type: 'warning',
|
|
},
|
|
],
|
|
origin: null,
|
|
destination: null,
|
|
cancelled: true,
|
|
nextStopovers: [
|
|
{
|
|
stop: {
|
|
type: 'station',
|
|
id: '8000295',
|
|
name: 'Osterburken',
|
|
location: {
|
|
type: 'location',
|
|
id: '8000295',
|
|
latitude: 49.42992,
|
|
longitude: 9.422996,
|
|
},
|
|
products: {
|
|
nationalExpress: false,
|
|
national: false,
|
|
regionalExp: false,
|
|
regional: true,
|
|
suburban: true,
|
|
bus: true,
|
|
ferry: false,
|
|
subway: false,
|
|
tram: false,
|
|
taxi: true,
|
|
},
|
|
weight: 5.6,
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Adelsheim Ost',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Sennfeld',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Roigheim',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'station',
|
|
id: '8004050',
|
|
name: 'Möckmühl',
|
|
location: {
|
|
type: 'location',
|
|
id: '8004050',
|
|
latitude: 49.321187,
|
|
longitude: 9.357977,
|
|
},
|
|
products: {
|
|
nationalExpress: false,
|
|
national: false,
|
|
regionalExp: false,
|
|
regional: true,
|
|
suburban: false,
|
|
bus: true,
|
|
ferry: false,
|
|
subway: false,
|
|
tram: false,
|
|
taxi: false,
|
|
},
|
|
distance: 2114,
|
|
weight: 6.45,
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Züttlingen',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Siglingen',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
{
|
|
stop: {
|
|
type: 'location',
|
|
id: null,
|
|
name: 'Tübingen Hbf',
|
|
},
|
|
arrival: null,
|
|
plannedArrival: null,
|
|
arrivalDelay: null,
|
|
arrivalPlatform: null,
|
|
arrivalPrognosisType: null,
|
|
plannedArrivalPlatform: null,
|
|
departure: null,
|
|
plannedDeparture: null,
|
|
departureDelay: null,
|
|
departurePlatform: null,
|
|
departurePrognosisType: null,
|
|
plannedDeparturePlatform: null,
|
|
remarks: [],
|
|
},
|
|
],
|
|
},
|
|
];
|
|
|
|
export {
|
|
dbwebDepartures,
|
|
};
|