Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Station name query doesn't return expected result #6309

Open
miklcct opened this issue Dec 6, 2024 · 0 comments
Open

Station name query doesn't return expected result #6309

miklcct opened this issue Dec 6, 2024 · 0 comments

Comments

@miklcct
Copy link
Contributor

miklcct commented Dec 6, 2024

Expected behavior

A station named "London Waterloo" should be returned when I fetch QueryType.stations(name: "Waterloo") in the GTFS GraphQL API

Observed behavior

That train station isn't returned. Only another train station called "Waterloo" and a tube station called "Waterloo" are returned, but not a train station called "London Waterloo".

If I enter "London Waterloo" into the query, it returns "London Waterloo" and "London Waterloo East" stations.

Version of OTP used (exact commit hash or JAR name)

2.7.0-SNAPSHOT

Data sets in use (links to GTFS and OSM PBF files)

A GB National Rail dataset generated using dtd2mysql and the GTFS downloaded from Bus Open Data Service

Steps to reproduce the problem

Make the following GraphQL query to the GTFS GraphQL Endpoint:

query ExampleQuery {
    stations(name: "Waterloo") {
        name
        gtfsId
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant