mfdz / GTFS-Issues

Documentation and Tracking of Issues in GTFS- and GTFS-RT Feeds
35 stars 3 forks source link

DELFI: Stationen mit vmtl. fehlenden Aufzug-Pathways #96

Open derhuerst opened 2 years ago

derhuerst commented 2 years ago

Beschreibe den Fehler

SELECT *
FROM (
    SELECT
        DISTINCT ON (station_id)
        station_id, station_name,
        COUNT(*) OVER (PARTITION BY station_id) AS nr_of_pathways,
        COUNT(*) FILTER (WHERE pathway_mode = 'elevator') OVER (PARTITION BY station_id) AS nr_of_elevators,
        COUNT(*) FILTER (WHERE pathway_mode = 'escalator') OVER (PARTITION BY station_id) AS nr_of_escalators
    FROM (
        SELECT
            pathways.*,
            from_stations.stop_name AS station_name,
            from_stations.stop_id AS station_id,
            to_stations.stop_id AS to_station_id,
            to_stations.stop_name AS to_station_name
        FROM pathways
        LEFT JOIN stops from_stops ON from_stops.stop_id = pathways.from_stop_id
        LEFT JOIN stops from_stations ON from_stations.stop_id = from_stops.parent_station
        LEFT JOIN stops to_stops ON to_stops.stop_id = pathways.to_stop_id
        LEFT JOIN stops to_stations ON to_stations.stop_id = to_stops.parent_station
        WHERE from_stops.parent_station = to_stops.parent_station
    ) t
) t2
WHERE nr_of_elevators = 0
ORDER BY nr_of_pathways DESC
LIMIT 40
station_id station_name nr_of_pathways nr_of_elevators nr_of_escalators
de:11000:900120005 S Ostbahnhof (Berlin) 1358 0 12
de:09564:561 Nürnberg Frankenstr. 606 0 0
de:05162:20055 Neuss Hauptbahnhof 600 0 0
de:12061:900260005 Flughafen BER - Terminal 5 490 0 0
de:11000:900085202 U Franz-Neumann-Platz (Berlin) 480 0 10
de:05316:21101_G Leverkusen Wiesdorf Mitte Bf 480 0 0
de:09564:1970 Nürnberg Röthenbach 404 0 0
de:08437:42111 Sigmaringen Bahnhof 380 0 0
de:06414:6907 Wiesbaden Hauptbahnhof 372 0 0
de:09564:704 Nürnberg Plärrer 348 0 0
de:09177:3290 Erding 344 0 0
de:08216:32227 Bühl (Baden) 338 0 0
de:08421:1008_G Ulm Hauptbahnhof 336 0 0
de:11000:900085203 U Residenzstr. (Berlin) 328 0 8
de:11000:900170004 S Ahrensfelde Bhf (Berlin) 308 0 0
de:11000:900055102 U Bayerischer Platz (Berlin) 285 0 3
de:08417:32109 Balingen Bahnhof/Busbf 280 0 0
de:11000:900017104 U Möckernbrücke (Berlin) 277 0 9
de:11000:900036101 U Rohrdamm (Berlin) 257 0 7
de:11000:900026202 U Kaiserdamm (Berlin) 256 0 2
de:08118:5879 Vaihingen (E) 254 0 0
de:08126:10220 Öhringen, Hauptbahnhof 250 0 0
de:11000:900013101 U Moritzplatz (Berlin) 250 0 0
de:08335:6551 Engen Bahnhof 248 0 0
de:11000:900100016 U Rosa-Luxemburg-Platz (Berlin) 248 0 0
de:11000:900171011 Berlin, Landsberger Allee/Rhinstr. 246 0 0
de:08316:6505_G Denzlingen Bahnhof 242 0 0
de:08226:4109_G Weinheim, Hauptbahnhof 242 0 0
de:08417:32107 Hechingen Bf/ZOB 236 0 0
de:08237:5001 Horb Bahnhof/ZOB 234 0 0
de:09184:480 Garching-Hochbrück 232 0 0
de:11000:900029301 U Altstadt Spandau (Berlin) 220 0 8
de:11000:900175001 S+U Wuhletal (Berlin) 212 0 0
de:09564:1283 Nürnberg Am Wegfeld 210 0 0
de:08116:2931 Nürtingen 210 0 0
de:11000:900196001 S Grünbergallee (Berlin) 206 0 0
de:11000:900100031 S+U Alexanderplatz Bhf/Memhardstr. (Berlin) 206 0 0
de:09564:232 Nürnberg Friedrich-Ebert-Pl. 204 0 0
de:11000:900022201 U Deutsche Oper (Berlin) 188 0 0
de:05378:37101 Overath Bf 186 0 0

Weil die angebenden Pathways einer Station laut Spec erschöpfend sein müssen, würde eine Routing-Engine davon ausgehen müssen, dass es an dieser Station – bzw. zwischen den jeweiligen Haltepunkten/Steigen – keinen Aufzug, und damit keinen stufenlosen Zugang, gibt.

Referenz

pathways.txt-GTFS-Spezifikation

zur Analyse verwendetes Tool: gtfs-via-postgres

Aktualisierungszeitpunkt der GTFS-Daten:

21.03.2022

Downloadlink der GTFS-Daten:

DELFI-GTFS (via opendata-oepnv.de, Direkt-Download der neuesten Version)

derhuerst commented 2 years ago

@OpenDataVBB Ich habe die Daten stichprobenartig angeschaut, im VBB-Feed vom 4.3. fehlen die Aufzug-/Fahrtreppen-Pathways auch.

derhuerst commented 2 years ago

im VBB-Feed vom 4.3. fehlen die Aufzug-/Fahrtreppen-Pathways auch.

Im VBB-Feed vom 4.1. auch.

OpenDataVBB commented 2 years ago

@derhuerst Am Ostbahnhof sind die Aufzüge wegen Bauarbeiten gesperrt. Die übrigen Bahnhöfe haben auch in der Realität keine Aufzüge.