Automatically remove obvious descriptive names (obvious cases only, not
all suspect objects)

This is basically the same
https://community.openstreetmap.org/t/bot-edit-proposal-automatically-remove-obvious-descriptive-names-obvious-cases-only-not-all-suspect-objects/107393

Some minor feedback was taken into account.

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 in area is typically fine.
Sometimes there are clusters of other objects with descriptive names,
but these can be found independently.

And yes "Toilet" can be signed but it does not make it a name, like
"Toilet, 2 euro fee" is not a name either. Or sign pointing toward
bunker with "Bunker" label is not indicating that bunker has a name
Bunker.

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

See also approved bot edit doing this for viewpoints:
https://wiki.openstreetmap.org/wiki/Mechanical_Edits/Mateusz_Konieczny_-_bot_account/remove_obvious_descriptive_names_for_viewpoints_(obvious_cases_only,_not_all_suspect_objects)

I also noticed that OsmAnd edit plugin is overrepresented in adding
such bad pseudonames and tracked down problem to a bad interface
design, reported in https://github.com/osmandapp/OsmAnd/issues/18651 to
its authors. So far they decided to claim that it is not a problem, I
plan to compile some statistics making clear their editor is causing
problems in this specific area.

I propose to run automated cleanup for multiple types of objects. In
each case it would remove also capitalisation variants - so not only
name=toilet but also name=Toilet and name=TOILET). In each case only
objects tagged as a single type would be processed. For example
amenity=toilets with name=Toilet but also waterway=waterfall would not
be edited as it has an unexpected tag.


Note that this relies on assumption that object tagged like

- amenity=toilets
- name=Toilet

is always case of misusing name tag.


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

- man_made=cairn
- amenity=restaurant
- name=Cairn

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

Cases like

- tourism=viewpoint
- waterway=waterfall
- name=Viewpoint 

or

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

would not be edited either as they carry extra unexpected tags.

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

Obviously objects with just

name=Toilet

would not be edited in this edit (as both object type and name is
required).

- tourism=viewpoint
- fee=yes
- name=VIEWPOINT 

would be edited. Similarly with other  that are expected attributes of
viewpoints.


Bot edit would be worldwide, with edits split in parts, edit run
separately for each object type. Edits would be repeated in future.

Note: as required by automated edits code of conduct a bot proposal
will be also posted on talk mailing list 

Comments welcome - both if you see problems with this edit and if you
support it (though upvoting also works I guess)

Following types of objects will be included in this edit (initial
series was done only for viewpoints)

- waterway = waterfall with name waterfall
  - only following additional keys are allowed, presence of any other
  tags will block an automated edit:
    - height

- amenity = bench with name bench
  - only following additional keys are allowed, presence of any other
  tags will block an automated edit:
    - backrest
    - material
    - surface
    - seats
    - capacity
    - ele
    - colour
    - inscription
    - access
    - covered
                       
- leisure = playground with name playground
                                                                                
                                       
  - only following additional keys are allowed, presence of any other
  tags will block an automated edit:
                                                   
    - surface          
    - access           
    - max_age          
    - min_age          
    - playground:theme 

- tourism = viewpoint with names viewpoint, punkt widokowy (“punkt
  widokowy” is in Polish, I am native speaker of Polish)
  - only following additional keys are allowed, presence of any other
  tags will block an automated edit:
    - direction
    - ele
    - wheelchair
    - opening_hours
    - area

- man_made = cairn with name cairn
  - only following additional keys are allowed, presence of any other
  tags will block an automated edit:
    - ele

- military = bunker with name bunker
  - only following additional keys are allowed, presence of any other
  tags will block an automated edit:
    - ruins
    - building
    - abandoned
    - disused
    - bunker_type
    - historic

- amenity = drinking_water with names drinking water, water, potable
  water
  - only following additional keys are allowed, presence of any other
  tags will block an automated edit:
    - ele
    - fee
    - charge
    - access
    - drinking_water
    - bottle
    - owner
    - cold_water
    - operator
    - indoor
    - covered
    - lit
    - wheelchair

