Changeset 18843 in josm for trunk/resources/data/validator


Ignore:
Timestamp:
2023-09-25T18:00:35+02:00 (14 months ago)
Author:
taylor.smock
Message:

Fix #23184: Add/ignore popular tags

Add

Ignore

  • check_date:?*: Used by surveying applications (fix #23182)
  • boundary=religious_administration: Not well documented

Replace

This additionally fixes an issue discovered by gaben in #23183, whereby
values_from="java.util.Locale#getISOCountries" could have some values
translated. This was fixed by adding a values_context attribute; in this case,
I used "country codes".

Location:
trunk/resources/data/validator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/validator/deprecated.mapcss

    r18834 r18843  
    7373  fixAdd: "wetland=marsh";
    7474}
     75#23185
     76*[landuse=reservoir][!reservoir_type],
     77*[landuse=reservoir][reservoir_type=water_storage] {
     78  group: tr("deprecated tagging");
     79  throwWarning: tr("{0} is deprecated", "{0.tag}");
     80  suggestAlternative: "natural=water + water=reservoir";
     81  fixAdd: "natural=water";
     82  fixAdd: "water=reservoir";
     83  fixRemove: "reservoir_type";
     84}
     85*[landuse=reservoir][reservoir_type=tailings] {
     86  group: tr("deprecated tagging");
     87  throwWarning: tr("{0} is deprecated", "{0.tag}");
     88  suggestAlternative: "man_made=tailings_pond";
     89  fixAdd: "man_made=tailings_pond";
     90  fixRemove: "reservoir_type";
     91  fixRemove: "reservoir_type";
     92}
     93*[landuse=reservoir][reservoir_type=evaporator] {
     94  group: tr("deprecated tagging");
     95  throwWarning: tr("{0} is deprecated", "{0.tag}");
     96  suggestAlternative: "basin=evaporation or landuse=salt_pond";
     97}
     98*[landuse=reservoir][reservoir_type=sewage] {
     99  group: tr("deprecated tagging");
     100  throwWarning: tr("{0} is deprecated", "{0.tag}");
     101  suggestAlternative: "natural=water + water=wastewater or landuse=basin + basin=settling or man_made=basin + basin=settling";
     102}
     103
    75104*[highway=byway] {
    76105  throwWarning: tr("{0} is deprecated", "{0.tag}");
  • trunk/resources/data/validator/ignoretags.cfg

    r18812 r18843  
    5050S:taxon:
    5151S:colour:
     52; check_date and check_date:* is used by some surveying applications
     53S:check_date
    5254;
    5355; Ignore valid and semi-valid keys that equal...
     
    792794; orchard=meadow_orchard seems to be more of a boolean value, "also happens to be a meadow". Don't know how we want to handle it.
    793795K:orchard=meadow_orchard
     796; boundary=religious_administration is not well documented (2023-09-21)
     797K:boundary=religious_administration
    794798; Streetside parking tags (see #22901 22901.patch for starting icons)
    795799; There is an external preset for these tags
Note: See TracChangeset for help on using the changeset viewer.