Mechanical Edits/Mateusz Konieczny - bot account/add detailed tree data based on tags present already - edit for 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

Apply tags such as leaf_type=* and leaf_cycle=* based on already present info, for example in species:pl=*

Why

leaf_type=* and leaf_cycle=* and possibly other tags can be added in such cases based on already present tags, and doing it manually is an annoying drudgery/

Numbers

Depends on how many new matches appear - depends on editing activity in OSM.

How

  • Editing is limited to objects in Poland with natural=tree.

Example of edit made in a manual mode: https://www.openstreetmap.org/node/3074019376/history

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

Approved by Polish OSM community at https://community.openstreetmap.org/t/propozycja-automatycznej-edycji-dodanie-szczegolowych-informacji-na-podstawie-podanego-gatunku-taksonu/109895/


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.