[12815] | 1 | /* #13932, #15283 */
|
---|
| 2 | *[addr:street =~ /(?i).*Strasse.*/][addr:street !~ /(?i).*Strasser.*/][inside("DE,AT")],
|
---|
| 3 | *[name =~ /(?i).*Strasse.*/][name !~ /(?i).*Strasser.*/][inside("DE,AT")] {
|
---|
[12708] | 4 | throwError: tr("street name contains ss");
|
---|
[14552] | 5 | assertMatch: "way name=Hauptstrasse";
|
---|
| 6 | assertNoMatch: "way name=Hauptstraße";
|
---|
| 7 | assertNoMatch: "way name=Kapitän-Strasser-Straße";
|
---|
| 8 | assertNoMatch: "way name=Peter-Strasser-Platz";
|
---|
| 9 |
|
---|
[12708] | 10 | }
|
---|
| 11 | *[addr:street =~ /(?i).*Straße.*/][inside("LI,CH")],
|
---|
| 12 | *[name =~ /(?i).*Straße.*/][inside("LI,CH")] {
|
---|
| 13 | throwError: tr("street name contains ß");
|
---|
[14552] | 14 | assertMatch: "way name=Hauptstraße";
|
---|
| 15 | assertNoMatch: "way name=Hauptstrasse";
|
---|
[14998] | 16 | }
|
---|
| 17 |
|
---|
| 18 | /* #17484 */
|
---|
| 19 | relation[type=associatedStreet][inside("DE")] {
|
---|
| 20 | throwWarning: tr("{0} is deprecated in {1}", "{0.tag}", "Deutschland");
|
---|
| 21 | suggestAlternative: "addr:street";
|
---|
| 22 | group: tr("deprecated tagging");
|
---|
[15325] | 23 | }
|
---|
| 24 |
|
---|
| 25 | /* #15107 */
|
---|
| 26 | *[aeroway=helipad ][!faa][inside("US")],
|
---|
| 27 | *[aeroway=aerodrome][!faa][inside("US")] {
|
---|
| 28 | throwOther: tr("{0} without {1}", "{0.tag}", "{1.key}");
|
---|
| 29 | group: tr("Airport tagging");
|
---|
| 30 | }
|
---|
| 31 | *[aeroway=aerodrome][!icao][faa!~/\d/][inside("US")],
|
---|
| 32 | *[aeroway=aerodrome][!iata][faa!~/\d/][inside("US")] {
|
---|
| 33 | throwOther: tr("{0} without {1}", "{0.tag}", "{1.key}");
|
---|
| 34 | group: tr("Airport tagging");
|
---|
[15359] | 35 | assertNoMatch: "way aeroway=aerodrome faa=OK12";
|
---|
| 36 | assertMatch: "way aeroway=aerodrome faa=ORD";
|
---|
[15325] | 37 | }
|
---|