Changeset 14943 in josm


Ignore:
Timestamp:
2019-03-30T22:13:30+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #17542 - Check segregated keys before autofixing foot/cycleway access (patch by mkoniecz)

Location:
trunk/data/validator
Files:
2 edited

Legend:

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

    r14915 r14943  
    243243}
    244244
    245 /* {0.tag} together with {1.tag}, see #16861, #16147, #10186 */
     245/* {0.tag} together with {1.tag}, see #17542, #16861, #16147, #10186 */
    246246way[segregated][bicycle=no],
    247247way[segregated][foot=no],
    248248way[man_made=pipeline][tunnel=flooded],
    249 way[waterway=canal][tunnel=yes],
    250 way[highway=footway][bicycle=designated] {
    251   throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
    252   group: tr("suspicious tag combination");
     249way[waterway=canal][tunnel=yes] {
     250  throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
     251  group: tr("suspicious tag combination");
     252}
     253
     254way[highway=footway][bicycle=designated],
     255way[highway=cycleway][foot=designated] {
     256  throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
     257  group: tr("suspicious tag combination");
     258  suggestAlternative: "highway=path";
    253259}
    254260
  • trunk/data/validator/unnecessary.mapcss

    r14942 r14943  
    3939/* #9257, #17482 */
    4040way[foot =~ /^(yes|designated)$/][highway =~ /^(footway|pedestrian)$/][!access],
    41 way[bicycle =~ /^(yes|designated)$/][highway=cycleway][!vehicle][!access],
     41way[bicycle =~ /^(yes|designated)$/][highway=cycleway][!vehicle][!access][foot!=designated],
    4242*[building:ruian:type=2][building=farm_auxiliary],
    4343*[building:ruian:type=7][building=house],
Note: See TracChangeset for help on using the changeset viewer.