Skip to content

Line 12 in München is marked as Bus in API #1489

@sandervhoogdalem

Description

@sandervhoogdalem

When I search for departures at Leonrodplatz, Munchen I see line 12 marked as Bus, but its a tram. I don't have a date in the URL because this is on every day.

One of the results in the API from line 12:
{
      "place": {
        "name": "Leonrodplatz",
        "stopId": "de-DELFI_de:09162:11:2:2",
        "lat": 48.159184,
        "lon": 11.546972,
        "level": 0,
        "arrival": "2025-09-04T19:59:00Z",
        "departure": "2025-09-04T19:59:00Z",
        "scheduledArrival": "2025-09-04T19:59:00Z",
        "scheduledDeparture": "2025-09-04T19:59:00Z",
        "scheduledTrack": "2",
        "track": "2",
        "description": "Steig 2+5",
        "vertexType": "TRANSIT",
        "pickupType": "NORMAL",
        "dropoffType": "NORMAL",
        "cancelled": false
      },
      "mode": "BUS",
      "realTime": true,
      "headsign": "Schwabing Nord",
      "agencyId": "14747",
      "agencyName": "Straßenbahn München",
      "agencyUrl": "https://www.delfi.de",
      "tripId": "20250904_21:48_de-DELFI_2912717643",
      "routeShortName": "12",
      "pickupDropoffType": "NORMAL",
      "cancelled": false,
      "tripCancelled": false,
      "source": "de_DELFI.gtfs.zip/stop_times.txt:27308907:27308930"
    }

As you can see, the agencyName is Straßenbahn München (Tram) and mode is set on BUS. Is this a mistake in the API or is this something that the MVV needs to change?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions