Changeset 9593 in josm for trunk/data/validator


Ignore:
Timestamp:
2016-01-23T19:32:39+01:00 (9 years ago)
Author:
Klumbumbus
Message:

fix #12431 - Deprecate amenity=swimming_pool in favor of leisure=swimming_pool, remove tags from ignore list, which have already a deprecated warning

Location:
trunk/data/validator
Files:
2 edited

Legend:

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

    r9557 r9593  
    779779  throwWarning: tr("{0} is deprecated. Use the {1}: key prefix instead.", "{0.tag}", "{0.value}");
    780780}
     781
     782/* #12431 */
     783*[amenity=swimming_pool] {
     784  throwWarning: tr("{0} is deprecated", "{0.tag}");
     785  suggestAlternative: "leisure=swimming_pool";
     786  fixChangeKey: "amenity => leisure";
     787}
  • trunk/data/validator/ignoretags.cfg

    r9433 r9593  
    141141; Highway Key/Value Pairs
    142142;
    143 K:oneway=-1
    144143K:highway=proposed
    145144K:living_street=yes
     
    148147;
    149148K:amenity=crematorium
    150 K:amenity=emergency_phone
    151149K:amenity=gallery
    152150K:amenity=gym
    153151K:amenity=signpost
    154 K:amenity=swimming_pool
    155152;
    156153; Cuisine Tags
Note: See TracChangeset for help on using the changeset viewer.