Changeset 13972 in josm for trunk/data


Ignore:
Timestamp:
2018-06-24T19:29:55+02:00 (6 years ago)
Author:
Don-vip
Message:

fix #16147 - add rendering and validator rules for pressurised waterways

File:
1 edited

Legend:

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

    r13814 r13972  
    3535way[tracks                     ][!railway][route!=railway],
    3636way[traffic_mode               ][!railway][route!=railway],
    37 way[usage                      ][!railway][route!=railway][man_made!=pipeline],
    3837way[workrules                  ][!railway][route!=railway],
    3938way[stream                     ][!waterway],
     
    110109*[bridge:movable               ][bridge!=movable][man_made!=bridge],
    111110*[substation                   ][power!=substation][pipeline!=substation],
    112 *[reservoir_type               ][landuse!=reservoir][water!=reservoir] {
     111*[reservoir_type               ][landuse!=reservoir][water!=reservoir],
     112way[waterway=pressurised       ][tunnel!=flooded][man_made!=pipeline] {
    113113  throwWarning: tr("{0} without {1} or {2}", "{0.key}", "{1.tag}", "{2.tag}");
    114114  group: tr("missing tag");
     
    179179}
    180180
     181/* {0.tag} without {1.tag} */
     182way[usage=penstock][man_made!=pipeline],
     183way[usage=penstock][waterway!=pressurised] {
     184  throwWarning: tr("{0} without {1}", "{0.tag}", "{1.tag}");
     185  group: tr("missing tag");
     186}
     187
    181188/* {0.tag} without {1.tag} or {2.tag} */
    182189*[amenity=recycling][recycling_type!=container][recycling_type!=centre] {
     
    211218*[amenity=vending_machine][shop],
    212219*[noname?][name],
     220way[man_made=pipeline][tunnel=flooded]
     221way[waterway=canal][tunnel=yes]
    213222way[oneway=yes][/:backward/][!traffic_sign:backward][bicycle:backward!=use_sidepath],
    214223way[oneway=yes][/:forward/][!traffic_sign:forward][bicycle:forward!=use_sidepath],
     
    375384}
    376385
    377 /* #10140 */
    378 *[building:levels][!building][!building:part] {
     386/* {0.key} without {1.key} or {2.key} see #10140 */
     387*[building:levels][!building][!building:part],
     388way[usage][!railway][!waterway][route!=railway][man_made!=pipeline] {
    379389  throwWarning: tr("{0} without {1} or {2}", "{0.key}", "{1.key}", "{2.key}");
    380390  group: tr("missing tag");
     
    463473}
    464474
    465 /* #13138, 14468 */
     475/* {1.key} without {2.tag} see #13138, 14468 */
    466476area:closed[water][natural!~/water|bay|strait/][water!=intermittent] { /* water=intermittent is deprecated and has an own warning */
    467477  throwWarning: tr("{0} without {1}", "{1.key}", "{2.tag}");
Note: See TracChangeset for help on using the changeset viewer.