NVBW (bwgesamt): Halte mit Haltestellen-DHID nicht als Stop referenzieren
Opened this issue · 0 comments
Gewünschte Änderung
Stop_times-Einträge sollten, wenn sie noch nicht steigscharf vorliegen, nicht einen Stop mit Haltestellen-ID sondern einen Pseudo-Steig (z.B. <LK>: <KS>: <lokale Haltestellen-ID>: tmp : tmp
) referenzieren.
Hintergrund: Im bwgesamt-Feed sind derzeit viele Halte noch nicht steigscharf angegeben, sondern referenzieren die übergeordnete Haltestelle, wie z.B. für de:08118:7503
:
grep 'de:08118:7503"' stop_times.txt
"rbs-0-N46-2-1-1-H-0-Special#168-4-13","26:35:00","26:35:00","de:08118:7503","19","","0","0","15854.41"
"rbs-0-N46-2-1-1-H-0-Special#168-5-14","27:35:00","27:35:00","de:08118:7503","19","","0","0","15854.41"
"rbs-0-N46-2-1-1-H-0-Special#168-6-15","28:35:00","28:35:00","de:08118:7503","19","","0","0","15854.41"
Da hiermit der Stop mit laut VDV-432 für Haltestellen vorgesehene ID angefahren wird, muss dieser im GTFS location_type=0
erhalten. Andere Gleise, können diesen nun nicht mehr als parent station referenzieren, weshalb im Feed künstliche _Parent-Stations eingeführt wurden:
grep 'de:08118:7503' stops.txt
$> grep 'de:08118:7503' stops.txt
"de:08118:7503","","Marbach (N)","48.9437716","9.2646129","","0","de:08118:7503_Parent","0",""
"de:08118:7503:1:1","","Marbach (N) Gleis 1","48.9436831","9.2646489","","0","de:08118:7503_Parent","0","Gleis 1"
"de:08118:7503:1:2","","Marbach (N)","48.9437716","9.2646129","","0","de:08118:7503_Parent","0",""
"de:08118:7503:2:2","","Marbach (N) Gleis 2","48.9437362","9.2646399","","0","de:08118:7503_Parent","0","Gleis 2"
"de:08118:7503:2:3","","Marbach (N) Gleis 3","48.9438247","9.264586","","0","de:08118:7503_Parent","0","Gleis 3"
...
Dies führt z.B. im Fall der Zusammenführung mit Feeds, die eine korrekte Hierarchie aufweisen, wie dem VVS-Feed, zu Konflikten:
grep 'de:08118:7503' stops.txt
"de:08118:7503","Marbach (N)","48.9437706635961","9.26461182444606","1",""
"de:08118:7503:1:1","Marbach (N)","48.9436806493097","9.26465230079221","","de:08118:7503"
"de:08118:7503:2:2","Marbach (N)","48.9437346327726","9.26463893576622","","de:08118:7503"
Aktualisierungszeitpunkt der GTFS-Daten:
30.11.2022 (bwgesamt)
29.11.2022 (VVS)