Commons:Bots/Requests/Twofivesixbot
Twofivesixbot (talk · contribs)
Operator: Mahir256 (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)
Bot's tasks for which permission is being sought: Uploading of GeoJSON files for Indian districts (and later for villages, constituencies, and other regions of South Asia as appropriate)
Automatic or manually assisted: manually assisted
Edit type (e.g. Continuous, daily, one time run): several one-time runs
Maximum edit rate (e.g. edits per minute): 5/6 (as much as pywikibot lag will allow)
Bot flag requested: (Y/N): Y
Programming language(s): Python
Some test edits for this bot may be found in the upload of geoshapes for the districts of Puducherry. Mahir256 (talk) 06:33, 6 October 2019 (UTC)
Discussion
- Looks OK for me, but will be reasonable to add source file URL for upload summary. --EugeneZelenko (talk) 14:07, 6 October 2019 (UTC)
- @EugeneZelenko: I can add a link to the .shp file on GitHub from which I derived the GeoJSON shapes, if that is enough to cut it. (For the villages, these are derived from doi:10.7927/H4CN71ZJ, to which giving an exact .shp file link is less doable.) Mahir256 (talk) 03:20, 7 October 2019 (UTC)
- Could you explain why the shape of, for example Data:India/Puducherry/Karaikal.map, does not follow the grey line-dotted line provided by open street maps? With a higher zoom level it seems systematically shifted upwards. --Schlurcher (talk) 17:26, 8 October 2019 (UTC)
- @Schlurcher: I do not know for certain; this might be a problem with the original .shp file. I am converting the shapes in the .shp file to GeoJSON using pyshp and rounding all coordinates to five decimal places, but I don't see why either of those would introduce so much error (a datum issue, perhaps?).
Maybe @Planemad: of DataMeet can tell us more.Mahir256 (talk) 01:40, 9 October 2019 (UTC) - @Schlurcher and EugeneZelenko: If you look at the district in OSM and the map in this census report, the contour of the road "SH 149" on the north side of the district lies inside the border of both the OSM and census report maps but not that of Wikimedia maps. Perhaps there's a caching issue of some sort? Mahir256 (talk) 23:07, 16 October 2019 (UTC)
- @Schlurcher: I do not know for certain; this might be a problem with the original .shp file. I am converting the shapes in the .shp file to GeoJSON using pyshp and rounding all coordinates to five decimal places, but I don't see why either of those would introduce so much error (a datum issue, perhaps?).
- Indeed, the Wikimedia maps seem to be incorrect here. So, the bot seems to perform the correct edits. Thanks for clarifying this. --Schlurcher (talk) 19:59, 27 October 2019 (UTC)
Approved. --Krd 17:06, 30 October 2019 (UTC)