Changeset 10419 in josm for trunk


Ignore:
Timestamp:
2016-06-18T19:53:26+02:00 (9 years ago)
Author:
Klumbumbus
Message:

fix #12973 - fix intermittent-dashes for natural=water and waterway=riverbank multipolygons; see #9182 - adjust negative layer warning messages; remove unnecessary spaces

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/combinations.mapcss

    r10388 r10419  
    368368
    369369/* #9182 */
    370 way[waterway][layer=~/^(-1|-2|-3|-4|-5)$/][!tunnel][culvert!=yes][covered!=yes][pipeline!=yes][location!=underground][eval(waylength()) > 400] {
    371   throwWarning: tr("Long waterway with negative {0} but without a {1} tag. Remove {0} or add a {1} tag if applicable. Also check crossing bridges and their {0} tags.", "{1.key}", "{2.key}");
    372 }
    373 way[waterway][layer=~/^(-1|-2|-3|-4|-5)$/][!tunnel][culvert!=yes][covered!=yes][pipeline!=yes][location!=underground][eval(waylength()) < 400] {
    374   throwOther: tr("Short waterway with negative {0} but without a {1} tag. Remove {0} or add a {1} tag if applicable. Also check crossing bridges and their {0} tags.", "{1.key}", "{2.key}");
    375 }
     370way[waterway][layer][layer=~/^(-1|-2|-3|-4|-5)$/][!tunnel][culvert!=yes][covered!=yes][pipeline!=yes][location!=underground][eval(waylength()) > 400] {
     371  throwWarning: tr("Long waterway with {0} but without a tag which defines it as tunnel or underground. Remove {1} or add a tunnel tag if applicable. Also check crossing bridges and their {1} tags.", "{1.tag}", "{1.key}");
     372}
     373way[waterway][layer][layer=~/^(-1|-2|-3|-4|-5)$/][!tunnel][culvert!=yes][covered!=yes][pipeline!=yes][location!=underground][eval(waylength()) <= 400] {
     374  throwOther: tr("Short waterway with {0} but without a tag which defines it as tunnel or underground. Remove {1} or add a tunnel tag if applicable. Also check crossing bridges and their {1} tags.", "{1.tag}", "{1.key}");
     375}
  • trunk/styles/standard/elemstyles.mapcss

    r10351 r10419  
    17131713}
    17141714node[leisure=firepit] {
    1715     icon-image: "leisure/firepit.svg"; 
     1715    icon-image: "leisure/firepit.svg";
    17161716    set icon_z17;
    17171717}
     
    24742474}
    24752475node[amenity=shower] {
    2476     icon-image: "service/shower.svg"; 
     2476    icon-image: "service/shower.svg";
    24772477    set icon_z17;
    24782478}
     
    40614061    fill-color: water#0000ff;
    40624062}
    4063 way[natural=water][intermittent=yes] {
     4063area[natural=water][intermittent=yes] {
    40644064    width: 2;
    40654065    dashes: 15, 5;
     
    40704070    right-casing-color: water#0000ff;
    40714071    right-casing-width: 5;
    4072     right-casing-opacity: 0.30; 
     4072    right-casing-opacity: 0.30;
    40734073}
    40744074area[natural=mud] {
     
    41764176}
    41774177way[waterway=river][intermittent=yes],
    4178 way[waterway=riverbank][intermittent=yes],
     4178area[waterway=riverbank][intermittent=yes],
    41794179way[waterway=canal][intermittent=yes],
    41804180way[waterway=stream][intermittent=yes],
Note: See TracChangeset for help on using the changeset viewer.