Modify

Opened 2 years ago

Closed 2 years ago

#23276 closed enhancement (worksforme)

Set new rule for validator

Reported by: ma-rt-in Owned by: team
Priority: normal Milestone:
Component: Core validator Version:
Keywords: Cc:

Description

Hallo zusammen,

icht bitte um Ergänzungen des globalen Vadilator hinsichtlichen folgendem tag: amenity=public_building

This feature has been labeled as deprecated. The recommended replacement is: building=public or building=civic or a feature tag like office=government, amenity=townhall, amenity=library, amenity=police, amenity=hospital, amenity=school, leisure=sports_centre, amenity=community_centre.
The reason is documented in Deprecated features. You are still free to continue to use or interpret this tag as you see fit since OpenStreetMap does not have “banned features”.
Under no circumstances should you (semi-)automatically change “deprecated” tags to something else in the database on a large scale without conforming to the automated edits code of conduct. Any such change will be reverted.

Attachments (0)

Change History (1)

comment:1 by taylor.smock, 2 years ago

Resolution: worksforme
Status: newclosed

See #8978 and #12588.

I have no clue what your problem is, specifically. It could be one of the following:

  • We should be highlighting the fact that amenity=public_building is deprecated
    • This was done as part of #8978. Already fixed.
  • We should not be highlighting the fact that amenity=public_building is deprecated
    • We will continue highlighting the fact that the tag is deprecated, since it is. If you don't like that, go through the proper channels to remove its deprecated status. Feel free to reopen this ticket if you go this route and the community removes the deprecated status of the tag.
  • We should be automatically replacing that tag
    • There are several different tags that replace it. We won't be automatically replacing the tag.
  • We should not be automatically replacing that tag
    • We don't have an autofix for it at this time. Not an issue.

Regardless, this is the mapcss code we use for pointing out that osmwiki:Tag:amenity=public_building is deprecated:

*[amenity=public_building] {
  throwWarning: tr("{0} is deprecated", "{0.tag}");
  suggestAlternative: "amenity=townhall";
  suggestAlternative: "amenity=community_centre";
  suggestAlternative: "amenity=hospital";
  suggestAlternative: "leisure=sports_centre";
  suggestAlternative: "office=government";
  suggestAlternative: "building=hospital";
  suggestAlternative: "building=public";
  suggestAlternative: "...";
  group: tr("deprecated tagging");
}

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.