Commons talk:Geocoding

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


Talk cross link → Category talk: Location not applicable #Waste of ressources Can someone please improve the tool to let non photographic users in peace!? It seems some people think on Commons are 99% of the 25 million files photos. User: Perhelion (Commons: = crap?)  01:28, 9 March 2015 (UTC)

  • Symbol keep vote.svg Agree (although I do not understand the second sentence) --Jarekt (talk) 02:01, 9 March 2015 (UTC)
  • Symbol keep vote.svg Agree, and on SVGs in a category with (only) logos or similar I remove this dubious category when I see it. It's not easy for me to imagine any SVG, where a location would make sense, unless it's a map. –Be..anyone (talk) 23:04, 9 March 2015 (UTC)

Template:GeoPolygon not working[edit]

I just noticed that Google Map display of object outlines provided by Template:GeoPolygon and written by @Dschwen: does not work anymore. Same with "geopoly" parameter in {{Institution}}. Probably the same issue that does not allow us to display nearby images in Google Maps, see here and lead to removal of Google Maps link from {{Location}}. For issues with Template:GeoPolygon see for example Category:Place du Bouffay or Institution:Cimetière du Père-Lachaise: Google Maps link does not do much but OSM link works. {{GeoPolygon}} wasn't used much since user:Dschwen wrote it 7 years ago, but I always liked this tool. Is it going to be restored (rewritten?) or should we remove those options from the templates as we did with "nearby location link" in {{Location}}. --Jarekt (talk) 13:03, 12 March 2015 (UTC)

Since Google decided to remove kml support from Google Maps, it currently doesn't make sense to have a link to Google. From what I've read, re-writing it could take quite some time, so it's probably best to just remove it for now. Unless you want aerial images, OSM is usually superior anyway. --El Grafo (talk) 13:48, 12 March 2015 (UTC)
I often take outdoor photographs and in many cases OSM has nothing about the locations, see for example OSM link in File:Joshua Tree - Room to Shroom.jpg. For such files aerial photograph is the only way to go. --Jarekt (talk) 16:13, 12 March 2015 (UTC)
@Jarekt: Totally agree with that. Since KML still works in Google Earth, why not add a link for that? If it works with {{location}} it should work with {{GeoPolygon}} as well. I dissected the url for the KML from the Google maps link of your example, downloaded it to my HD and opened it in Google Earth – works perfectly. All that needs to be done is to change the link to Google Maps to directly point to the KML file and the name of the link to Google Earth and you should at least have the same functionality as with {{location}}. Can't seem to figure out how to do this, though … --El Grafo (talk) 10:07, 13 March 2015 (UTC)
Also, for viewing stuff directly in the browser with aerial images, we could simply switch to Bing maps: Base URL is, just append the url to the KML to that: Would probably work for {{location}} as well. --El Grafo (talk) 10:17, 13 March 2015 (UTC)
I think I got it. For example Category:Place du parlement de Bretagne generates link #1 to which is converted to link #2 to google maps, and which is dead. But we could change it to the link #3 to Bing and tht one works. I do not think that is something I can change on this end. I think that is something user:Dschwen would need to change on wmflabs.
--Jarekt (talk) 12:11, 13 March 2015 (UTC)

I just checked and {{Overlay}} template for overlaying images on top of maps using KML format also does not work. Neither Google earth, Google Maps or Bing link. See for example File:Albertstadt Map 1895.jpg. --Jarekt (talk) 13:10, 12 March 2015 (UTC)

Uncategorized files but having coordinates[edit]

Hi all, I was wondering if it would be possible to create a new maintenance category, when we could add any uncategorized file that has location templates. It would be very useful, in order to help categorize, especially when using GeoGroupTemplate in it. Afterwards, maybe it can be filled automatically, or manually, up to you. But before creating this kind of category I would like to get some opinions. The fact is that, even if there are already "All media needing categories as of..." categories, GeoGroup is impossible to use, because of the too big amount of files (and a big majority of them are not localized). That's why I think it would be a major help to have this new kind of cat. Please let me know what you think about it Smile thank you very much! Jeriby (talk) 11:55, 30 March 2015 (UTC)

  • Yes. Remember of course that many coords are in error, including some that are on the wrong continent, but still, yes. Jim.henderson (talk) 13:31, 30 March 2015 (UTC)
  • Caveat: In my en-3 DEnglish realms "localized" sounds like "translated", maybe a clumsy "with coordinates" or similar is clearer. If it's only me ignore me, please.Classic smiley.svgBe..anyone (talk) 19:10, 30 March 2015 (UTC)
This CatScan2 query is an example on how to find such files, which might be more reliable than a category. --Jarekt (talk) 20:35, 30 March 2015 (UTC)
That looks worse than good-riddance-bugzilla. If a bot could populate a hidden tracking category with "has coordinates, but no categories" files, or similar, folks in the mood to ask OSM or Google Maps where on earth it is could fix it. I like the self-destroying "check categories" template, two clicks, and it deleted itself with a "you can help" edit summary. –Be..anyone (talk) 20:45, 30 March 2015 (UTC)

Indeed Catscan can find them, but the result of a Catscan can't be shown on a map directly. The result should be imported in something compatible with GeoGroupTemplate, a category is clearly appropriate for that. Moreover, sometimes Catscan is unable to show results if there is a big amount of data (it results in a "timeout" usually). Anyway if someone has a tip to workaround that it would be great. I haven't found any other idea yet to get the results of a whole "All media needing categories as of..." year category in a OSM map or a KML file... Jeriby (talk) 08:43, 31 March 2015 (UTC)

Ok I will fill Category:Media with geo-coordinates needing categories. --Jarekt (talk) 12:36, 31 March 2015 (UTC)
Great! Thank you very much Smile Jeriby (talk) 12:51, 31 March 2015 (UTC)
Jeriby: cool idea! Jarekt: with actually 4.085 files the display on Bing doesn't work anymore, because it's too big (maximum: 2MB). When the category had ~2000 files it was a good way finding the places and there was a good link to the file opening in a new window. On OSM I am not able to come from a pin in the map to the file in question. Can you help? --Emha (talk) 20:32, 31 March 2015 (UTC)
I stopped filling it at the moment and I do not know how many files to expect but there were ~7k files from last 4 months, then there is 2014, 2013, etc. In the end we might get over 50k files. If the tools can not process it than may be I sould not be filling it up. --Jarekt (talk) 22:57, 31 March 2015 (UTC)