wiki:Styles/SerbianStreetNamesAndRefsColouring
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 and thin:    
          - 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:ulica is not set

        Green
          - Streets that have both name and ref:RS:ulica set.

            
*/

way[!highway] {
  color : Black;
  background-color: Black;
  width:0.5;
}

way[highway] {
  color : Black;
  background-color: Black;
  width:0.5;
}

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

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

way[highway][name][ref:RS:ulica] {
  color : Green;
  width:6;
}

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

way[highway=footway][!name],
way[highway=path][!name],
way[highway=track][!name],
way[highway=steps][!name],
way[highway=service][!name],
way[highway=proposed][!name] {
  background-color: Black;
  color : DarkGray;
  width:1;
  
}


Styles_SerbianStreetNamesAndRefsColouring-style.mapcss, Styles_SerbianStreetNamesAndRefsColouring.zip

Last modified 3 years ago Last modified on 2021-08-06T17:27:30+02:00
Note: See TracWiki for help on using the wiki.