wiki:Styles/SerbianStreetNamesAndRefsColouring

Version 7 (modified by skyper, 4 years ago) ( diff )

fix meta

meta 
{
    title: "Serbian Street Names and Refs Colouring";
    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";
    link: "https://josm.openstreetmap.de/wiki/Styles/SerbianStreetNamesAndRefsColouring";
}

/*
        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 set but do have noname tag set, meaning there is no name for the way

        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:RS:street 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:ulica] {
        color : Green;
        width:5;
}


Styles_SerbianStreetNamesAndRefsColouring-style.mapcss, Styles_SerbianStreetNamesAndRefsColouring.zip

Note: See TracWiki for help on using the wiki.