Ignore:
Timestamp:
2016-11-28T21:11:03+01:00 (4 years ago)
Author:
Klumbumbus
Message:
  • fix #14057 - validate direction values, deprecate direction=up/down in favor of incline=up/down
  • deprecate amenity=advertising in favor of advertising=*
  • don't warn about "highway without a reference" if destination:ref is present
File:
1 edited

Legend:

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

    r11263 r11337  
    11251125  fixChangeKey: "lock => lockable";
    11261126}
     1127
     1128*[amenity=advertising][!advertising] {
     1129  throwWarning: tr("{0} is deprecated", "{0.tag}");
     1130  suggestAlternative: "advertising=*";
     1131  group: tr("deprecated tagging");
     1132}
     1133*[amenity=advertising][advertising] {
     1134  throwWarning: tr("{0} is deprecated", "{0.tag}");
     1135  suggestAlternative: "advertising=*";
     1136  group: tr("deprecated tagging");
     1137  fixRemove: "amenity";
     1138}
     1139
     1140way[direction=up][incline=up],
     1141way[direction=down][incline=down],
     1142way[direction=up][!incline],
     1143way[direction=down][!incline] {
     1144  throwWarning: tr("{0} is deprecated", "{0.tag}");
     1145  suggestAlternative: "incline";
     1146  group: tr("deprecated tagging");
     1147  fixChangeKey: "direction => incline";
     1148}
     1149way[direction=up][incline][incline!=up],
     1150way[direction=down][incline][incline!=down] {
     1151  throwWarning: tr("{0} is deprecated", "{0.tag}");
     1152  suggestAlternative: "incline";
     1153  group: tr("deprecated tagging");
     1154}
Note: See TracChangeset for help on using the changeset viewer.