Commons talk:Geocoding

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

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)
Hello again. I have started to do the cleanup manually, but could not finish it (too much files when not bot-flagged it seems^^). Then if someone with a bot could do these two operations:
Working on it(see Special:Contributions/JarektBot). I already removed Category:Media with geo-coordinates needing categories from all the files that do not have {{Uncategorized}}. --Jarekt (talk) 21:26, 3 November 2015 (UTC)
Perfect! Thank you very much Face-smile.svg Jeriby (talk) 09:55, 4 November 2015 (UTC)
Jeriby, I think I am ✓ Done. Can you spot check and let me know if something more is needed. --Jarekt (talk) 18:02, 4 November 2015 (UTC)
Great thank you very much! I have checked, there is no more categorized file in the cat, then it should be ok. It seems also that YaCBot is able to add the |geo=1 itself when it discovers uncategorized files without the Template:Uncategorized. I don't know if other bots run to add the template, if it is the case, we should notify the authors of the bots. But also, I have seen that newer uploaded files have automatically the Template:Uncategorized added, but not the |geo=1. It seems to be a new functionality of the upload wizard? I don't know it this can be updated, so that any file with location gets the |auto=1 automatically too, but for the moment if it's possible could you use your bot to add this to the concerned files? With this search:
-incategory:"Media with geo-coordinates needing categories" hastemplate:uncategorized hastemplate:location
I found more than 10000 concerned files. Thank you very much for your help anyway Face-smile.svg Jeriby (talk) 11:42, 6 November 2015 (UTC)
Jeriby I added over 10k files to Category:Media with geo-coordinates needing categories
Just perfect! Thank you! I will try to see how we can resolve this new automation of adding the template when uploading (because there are already 585 new files concerned for 1 week). If anybody knows which users or admin we should contact about this, please tell me, thanks! Jeriby (talk) 12:47, 12 November 2015 (UTC)
I must be missing some important trick. Hoping to find pictures of places I know and can easily categorize, I click to see a Google or OSM map of all coordinates, and don't get a map of any coordinates. Is there a way to make it work?
I tried Google Earth and it took a while to create 24MB file but it worked. --Jarekt (talk) 21
05, 13 November 2015 (UTC)
It doesn't work for me, not after many minutes. Perhaps it's my slow DSL connection. Anyway I'm sure it would be easier for all if a bot could break out geographical subcategories, for example by Universal Transverse Mercator coordinate system or finer MGRS or, if a geographical breakout bot is not practical, chronological subcats. Jim.henderson (talk) 12:46, 14 November 2015 (UTC)
Indeed, it seems to work only with Google Earth. If we are able to create subcats, it would be easier to have geographical subcats, because chronological would mean that for the same region we would have do load several different categories (in Google Earth for example), instead of having just "one category by region". Jeriby (talk) 10:34, 16 November 2015 (UTC)
That is a good idea. We might even be able to sort it by the country. --Jarekt (talk) 16:06, 16 November 2015 (UTC)
Even a few hundred arbitrary lat-long boxes would be far more digestible than what we've got. Jim.henderson (talk) 23:52, 17 November 2015 (UTC)
I proposed this task for Google-Code-In-2015. Please see the phabricator task and comment if something is not clear. --Jarekt (talk) 02:59, 18 November 2015 (UTC)

Category:Media with erroneous locations needs attention[edit]

I just discovered that some of the error checking in {{location}} and Module:Coordinates were not working for a while and I fix them. As a result Category:Media with erroneous locations is filling up with images with incorrect template parameters and possibly wrong coordinates. Help would be appreciated in cleaning them up. --Jarekt (talk) 04:27, 29 December 2015 (UTC)

Prevent geocoding?[edit]

Hi there,

A new user uploaded File:Imag0544w.jpg the other day, a screenshot of a deep web black market. Today, I see DschwenBot extracted geocoordinates from EXIF data. I have to assume, given the nature of the subject, that the uploaded did not intend to include this information. It further seems unnecessary given it's just a picture of a screen. Whether this should've been uploaded with a fair use rationale to Wikipedia directly is a separate issue, of course, but my question is how to prevent automatic posting of geocoordinates, and would it be inappropriate for me to download the image, remove the metadata, and reupload it (if the uploader does not respond)? I'm leaving a message for the uploader, Sulphuric12 immediately following this. — Rhododendrites talk |  15:59, 13 January 2016 (UTC)

There exists the Template:Location withheld, but I don't know if the bot detects it. It would be interesting that when this template is on a file, no bot extracts the coordinates from EXIF. Jeriby (talk) 16:35, 13 January 2016 (UTC)
Aha. Ok. I went ahead and added that. We'll see I guess :) I'll wait a couple days to see if the creator/uploader responds before doing anything else. — Rhododendrites talk |  16:59, 13 January 2016 (UTC)