source: josm/trunk/data/validator/territories.mapcss@ 15144

Last change on this file since 15144 was 14998, checked in by Klumbumbus, 6 years ago
  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
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 */
27relation[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}
Note: See TracBrowser for help on using the repository browser.