-
Notifications
You must be signed in to change notification settings - Fork 293
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 available bike type(s) in station_status.json #81
Comments
From here:
I'd like to point out that systems using e-bikes will become available January 1st 2018 in Paris as Velib switches from JC Decaux to Smoove. In an email that was sent to Open Data users, they say that the new Open Data platform will use GBFS. |
In addition to @AntoineGiraud 's suggestion, it might be interesting at some point to let the operator publish information about every single vehicle. |
Excellent news ! I wonder how they're gonna handle the manual/electric
distinction. Could I get looped in those Open Data uUsers communications ?
Yeah, could they push to estimated range ? End user will want to know what
stations are 'reachable' with the battery level of a bike. (I understand
it's not trivial).
Great times ahead !
…On Wed, 27 Dec 2017, 12:10 Gaël Haméon, ***@***.***> wrote:
From here
<https://github.com/NABSA/gbfs/blob/master/gbfs.md#possible-future-enhancements>
:
- station_status.json
- need a way to distinguish between multiple bike types at a
station if/when hybrid systems using e-bikes become available
I'd like to point out that systems using e-bikes will become available
January 1st 2018 in Paris as Velib switches from JC Decaux to Smoove. In an
email that was sent to Open Data users, they say that the new Open Data
platform will use GBFS.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#81 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAZbi4rCk2ed0WbTGGUxA4JqD-3aBHneks5tEnn3gaJpZM4RJ1RD>
.
|
Here is the full email from developer@jcdecaux.com (the former operator)
|
Any answer yet? I was checking this endpoint here https://opendata.paris.fr/api/records/1.0/search/?dataset=velib-disponibilite-en-temps-reel&rows=300 But it is only showing 200 stations. I remember that JCDecaux endpoint had many more. |
This thread is straying... The new Paris BSS operator is deploying their system as fast as possible. They are late however, and being heavily fined. They have no GBFS feed. I know there is a feed that is GBFS-esque but it's not public. https://twitter.com/serialc/status/952829009200582656 But back to having bike types in the feed... |
They do seem to have a botched deployment. They'll probably (hopefully) get
more responsive as their urgent issues get fixed.
…On Thu, 1 Feb 2018, 13:36 Cyrille Medard de Chardon, < ***@***.***> wrote:
This thread is straying... The new Paris BASE operators are deploying
their system as fast as possible. They are late and being heavily fined.
They have no GBFS feed. I know there is a feed that is GBFS-esque but it's
not public. https://twitter.com/serialc/status/952829009200582656
But back to having bike types in the feed...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#81 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAZbiwaO_v9H4dYIJf6zihzZk5YGHEShks5tQa-7gaJpZM4RJ1RD>
.
|
I think since bikes can have multiple attributes at once, we should provide a list of bikes with their specific attributes for each station. Thoughts?
|
Hi @dsgermain, hi @gaelhameon On one hand, if you provide the types of all bikes present in each station, you'd have a way heavier station_status.json (500 stations status + 5000 bikes types) On the other hand, you might be interested in knowing the details of each bike if they are electric. It's more an operator concern to know the full status details of all of his bikes (it's already available for him through it's bike list with their current status). I found it important to keep the station_status.json as light as possible Antoine |
Since these bike variables could apply to docked bikes described in
*station_status.json* and bikes described in *free_bike_status*, and there
are now systems having bikes that may be both docked and free floating, how
do we do this in a way that's not duplicative?
|
@AntoineGiraud I agree we need to keep these structure light. Can we agree to have at least the following fields as part of the spec? They should be optional, so that mechanical bikes feeds are not affected: ebike: "true/false" @mplsmitch Maybe we could add an endpoint to return additional information by passing in the bike ID? This way, we touch neither endpoint, and if someone needs the additional info, they need to explicitly fetch it? |
@dsgermain for what it's worth, Jump/Social Bicycles has been using a charge level field in their DC feed here: Where would the bike ID live in the case of station based bikes? Currently station_status.json only tells the number of bikes present but does not include an identifier. |
@mplsmitch we could simply add a bike_ids list in station_status.json. The biggest station in know of out there is around 60 bikes, which doesn't add that much weight to the structure. In any case, we need to move on this as eBikes are now a reality. I've never been part of one of these extension discussions, what is the process to get it approved? |
Does @cubbi or anyone from Jump have an opinion on this? Is there a downside to publishing bike ids and other attributes in both station_status.json and free_bike_status.json. I'm thinking of the future when free floating ebikes go into charging docks. @dsgermain I'm working on formalizing the change process but for now-
|
@mplsmitch thanks for the process description. I suppose this thread counts for more than 7 days discussion? |
I'd still rather say that you don't need the full details of each bikes in station_status.json but more the aggregated information. Some numbers: (550 stations, 5 500 bikes)
either way, @dsgermain, you're the one that can test it ! |
@AntoineGiraud We'll implement an extension which will be ready end of March.
I don't want developers to have to download and parse the whole bike_status.json feed to tell users how many ebikes are at a station. Here's my proposal for bike_status.json: bike_status.json
|
If you don't add the station id, it's the free_bike_status.json plus is_ebike and is_geofenced |
I wouldn't either want developpers to parse the whole bike_status.json to tell the number of eBikes at a station, indeed you have to add it too in station_status.json However, you'd also want to know the types of the bikes however, you'd want to add more information about the bike's types at a station plus the battery left in those. That's why i suggested to add an aggregative field if you had put the full list of bikes, you'd have to parse the whole list anyway (and at each stations) |
@dsgermain Your bike_status.json looks a lot like free_bike_status.json. Wouldn't it make more sense to extend free_bike_status.json in stead of creating another end point? If we added something like this:
This would be a way to keep all the information about bikes in one file which seems important if you're thinking about bikes moving between docks and geofenced locations. There would still be some redundancy with station_status.json if you included lat/lon for docked bikes but much less than with two bike info end points. Also - if you're working on geofencing - what's your take on #65 ? |
@AntoineGiraud I see your point. Wouldn't the aggregate fields result in problems if bikes have multiple attributes, such as ebike + 3 gears or ebike + 7 gears? It will become hard for a dev to know what the data means unless we make the fields exclusive. I would suggest to limit the fields to a simple separation between mechanical and ebikes with the charge in discrete levels as you propose. What do you think? @mplsmitch @AntoineGiraud I agree, it is a direct copy/paste and we should merge. I will reply on #65 directly. |
Here's what we will implement: Implement free_bike_status.json as described here: Add the following fields:
Add the following fields to station_status.json:
example: num_bikes_available_types":{"mechanical":7,"ebike":2} |
@dsgermain Isn't The description of the feed says:
|
@barbeau since we are extending this to return all bike info (whether it is ebike or not), then this feed is not about free_bikes only anymore, but more about "bikes available for rental" in general. At least, that's what I gathered from the conversation from yesterday. |
@dsgermain Sorry, I skimmed the thread but may have missed part of that discussion. Maybe it would be easier to discuss via a pull request to make it simpler to see what the current "proposal" is (i.e., the diff)? |
@dsgermain free_bike_status.json was really made first for those free floating bikes. I still think i'd be important to tell the station code of the bike if present in
You have 4 options for the bike:
In the end, a bike can be:
Like so, you wouldn't need the By the way, I don't see the hub zones of SoBi stations: i don't know if it's added yet in the GBFS or not Yes, I guess we can go toward a pull request now ! |
@AntoineGiraud I think so, but yes, a PR would definitely help :) |
Just so I'm clear on process, you're talking about a pull request directly on gbfs.md? |
Yes - defining exactly what would change as part of this proposal. |
Hi! Did this end up getting implemented? I'm looking at the results for a few of the bcycle networks in my area (Omaha & Lincoln) and I see the {
"station_id": "bcycle_heartland_1916",
"num_bikes_available": 3,
"num_docks_available": 7,
"is_installed": 1,
"is_renting": 1,
"is_returning": 1,
"last_reported": 1542847892,
"num_bikes_available_types": {
"classic": 3,
"smart": 0,
"electric": 0
}
}, I think I know what "classic" and "electric" refer to, but I'm not clear on what the "smart" property is. Any idea? |
Smart bike-share was a branding craze, like smart cities, from 2015-2016. Instead of having the checkout key on the dock or at the kiosk, on a smart bike it is on the bike. There's a display and smart card reader between the handle bars, or over the back tire. This has the potential to reduce price/cost. I guess you could say that 'new' dockless systems (Mobike, Of, etc...) are also smart bikes. Many of these systems, such as those from Vancouver or Portland, are docked and don't actually make their use any different. I think the membership keys used on docks by PBSC/Motivate are faster and easier to use (WDC, NY, Boston, etc) than smart bikes. There was some potential for smart bikes to be dockless or both/flex, with obvious benefits (and problems) but that hasn't seemed to have happened (Correction, I believe SOBI bike-share systems are). So it's mainly branding. I remember Vancouver and Portland claiming to have the largest smart bike-share systems in North America even though they only have/had a tenth of the bikes of NYC. The smart bike-share claims appeared to have died down while the (also smart) dockless bikes flooded NA in 2017. In closing, smart bikes afford different use and interaction types but not always taken advantage of and is largely used as a branding and market differentiation tool. |
PR #136 addresses this issue and represents a heap of input from GBFS consumers and producers. We're hoping we can solidify support around it as the next step forward. It would be great to get all of your input over there on the solution that's emerged so far as a "minimum viable proposal" that better represents what operators are providing on the ground. That said, once folks have a chance to check it out, I'd like to propose we close this issue and move relevant conversation there. @mattdsteele @serialc @barbeau @dsgermain @AntoineGiraud @mplsmitch @f8full @apinho-fm @gaelhameon |
How about letting the opperator of the GBFS put optional information about bike types at each station.
I'd see it as an object detailing num_bikes_available like:
The text was updated successfully, but these errors were encountered: