-
Notifications
You must be signed in to change notification settings - Fork 248
Description
Is your feature request related to a problem? Please describe.
Cities want to be able to perform Policy compliance monitoring (both real-time and historical) for vehicles in motion. Currently, it is not possible to meet this need without requiring precise trip location data.
Describe the solution you'd like
The idea is that vehicles would emit events whenever they enter or leave a geography defined in the Policy endpoint. Then, instead of sharing the exact vehicle location, these events would simply give the UUID for the geography. This would be accomplished via the following changes:
Rename events for entering and leaving municipal areas so they apply to all Policy geographies.
enter_municipal_area⇒enter_geographyleave_municipal_area⇒leave_geography
Add the geography information to the event.
- Add a new
event_geographyfield containing the geography UUID toProvider. This field is required ifevent_locationis not present. - Add a new
event_geographyfield containing the geography UUID toAgency. This field is required iftelemetryis not present.
Remove requirement for precise location data for vehicles during trips.
- Make
event_locationin Provider optional in the case ofvehicle_state:in_useevents - Make
telemetryin agency optional in the case ofvehicle_state:in_useevents
Is this a breaking change
- Yes, breaking
Impacted Spec
For which spec is this feature being requested?
agencyprovider
Describe alternatives you've considered
None at this time.
Additional context
Note that this proposal assumes/builds on the already proposed changes that unify and simplify Policy and Agency events:
#271
This issue is also related to a proposal to unify the way municipal boundaries and Policy geometries are expressed:
#474