Replies: 1 comment
-
Since |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Let's see if Github discussions are a good place to discuss feature ideas instead of the matrix channel 😃
I think it would be useful for the geocoding endpoint to be able to filter stops for the transport modes that serve it. For example, it is annoying to search through all the bus stops of a city when you are only searching for train journeys in the first place.
Since we would be storing which transport modes serve each stop, this information could then also be used to show the available transport modes for each stop, e.g. in the trip endpoint. The v6.db.transport.rest API of old also offered this.
When briefly looking into how to implement this, I noticed that the adr module would need a new dependency on nigiri, mainly for the
clasz
enum and associated functions. Since I was hesitant to add this dependency, I wanted to discuss the implementation first.Beta Was this translation helpful? Give feedback.
All reactions