-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Infer Wikimedia Commons category from Wikidata to show photos (P373) #12303
Infer Wikimedia Commons category from Wikidata to show photos (P373) #12303
Comments
Well for now it would require to process maps with Wikidata access cause OsmAnd now displays only images that are provided inside OSM tags. It's one extra step is needed online to get image from wikidata. |
The image shown is already taken online from Wikidata. The only difference would be to also follow the link from Wikidata to Wikimedia Commons. Another possibility would be that during map creation, Wikimedia Commons and Wikipedia tags are taken from the Wikidata object and then written into the tags if not already present. |
I was wondering what OSM tags OsmAnd was using to display photos and found this thread. |
@clwacker you probably want to open separate issue for ios cause this issue is fixed |
Currently only one image is shown. What about having a way to access all photos available for the POI? This could be done as a clickable "more photos" that links to the appropriate Wikimedia Commons category. |
Yes, that exactly what I hoped to have in OsmAnd and asked a few days ago in #13548 |
https://www.wikidata.org/wiki/Q11953719 -> [https://www.wikidata.org/wiki/Property:P373] |
Seconding this request for improved image pulling. Presently, if there is only a |
OsmAnd~ 4.6.0#1007m, released: 2023-11-10 video_2023-11-10_21-26-39.mp4
video_2023-11-10_22-12-25.mp4 |
Review
|
To do:All OSM objects having tag
Merged with task - #13926 |
ReviewEmpire State Buildinghttps://www.openstreetmap.org/way/34633854
German Nazi Concentration Camp Auschwitz (Auschwitz I)https://www.openstreetmap.org/way/29572443
|
As I understand, currently OsmAnd shows photos found on Wikidata (
image
) and Wikimedia Commons following thewikidata
andwikimedia_commons
tags for a node.However, there will be many situations when there is no
wikimedia_commons
tag assigned, but it is possible to infer the associatedCommons category
from Wikidata.Example:
I am not sure if the
wikimedia_commons
tag is commonly used on OSM, but I would expect the links from Wikidata to Wikimedia Commons to be better maintained.Proposal: Look for
wikimedia_commons
andwikidata
tags and ifwikimedia_commons
is not present look forCommons category
on Wikidata to form the pool of photos to show.The text was updated successfully, but these errors were encountered: