source: josm/trunk/resources/data/validator/territories.mapcss@ 18446

Last change on this file since 18446 was 16093, checked in by Don-vip, 5 years ago

see #12914, see #18552, see #18640 - move out French-specific rules to https://josm.openstreetmap.de/wiki/Rules/FranceSpecificRules

  • Property svn:eol-style set to native
File size: 1.3 KB
RevLine 
[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 */
19relation[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}
Note: See TracBrowser for help on using the repository browser.