wiki:Styles/Schools

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

--

meta 
{
    title: "Schools";
    description: "Highlight important information for importing schools and validation";
    version: "1.0_2016-01-22";
    author: "Polyglot";
    link: "http://josm.openstreetmap.de/wiki/Styles/SchoolsImport";
    min-josm-version: "5924";
}

node|z12-[amenity]::name,
area|z12-[amenity]::name
 {text-color: purple;
  font-size: 24;
  text: tag(name);
  text-halo-radius: 2;
  text-offset-y: 20;}

node|z12-[amenity]::wikidata,
area|z12-[amenity]::wikidata
 {text-color: blue;
  font-size: 18;
  text: tag(wikidata);
  text-halo-radius: 2;
  text-offset-y: 50;}

node|z12-[amenity]::wikipedia
 {text-color: blue;
  font-size: 18;
  text: tag(wikipedia);
  text-halo-radius: 2;
  text-offset-y: 70;}

node|z12-[amenity]::note_code
 {text-color: cyan;
  font-size: 20;
  text: concat(tag("note:code"));
  text-halo-radius: 2;
  text-offset-x: -5;
  text-offset-y: -40;
  z-index:1.0;}

node|z17-[amenity]::note_remarks
 {text-color: black;
  font-size: 19;
  text: tag("note:remarks");
  text-halo-radius: -5;
  text-offset-y: -80;
  z-index:4.0;}

  node|z12-[amenity]::fixme
 {text-color: pink;
  font-size: 30;
  text:  tag("fixme");
  text-halo-radius: 2;
  text-offset-x: -5;
  text-offset-y: -20;
  z-index:2.0;}

node|z18-[amenity]::district
  {text-color: red;
  font-size: 12;
  text: tag("addr:district");
  text-halo-radius: 2;
  text-offset-x: -100;
  text-offset-y: 100;
  z-index:3.0;}

node|z18-[amenity]::county
  {text-color: red;
  font-size: 12;
  text: tag("addr:county");
  text-halo-radius: 2;
  text-offset-x: -100;
  text-offset-y: 80;
  z-index:3.0;}
  
node|z18-[amenity]::subcounty
  {text-color: red;
  font-size: 12;
  text: tag("addr:subcounty");
  text-halo-radius: 2;
  text-offset-x: -100;
  text-offset-y: 60;
  z-index:3.0;}
  
node|z18-[amenity]::city
  {text-color: red;
  font-size: 12;
  text: concat(tag("addr:postcode"),"  ",tag("addr:city"));
  text-halo-radius: 2;
  text-offset-x: -100;
  text-offset-y: 40;
  z-index:3.0;}
  
node|z18-[amenity]::parishORstreet
  {text-color: red;
  font-size: 12;
  text: concat(tag("addr:parish"),"  ",tag("addr:street"),"  ",tag("addr:housenumber"));
  text-halo-radius: 2;
  text-offset-x: -100;
  text-offset-y: 20;
  z-index:3.0;}
  
node|z18-[amenity]::isced_level
  {text-color: cyan;
  font-size: 18;
  text: cond(has_tag_key("isced:level"), tag("isced:level"), "isced:level is missing");
  text-halo-radius: 2;
  text-offset-x: -200;
  text-offset-y: -20;
  z-index:3.0;}
  


Styles_Schools-style.mapcss, Styles_Schools.zip

Note: See TracWiki for help on using the wiki.