Skip to content

VVS: Missing Stop-IDs (on Station Level) for ServiceAlerts #296

Description

@sebastianknopf

Description
The VVS GTFS-RT ServiceAlerts feed references several stops with their global ID on station level. Example:

{
      "id": "047dd163-5688-50c4-a166-1e71e8ece5cb",
      "alert": {
        "active_period": [
          {
            "start": "1785726000",
            "end": "1789163700"
          }
        ],
        "informed_entity": [
          {
            "agency_id": "VVS",
            "route_id": "vvs:31X18: :R:j26",
            "stop_id": "de:08116:4305",
            "direction_id": 1
          },
          {
            "agency_id": "VVS",
            "route_id": "vvs:31X18: :R:j26",
            "stop_id": "de:08116:2953",
            "direction_id": 1
          },
          {
            "agency_id": "VVS",
            "route_id": "vvs:31X18: :R:j26",
            "stop_id": "de:08116:2931",
            "direction_id": 1
          },
          {
            "agency_id": "VVS",
            "route_id": "de:vvs:vvs-31-189:",
            "stop_id": "de:08116:4305",
            "direction_id": 0
          },
          {
            "agency_id": "VVS",
            "route_id": "de:vvs:vvs-31-189:",
            "stop_id": "de:08116:2953",
            "direction_id": 0
          },
          {
            "agency_id": "VVS",
            "route_id": "de:vvs:vvs-31-189:",
            "stop_id": "de:08116:2931",
            "direction_id": 0
          },
          {
            "agency_id": "VVS",
            "route_id": "vvs:31X18: :H:j26",
            "stop_id": "de:08116:4305",
            "direction_id": 0
          },
          {
            "agency_id": "VVS",
            "route_id": "vvs:31X18: :H:j26",
            "stop_id": "de:08116:2953",
            "direction_id": 0
          },
          {
            "agency_id": "VVS",
            "route_id": "vvs:31X18: :H:j26",
            "stop_id": "de:08116:2931",
            "direction_id": 0
          },
          {
            "agency_id": "VVS",
            "route_id": "de:vvs:vvs-31-189:",
            "stop_id": "de:08116:4305",
            "direction_id": 1
          },
          {
            "agency_id": "VVS",
            "route_id": "de:vvs:vvs-31-189:",
            "stop_id": "de:08116:2953",
            "direction_id": 1
          },
          {
            "agency_id": "VVS",
            "route_id": "de:vvs:vvs-31-189:",
            "stop_id": "de:08116:2931",
            "direction_id": 1
          }
        ],
        "cause": "UNKNOWN_CAUSE",
        "effect": "UNKNOWN_EFFECT",
        "url": {
          "translation": [
            {
              "text": "https://www.vvs.de/verbindungen-und-mobilitaet/aktuelle-meldungen",
              "language": "de"
            }
          ]
        },
        "header_text": {
          "translation": [
            {
              "text": "Nürtingen: Haltestelle Kroatenhof verlegt",
              "language": "de"
            }
          ]
        },
        "description_text": {
          "translation": [
            {
              "text": "<b>Von Montag, 03. August 2026 ab 05:00 Uhr bis Samstag, 12. September 2026, Betriebsschluss </b>\r\nkann die Haltestelle Nürtingen Kroatenhof von den Buslinien 189 und X18 in beiden Richtungen aufgrund von Bauarbeiten nicht angefahren werden.<br><br>\r\n<p>Ersatzhaltestellen Metzinger Straße 24 und gegenüber</p>",
              "language": "de"
            }
          ]
        }
      }
    }

However, in the static GTFS feed most stops are only modeled as stops with their global ID on stop level, not on station level. Only some few stations are available and correctly modeled in the GTFS static data. Example for the alert shown above:

Image

In the GTFS-RT ServiceAlerts feed, there's only a reference to the station with de:08116:2953, not to the stop.

Notice: At first glance, this seems to be a duplicate of #158. The difference here is that the temporarily not served stops are available in the feed, but the station for the stops is not modeled or the service alerts reference the wrong entity type.

Links
https://download.vvs.de/gtfs_realtime.zip
https://gtfsr-servicealerts.vvs.de/

Metadata

Metadata

Assignees

No one assigned

    Labels

    DE-BWDeutschland - Baden-WürttembergFalsche AngabenHier liegt ein inhaltlicher Fehler vorGTFS-RTProblems regarding GTFS-RT data (alert, trip updates, vehicle positions)VVSVerkehrs- und Traifverbund Stuttgart

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions