Changeset 14127 in josm


Ignore:
Timestamp:
2018-08-11T19:09:10+02:00 (3 months ago)
Author:
Klumbumbus
Message:

fix #16300 - don't warn about some intermittent, boat, ford, basin, reservoir combinations (based on patch by kre3d)

File:
1 edited

Legend:

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

    r14042 r14127  
    193193
    194194/* {0.key} without {1.key}, {2.tag} or {3.tag} */
    195 *[intermittent                 ][!waterway][natural!~/^(water|spring)$/][ford!=yes],
    196 *[boat                         ][!waterway][natural!=water][landuse!=basin] {
    197   throwWarning: tr("{0} without {1}, {2} or {3}", "{0.key}", "{1.key}", "{2.tag}", "{3.tag}");
     195*[intermittent                 ][!waterway][natural!~/^(water|spring)$/][landuse!~/^(basin|reservoir)$/][ford!=yes],
     196*[boat                         ][!waterway][natural!=water             ][landuse!~/^(basin|reservoir)$/][ford!=yes] {
     197  throwWarning: tr("{0} without {1}, {2}, {3} or {4}", "{0.key}", "{1.key}", "{2.tag}", "{3.tag}", "{4.tag}");
    198198  group: tr("missing tag");
    199199}
Note: See TracChangeset for help on using the changeset viewer.