| 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 { |