-
Notifications
You must be signed in to change notification settings - Fork 232
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 service area type to the agency API. Add service areas to the provider API #110
Add service area type to the agency API. Add service areas to the provider API #110
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. 0.3.0 breaking change
need to add JSON schema docs for this. Will do later today. |
49aaa4b
to
3cb2096
Compare
I completely get the point of having this be a part of agency, and to some degree we already have a (basic) version of it for the conditional permit in LA. For example, we have a service hosted here that shows where scooters are not allowed during the conditional permit period. I am very much in favor of adding this to the @cttengsfmta Could you describe a bit more about how you would see the use-case for the
I'd be curious to hear more about how you think cities would be querying this information, and why we wouldn't just want to focus on the actual activity that occurred, which we get through Also - is it required? If so, how would we have any way of enforcing the accuracy of the information? If it is not required, I'd be interested to hear more from the providers themselves (@noonhub @asadowns @babldev ) on whether they would see a My gut feeling is that this is a very good idea for |
It makes sense for agencies to be able to declare "this is where we are allowing providers to pickup/dropoff." I'm confused as to what it means to have this in the provider API. Is this designed to say "this is where providers are operating?" I'd like to understand why agencies would need this API. |
@babldev exactly. The idea here is we should have an idea of approve area (ie, agency declares) vs |
I realize I'm a bit late to the conversation here but I don't think it makes sense to have service area information in the provider API. I think I would agree with the points @black-tea and @babldev made. I have several concerns
From my perspective, the agency API makes sense because it benefits both agencies and providers when agencies can push information to providers that give them timely updates on when areas should be restricted or preferred. I don't see a reciprocal use case for agencies to use provider service areas. Provided the agency is given all data in their jurisdiction, what is the rationale for providers to provide individual service areas and types? It also appears this API is opinionated about what types of areas a provider may have as well as how they choose to represent their geometries. This seems mistaken. Additionally, what is the value in providers separating agency/provider geometries and reflecting agency geometries (pulled from the agency API, presumably) back to the agency? |
I agree that Agencies are the source-of-truth for service areas so I don't see value in Providers also serving it. There are costs for maintaining such functionality, so if it's not going to be used it's best left out of the Provider API. |
@hunterowens looks like this got merged in with |
We propose adding the following functionality to the Service Area API. The agency API would allow agencies to also indicate restricted zones and preferred pick-up/drop-off zones. We envision this as a mechanism to communicate both permanent and temporary (e.g., special event) prohibited/incentive zones, rather than ad-hoc communications (e.g., emailing a shapefile).
We presume the providers also have their own prohibited/incentive zones. The Provider API would return the full set of prohibited/incentive zones (whether indicated by the provider or the agency).