Ticket #5953: 5953_v2.patch
File 5953_v2.patch, 1.4 KB (added by , 14 years ago) |
---|
-
styles/standard/elemstyles.xml
1355 1355 <rule> 1356 1356 <condition k="man_made" v="groyne"/> 1357 1357 <icon annotate="true" src="nautical/groyne.png"/> 1358 <area colour="manmade#d8d8d8"/> 1358 <line width="2" colour="manmade#d8d8d8"/> 1359 <!-- it's not possible to have both line and area --> 1359 1360 </rule> 1360 1361 1361 1362 <rule> … … 1489 1490 <rule> 1490 1491 <condition k="leisure" v="track"/> 1491 1492 <icon annotate="true" src="sport/track.png"/> 1492 <area colour="leisure#c7f1a3"/> 1493 <line width="2" colour="leisure#c7f1a3"/> 1494 <!-- it's not possible to have both line and area --> 1493 1495 </rule> 1494 1496 1495 1497 <rule> -
src/org/openstreetmap/josm/data/validation/tests/UnclosedWays.java
92 92 set(1106, marktr("shop type {0}"), test); 93 93 } 94 94 test = w.get("leisure"); 95 if (test != null ) {95 if (test != null && !"track".contains(test)) { 96 96 set(1107, marktr("leisure type {0}"), test); 97 97 } 98 98 test = w.get("waterway");