- Timestamp:
- 2020-05-26T21:30:05+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/combinations.mapcss
r16258 r16501 467 467 } 468 468 469 /* #11389 */469 /* #11389, #19010 */ 470 470 way["maxspeed:forward"=*"maxspeed:backward"][!maxspeed] { 471 471 throwWarning: tr("Same value of {0} and {1}", "{0.key}", "{1.key}"); … … 483 483 fixRemove: "maxspeed:backward"; 484 484 } 485 way["maxspeed:forward"]["maxspeed:backward"][maxspeed]!.AllSameMaxspeed { 485 way["cycleway:left"=*"cycleway:right"][!cycleway] { 486 throwWarning: tr("Same value of {0} and {1}", "{0.key}", "{1.key}"); 487 suggestAlternative: "cycleway"; 488 group: tr("suspicious tag combination"); 489 fixChangeKey: "cycleway:left=>cycleway"; 490 fixRemove: "cycleway:right"; 491 } 492 way["cycleway:left"=*cycleway]["cycleway:right"=*cycleway][cycleway] { 493 throwWarning: tr("Same value of {0}, {1} and {2}", "{0.key}", "{1.key}", "{2.key}"); 494 set AllSameCycleway; 495 suggestAlternative: "cycleway"; 496 group: tr("suspicious tag combination"); 497 fixRemove: "cycleway:left"; 498 fixRemove: "cycleway:right"; 499 } 500 way["sidewalk:left"=*"sidewalk:right"][!sidewalk] { 501 throwWarning: tr("Same value of {0} and {1}", "{0.key}", "{1.key}"); 502 suggestAlternative: "sidewalk"; 503 group: tr("suspicious tag combination"); 504 fixChangeKey: "sidewalk:left=>sidewalk"; 505 fixRemove: "sidewalk:right"; 506 } 507 way["sidewalk:left"=*sidewalk]["sidewalk:right"=*sidewalk][sidewalk] { 508 throwWarning: tr("Same value of {0}, {1} and {2}", "{0.key}", "{1.key}", "{2.key}"); 509 set AllSameSidewalk; 510 suggestAlternative: "sidewalk"; 511 group: tr("suspicious tag combination"); 512 fixRemove: "sidewalk:left"; 513 fixRemove: "sidewalk:right"; 514 } 515 way["maxspeed:forward"]["maxspeed:backward"][maxspeed]!.AllSameMaxspeed, 516 way["cycleway:left"]["cycleway:right"][cycleway]!.AllSameCycleway, 517 way["sidewalk:left"]["sidewalk:right"][sidewalk]!.AllSameSidewalk { 486 518 throwWarning: tr("{0} and {1} together with {2} and conflicting values", "{0.key}", "{1.key}", "{2.key}"); 487 519 group: tr("suspicious tag combination"); 488 520 } 489 521 way["maxspeed:forward"][maxspeed][!"maxspeed:backward"], 490 way["maxspeed:backward"][maxspeed][!"maxspeed:forward"] { 522 way["maxspeed:backward"][maxspeed][!"maxspeed:forward"], 523 way["cycleway:left"][cycleway][!"cycleway:right"], 524 way["cycleway:right"][cycleway][!"cycleway:left"], 525 way["sidewalk:left"][sidewalk][!"sidewalk:right"], 526 way["sidewalk:right"][sidewalk][!"sidewalk:left"] { 491 527 throwWarning: tr("{0} together with {1}", "{0.key}", "{1.key}"); 492 528 group: tr("suspicious tag combination");
Note:
See TracChangeset
for help on using the changeset viewer.