Changeset 17953 in josm for trunk/resources/data/validator/combinations.mapcss
- Timestamp:
- 2021-07-07T21:45:42+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/combinations.mapcss
r17923 r17953 345 345 } 346 346 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] { 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] { 355 366 throwWarning: tr("incomplete object: only {0}", "{0.key}"); 356 367 set only_one_tag; … … 364 375 } 365 376 /* only {0.tag}, #15269 */ 366 *[tourism=attraction][eval(number_of_tags()) = 1] { 377 node[tourism=attraction][eval(number_of_tags()) = 1], 378 way[tourism=attraction][eval(number_of_tags()) = 1] { 367 379 throwWarning: tr("incomplete object: only {0}", "{0.tag}"); 368 380 group: tr("missing tag");
Note:
See TracChangeset
for help on using the changeset viewer.