Skip to content
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

There is no way to provide double parking event locations in the Events API with exact location #149

Open
rneubauer opened this issue Sep 24, 2024 · 2 comments
Labels
Events API SMART Collaborative Idea coming from the OMF USDOT SMART grant collaborative.

Comments

@rneubauer
Copy link

Is your feature request related to a problem? Please describe.

After implementing cameras at scale across customer cities, the first thing that our customers asked for were double-parking events and locations. After looking into the events API, there is currently only a way to provide a double-parking event in a defined travel lane, but there is currently no way to provide the cross section of where that event happened for an entire block. Other events like unauthorized parking or stopping in the non-travel (parking) lane are mapped to the lane adjacent to the curb and can be provided via the current events API.

Describe the solution you'd like

As a simple short-term solution, we are proposing to add a double parking event tied to a camera ID in https://github.com/openmobilityfoundation/curb-data-specification/issues/147. This will allow us to map the event on maps based on the camera, which will also allow us to report on the affected zones related to that camera. The reason this is a short term solution is because it would not require any breaking changes to the current CDS schema.

Long-Term Solution - We would want to provide the exact lat/long of the double parking events.

Is this a breaking change

No, not breaking - This would not break the current schema and would just be an addition to the existing version.

Impacted Spec

For which spec is this feature being requested?

Events

Describe alternatives you've considered

We have thought about storing this data in our backend databases, but then it will not allow us to provide events via CDS API to other systems to locate where issue are occurring.

@mplsmitch mplsmitch added Events API SMART Collaborative Idea coming from the OMF USDOT SMART grant collaborative. labels Sep 24, 2024
@jiffyclub
Copy link

jiffyclub commented Sep 24, 2024

The Curb Event model does have an event_location field that allows reporting an exact lat/lon for an event. It seems like the issue might be more that there is no way to indicate that the event is a double-parking event? Available event types are listed here.

@rneubauer
Copy link
Author

That is correct, but unless the exact lat/long can be detected from the CV model there needs to be another reference point to show where it happened in the travel lane along the block. Tying it to an adjacent loading, ADA, or parking zone won't really work for a few reasons:

  1. If the car parks halfway between two zones, we don't want to get into fractional measurements between two zones.
  2. We don't really care about the adjacent zone. The drive that is parking is more likely double parking because of a business on the curb that they are picking up food or a delivery form ,etc. which definitely cant be defined in the Curbs API at this point.

This is why we are currently mapping the events to the camera that captured the event and then providing the pixel coordinates in our backed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Events API SMART Collaborative Idea coming from the OMF USDOT SMART grant collaborative.
Projects
None yet
Development

No branches or pull requests

3 participants