Ticket #16300: 0001-don-t-warn-for-intermittent-on-basin-and-reservoir.patch

File 0001-don-t-warn-for-intermittent-on-basin-and-reservoir.patch, 1.0 KB (added by kre3d, 8 years ago)
  • data/validator/combinations.mapcss

    From a5314b88e9b527f3237507d3a05757d2b882aa91 Mon Sep 17 00:00:00 2001
    From: Christopher Eby <kreed@kreed.org>
    Date: Sun, 20 May 2018 01:07:03 -0500
    Subject: [PATCH] don't warn for intermittent on basin and reservoir
    
    ---
     data/validator/combinations.mapcss | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/data/validator/combinations.mapcss b/data/validator/combinations.mapcss
    index 08c704ec0..b8ea8023c 100644
    a b way[highway=motorway_link][!oneway][junction!=roundabout] {  
    182182}
    183183
    184184/* {0.key} without {1.key}, {2.tag} or {3.tag} */
    185 *[intermittent                 ][!waterway][natural!~/^(water|spring)$/][ford!=yes],
     185*[intermittent                 ][!waterway][natural!~/^(water|spring)$/][landuse!~/^(basin|reservoir)$/][ford!=yes],
    186186*[boat                         ][!waterway][natural!=water][landuse!=basin] {
    187187  throwWarning: tr("{0} without {1}, {2} or {3}", "{0.key}", "{1.key}", "{2.tag}", "{3.tag}");
    188188  group: tr("missing tag");