Changeset 17249 in josm for trunk/resources
- Timestamp:
- 2020-10-22T00:52:01+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/geometry.mapcss
r17111 r17249 87 87 } 88 88 89 /* {0} on a node, should be a relation; Error level; see#10252, #10769, #14288 */89 /* {0} on a node, should be a relation; Error level; #10252, #10769, #14288 */ 90 90 node[type=multipolygon], 91 91 node[interval], … … 126 126 } 127 127 128 /* {0} on a way, should be a relation; see#15642, #10252, #14288 */128 /* {0} on a way, should be a relation; #15642, #10252, #14288 */ 129 129 way[restriction][restriction =~ /^(no_right_turn|no_left_turn|no_u_turn|no_straight_on|only_right_turn|only_left_turn|only_straight_on|no_entry|no_exit)$/], 130 130 way[type=multipolygon], … … 134 134 } 135 135 136 /* {0} on a closed way, should be a unclosed way; #19981 */ 137 way:closed[power=line] { 138 throwWarning: tr("{0} on a closed way. Should be used on an unclosed way.", "{1.tag}"); 139 } 140 136 141 /* #14395, #17025, #19506 */ 137 142 way[highway][area!=yes][!tunnel][!covered] > node { … … 159 164 } 160 165 161 /* see ticket:#10125 */166 /* #10125 */ 162 167 node[source:geometry] { 163 168 throwWarning: tr("{0} on a node", "{0.key}"); … … 198 203 } 199 204 200 /* see ticket#9311 */205 /* #9311 */ 201 206 node[amenity=parking]["capacity:disabled" !~ /^(yes|[0-9]+)$/] ∈ area[amenity=parking] { 202 207 throwWarning: tr("{0} inside {1}", "amenity=parking", "amenity=parking"); … … 204 209 } 205 210 206 /* see ticket#9556 */211 /* #9556 */ 207 212 area:closed:areaStyle[tag("natural") = parent_tag("natural")] ⧉ area:closed:areaStyle[natural] { 208 213 throwWarning: tr("Overlapping Identical Natural Areas"); … … 213 218 } 214 219 215 /* see ticket:#9522 */220 /* #9522 */ 216 221 node[tag("amenity") = parent_tag("amenity")] ∈ area[amenity][amenity != parking] { 217 222 throwWarning: tr("{0} inside {1}", concat("amenity=", tag("amenity")), concat("amenity=", tag("amenity"))); … … 235 240 } 236 241 237 /* isolated nodes which should be part of a way , see#10825, #15478 */242 /* isolated nodes which should be part of a way; #10825, #15478 */ 238 243 node:unconnected:in-downloaded-area[entrance], 239 244 node:unconnected:in-downloaded-area[traffic_calming],
Note:
See TracChangeset
for help on using the changeset viewer.