-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
When uploading images, respect the capture date in EXIF date #2296
Comments
I've added a small check for those fields, but I didn't check at all if this code works. Please test it on dev. |
Seems to be fixed now, waiting for Luna to upload one of her images on her end to see how that goes. will close when that's also confirmed to be working |
Seems like my images are fine but luna's arent somehow. the image luna uploaded here: has the wrong date. the actual file's exif data shows:
|
It seems like the current mechanism for extracting the date from the file doesn't check all possible fields
https://drive.proton.me/urls/3DSNNKHA90#00ycZP0aK9Z1
For example this image taken on Luna's phone has two exif fields that are currently not checked by the mapcomplete code i think.
Resulting that this image gets uploaded with the current date fallback instead:
https://dev.mapcomplete.org/rainbow_crossings.html?z=19&lat=50.899434499999074&lon=4.837160800005449&background=carto.dark_matter#node/4492992077
The text was updated successfully, but these errors were encountered: