Changeset 17457 in josm for trunk


Ignore:
Timestamp:
2021-01-12T06:47:40+01:00 (4 years ago)
Author:
GerdP
Message:

fix #20318: Asking to tag segregated=no on highway=footway bicycle=yes is pointless

  • only complain about missing segregated tag if way is designated for bicycle AND foot
File:
1 edited

Legend:

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

    r17448 r17457  
    724724}
    725725
    726 /* #17973, #18183, #18331 */
    727 way[highway=path    ][foot][foot!=no      ][foot!=use_sidepath   ][!segregated][bicycle][bicycle!=no][bicycle!=use_sidepath][bicycle!=dismount]!.unpaved_surface,
    728 way[highway=footway ][bicycle][bicycle!=no][bicycle!=use_sidepath][!segregated][bicycle!=dismount]!.unpaved_surface,
    729 way[highway=cycleway][foot][foot!=no      ][foot!=use_sidepath   ][!segregated]!.unpaved_surface {
    730   throwWarning: tr("Combined foot- and cycleway without {0}.", "{4.key}");
     726/* #17973, #18183, #18331, #20318 */
     727way[highway=path    ][!segregated][foot=designated][bicycle=designated],
     728way[highway=footway ][!segregated][bicycle=designated],
     729way[highway=cycleway][!segregated][foot=designated] {
     730  throwWarning: tr("Combined foot- and cycleway without {0}.", "{1.key}");
    731731  group: tr("missing tag");
    732732}
Note: See TracChangeset for help on using the changeset viewer.