Changeset 15016 in josm for trunk/data/validator
- Timestamp:
- 2019-04-22T19:12:49+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/geometry.mapcss
r14861 r15016 132 132 } 133 133 134 /* #14395 */ 135 way >[index=1] node, 136 way >[index=-1] node { 137 set first_last_node; 138 } 134 /* #14395, #17025 */ 139 135 way[highway][area!=yes][!tunnel][!covered] > node { 140 136 set node_in_highway; 141 137 } 142 way[building][building!=no] > node.node_in_highway!.first_last_node { 138 way[highway][area!=yes][!tunnel][!covered]:closed > node { 139 set node_in_closed_highway; 140 } 141 way[highway][area!=yes][!tunnel][!covered] >[index=1] node, 142 way[highway][area!=yes][!tunnel][!covered] >[index=-1] node { 143 set first_last_highway_node; 144 } 145 way[building][building!=no] > node.node_in_closed_highway, 146 way[building][building!=no] > node.node_in_highway!.first_last_highway_node { 143 147 throwWarning: tr("node connects highway and building"); 144 148 } … … 281 285 throwOther: tr("{0} node connected to a highway", "{1.tag}"); 282 286 } 287 way >[index=1] node, 288 way >[index=-1] node { 289 set first_last_node; 290 } 283 291 way[highway] > node[amenity][!entrance][amenity!~/^(parking|parking_space|parking_entrance|motorcycle_parking|bicycle_parking|bus_station|car_wash|ferry_terminal|weighbridge|taxi|toilets)$/], 284 292 way[highway] > node[building][!entrance],
Note:
See TracChangeset
for help on using the changeset viewer.