Changeset 17253 in josm for trunk/resources
- Timestamp:
- 2020-10-22T18:45:02+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/combinations.mapcss
r17247 r17253 878 878 879 879 /* #19980 */ 880 way[highway=living_street][maxspeed][get(split(" ", tag(maxspeed)), 0) > 20] { 880 way[highway=living_street][maxspeed][maxspeed=~/mph/][get(split(" ", tag(maxspeed)), 0) > 15], 881 way[highway=living_street][maxspeed][maxspeed!~/mph/][get(split(" ", tag(maxspeed)), 0) > 20] { 881 882 throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}"); 882 883 group: tr("suspicious tag combination"); 883 884 assertNoMatch: "way highway=living_street"; 884 885 assertNoMatch: "way highway=living_street maxspeed=20"; 885 assertNoMatch: "way highway=living_street maxspeed=\" 20mph\"";886 assertNoMatch: "way highway=living_street maxspeed=\"15 mph\""; 886 887 assertNoMatch: "way highway=living_street maxspeed=walk"; 887 888 assertMatch: "way highway=living_street maxspeed=30"; 888 assertMatch: "way highway=living_street maxspeed=\" 30 mph\"";889 } 889 assertMatch: "way highway=living_street maxspeed=\"20 mph\""; 890 }
Note:
See TracChangeset
for help on using the changeset viewer.