Changeset 7600 in josm for trunk/data/validator


Ignore:
Timestamp:
2014-10-05T16:46:40+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #10594 - add deprecation warnings for synonymous shop values + add preset/icon for shop=antiques

File:
1 edited

Legend:

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

    r7599 r7600  
    8282}
    8383 
     84*[shop=antique] {
     85  throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
     86  fixAdd: "shop=antiques";
     87}
     88
     89*[shop=bags] {
     90  throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
     91  fixAdd: "shop=bag";
     92}
     93
    8494*[shop=organic] {
    8595  /* from http://wiki.openstreetmap.org/wiki/Tag:shop=organic */
     
    8898  fixAdd: "organic=only";
    8999}
    90  
     100
     101*[shop=pets] {
     102  throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
     103  fixAdd: "shop=pet";
     104}
     105
     106*[shop=pharmacy] {
     107  throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
     108  fixChangeKey: "shop => amenity";
     109}
     110
    91111*[bicycle_parking=sheffield] {
    92112  /* from http://wiki.openstreetmap.org/wiki/Key:bicycle_parking */
Note: See TracChangeset for help on using the changeset viewer.