Changeset 17284 in josm


Ignore:
Timestamp:
2020-10-29T21:42:03+01:00 (5 weeks ago)
Author:
Klumbumbus
Message:

see #19383 - Deprecate tower:type=transition and pole:type=transition in favor of location:transition=yes

File:
1 edited

Legend:

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

    r17263 r17284  
    18461846  group: tr("deprecated tagging");
    18471847}
     1848*[tower:type=transition] {
     1849  throwWarning: tr("{0} is deprecated", "{0.tag}");
     1850  suggestAlternative: "location:transition=yes";
     1851  fixAdd: "location:transition=yes";
     1852  fixRemove: "tower:type";
     1853  set power_tower_type_warning;
     1854  group: tr("deprecated tagging");
     1855}
    18481856*[tower:type=transposing] {
    18491857  throwWarning: tr("{0} is deprecated", "{0.tag}");
     
    19101918  suggestAlternative: "line_management=termination";
    19111919  fixAdd: "line_management=termination";
     1920  fixRemove: "pole:type";
     1921  set power_pole_type_warning;
     1922  group: tr("deprecated tagging");
     1923}
     1924node[pole:type=transition] {
     1925  throwWarning: tr("{0} is deprecated", "{0.tag}");
     1926  suggestAlternative: "location:transition=yes";
     1927  fixAdd: "location:transition=yes";
    19121928  fixRemove: "pole:type";
    19131929  set power_pole_type_warning;
Note: See TracChangeset for help on using the changeset viewer.