|
Last change
on this file since 14840 was 14552, checked in by Klumbumbus, 7 years ago |
- see #16301 - make
id mandatory
- see #17058 - add asserts to territories.mapcss
|
-
Property svn:eol-style
set to
native
|
|
File size:
929 bytes
|
| 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 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.