Changeset 11074 in josm


Ignore:
Timestamp:
2016-10-03T15:40:21+02:00 (8 years ago)
Author:
Klumbumbus
Message:

fix #13727 - improve "waterway=weir together with bridge=yes" warning

File:
1 edited

Legend:

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

    r11052 r11074  
    217217}
    218218
    219 /* #11127 */
    220 way[waterway][bridge=yes] {
     219/* #11127, #13727 */
     220way[waterway][bridge=yes][waterway!=weir] {
    221221  throwWarning: tr("{0} together with {1}", "{0.key}", "{1.tag}");
    222222  suggestAlternative: "bridge=aqueduct";
    223223  fixAdd: "bridge=aqueduct";
     224}
     225way[waterway=weir][bridge=yes][highway] {
     226  throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
     227  suggestAlternative: "waterway=weir + ford=yes";
     228  suggestAlternative: "waterway=dam";
     229  suggestAlternative: tr("two objects, one with {0} and one with {1} + {2} + {3}", "{0.tag}", "{2.key}", "{1.tag}", "layer");
    224230}
    225231
Note: See TracChangeset for help on using the changeset viewer.