golf1052 / SeattleCarsInBikeLanes

A website displaying and collecting pictures of cars in bike lanes in Seattle.
https://seattle.carinbikelane.com
MIT License
9 stars 1 forks source link

Check that multiple pictures in a submission occurred around the same location and around the same time #12

Open golf1052 opened 1 year ago

golf1052 commented 1 year ago

Received a submission where there were multiple pictures but they were taken in different locations. Instead of allowing this upload should be blocked and users should be prevented if the picture metadata shows that the locations are more than 150 meters apart (can use the first picture as the reference location). See the below photo as to why 150 meters seems to make sense.

image

Since we're checking location we should also check all photos are taken within 5 minutes of each other (again use the first photo as a reference).

If the location check fails the error message should be: Error: When submitting multiple photos they should all be from the same location. Please submit photos from different locations in different submissions.

If the time check fails the error message should be: Error: When submitting multiple photos they should all be taken around the same time. Please submit photos from different times in different submissions.