mfdz / GTFS-Issues

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

DELFI: Pathway-Loops #95

Open derhuerst opened 2 years ago

derhuerst commented 2 years ago

Art der Abweichung

Die folgenden pathways zeigen von einem Node auf denselben Node.

SELECT
    from_stop_name, from_stop_id,
    pathway_mode,
    to_stop_id, to_stop_name
FROM (
    SELECT
        from_stops.stop_name AS from_stop_name,
        from_stops.location_type AS from_loc_type,
        to_stops.location_type AS to_loc_type,
        to_stops.stop_name AS to_stop_name,
        pathways.*
    FROM pathways
    LEFT JOIN stops from_stops ON from_stops.stop_id = pathways.from_stop_id
    LEFT JOIN stops to_stops ON to_stops.stop_id = pathways.to_stop_id
) t
WHERE from_stop_id = to_stop_id
ORDER BY from_stop_id, to_stop_id
from_stop_name from_stop_id pathway_mode to_stop_id to_stop_name
Bad Homburg v.d.H. Bahnhof 000320439904 walkway 000320439904 Bad Homburg v.d.H. Bahnhof
Butzbach-Ostheim Bahnhof 000321113403 walkway 000321113403 Butzbach-Ostheim Bahnhof
Hanau Hauptbahnhof de:06435:4503:92:89 walkway de:06435:4503:92:89 Hanau Hauptbahnhof
Hanau Hauptbahnhof de:06435:4503:94:99 walkway de:06435:4503:94:99 Hanau Hauptbahnhof
Limburg (Lahn) Süd (ICE) de:06533:11504:3:3 walkway de:06533:11504:3:3 Limburg (Lahn) Süd (ICE)
S Spandau Bhf (Berlin) de:11000:900029101:2:53 walkway de:11000:900029101:2:53 S Spandau Bhf (Berlin)

Referenz

Keine, aber Loops erfüllen keinen Zweck.

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 Der Pathway 1074022 am S Spandau kommt so auch im VBB-Datensatz vom 4.3. vor.

derhuerst commented 2 years ago

Der Pathway 1074022 am S Spandau kommt so auch im VBB-Datensatz vom 4.3. vor.

Im VBB-Feed vom 4.1. auch.

OpenDataVBB commented 2 years ago

Im heutigen Feed wird er auch noch drin sein. Kommende Woche dann hoffentlich nicht mehr.