Replies: 3 comments 1 reply
-
|
Since |
Beta Was this translation helpful? Give feedback.
-
|
OK, so as of now the available modes per stop are stored, but not in adr. So how can we filter them in |
Beta Was this translation helpful? Give feedback.
-
|
Implemented in #1152 |
Beta Was this translation helpful? Give feedback.
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
claszenum 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