Changeset 17954 in josm


Ignore:
Timestamp:
2021-07-07T21:51:14+02:00 (3 years ago)
Author:
Klumbumbus
Message:

see #21068 - Revert accidentally commited file

File:
1 edited

Legend:

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

    r17953 r17954  
    345345}
    346346
    347 /* only {0.key}, #11104, #12422, #14950, #19572, #20902 */
    348 /* relations excluded as there is a test for missing type=* plus several other test depending on the type exist */
    349 node[access][eval(number_of_tags()) = 1],
    350 way[access][eval(number_of_tags()) = 1],
    351 node[area][eval(number_of_tags()) = 1]!.area_yes_autofix,
    352 way[area][eval(number_of_tags()) = 1]!.area_yes_autofix,
    353 node[lanes][eval(number_of_tags()) = 1],
    354 way[lanes][eval(number_of_tags()) = 1],
    355 node[layer][eval(number_of_tags()) = 1],
    356 way[layer][eval(number_of_tags()) = 1],
    357 way[level][eval(number_of_tags()) = 1], /* nodes might be valid, e.g. start and end nodes of steps */
    358 node[lit][eval(number_of_tags()) = 1],
    359 way[lit][eval(number_of_tags()) = 1],
    360 node[name][eval(number_of_tags()) = 1],
    361 way[name][eval(number_of_tags()) = 1],
    362 node[ref][eval(number_of_tags()) = 1],
    363 way[ref][eval(number_of_tags()) = 1],
    364 node[surface][eval(number_of_tags()) = 1],
    365 way[surface][eval(number_of_tags()) = 1] {
     347/* only {0.key}, #11104, #12422, #14950, #19572 */
     348*[lanes][eval(number_of_tags()) = 1],
     349*[surface][eval(number_of_tags()) = 1],
     350*[access][eval(number_of_tags()) = 1],
     351*[area][eval(number_of_tags()) = 1]!.area_yes_autofix,
     352*[name][eval(number_of_tags()) = 1],
     353*[ref][eval(number_of_tags()) = 1],
     354*[lit][eval(number_of_tags()) = 1] {
    366355  throwWarning: tr("incomplete object: only {0}", "{0.key}");
    367356  set only_one_tag;
     
    375364}
    376365/* only {0.tag}, #15269 */
    377 node[tourism=attraction][eval(number_of_tags()) = 1],
    378 way[tourism=attraction][eval(number_of_tags()) = 1] {
     366*[tourism=attraction][eval(number_of_tags()) = 1] {
    379367  throwWarning: tr("incomplete object: only {0}", "{0.tag}");
    380368  group: tr("missing tag");
Note: See TracChangeset for help on using the changeset viewer.