Skip to content
This repository was archived by the owner on Jun 29, 2023. It is now read-only.

Bug in the id_prefix "de:09162:"? #30

@Stephaela

Description

@Stephaela

Hey everyone! :)

I might have noticed a small bug. The id_prefix is defined as "de:09162:" and is used to convert the IDs. But I think that there is a problem with this definition. For many stations, it is correct, but there are stations with another prefix, for example "Garching, Forschungszentrum" has the ID "de:09184:460" (see https://www.mvg.de/api/fahrinfo/location/query?q=forschungszentrum). So I'm afraid that for some stations the code produces wrong IDs. I think that "09162" is only correct for stations located inside Munich and I think that stations somewhere else use another number (but I'm not 100% sure about that).

It would be really cool if you could fix that. Thank you! :)

(by the way, this is my first issue, so if I do something wrong, please don't be angry and just tell me what I can do better next time :) )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions