Template talk:Location/2017

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Problem in categories?

Tests seem to indicate that this template produces different OSM links depending on whether it is in a media (file) page or in a category page:

The problem is that (for my test examples) only the first kind works. The other ends up on a world map page saying “sorry, no data to show”. You can test this with the OSM link in Category:Castle Birkenleiten; nothing special there, just the first page where I noticed the problem.

I tried copying a working {{Object location}} from a file page into a category page, and it stopped working.

-- Renardo la vulpo (talk) 21:03, 26 February 2017 (UTC)

I think it is my doing. So the OSM icon next to coordinates will get you to Kartographer which is also based on OSM. Otherwise when in category the second OSM link shows the locations of all the files in the category that have coordinates, and in case of Category:Castle Birkenleiten there might not be any so you get the error. All this stems from the fact that we had 4 separate OSM maps: the Kartographer, commons-on-osm, wiki-osm and WikiMiniAtlas( I am not sure what happen to WikiMiniAtlas, which does not seem to be there anymore). So we had 3 or 4 OSM links with different capabilities and we call them all "OpenStreetMap" (which is also wrong since do not actually link to OSM website, only using their data to render our own maps - it is kind of false advertising especially if the website does not work). So we used an icon for Kartographer and word "OpenStreetMap" which for images shows that image and other near by images on OSM map and for categories shows location of all the images in the category. I hope that in the future Kartographer will be able to turn on and off layers that mimic capabilities of the other 2 tools and we will be able to retire 2 old tools. It would make template much simpler to understand. --Jarekt (talk) 03:11, 27 February 2017 (UTC)
I added coordinates to the files File:Birkenleiten 15 Muenchen-1.jpg and File:Birkenleiten 15 Muenchen-2.jpg. Now the link in the category gives you a result: [1]. --тнояsтеn 08:14, 27 February 2017 (UTC)
Thank you; so the OSM link actually does not show the object location in the coordinates right next to it but the coordinates of the pictures in the category. This was far from evident to me.
Maybe it would be an idea to display the category's {{Object location}} on the map as well? This way there would be something to display even if none of the pictures had coordinates. -- Renardo la vulpo (talk) 18:45, 3 March 2017 (UTC)

Funktioniert nicht

Auch wenn dieses Template in Bildern mit Geo-Daten in der EXIF-Datei gesetzt wird, geschieht nichts, schon gar nicht nach den genannten 24 Stunden. --Friedo (talk) 12:52, 3 October 2017 (UTC)