Commons talk:Geocoding

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

Broken template[edit]

The "Location" template with coordinates in it has links for openmaps and google but the Google link doesn't work anymore. Should be updated? Also the geolocate helper tool is completely broken now too, is it going to be fixed? Nesnad (talk) 07:39, 4 May 2015 (UTC)

Google maps doesn't support KML files anymore, so it seems there won't be a quick fix for this. See also archive & above. The link for Google Maps could probably be replaced by Bing Maps, but as Jarekt pointed out above, that would probably require Dschwen to make some changes on wmflabs. --El Grafo (talk) 10:59, 4 May 2015 (UTC)
Just to clarify: The Google Earth link in {{Location}} seems to work fine for me. The Google Maps link has already been removed, but Bing Maps should probably be added so we have aerial image overlay in the browser. --El Grafo (talk) 11:04, 4 May 2015 (UTC)
Symbol keep vote.svg Agree --Jarekt (talk) 11:34, 4 May 2015 (UTC)
That could be done by editing the template (just look at how the GoogleMaps link looked like). --Dschwen (talk) 13:27, 4 May 2015 (UTC)
@Dschwen: Yes, sorry, I got confused: It should work like this but I get a message that the file is either broken or doesn't contain a supported data type ("Der Dateiinhalt ist entweder beschädigt, oder er enthält keine unterstützten Datentypen.") plus an endlessly spinning loading wheel in the left sidebar. Neither zooming in nor changing https to http seems to change that. The polygon kmls mentioned above do work, however (example). Any ideas, anyone? --El Grafo (talk) 13:58, 4 May 2015 (UTC)
Well, the web.kml document is a meta document that should tell Bing where to pull the actual KML data for the current viewport. It is quite possible that this functionality is not implemented in Bing. --Dschwen (talk) 23:11, 6 May 2015 (UTC)
Google Maps works like this: implementation on dewiki. --тнояsтеn 10:40, 4 August 2015 (UTC)
тнояsтеn, you are right German articles like de:Jura has in top right corner links to KML like file displayed in Bing and Google using following links
I wonder if any of them can be reused to show our KML on aerial image. The Bing link looks like Bing links we already tried--Jarekt (talk) 12:11, 4 August 2015 (UTC).

Category:Media with geo-coordinates needing categories cleanup[edit]


This category works well, as we have more than 40000 pictures categorized in it. But also, it seems that there are about 8000 pictures being categorized now, which are still in this category. Sometimes when users add manually a category, they don't delete this one. And when using tools like Cat-a-lot, the category doesn't remove itself, whereas "Uncategorized" template does. Then, if it is possible, could a bot check this and remove automatically categorized pictures? For example, by detecting that there is not more Template:Uncategorized in there?

I saw that when the Template:Uncategorized is added, the category "Media needing categories as of ..." is automatically added. Ideally, it would be great that "Category:Media with geo-coordinates needing categories is added automatically when Template:Uncategorized is added AND this template "detects" presence of Template:Location, or Template:Location dec or Template:Object location. Everything will be managed by Template:Uncategorized code, and it would mean less bot maintenance needed. But I don't know if it's possible, because I don't know anything in programming that kind of code^^ . If the bot can make the "cleanup" it would be a great start anyway.

Thank you Face-smile.svg. Jeriby (talk) 11:19, 20 August 2015 (UTC)

Oh! I have seen the parameter "geo=1" in Template:Uncategorized ! That's just great! Then we just need to do the cleanup, and if possible replacing the category by the "geo=1" parameters in the files when the category have been added "fully spelled out". Thank you! Jeriby (talk) 12:43, 20 August 2015 (UTC)