|
Last change
on this file since 6773 was 6760, checked in by Don-vip, 12 years ago |
|
fix #9609 - tagchecker: handling of elevation tag:
- do not replace by
layer
- remove
elevation=0
- do nothing for other values
|
|
File size:
869 bytes
|
| Line | |
|---|
| 1 | *[access][highway=proposed],
|
|---|
| 2 | *[motor_vehicle?][highway =~ /motorway|trunk|primary|secondary|tertiary|unclassified|residential|service|living_street/],
|
|---|
| 3 | *[bridge=no],
|
|---|
| 4 | *[elevation="0"],
|
|---|
| 5 | *[layer="0"] {
|
|---|
| 6 | /* see #9365 - Useless tag layer=0 */
|
|---|
| 7 | throwWarning: tr("{0} is unnecessary", "{0.tag}");
|
|---|
| 8 | fixRemove: "{0.key}";
|
|---|
| 9 | assertMatch: "way layer=0";
|
|---|
| 10 | assertMatch: "way bridge=no";
|
|---|
| 11 | assertMatch: "way highway=proposed access=no";
|
|---|
| 12 | }
|
|---|
| 13 |
|
|---|
| 14 | *[emergency=permissive] {
|
|---|
| 15 | /* see #9458 - emergency=permissive makes no sense */
|
|---|
| 16 | throwWarning: tr("{0}={1} makes no sense", "emergency", "permissive");
|
|---|
| 17 | fixAdd: "emergency=yes";
|
|---|
| 18 | assertMatch: "way emergency=permissive";
|
|---|
| 19 | assertNoMatch: "way emergency=designated";
|
|---|
| 20 | }
|
|---|
| 21 |
|
|---|
| 22 | /* see ticket #7639 -- Warn when a node has the same tags as its parent way. */
|
|---|
| 23 | way >:sameTags node:tagged {
|
|---|
| 24 | throwWarning: tr("Nodes duplicating parent way tags");
|
|---|
| 25 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.