Changeset 17122 in josm for trunk


Ignore:
Timestamp:
2020-10-08T21:42:23+02:00 (4 years ago)
Author:
Klumbumbus
Message:

see #17498 - Fix rule and deprecate cycleway|cycleway:left|cycleway:right=none in favor of *=no

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

Legend:

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

    r17105 r17122  
    856856
    857857/* #17498 */
    858 way[bicycle][/^cycleway(:|$)/][!/^bicycle:/][bicycle=~/^(no|none|use_sidepath)$/][/^cycleway(:|$)/!~/^(no|none|separate)$/] {
     858way[bicycle][/^cycleway(:|$)/][!/^bicycle:/][bicycle=~/^(no|use_sidepath)$/][/^cycleway(:|$)/!~/^(no|none|separate)$/] {
    859859  throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
    860860  group: tr("suspicious tag combination");
  • trunk/resources/data/validator/deprecated.mapcss

    r17092 r17122  
    20842084}
    20852085
     2086/* #17498 */
     2087way[cycleway=none],
     2088way[cycleway:left=none],
     2089way[cycleway:right=none] {
     2090  throwWarning: tr("{0} is deprecated", "{0.tag}");
     2091  suggestAlternative: concat("{0.key}", "=no");
     2092  group: tr("deprecated tagging");
     2093  fixAdd: concat("{0.key}", "=no");
     2094}
     2095
    20862096/* When tags are deprecated they should be added to ignoretags.cfg too. */
Note: See TracChangeset for help on using the changeset viewer.