197 | | } |
198 | | No newline at end of file |
| 197 | } |
| 198 | |
| 199 | /* #18217 */ |
| 200 | way[highway =~ /^((motorway|trunk|primary|secondary|tertiary)(_link)?|residential|unclassified)$/][area=yes], |
| 201 | relation[highway =~ /^((motorway|trunk|primary|secondary|tertiary)(_link)?|residential|unclassified)$/][type=multipolygon] { |
| 202 | throwError: tr("Area with {0} above {1} is invalid", "highway=*", "highway=service"); |
| 203 | group: tr("suspicious tag combination"); |
| 204 | suggestAlternative: "area:highway=*"; |
| 205 | assertMatch: "way highway=trunk area=yes"; |
| 206 | assertMatch: "relation highway=trunk type=multipolygon"; |
| 207 | assertNoMatch: "way highway=service area=yes"; |
| 208 | assertNoMatch: "way highway=trunk"; |
| 209 | } |
| 210 | |