-
Notifications
You must be signed in to change notification settings - Fork 286
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
Polygon coordinates for stationless bikes #65
Comments
+1 We'd be interested in being a GBFS consumer for floating bike areas, both in OneBusAway and our USF Maps App. I actually just had this discussion with TriMet in Portland OR last week and I know they are interested in this for their multimodal app as well as part of their FTA MOD Sandbox project. ccing @fpurcell from TriMet. Right now for the USF Share-A-Bull system in Tampa, FL SoBi is publishing the drop off zones as individual virtual stations, defined as points in the existing To give a concrete proposal to this discussion - how about a new endpoint? free_bike_zones.json
I think our only realistic option to describe the geographic properties of zones is GeoJSON, as they can be complex. Here's what the allowed drop off zone currently look like at USF (from https://usf.socialbicycles.com/): |
Sounds like a good idea with the growing number of such systems. A few comments on refining the above definitions. Given that each bike share system (BSS) already has its own unique identifier within the GBFS system list, uniqueness of the zone id relies simply on the operator to distinguish them. So University of South Florida's Share-a-Bull Bikes has the id usf_share-a-bull_bikes and then simply can create/manage its zone ids independently (e.g., 1, 2, 3, north, south, campus). Further the stipulation that each zone be distinct (no overlap) isn't necessary - it makes sense but isn't necessary to stipulate. Of course zones from different BSS operators may overlap... Regarding the the zone_area I would recommend a MultiPolygon feature type rather than a Polygon to allow greater flexibility. |
@serialc Sounds good! Revised proposal: free_bike_zones.json
|
Just to be clear: are we talking the virtual stations here, or the overall
service area? We should be clear to distinguish because those are 2
different things.
Thanks,
Mike
…On May 18, 2017 11:22 AM, "Sean Barbeau" ***@***.***> wrote:
@serialc <https://github.com/serialc> Sounds good! Revised proposal:
free_bike_zones.json
Field Name Required Defines
zone_id Yes ID field - Unique identifier of a free bike drop-off zone.
See Field Definitions
<https://github.com/NABSA/gbfs/blob/master/gbfs.md#field-definitions>
above for ID field requirements.
zone_area Yes A valid GeoJSON MultiPolygon <http://geojson.org/> that
describes the area where free bikes can be dropped off.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#65 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAJXEDsXQVUInWP7AE7FPnk4CeEUo4Ogks5r7GI_gaJpZM4NeIIi>
.
|
The definition of what the zone represents exactly will likely vary by operator in terms of cost/possibilities. |
The scenario I'm thinking of is a city with multiple companies operating bikes. It's going to fall on the city to define where bikes may be parked. These areas once defined would/could be used by multiple operators. I'm imagining there are 3 parts to this:
|
@mplsmitch As a GBFS consumer, I'm not sure I understand when I should show a The primary use case I'm trying to address is that a user has rented a floating bike, and now needs to return it. So, I'd like to show them polygons on a map that indicate where they are allowed to return the bike. At USF we have a single polygon for where floating bikes can be returned which is equivalent to the service area, but maybe this is a simpler implementation than other city/region-wide solutions. |
Given that GBFS is organized/driven by a consortium of private companies and has the purpose to "make real-time data feeds publicly available online in a uniform format so that map and transportation based apps can easily incorporate this data into their platforms." I think talking about municipalities getting involved sounds out of scope. What you/@mplsmitch are suggesting, let's call it municipal bike-share zoning feed (MBSZF), sounds helpful for cities, such as those in China, having bike-share crowding problems due to many companies with overlapping coverages. This creates the big piles of bikes we've seen in the news lately. Having said that, even then MBSZF doesn't seem worthwhile as the city would simply pass along a shapefile to the company and they would then themselves use that polygon in the zone_area's we've discussed earlier above. TLDR: GBFS is for bike-share operator feeds, not municipal regulation of bike-share. |
@barbeau I think the answer to which polygon area is displayed depends on the business rules of the particular system. I don't know about USF but many floating bike systems like Coast charge different rates rates to users depending on where they end their rental. Ending a rental outside a hub/station is allowed but incurs an extra $2 charge. Presumably this is something you would want to be able to convey to users. Currently hubs are defined as points in station_information.json. I'm not sure how they determine if the bike is within the hub area. Ending a rental outside the service area (boundary) results in a significant fine - also something users would want to be aware of. Maybe 3 types is going too deep. I agree the "zone" is harder to define - but it seems like it's distinct from the hub/station since it could contain stations. It wouldn't have occurred to me had it not been for Portland's Super Hub plan. @serialc I would disagree that GBFS is organized/driven by a consortium of private companies. NABSA's membership is largely made up of cities. The industry in the US is changing. As an owner/operator I want to be able to compete with new business models but without municipal regulation that's going to be difficult if not impossible. This is already happening in my city so it's not confined to Asia. I think you're correct that cities will pass shape files to (multiple) operators. I also think cities will become consumers of the resulting GBFS feeds in order to monitor and enforce bike parking regulation. Without access to uniform real time data I can't see how they can effectively prevent piles of illegally parked bikes blocking the ROW. |
If we add a free_bike_zones.json
I'd like to keep this as simple as possible, which is hopefully the area where I can drop off a bike, as well as how much that would cost me. |
As I understand it, *system_pricing.json* doesn't cover fees currently. The
plan_id field identifies a subscription or access type and it's associated
price but usage fees (or fines) aren't covered.
http://coast.socialbicycles.com/opendata/system_pricing_plans.json
The question we need to answer is whether or not the bike is parked in a
permitted area, it's up to the owner/operator of the system to decide if
that impacts pricing or not.
What if we used an enumerable field
zone_type
that could contain
hub
boundary
etc
|
@mplsmitch here's a version with the fee pricing directly in the new endpoint: free_bike_zones.json
This would allow you to specific a fee for leaving a bike outside of a service area with Or are you saying that the fee amount shouldn't be contained in the GBFS feed because the fee may not be controlled by the GBFS feed maintainer? From a GBFS consumer perspective, I would hope that the operator and GBFS feed maintainer would coordinate/communicate enough that this would be transparent to consumers. If the fee issue gets too complicated, we can simplify it back to just zones where no additional fees would be charged: free_bike_zones.json
We want to stick to something simple and universal that doesn't require an external explanation of business logic, as much as possible. It doesn't seem like this is possible when expressing hubs vs. zones vs. service areas, unless I'm missing something. |
I think we should stay away from pricing and fees since there's already an endpoint for pricing info. This endpoint should stay focused on location. I used pricing as an example of how an operator (or feed consumer) might use the data but I could see other uses. Let's stick with zone_id and zone_area until someone else weighs in. |
After reading through this discussion, my question is whether the proposed Using Share-A-Bull as a model, it seems that the best thing to do would be to add an optional |
That works for me, and seems to be the closest model to existing implementations. Any producers willing to try this out? |
Friendly ping - any producers willing to implement this? We're rolling out bike share info (layer and real-time bike share/transit trip plans) in OneBusAway in Tampa right now, and it would be great to be able to show floating bike area boundaries in the app. Other cities on the roadmap include San Diego, Seattle, and Washington, D.C. |
We are willing to supplement station_information with zone_area.
|
@dsgermain That's great you're willing to implement this concept in A few questions off the top of my head, related to adding this info into
|
@barbeau in our case, the station can be supplemented by a zone. This is means we can have a combination of docks and bikes parked outside of docks. If
|
To recap:
|
Hmmm, ok. So in your deployments is there ever a zone without a physical dock?
No, this field is the real-time availability of docks at a station (from feeds I've seen at least). It's defined as "Number of docks accepting bike returns". So, if there are 5 physical docks and 3 of those docks are occupied by bikes, then My concern is increasing existing confusion over how drop off points are defined. In the deployment at USF (part of Coast Bikeshare now for Tampa) we have floating bikes, with no physical docks. However, in the GBFS feed Coast mapped all of the normal bike racks (i.e., just metal poles, no dock) on campus as a "station" that appears in I just want to make sure that the definition of any new fields added to the spec are very clear to avoid further confusion. |
@dsgermain Does it make sense to tie zone_area and related fields so closely to stations? I'm expecting that as we add free floating bikes we'll also expand our service area but we may not add additional stations. When that happens, we'll need a way to define geo-fenced areas that aren't adjacent to a station. Your extension will cover that, but we should be careful to leave any business logic out of the definitions. |
@mplsmitch if you look at SoBi stations, they all are geofenced as their bike lock on anything (zoom in a lot, you'll see various zones for each stations) |
Hi everybody, Wouldn't it be a good idea to add the information about a zone for stationless bikes in there instead of creating a new endpoint or putting it in station_information? I mean: We are talking about stationless bikes...
|
@nbdh Our zones are extensions of physical stations, so we need to account for this case as well. |
PR #175 addresses this issue and represents the solution that's emerged so far as a "minimum viable proposal" that address the main geofencing issues that have been raised in issues and PRs over the past few years. Once folks have a chance to check it out, I'd like to propose we close this issue and move relevant conversation there. @mplsmitch @dsgermain @jcn @barbeau @serialc @fruminator @nbdh @AntoineGiraud |
I'd like to get a discussion going around adding polygon coordinates to describe parking areas and service area boundaries for free floating bikes. Cities are beginning to wrestle with how to regulate stationless bikes and it seems like there's an opportunity to address this via GBFS. Since I run a station based system I'm not up to speed on how these data are currently described. This issue also comes up with the proposed "super hubs" in Portland. Is there anyone from SoBi or with GIS expertise that would be interested in working on this?
The text was updated successfully, but these errors were encountered: