wiki:Styles/NumberedWalkingNodeNetworks

Version 1 (modified by Polyglot, 12 years ago) ( diff )

Marc expanded my initial attempt a lot


meta 
{
    title: "Numbered Walking Node Networks";
    description: "Highlight numbered nodes and the routes in between them";
    version: "1.5_2020-05-14";
    author: "Marc Gemis";
    link: "http://josm.openstreetmap.de/wiki/Styles/NumberedWalkingNodeNetworks";
    min-josm-version: "5198";
}

meta[lang=nl]
{
    title: "Wandelknooppuntennetwerken";
    description: "Doet wandelknooppunten en de routes ertussen duidelijker tot hun recht komen.";
}


node[rwn_ref] 
  {text-color: orange; 
   font-size: 12; 
   text: rwn_ref; 
   text-halo: #ffffaa; 
   text-halo-radius: 2; 
   text-position: left;}

relation[type=route][route=foot][network=rwn] > way::relation_underlay
 {z-index: -1;
  width: 12;
  color: orange;
  opacity: 0.3;
  linecap: none;
  text-color: red;
  font-size: 12;
  text: parent_tag(note);
  text-position: line;
  text-offset-y: 16} 
  
relation[type=route][route=hiking][network=rwn] > way::relation_underlay
 {z-index: -1;
  width: 12;
  color: orange;
  opacity: 0.3;
  linecap: none;
  text-color: red;
  font-size: 12;
  text: parent_tag(note);
  text-position: line;
  text-offset-y: 16} 

relation[type=network][network=rwn] > node
 {text-color: red;
  font-size: 17;
  text: rwn_ref;
  text-halo: #aaffcc;
  text-halo-radius: 2;
  text-position: right;}

relation[type=network][network=rwn][name="Wandelnetwerk Land van Mortagne"] > node
 {text-color: green;
  font-size: 17;
  text: rwn_ref;
  text-halo: #aaffcc;
  text-halo-radius: 2;
  text-position: right;}

relation[type=network][network=rwn][name="Wandelnetwerk Bulskampveld"] > node
 {text-color: orange;
  font-size: 17;
  text: rwn_ref;
  text-halo: #aaffcc;
  text-halo-radius: 2;
  text-position: right;}

relation[type=network][network=rwn][name="Wandelnetwerk De Merode"] > node
 {text-color: blue;
  font-size: 17;
  text: rwn_ref;
  text-halo: #aaffcc;
  text-halo-radius: 2;
  text-position: right;}

relation[type=network][network=rwn][name="Wandelnetwerk Westkust"] > node
 {text-color: blue;
  font-size: 17;
  text: rwn_ref;
  text-halo: #aaffcc;
  text-halo-radius: 2;
  text-position: right;}

relation[type=network][network=rwn][name="Wandelnetwerk Rivierenland"] > node
 {text-color: black;
  font-size: 17;
  text: rwn_ref;
  text-halo: #aaffcc;
  text-halo-radius: 2;
  text-position: right;}

relation[type=network][network=rwn][name="Wandelnetwerk Scheldeland"] > node
 {text-color: yellow;
  font-size: 17;
  text: rwn_ref;
  text-halo: #aaffcc;
  text-halo-radius: 2;
  text-position: right;}

relation[type=network][network=rwn][name="Wandelnetwerk Antwerpse Kempen"] > node
 {text-color: black;
  font-size: 17;
  text: rwn_ref;
  text-halo: #aaffcc;
  text-halo-radius: 2;
  text-position: right;}

relation[type=network][network=rwn][name="Wandelnetwerk Antwerpse Kempen - Kempense Kolonie"] > node
 {text-color: black;
  font-size: 17;
  text: rwn_ref;
  text-halo: #aaffcc;
  text-halo-radius: 2;
  text-position: right;}

relation[type=network][network=rwn][name="Wandelnetwerk Antwerpse Kempen - Kempense Hoven"] > node
 {text-color: black;
  font-size: 17;
  text: rwn_ref;
  text-halo: #aaffcc;
  text-halo-radius: 2;
  text-position: right;}

relation[type=network][network=rwn][name="Wandelnetwerk Antwerpse Kempen - Kempense Netevallei"] > node
 {text-color: black;
  font-size: 17;
  text: rwn_ref;
  text-halo: #aaffcc;
  text-halo-radius: 2;
  text-position: right;}

relation[type=network][network=rwn][name="Wandelnetwerk Antwerpse Kempen - Kempense Heuvelrug"] > node
 {text-color: blue;
  font-size: 17;
  text: rwn_ref;
  text-halo: #aaffcc;
  text-halo-radius: 2;
  text-position: right;}

relation[type=network][network=rwn][name="Wandelnetwerk Antwerpse Kempen - Kempense Heide"] > node
 {text-color: red;
  font-size: 17;
  text: rwn_ref;
  text-halo: #aaffcc;
  text-halo-radius: 2;
  text-position: right;}

relation[type=network][network=rwn][name="Wandelnetwerk Antwerpse Kempen - Kempense Landduinen"] > node
 {text-color: green;
  font-size: 17;
  text: rwn_ref;
  text-halo: #aaffcc;
  text-halo-radius: 2;
  text-position: right;}
  
relation[type=network][network=rwn][name="Wandelnetwerk Antwerpse Kempen - Kempens Landgoed"] > node
 {text-color: blue;
  font-size: 17;
  text: rwn_ref;
  text-halo: #aaffcc;
  text-halo-radius: 2;
  text-position: right;}

relation[type=network][network=rwn][name="Wandelnetwerk Zuid-Dijleland"] > node
 {text-color: cyan;
  font-size: 17;
  text: rwn_ref;
  text-halo: #aaffcc;
  text-halo-radius: 2;
  text-position: right;}


relation[type=network][network=rwn][name="Wandelnetwerk Pajottenland"] > node
 {text-color: yellow;
  font-size: 17;
  text: rwn_ref;
  text-halo: #aaffcc;
  text-halo-radius: 2;
  text-position: right;}

relation[type=network][network=rwn][name="Wandelnetwerk Vlaamse Ardennen"] > node
 {text-color: blue;
  font-size: 17;
  text: rwn_ref;
  text-halo: #aaffcc;
  text-halo-radius: 2;
  text-position: right;}

Styles_NumberedWalkingNodeNetworks-style.mapcss, Styles_NumberedWalkingNodeNetworks.zip

Note: See TracWiki for help on using the wiki.