Commons:Bots/Requests/DuraEuroposBot
Operator: Valeriummaximum (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)
Bot's tasks for which permission is being sought: This bot has already been approved in Wikidata to upload archaeological and GLAM data associated with the site of Dura Europos to Wikidata. For our next stage, we want to upload geoJSON files to Wiki Commons for site blocks and then associate these with their Wikidata page (since WD doesn't accommodate geoJSON data type).
See here for an example we manually uploaded and its WD page here
Automatic or manually assisted: automatic, supervised.
Edit type (e.g. Continuous, daily, one time run): We have about 200 site blocks in total that we will batch upload in stages. The map coordinates are sourced from Pleiades
Maximum edit rate (e.g. edits per minute): Happy to follow whatever is the community standard for Wiki Commons
Bot flag requested: (Y/N): N
Programming language(s): Pywikibot
Valeriummaximum (talk) 17:01, 20 June 2021 (UTC)
- Discussion
- I had a bad experience trying to get JSON files to work as expected on Commons. Is there a working schema for GeoJSON on Commons and have you tested it? Thanks --Fæ (talk) 10:39, 21 June 2021 (UTC)
- Dear @Fæ: , I just did a sandbox test here, code is here. Wiki commons did seem to have trouble parsing some of the more complex polygon shapes so I will have to look into that. The metadata scheme for map files is here Valeriummaximum (talk) 19:47, 22 June 2021 (UTC)
- Just wanted to check in here--would it be possible to do a test run of edits?Valeriummaximum (talk) 17:29, 26 June 2021 (UTC)
- Sure, please make a test run (5-10 uploads). --EugeneZelenko (talk) 13:51, 27 June 2021 (UTC)
- Many thanks, I made five uploads, see here Valeriummaximum (talk) 11:54, 28 June 2021 (UTC)
- Looks OK for me. It may be reasonable to add description on other language if available in relevant databases or if describe set of similar objects (towers are obvious example). --EugeneZelenko (talk) 15:00, 28 June 2021 (UTC)
- Thanks for the suggestion--since all these map files will be associated with a Wikidata item, I think I could fetch non-English labels and enrich the Commons descriptions. Valeriummaximum (talk) 16:37, 28 June 2021 (UTC)
- I'd like to be able to add wikidata QIDs and statements to the geojson files but I'm not sure exactly how to do this. Does anyone have suggestions or advice?Valeriummaximum (talk) 18:16, 30 June 2021 (UTC)
- @EugeneZelenko: , I looped the Wikidata IDs into the GeoJSON files, which should help non-English users, but it doesn't seem possible to add internal file descriptions with wikidata claims to GeoJSON files (and most map files don't seem to have much metadata associated with them[1]).Valeriummaximum (talk) 14:23, 8 July 2021 (UTC)
- Looks OK for me. It may be reasonable to add description on other language if available in relevant databases or if describe set of similar objects (towers are obvious example). --EugeneZelenko (talk) 15:00, 28 June 2021 (UTC)
- Many thanks, I made five uploads, see here Valeriummaximum (talk) 11:54, 28 June 2021 (UTC)
- Sure, please make a test run (5-10 uploads). --EugeneZelenko (talk) 13:51, 27 June 2021 (UTC)
- @EugeneZelenko: Just checking in after a month--is there any further steps we should take to get this approved?Valeriummaximum (talk) 15:06, 9 August 2021 (UTC)
If there are no objections, I think task should be approved. --EugeneZelenko (talk) 14:17, 10 August 2021 (UTC)