Changeset 6550 in josm for trunk/data/validator
- Timestamp:
- 2013-12-27T21:41:52+01:00 (11 years ago)
- Location:
- trunk/data/validator
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/combinations.mapcss
r6548 r6550 111 111 } 112 112 113 /* {0} on a node */114 node[source:geometry],115 node[source:outline] {116 throwWarning: tr("{0} on a node", "{0.key}");117 }118 119 113 /* {0} on suspicious object */ 120 114 *[tunnel ][!highway][!railway][!waterway][public_transport != platform][man_made != pipeline], … … 133 127 } 134 128 129 way[highway][barrier], 135 130 *[highway][waterway][waterway!=dam], 136 131 *[highway][natural], -
trunk/data/validator/highway.mapcss
r6549 r6550 5 5 assertMatch: "way highway=unclassified name=\"Bou Blvd.\""; 6 6 assertMatch: "way highway=unclassified name=\"Bou blvd.\""; 7 }8 9 node[oneway] {10 throwWarning: tr("oneway tag on a node");11 assertMatch: "node oneway=-1";12 assertNoMatch: "way oneway=-1";13 }14 15 node[bridge?] {16 throwWarning: tr("bridge tag on a node");17 assertMatch: "node bridge=yes";18 assertNoMatch: "node bridge=13";19 7 } 20 8 … … 72 60 } 73 61 74 way[highway=cycleway][bicycle?!] { 75 throwWarning: tr("cycleway with tag bicycle"); 62 way[highway=footway][maxspeed], 63 way[highway=steps][maxspeed], 64 way[highway=cycleway][bicycle?!], 65 way[highway=footway][foot?!], 66 way[highway=cycleway][cycleway=lane] { 67 throwWarning: tr("{0} used with {1}", "{0.value}", "{1.tag}"); 76 68 assertMatch: "way highway=cycleway bicycle=false"; 77 69 assertMatch: "way highway=cycleway bicycle=0"; 78 70 assertNoMatch: "way highway=cycleway bicycle=yes"; 79 71 assertNoMatch: "way highway=cycleway"; 80 }81 82 way[highway=footway][foot?!] {83 throwWarning: tr("footway with tag foot");84 72 assertMatch: "way highway=footway foot=false"; 85 73 assertMatch: "way highway=footway foot=0"; 86 74 assertNoMatch: "way highway=footway foot=yes"; 87 75 assertNoMatch: "way highway=footway"; 88 }89 90 way[highway=cycleway][cycleway=lane] {91 throwWarning: tr("separate cycleway as lane on a cycleway");92 76 assertMatch: "way highway=cycleway cycleway=lane"; 93 77 assertNoMatch: "way highway=cycleway"; 94 78 assertNoMatch: "way highway=residential cycleway=lane"; 95 }96 97 way[highway][barrier] {98 throwWarning: tr("barrier used on a way");99 assertMatch: "way highway=residential barrier=hedge";100 assertNoMatch: "way highway=residential";101 assertNoMatch: "way barrier=hedge";102 }103 104 way[highway=footway][maxspeed], way[highway=steps][maxspeed] {105 throwWarning: tr("maxspeed used for footway");106 79 assertMatch: "way highway=footway maxspeed=20"; 107 80 assertNoMatch: "way highway=residential maxspeed=20";
Note:
See TracChangeset
for help on using the changeset viewer.