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

Don't write location coordinates if the underlying photo has broken location data #461

Open
alexwlchan opened this issue Jun 22, 2024 · 1 comment
Labels
backfillr bot 🤖 bug Something isn't working data quality Ways to improve the quality of structured data on Wikimedia feedback from wikimedians

Comments

@alexwlchan
Copy link
Contributor

Wikimedia Commons user HenkvD has spotted a fascinating bug: we wrote null coordinates in this edit.

The original photo is https://www.flickr.com/photos/ed_webster/16125227798/, which has busted location data:

<location latitude="0.000000" longitude="0.000000" accuracy="16" context="0">
  <neighbourhood woeid="0"/>
</location>

This looks like an easily detectable issue – we should just drop any location data from photos that appear to come from Null Island.

@alexwlchan
Copy link
Contributor Author

This is now fixed on any new files we edit, and next time we fetch a snapshot we should check for any other files we've accidentally added null coordinates to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backfillr bot 🤖 bug Something isn't working data quality Ways to improve the quality of structured data on Wikimedia feedback from wikimedians
Projects
None yet
Development

No branches or pull requests

1 participant