1 | /* see ticket #12914 -- Discourage contributors to use operator=ERDF in France. */
|
---|
2 | *[operator=ERDF][inside("FR")] {
|
---|
3 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
4 | suggestAlternative: "operator=Enedis";
|
---|
5 | group: tr("deprecated tagging");
|
---|
6 | fixAdd: "operator=Enedis";
|
---|
7 | }
|
---|
8 |
|
---|
9 | /* #13932, #15283 */
|
---|
10 | *[addr:street =~ /(?i).*Strasse.*/][addr:street !~ /(?i).*Strasser.*/][inside("DE,AT")],
|
---|
11 | *[name =~ /(?i).*Strasse.*/][name !~ /(?i).*Strasser.*/][inside("DE,AT")] {
|
---|
12 | throwError: tr("street name contains ss");
|
---|
13 | assertMatch: "way name=Hauptstrasse";
|
---|
14 | assertNoMatch: "way name=Hauptstraße";
|
---|
15 | assertNoMatch: "way name=Kapitän-Strasser-Straße";
|
---|
16 | assertNoMatch: "way name=Peter-Strasser-Platz";
|
---|
17 |
|
---|
18 | }
|
---|
19 | *[addr:street =~ /(?i).*Straße.*/][inside("LI,CH")],
|
---|
20 | *[name =~ /(?i).*Straße.*/][inside("LI,CH")] {
|
---|
21 | throwError: tr("street name contains ß");
|
---|
22 | assertMatch: "way name=Hauptstraße";
|
---|
23 | assertNoMatch: "way name=Hauptstrasse";
|
---|
24 | }
|
---|
25 |
|
---|
26 | /* #17484 */
|
---|
27 | relation[type=associatedStreet][inside("DE")] {
|
---|
28 | throwWarning: tr("{0} is deprecated in {1}", "{0.tag}", "Deutschland");
|
---|
29 | suggestAlternative: "addr:street";
|
---|
30 | group: tr("deprecated tagging");
|
---|
31 | }
|
---|