Mechanical Edits/Mateusz Konieczny - bot account/remove obvious descriptive names for viewpoints (obvious cases only, not all suspect objects)

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

There are object types where mappers relatively often add invalid name tag that repeats object type, and it is obvious enough that can be fixed remotely.

I was doing it with some objects, and in some cases it is often combined with very problematic tagging nearby (can link some queries if anyone wants).

But for some objects use of obvious descriptive names is quite popular, to the point that manual fixing cannot keep up AND it is possible to fix it with a bot edit AND other tagging is typically fine. Sometimes there are clusters of other objects with descriptive names, but these can be found independently.

And yes "Viewpoint" can be signed but it does not make it a name, like "Viewpoint, entry 5 euro" is not a name either. Or "Viewpoint, no wheelchair access".

Note https://community.openstreetmap.org/t/is-name-toilet-even-theorethically-valid-for-amenity-toilets/105540 where it was discussed

This automated cleanup for viewpoints will remove name=viewpoint (and name=Viewpoint and name=VIEWPOINT) from objects tagged only as viewpoints.


Note that this relies on assumption that object tagged like

  • tourism=viewpoint
  • name=Viewpoint

is always case of misusing name tag.

Why

This changes are obvious enough to make them automatically rather than in tedious manual edits.

Numbers

Large enough to make worth automating it.

How

Objects which carry unexpected tags or tags not typical for viewpoints, or note/fixme tags will be skipped. So for example

  • tourism=viewpoint
  • amenity=restaurant
  • name=Viewpoint

well not be touched. In theoretical case of restaurant named "Viewpoint" which is also viewpoint, such object will not be modified at all. So

  • tourism=viewpoint
  • waterway=waterfall
  • name=Viewpoint

or

  • tourism=viewpoint
  • name=Viewpoint
  • note=Actually named "Viewpoint"

would not be edited either.

(Though I do not expect last case to be ever validly tagged...)

Obviously objects with just

name=Viewpoint

would not be edited in this edit.

  • tourism=viewpoint
  • fee=yes
  • name=VIEWPOINT

would be edited. Similarly with other that are expected attributes of viewpoints (source, direction, created_by, layer, ele, wheelchair, opening_hours, area).

Bot edit would be worldwide, with edits split in parts. Edits would be repeated in future.

Comments welcome - both if you see problems with this edit and if you support it.

Discussion

See https://lists.openstreetmap.org/pipermail/talk/2023-November/088450.html and https://community.openstreetmap.org/t/automatically-remove-obvious-descriptive-names-for-viewpoints-obvious-cases-only-not-all-suspect-objects/105892

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 https://community.openstreetmap.org/t/automatically-remove-obvious-descriptive-names-for-viewpoints-obvious-cases-only-not-all-suspect-objects/105892

See also

(edit list)