Changeset 17105 in josm for trunk/resources/data/validator
- Timestamp:
- 2020-10-07T20:43:06+02:00 (4 years ago)
- Location:
- trunk/resources/data/validator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/combinations.mapcss
r17091 r17105 854 854 assertNoMatch: "way footway=sidewalk abandoned:highway=unclassified"; 855 855 } 856 857 /* #17498 */ 858 way[bicycle][/^cycleway(:|$)/][!/^bicycle:/][bicycle=~/^(no|none|use_sidepath)$/][/^cycleway(:|$)/!~/^(no|none|separate)$/] { 859 throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}"); 860 group: tr("suspicious tag combination"); 861 assertMatch: "way bicycle=no cycleway=track"; 862 assertMatch: "way bicycle=use_sidepath cycleway=lane"; 863 assertMatch: "way bicycle=use_sidepath cycleway:left=lane"; 864 assertNoMatch: "way bicycle=use_sidepath cycleway=no"; 865 assertNoMatch: "way bicycle=use_sidepath bicycle:backward=yes cycleway:left=lane"; /* instead of :backward, could also be :forward or :conditional */ 866 assertNoMatch: "way bicycle=no cycleway:right=no"; 867 assertNoMatch: "way bicycle=use_sidepath cycleway:left=none"; 868 assertNoMatch: "way highway=cycleway cycleway=separate"; 869 assertNoMatch: "way highway=residential bicycle=use_sidepath"; 870 } -
trunk/resources/data/validator/geometry.mapcss
r17088 r17105 145 145 } 146 146 way[building][building!=no] > node[!entrance].node_in_closed_highway { 147 set node_connects_highway_and_building; /* avoids duplicate warnings with fol owing rule */147 set node_connects_highway_and_building; /* avoids duplicate warnings with following rule */ 148 148 throwWarning: tr("node connects highway and building"); 149 149 }
Note:
See TracChangeset
for help on using the changeset viewer.