Changeset 7814 in josm for trunk/data
- Timestamp:
- 2014-12-17T00:26:03+01:00 (10 years ago)
- Location:
- trunk/data/validator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/geometry.mapcss
r7807 r7814 3 3 node[bridge?], 4 4 node[sidewalk], 5 node[footway], 5 6 node[waterway=river], 6 7 node[waterway=riverbank], -
trunk/data/validator/highway.mapcss
r7281 r7814 90 90 assertNoMatch: "way name=Foobarstraße"; 91 91 } 92 93 /* footway, see #10851 */ 94 way[footway=left], 95 way[footway=right], 96 way[footway=both], 97 way[footway=no] { 98 throwWarning: tr("{0} is deprecated", "{0.tag}"); 99 suggestAlternative: "sidewalk"; 100 fixChangeKey: "footway => sidewalk"; 101 set footway_to_sidewalk; 102 } 103 way[footway=none] { 104 throwWarning: tr("{0} is deprecated", "{0.tag}"); 105 suggestAlternative: "sidewalk=no"; 106 fixRemove: "footway"; 107 fixAdd: "sidewalk=no"; 108 set footway_to_sidewalk; 109 } 110 way[footway][footway!=sidewalk][footway!=crossing]!.footway_to_sidewalk { /* do not trigger this rule if already one of the two previous rules applied */ 111 throwWarning: tr("Value of ''{0}'' should either be ''{1}'' or ''{2}''. For sidewalks use ''{3}'' instead.", "{0.key}", "{1.value}", "{2.value}", "sidewalk=left|right|both|no"); 112 }
Note:
See TracChangeset
for help on using the changeset viewer.