wiki:Styles/SerbianStreetNamesAndRefsColouring

Version 2 (modified by Pedja, 4 years ago) ( diff )

--

meta 
{
    title: "Serbian Street Names and Refs Colouring";
    icon: "error_small.png";
    shortdescription: "Colouring helping editing names and refs on streets in Serbia";
    description: "This MapCSS style colors ways according to tags name and ref:RS:street, Style is supposed to be used combined with other styles (Tested in JOSM)";
    version: "0.11_2021-08-06";
    author: "Pedja";
    min-josm-version: 7110;
}

/*
        This helps visualy track editing status of streets by colouring them:

        Gray:    
          - Everything that is not important for editing street names and refs
          - Ways that have no name but also have noname tag set

        Orange:
          - Streets that have no name set, but should

        OrangeRed:
          - Streets that have name set but ref:RS:street is not set

        Green
          - Streets that have both name and ref set.

            
*/

way[!highway] {
        color : Gray;
        width:0.5;
}

way[highway] {
        color : Gray;
        width:5;
}


way[highway][!name][noname] {
        color : Gray;
}



way[highway][!name][!noname] {
        color : Orange;
}


way[highway][name] {
        color : OrangeRed;
}

way[highway][name][ref:RS:street] {
        color : Green;
        width:5;
}


Styles_SerbianStreetNamesAndRefsColouring-style.mapcss, Styles_SerbianStreetNamesAndRefsColouring.zip

Note: See TracWiki for help on using the wiki.