Mechanical Edits/Mateusz Konieczny - bot account/fence type = wood in Poland

From OpenStreetMap Wiki
Jump to navigation Jump to search

Page content created as advised on Automated_Edits_code_of_conduct#Document_and_discuss_your_plans.

Who

I, Mateusz Konieczny using my bot account

contact

message via OSM I will respond also to PMs to the bot account. In both cases I will be notified about incoming PMs via email and notifications in OSM editors.

What

move fence_type=wood to material=wood in Poland

Why

This tagging schema has a clearly superior alternative that should be used instead, and it is an exact duplicate when used on standalone fences.

See https://community.openstreetmap.org/t/tagging-that-fence-is-wooden-without-further-detail-fence-type-wood-vs-material-wood/135748

Current state just confuses people editing OSM data, writing software to process it. Especially people writing software used by mappers to edit OSM - that is how I found them, and also got confused by them.

Migrating them will require making some edits but will make OSM data slightly easier to edit and reduce future confusion.

Spotted when reviewing https://github.com/openstreetmap/id-tagging-schema/pull/746 (but preparing, proposing and running this bot edit and all related discussion done are as an unpaid hobby)

https://taginfo.openstreetmap.org/tags/fence_type=wood#projects was reviewed

  1. https://github.com/louis-e/arnis/issues/1240 - was fixed! Now supports also material=wood so migration will not cause harm
  2. https://github.com/StrandedKitty/streets-gl - not developed anymore
  3. https://github.com/DearRude/IranianPresets/tree/master - not developed anymore (covers one of JOSM user presets)
  4. https://josm.openstreetmap.de/ticket/23594 - "LCA from HDDM Optional for: LCA v1.01/Roads" is abandoned (covers one of JOSM user presets)
  5. Already deprecated in Vespucci

Numbers

All currently present, depends on how many new matches appear - depends on editing activity in OSM.

How

Each changeset contains a single element or group of close elements to avoid edits spanning across large areas (it is impossible in cases where edited object itself spans very large area)

Changeset would be described and tagged with tags that mark it as automatic, provide link to documentation page etc

Editing is limited to objects in PL.

state before a mechanical edit:

state after a mechanical edit:


Bot source code

Bot is using https://github.com/matkoniecz/osm_bot_abstraction_layer library, this code is GNU GPLv3 licensed


Discussion

https://community.openstreetmap.org/t/propozycja-migracji-botem-fence-type-wood-do-material-wood-tez-nowe-jak-sie-pojawia/145748

Repetition

This is reoccurring edit and may be made as soon as new matching elements appear. At this moment triggering new edit requires human intervention so exact schedule is not predictable and bot may stop running at any moment.

This can change in a future. If bot is abandoned and does not run, feel free to ping me. If I am unable to run it any more feel free to use my code. Note that it may require going through bot approval process again and that code is on specific license.

https://codeberg.org/matkoniecz/OpenStreetMap_cleanup_scripts/src/branch/master/recurrent_bot_edits may have more up to date code version that what is listed on this page

Opt-out

Please write at forum topic where it was discussed.

Note that in case of opt-out exactly the same edit will be made manually.

See also