Changes between Version 60 and Version 61 of Styles/Coloured_Streets


Ignore:
Timestamp:
2014-07-04T15:10:06+02:00 (12 years ago)
Author:
Klumbumbus
Comment:

update to 3.25.xx code and wikitext

Legend:

Unmodified
Added
Removed
Modified
  • Styles/Coloured_Streets

    v60 v61  
    5353=== Changelog ===
    5454^(Latest change first)^
     55==== Version 3.24.xx to 3.25.xx ====
     56* barrier=* is now displayed thiner to avoid confusion with coloured streets
    5557==== Version 3.23.xx to 3.24.xx ====
    5658* More fixes due to changes in JOSM version [7200].
     
    161163{
    162164        title: "Coloured Streets";
    163         version: "3.24.[[revision]]_[[date]]";
     165        version: "3.25.[[revision]]_[[date]]";
    164166        description: "Colouring of buildings, address nodes and streets with the same street name in the same colour. Makes working with addresses a lot easier. Check out the linked page to read how to change some settings of this mappaint style. Min. JOSM version is 7287.";
    165167        icon: "http://upload.wikimedia.org/wikipedia/commons/3/3a/ColouredStreetsIcon.png";
     
    186188{
    187189        show_bicycle: JOSM_pref(coloured_streets_setting_show_cycleway_dashes, false);
    188         /* Default is false, that means the coloured dashes of streets with cycleway=* and named cycle-/footways are hidden. This is because the coloured dashes can confuse you in Coloured Streets.*/
     190        /* Default is false, that means the coloured dashes of streets with cycleway=* and named cycle-/footways are hidden.
     191        This is because the coloured dashes can confuse you in Coloured Streets.*/
    189192        allow_postcode: JOSM_pref(coloured_streets_setting_allow_postcode, false);
    190193        /* Default is false, that means a warning is displayed, if you put postcode=* on streets. */
     
    193196}
    194197
    195 /* create crc32checksums. They are use later in the stylesheet to determine the colour. Due to the division by 429496.7296 crc is always a number between 0 and 10000. */
     198/* create crc32checksums. They are use later in the stylesheet to determine the colour.
     199Due to the division by 429496.7296 crc is always a number between 0 and 10000. */
    196200        /* streets and pedestrian areas */
    197201way[highway][name][highway!="platform"][prop(support_prefix_and_suffix)=false],
     
    264268/* ------------------------------------------------------------------------------------------------------------------------ */
    265269
    266 /* General display rules for nodes and areas on lower and higher zoom levels for better view. This section is inspired by the mappaint style "Less obtrusive nodes". */
     270/* General display rules for nodes and areas on lower and higher zoom levels for better view.
     271This section is inspired by the mappaint style "Less obtrusive nodes". */
    267272        /* smaller nodes on low zoom levels and hiding text and icons */
    268273canvas
     
    319324/* ------------------------------------------------------------------------------------------------------------------------ */
    320325
    321 /* tone down landuse fill-color */
     326/* Changes to the JOSM internal mappaint style to fit better together with Coloured Streets */
     327        /* tone down landuse fill-color */
    322328area[landuse]
    323329{
     
    325331}
    326332
    327 /* disable place fill-color */
     333        /* disable place fill-color */
    328334area[place]
    329335{
     
    331337}
    332338
    333 /* tone down garages and other "minor" buildings, as they usually do not have addr:*=* tags. */
     339        /* tone down garages and other "minor" buildings, as they usually do not have addr:*=* tags. */
    334340area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=barn],
    335341area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=bunker],
     
    351357}
    352358
    353 /* deactivate the paint style of piste:difficulty from the default josm
    354 style elemstyle.mapcss, because it is distracting in Coloured Streets */
     359        /* deactivate the paint style of piste:difficulty from the default josm
     360        style elemstyle.mapcss, because it is distracting in Coloured Streets */
    355361way["piste:difficulty"]::core_piste
    356362{
     
    363369}
    364370
    365 /* option to deactivate the paint style of cycleways (lane and track) from the default
    366 josm style elemstyle.mapcss, because it can be distracting in Coloured Streets */
     371        /* option to deactivate the paint style of cycleways (lane and track) from the default
     372        josm style elemstyle.mapcss, because it can be distracting in Coloured Streets */
    367373way.lR[prop(show_bicycle, default)=false]::core_cycleway,
    368374way.tR[prop(show_bicycle, default)=false]::core_cycleway,
     
    372378}
    373379
    374 /* (grouping the previous and the following block doesn't work correctly, see http://josm.openstreetmap.de/ticket/10106 )*/
     380                /* (grouping the previous and the following block doesn't work correctly, see http://josm.openstreetmap.de/ticket/10106 )*/
    375381way[prop("tL","core_cycleway")][prop(show_bicycle, default)=false]::core_cycleway2,
    376382way[prop("lL","core_cycleway")][prop(show_bicycle, default)=false]::core_cycleway2
     
    389395{
    390396        dashes: none;
     397}
     398
     399        /* make barrier lines thiner, because they can be distracting in Coloured Streets */
     400way[barrier=hedge],
     401way[barrier=fence],
     402way[barrier=wall],
     403way[barrier=guard_rail],
     404way[barrier=city_wall],
     405way[barrier=retaining_wall],
     406way[barrier=block],
     407way[barrier=bollard]
     408{
     409        width: 1.5;
    391410}
    392411
     
    534553        text: eval(tag("name"));
    535554        text-halo-radius: 2;
    536         /* fill-color is needed to set it as "area style" to display the names for pedestrian multipolygons correctly. fill-color is set later in the different colors. */
     555        /* fill-color is needed to set it as "area style" to display the names for pedestrian multipolygons correctly.
     556        fill-color is set later in the different colors. */
    537557        fill-opacity: 0.2;
    538558}
     
    542562        text: ;
    543563        text-halo-radius: 2;
    544         /* fill-color is needed to set it as "area style" to display the names for pedestrian multipolygons correctly. fill-color is set later in the different colors. */
     564        /* fill-color is needed to set it as "area style" to display the names for pedestrian multipolygons correctly.
     565        fill-color is set later in the different colors. */
    545566        fill-opacity: 0.2;
    546567}