Changeset 18659 in josm for trunk/resources/data/validator


Ignore:
Timestamp:
2023-02-09T20:09:47+01:00 (21 months ago)
Author:
taylor.smock
Message:

Fix #22547: tunnel=culvert should have waterway=* or man_made=tunnel (patch by skyper)

File:
1 edited

Legend:

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

    r18633 r18659  
    238238}
    239239
    240 /* {0.key} without {1.key} or {2.tag} */
     240/* {0.key} without {1.key} or {2.tag}, #22547 */
    241241way[bridge:structure           ][!bridge][man_made!=bridge],
    242242*[segregated                   ][!highway][railway!=crossing] {
    243243  throwWarning: tr("{0} without {1} or {2}", "{0.key}", "{1.key}", "{2.tag}");
    244244  group: tr("missing tag");
     245}
     246way[tunnel=culvert][man_made!=tunnel][!waterway] {
     247  throwWarning: tr("{0} without {1} or {2}", "{0.tag}", "{1.tag}", "{2.key}");
     248  group: tr("suspicious tag combination");
     249  set TunnelCulvertWithoutWaterway;
    245250}
    246251
     
    489494node[lanes ][!barrier][!ford][highway!=mini_roundabout][!junction][leisure!~/^(bowling_alley|slipway|swimming_pool|track)$/][!traffic_calming]!.only_one_tag,
    490495way[lanes  ][!barrier][!ford][!highway ][!area:highway][!junction][leisure!~/^(bowling_alley|slipway|swimming_pool|track)$/][!traffic_calming]!.only_one_tag,
    491 *[tunnel   ][!highway][!area:highway][!railway][!waterway][!piste:type][type!=tunnel][public_transport!=platform][route!=ferry][man_made!=pipeline][man_made!=goods_conveyor][man_made!=wildlife_crossing][man_made!=tunnel][power!=cable],
     496*[tunnel   ][!highway][!area:highway][!railway][!waterway][!piste:type][type!=tunnel][public_transport!=platform][route!=ferry][man_made!=pipeline][man_made!=goods_conveyor][man_made!=wildlife_crossing][man_made!=tunnel][power!=cable]!.TunnelCulvertWithoutWaterway,
    492497*[bridge   ][!highway][!area:highway][!railway][!waterway][!piste:type][type!=bridge][public_transport!=platform][route!=ferry][man_made!=pipeline][man_made!=goods_conveyor][man_made!=wildlife_crossing][man_made!=bridge][building!=bridge],
    493498*[psv      ][!highway][!area:highway][!railway][!waterway][barrier !~ /^(bollard|bump_gate|bus_trap|cattle_grid|chain|coupure|entrance|gate|height_restrictor|jersey_barrier|kerb|lift_gate|rope|sally_port|sliding_beam|sliding_gate|spikes|swing_gate|toll_booth|yes)$/][amenity !~ /^parking.*/],
Note: See TracChangeset for help on using the changeset viewer.