-
Notifications
You must be signed in to change notification settings - Fork 127
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
Add lines object (scheduled or not) on /stop_points #2223
Comments
This would probably be routes (maybe including lines), not lines directly. |
That's not a viable solution. If we go this way, we should includes all the object that can be related to an object, and there is a lot (everything is connected!). That would need something like GraphQL, and that's not for now. |
I know everything is connected :) You can easily display the stops on a map, but without the network + physical_mode and the line_code/line_name, it's quite complicated to differentiate them (bus stop, subway stop, etc.), to show icons like CityMapper for example. Option 1 : /coords/0.0;0.0/stop_points?distance=1000 + [forEach stops] /stop_points/<stop_id>/lines
Option 2 : /coords/0.0;0.0/lines?distance=1000
Option 3 : /coords/0.0;0.0/stop_points?distance=1000 + /coords/0.0;0.0/lines?distance=1000
Option 4 : Make an external cache
... A simple sliding of the map restart all the requests ... I really think the ideal would be a depth=4 with filters in the parameters to be able to hide fields. |
I don't understand how it is linked to the previous conversation... If it is not we should open a separate issue. |
Convenient to store for example the stop_points/stop_areas and their multiple relations (lines/routes) in offline.
Example (with #2222 PMR Pull request idea) :
The text was updated successfully, but these errors were encountered: