Commons talk:Geocoding

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

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.:-)Be..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)
Could someone else please test the map tool above the category page? Perhaps it's not the tool but my or my system's fault. And is someone able to click an object on the open street map and can explain to me how it works? Jarekt: If nothing else helps we need smaller sub-categories. Besides this the webservice on tools labs is not running in the moment. regards, --Emha (talk) 06:15, 1 April 2015 (UTC)
Indeed OSM works well, KML export also works well, but not Bing which tells that the file (which file?) must have up to 2 Megabytes of size. Anyway, I also noticed that only a well setup bot can fill this category, I tried on 1 pic with Cat-a-lot and it makes disappear the "Uncategorized" template (not for long I think, when a file has no category but the hidden ones, a bot adds the template again some days later). Then I was wondering if it is possible to improve it, for example in Template:Uncategorized itself, something that tells "if Template:Location or Template:Location dec or Template:Object Location is detected (of if the file is in the Category:Media with Locations), then this category should appear. Then it won't be necessary to fill the category (manually or with a bot), and the category will remove itself when categories are added (by having "Uncategorized" template removed). As it is for "All media needing categories as of..." hidden category. I'm not sure that I'm very good at programming templates then if someone is good at it, moreover the template is read-only protected and I'm not admin^^. Thanks! Jeriby (talk) 08:22, 1 April 2015 (UTC)
I like this idea although I do not think it can be done with templates. May be User:McZusatz who adds {{Uncategorized}} with his bot can help. May be his bot could add {{Uncategorized|goe}} template (with extra "geo" parameter if {{Location}} and {{object location}} is present. And that extra parameter would cause the template to add the category. --Jarekt (talk) 02:31, 3 April 2015 (UTC)
Shouldn't be a problem. Though, just like User:CategorizationBot, I am adding {{subst:Unc}} to the files. So this needs to be modified as well. --McZusatz (talk) 08:31, 3 April 2015 (UTC)
McZusatz, If you call {{subst:Unc|geo=1}} than {{Uncategorized}} will add Category:Media with geo-coordinates needing categories. Counld you verify that your bot can properly remove {{Uncategorized}} with an extra parameter? If so, I can start adding "|geo=1" to {{Uncategorized}} instead of adding Category:Media with geo-coordinates needing categories directly. --Jarekt (talk) 12:20, 3 April 2015 (UTC)
Removal is not an issue at all. The bot functions identically to HotCat and Cat-a-lot. --McZusatz (talk) 13:34, 3 April 2015 (UTC)
Just making sure. I do not understand the process and do not want to break it. --Jarekt (talk) 13:42, 3 April 2015 (UTC)
OMS does not really work for me. Yes, it shows the pins, but clicking on a pin (or hovering over it) only highlights the file name in the left sidebar, clicking on one of those file names only moves the map to that location. --El Grafo (talk) 08:39, 1 April 2015 (UTC)
Good start. OSM of course ought to be fixed so the pins link to files. Perhaps a bigger project would be a bot to divide the category into global gore subcats, north and south of the equator, sliced at intervals of 90 or 15 or 3 or some other number of degrees longitude. Those of us who like to work eastern North America or central Asia, or whatever, could more easily concentrate our efforts. Or if such a bot is difficult, perhaps easier to sort in cat by longitude or latitude. Jim.henderson (talk) 00:39, 3 April 2015 (UTC)