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

Flag to allow bike returns if no docks are available #89

Closed
nbdh opened this issue Feb 23, 2018 · 8 comments
Closed

Flag to allow bike returns if no docks are available #89

nbdh opened this issue Feb 23, 2018 · 8 comments

Comments

@nbdh
Copy link
Contributor

nbdh commented Feb 23, 2018

Both of the big bike sharing operators in Germany, nextbike and DB Call a Bike, normally allow a user to return a rented bike next to the station if there are no free docks available.

If no spaces are available, simply lock it close to the stand.
https://www.callabike-interaktiv.de/en/cities/hamburg

Thus there should be a way to make sure that a station never appears to be "full" (accepting no returns) to GBFS consumers.

Is there a combination of station_information capacity and station_status num_docks_available to achieve this?

@mplsmitch
Copy link
Collaborator

I don't think this case is explicitly covered maybe you could use is_returning in station_status.json. for example if num_docks_available = 0 and is_returning = 1 then users can leave bikes. This seems somewhat related to #81 and #86 in that @dsgermain wants to add geographic (geofenced) areas next to existing station for free floating bikes.

@nbdh
Copy link
Contributor Author

nbdh commented Feb 26, 2018

Thanks for your reply, Mitch. In my understanding the combination of num_docks_available = 0 and is_returning = 1 generally just means that the station is operating normally and not in some kind of maintenance state.

 1/0 boolean - is the station accepting bike returns (if a station is full but would allow a return if it was not full then this value should be 1)

Are there any opinions whether this kind of information is important enough to cover it in the spec?
I'll reply to #86 directly.

@serialc
Copy link
Contributor

serialc commented Feb 26, 2018

This sounds like it can be solved on the front end alone without any changes to the GBFS specification. Simply put, for systems that allow free standing locking of bicycles adjacent to a full station there exists no concept of a 'full' station. It is therefore up to the operator's GUI/webmap to only show the location of bikes and stations. The number of spaces becomes irrelevant.

If I understand the OP correctly I don't think this requires changes to the specification. At most perhaps in system_information.json a variable called adjacent_docking_allowed could be optionally set to true (1/0 boolean).

@nbdh
Copy link
Contributor Author

nbdh commented Feb 27, 2018

@serialc Introducing a field like adjacent_docking_allowed was exactly what I was going at, because otherwise the front end (for example an app that just consumes GBFS) has no way to determine whether adjacent parking is allowed or not.

I'd rather call it adjacent_parking_allowed (or adjacent_returning_allowed?) because the user definitely is not going to "dock" the bike somewhere.

The main question I see is whether system_information is the right place to put it or if the publisher should be able to allow or disallow adjacent parking for particular stations so we'd put it into station_information or if a system-wide switch is sufficent. So far I don't know systems that do not allow it for all stations, but it in case an operator want's to specify it for every station putting it in the station_information might be more future-proof?!

@jcn
Copy link
Contributor

jcn commented Feb 27, 2018

What is the client implication in systems like this? Do they show a number of docks available but that number doesn't really matter? Or do they never show available docks because the system doesn't really have the concept of being "full?"

@serialc
Copy link
Contributor

serialc commented Feb 27, 2018

Looking at the Berlin system by DB, which is present in many other German cities, only bicycles and stations are present - not dock spaces.

@heidiguenin
Copy link
Contributor

@nbdh Does #175 meet your needs? One revision that came out of a recent GBFS developers' workshop is to allow virtual stations to have unlimited capacity, so you'll see that change coming this week.

@antrim
Copy link
Contributor

antrim commented Oct 10, 2019

I think that #175 should serve this case, but I don't understand all the facets of this use case. I tried to summarize the thread over there. In order to test out that proposal, could people in this thread react to #175 (including proposing any necessary changes)? To try to focus the discussion around that proposed solution, I'm going to go ahead and close this issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants