Commons:Bots/Work requests

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

Shortcut: COM:BR · COM:BWR

Bot policy and list · Requests to operate a bot · Requests for work to be done by a bot  · Requests for batch uploads
Gnome-system-run.svg

Filing cabinet icon.svg
SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 7 days.

21.000 imags with coordinate to commons category[edit]

Hello, I found a way to clear out the Category:Media with geo-coordinates needing categories.

  1. Get the coordinate from the image
  2. Search with OSM-Overpass-API for every admin-level with Wikidata-Values for this coordinate from the image
  3. get the deepest commons-category from wikidata ( If not then it goes one admin-level up ( from Village --> County --> State --> Country)

With this concept I could categorize nearly 130.000 images by hand in the last two weeks with a perl-script and the tool "Cat-a-lot". Now we can found with this usefull search that only 21.687 images are left. But in this last images there mostly only 1 or 3 images in the same category. So I think this last setting of nearly 10.000 categories in 21.000 images can done by a bot.

See also:

I know there is a small number of images, which not work with this process. All images in en:International waters get no admin-level. Maybe there is another way. Also we need a new category for images with wrong coordinates like 99° north or 185 east. --sk (talk) 18:35, 13 August 2018 (UTC)

Replace coord by GPS EXIF template in some files I uploaded[edit]

Vicuña uploader keeps messing with coordinates of some files. I need a bot to replace {{location}} with {{GPS EXIF}} in the last files I upload. Those files are in category:Urbasa and have a name beginning with "Serra d'Urbasa". Just going for all files uploaded by me in that category would be equivalent, or going to my last 45 uploaded files. If more of my recent files are affected it won't be a problem because EXIF data is OK.--Pere prlpz (talk) 23:38, 13 August 2018 (UTC)

Done for 48 pages. — regards, Revi 01:20, 14 August 2018 (UTC)