Changes between Version 18 and Version 19 of Rules/QAToolInspiredValidations
- Timestamp:
- 2019-03-10T22:56:44+01:00 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Rules/QAToolInspiredValidations
v18 v19 85 85 -osmoseItemClassLevel: "7012/1/3"; 86 86 -osmoseTags: list("tag", "highway", "fix:survey"); 87 group: "OSMOSE 7012 - bridge to tag";87 group: "OSMOSE 7012 - bridge to tag"; 88 88 } 89 89 90 90 /* on junction = roundabout -- OSMOSE Item 4020 */ 91 91 92 *[junction=roundabout][oneway] { 93 throwWarning: tr("4020: On junction=roundabout; Unnecessary oneway tag"); 94 group: "OSMOSE"; 92 way[junction=roundabout][oneway] { 93 throwInfo: tr("Unnecessary oneway tag"); 94 -osmoseItemClassLevel: "4020/101/3"; 95 -osmoseTags: list("highway", "roundabout", "fix:chair"); 96 group: "OSMOSE 4020 - on junction=roundabout"; 95 97 fixRemove: "oneway"; 96 98 } 97 99 98 *[junction=roundabout][ref] { 99 throwWarning: tr("4020: On junction=roundabout; Unnecessary ref tag"); 100 group: "OSMOSE"; 100 way[junction=roundabout][ref][inside("FR,NC")] { 101 throwWarning: tr("Should not contain tag ref=%s"); 102 -osmoseItemClassLevel: "4020/102/2"; 103 -osmoseTags: list("highway", "roundabout", "fix:chair"); 104 group: "OSMOSE 4020 - on junction=roundabout"; 101 105 fixRemove: "ref"; 102 106 } … … 109 113 110 114 /* Oneway -- OSMOSE Item 2030 */ 111 112 /*-------Class 2-------*/113 115 114 116 way[highway] node:connection { … … 136 138 137 139 way[highway][!junction][!oneway][eval(waylength()) < 100] node.junc_node!.excluded { 138 throwWarning: tr("2030/2 Oneway; Missing Oneway - Check highway entering/exiting roundabout"); 140 throwWarning: tr("Missing Oneway"); 141 -osmoseItemClassLevel: "2030/2/2"; 142 -osmoseTags: list("highway", "roundabout", "fix:chair"); 139 143 group: "OSMOSE"; 140 144 } 141 145 142 /* ----- Class 20301 ------ */143 146 way[cycleway=opposite][!oneway], 144 147 way[cycleway=opposite_lane][!oneway] { 145 throwWarning: tr("2030/20301 Oneway; Opposite cycleway without oneway"); 146 group: "OSMOSE"; 148 throwError: tr("Opposite cycleway without oneway"); 149 -osmoseItemClassLevel: "2030/20301/1"; 150 -osmoseTags: list("tag", "highway", "cycleway", "fix:survey"); 151 group: "OSMOSE 2030 - oneway"; 147 152 } 148 153 … … 156 161 /* Highway Roundabout OSMOSE Item 3010 */ 157 162 158 /* Class 1 -- Wrong highway on roundabout */159 163 /*---------- SET CLASSES ---------- */ 160 164 … … 183 187 way[highway=residential][junction=roundabout] node:connection.primary_junc, 184 188 way[highway=living_street][junction=roundabout] node:connection.primary_junc { 185 throwWarning: tr("3010/1: Highway Roundabout; highway tag on roundabout must match highest level of connected routes"); 186 group: "OSMOSE"; 189 throwWarning: tr("Wrong highway on roundabout"); 190 -osmoseItemClassLevel: "3010/1/2"; 191 -osmoseTags: list("highway", "roundabout", "fix:chair"); 192 group: "OSMOSE 3010 - highway roundabout"; 187 193 } 188 194 … … 192 198 way[highway=residential][junction=roundabout] node:connection.secondary_junc, 193 199 way[highway=living_street][junction=roundabout] node:connection.secondary_junc { 194 throwWarning: tr("3010/1: Highway Roundabout; highway tag on roundabout must match highest level of connected routes"); 195 group: "OSMOSE"; 200 throwWarning: tr("Wrong highway on roundabout"); 201 -osmoseItemClassLevel: "3010/1/2"; 202 -osmoseTags: list("highway", "roundabout", "fix:chair"); 203 group: "OSMOSE 3010 - highway roundabout"; 196 204 } 197 205 … … 200 208 way[highway=residential][junction=roundabout] node:connection.tertiary_junc, 201 209 way[highway=living_street][junction=roundabout] node:connection.tertiary_junc { 202 throwWarning: tr("3010/1: Highway Roundabout; highway tag on roundabout must match highest level of connected routes"); 203 group: "OSMOSE"; 204 } 205 206 /* Class 4 -- Roundabout crossing */ 210 throwWarning: tr("Wrong highway on roundabout"); 211 -osmoseItemClassLevel: "3010/1/2"; 212 -osmoseTags: list("highway", "roundabout", "fix:chair"); 213 group: "OSMOSE 3010 - highway roundabout"; 214 } 215 216 /* Roundabout crossing */ 207 217 208 218 way[highway][!junction] >[index=-1] node, … … 217 227 218 228 way[highway][junction=roundabout] node:connection!.crossing!.junc_to_junc!.excluded { 219 throwWarning: tr("3010/4: Highway Roundabout; highway crossing roundabout without stopping"); 220 group: "OSMOSE"; 229 throwWarning: tr("Roundabout crossing"); 230 -osmoseItemClassLevel: "3010/4/2"; 231 -osmoseTags: list("highway", "roundabout", "fix:chair"); 232 group: "OSMOSE 3010 - highway roundabout"; 221 233 } 222 234
