-
Notifications
You must be signed in to change notification settings - Fork 18
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
bikeshare docks #310
Comments
+1 for adding bikeshare. In addition to docks, we'd like to see free floating bikes (i.e., for systems that don't have docks, but instead GPS on the bikes). I don't know whether this could live in Transitland or not based on your road map, as it's live data that changes in real-time. We do have early support for floating bikes in OpenTripPlanner (more below). One feature that I'd like to see for docks and bikes, but currently isn't supported in GBFS, is the ability to offer a link to the user to rent a specific bike, or a bike from a specific hub, by tapping on a map marker. We've implemented this in the USF Maps App, but had to hard-code the URLs: I've opened a GBFS proposal for adding a I've added some implementation details are below for how we're using bikeshare data in a few apps (USF Maps App - based on OTP, OTP Android, OneBusAway) in case that is helpful as the datastore and API for bikeshare are designed for Mapzen services. Existing bikeshare app implementationsWe currently support virtual bikeshare docks and free floating bikes in our OTP fork for our campus, the USF Maps App: Enable the "Share-A-Bull Bikes" layer to see the floating bikes and virtual docks/hubs (we don't have physical bike docks, but just geographic areas where they encourage riders to leave bikes). Trip planning via "Rental bike" will also give you a trip plan that picks up the closest floating bike (refreshed in real-time) and drops it at a virtual hub. Bikeshare support is also implemented in OTP Android (trip planning and layer for docks only - see this issue for what we need to do to support floating bikes), and on-deck in OneBusAway Android in OneBusAway/onebusaway-android#402. All of the above use OTP to consume a GBFS feed and expose bikeshare via an OTP API, both for the trip plan and the bike/dock locations. Here's the live API endpoint for the bike/dock locations for our USF Maps App: ...and official OTP docs for this API: Support for floating bikes in the OTP API is a first draft based on what was easiest to modify in OTP and still keep routing, etc. Right now floating bikes are still For us to use Mapzen services as an OTP replacement in the above apps, we'd need to be able to get docks and floating bike locations from the Mapzen API. |
FYI - for GBFS feed discovery, NABSA has a CSV file of all known vendor implementations in the GBFS Github repo: You could treat this as an API endpoint by hitting https://raw.githubusercontent.com/NABSA/gbfs/master/systems.csv. |
Related, this is how Coord computes services areas for bikeshare providers: https://medium.com/coord/crafting-bespoke-maps-of-bike-share-service-areas-c46d47e8fb87 |
It's not fixed-route transit, but bikeshare systems might be straightforward to represent in Transitland: each dock as a
Stop
. Bikeshare and fixed-route transit are also very complementary modes of travel.Let's not consider this until after station hierarchies is in place--that's changing how
Stop
s work.Potential datasources:
The text was updated successfully, but these errors were encountered: