-
Notifications
You must be signed in to change notification settings - Fork 294
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
Future availability of vehicle types by station #722
Conversation
@richfab How do you handle |
Thanks @mplsmitch. I was just going to ask if we should make |
I like that |
Thank you @richfab for open this PR! Indeed a very nice addon for many use-cases that I would vote for. As far as I understood the proposed file is optional. Also I understood from the discussion in issue 616 that availabilities based on certain vehicles are not wished by many operators due of privacy reasons, which is understandable. However, the carsharing provider in our region (and one of the biggest in Germany), stadtmobil has availabilities only vehicle-wise. There are no "vehicle types". It would completely make sense for me to add availabilities as well to vehicles. So that we say it is optional to add whether If I think about our forecast idea for micromobility (issue 612) we might also remove the "Not supported for free floating (dockless) vehicles" constraint for the vehicles. Once accepted, we would start implementing a reference implementation for vehicles right away as well as we would support the vehicle_types approach and get an implementation ready. |
I second this, @Lefois. I helped the folks at CommonsBooking, a WordPress plugin to manage small, mostly volunteer-based (cargo) bike operations with their GBFS API. Their GBFS adaption suffered from the lack of availability modeling in GBFS. The idea of CommonsBooking is to manage reservations for all sorts of items, including vehicles. They allow hour- or day-based reservations. So for their data model a vehicle-based availability is most appropriate. |
@Lefois Thanks for bringing up this topic again. And that brings us back to the very beginning of the discussion where we already suggested to provide future availability by vehicle. |
I observe that the need for a vehicle-based model is supported by several data producers and data consumers. For this reason, I will close the current PR and create a new PR #726 'Future availability by vehicle' to continue the discussion. In this discussion, let's keep in mind the guiding principle of GBFS which is that data is public and useful to travelers. Thanks! 🙏 |
What problem does your proposal solve? Please begin with the relevant issue number. If there is no existing issue, please also describe alternative solutions you have considered.
Following the discussion in #616
Operators want to be able to describe the future availability of their services, for example to display it in trip planners. This is particularly useful for systems that allow vehicles to be booked in advance (e.g. carsharing).
What is the proposal?
Add a new endpoint
vehicle_type_availability.json
which describes the future availability of each vehicle type by station.Is this a breaking change?
Which files are affected by this change?
Proposal to add a new endpoint:
vehicle_type_availability.json