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

Nearby list: Show items with no geolocation #4512

Open
nicolas-raoul opened this issue Jul 19, 2021 · 0 comments
Open

Nearby list: Show items with no geolocation #4512

nicolas-raoul opened this issue Jul 19, 2021 · 0 comments

Comments

@nicolas-raoul
Copy link
Member

Idea

A lot of items have a located in the administrative territorial entity but no latitude/longitude.

For instance, the 1st arrondissement of Paris is only 2 square kilometers but has 1353 items with missing geocoordinates. Looking at the item usually tells where it can be found (example: statue at the Louvre museum) or can be looked up easily (examples: business, street, park, plaque).

Showing them in the list (after the items that already appear there) would make this list much more useful than now.
When the map has zero items, we could even show a toast hinting the user that the list may have more items.
Bonus benefit: Wikidata editors could then find such uploads and add coordinates using EXIF data.

Implementation

The first step is to find what administrative territorial entity the user currently is in.

Then in order to not make the map slower, getting items should be a separate SPARQL request, performed only when the user opens the list.

Such items should show ? instead of a distance.

Any app-configured SPARQL filter would not apply to these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant