Ticket #5953: 5953_v2.patch

File 5953_v2.patch, 1.4 KB (added by simon04, 10 years ago)
  • styles/standard/elemstyles.xml

     
    13551355        <rule>
    13561356                <condition k="man_made" v="groyne"/>
    13571357                <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 -->
    13591360        </rule>
    13601361
    13611362        <rule>
     
    14891490        <rule>
    14901491                <condition k="leisure" v="track"/>
    14911492                <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 -->
    14931495        </rule>
    14941496
    14951497        <rule>
  • src/org/openstreetmap/josm/data/validation/tests/UnclosedWays.java

     
    9292            set(1106, marktr("shop type {0}"), test);
    9393        }
    9494        test = w.get("leisure");
    95         if (test != null) {
     95        if (test != null && !"track".contains(test)) {
    9696            set(1107, marktr("leisure type {0}"), test);
    9797        }
    9898        test = w.get("waterway");