- tourism = camp_site with names camp site, campsite
  - only following additional keys are allowed, presence of any other
  tags will block an automated edit:
    - water_source
    - capacity:tents
    - capacity:caravans
    - caravans
    - tents
    - drinking_water
    - fee
    - charge
    - payment:cash
    - payment:contactless
    - payment:credit_cards
    - power_supply
    - shower
    - toilets

- landuse = quarry with name quarry
  - only following additional keys are allowed, presence of any other
  tags will block an automated edit:
    - resource
    - mineral

- natural = beach with names beach, plaża (“plaża” is in Polish)
  - only following additional keys are allowed, presence of any other
  tags will block an automated edit:
    - surface
    - access
    - lifeguard
    - supervised
    - fee
    - charge
    - operator

- amenity = post_box with names post box, collection box, mailbox,
  letter box, drop box
  - only following additional keys are allowed, presence of any other
  tags will block an automated edit:
    - operator
    - operator:short
    - operator:type
    - operator:wikidata
    - operator:wikipedia
    - drive_through
    - collection_times
    - royal_cypher
    - royal_cypher:wikidata
    - ref
    - collection_times:signed
    - post_box:type
    - brand
    - brand:wikidata
    - brand:wikipedia

- landuse = grass with name grass
  - only following additional keys are allowed, presence of any other
  tags will block an automated edit:

- amenity = toilets with names toilet, toilets, toalety, toaleta, wc
  (toalety, toaleta - that is in Polish, not English)
  - only following additional keys are allowed, presence of any other
  tags will block an automated edit:
    - fee
    - charge
    - operational_status
    - operator
    - operator:type
    - wheelchair
    - check_date
    - toilets:handwashing
    - toilets:position
    - toilets:disposal
    - unisex
    - male
    - female
    - currency:RUB
    - opening_hours
    - toilets:wheelchair
    - changing_table
    - flood_prone
    - indoor
    - access
    - lit
    - toilets:access
    - toilets:num_chambers
    - source:form
    - handwashing
    - wheelchair:description
    - gender
    - level
    - supervised
    - lit
    - addr:city
    - addr:town
    - addr:place
    - addr:street
    - addr:housenumber
    - addr:postcode
    - addr:unit
    - addr:state
    - phone
    - contact:phone
    - addr:country
    - addr:suburb
    - addr:county
    - addr:district
    - addr:community
    - addr:subcounty
    - addr:village
    - addr:parish
    - addr:district
    - addr:settlement
    - addr:zone
    - addr:clan
    - addr:ward
    - addr:block
    - addr:full
    - addr:neighbourhood
    - addr:district
    - addr:subcamp

- amenity = parking with name parking
  - only following additional keys are allowed, presence of any other
  tags will block an automated edit:
    - parking
    - access
    - surface
    - fee
    - charge
    - hgv
    - lit
    - maxstay
    - smoothness
    - supervised
    - phone
    - website
    - capacity
    - addr:city
    - addr:town
    - addr:place
    - addr:street
    - addr:housenumber
    - addr:postcode
    - addr:unit
    - addr:state
    - phone
    - contact:phone
    - addr:country
    - addr:suburb
    - addr:county
    - addr:district
    - addr:community
    - addr:subcounty
    - addr:village
    - addr:parish
    - addr:district
    - addr:settlement
    - addr:zone
    - addr:clan
    - addr:ward
    - addr:block
    - addr:full
    - addr:neighbourhood
    - addr:district
    - addr:subcamp

Note: following always allowed keys additionally applies to all cases
(listed separately due to message size limit)

    - name (tags starting from "name" repeat for each object type
      listed here)
    - source
    - created_by
    - layer
    - is_in
    - url
    - mapillary
    - image
    - wikimedia_commons
    - flickr
    - check_date
    - survey:date
    - source:date
    - is_in:country
    - is_in:state

_______________________________________________
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk

Reply via email to