Changes between Initial Version and Version 1 of Styles/Schools


Ignore:
Timestamp:
2016-01-22T14:57:41+01:00 (10 years ago)
Author:
Polyglot
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Styles/Schools

    v1 v1  
     1{{{
     2#!style type="mapcss"
     3
     4meta
     5{
     6    title: "Schools";
     7    description: "Highlight important information for importing schools and validation";
     8    version: "1.0_2016-01-22";
     9    author: "Polyglot";
     10    link: "http://josm.openstreetmap.de/wiki/Styles/SchoolsImport";
     11    min-josm-version: "5924";
     12}
     13
     14node|z12-[amenity]::name,
     15area|z12-[amenity]::name
     16 {text-color: purple;
     17  font-size: 24;
     18  text: tag(name);
     19  text-halo-radius: 2;
     20  text-offset-y: 20;}
     21
     22node|z12-[amenity]::wikidata,
     23area|z12-[amenity]::wikidata
     24 {text-color: blue;
     25  font-size: 18;
     26  text: tag(wikidata);
     27  text-halo-radius: 2;
     28  text-offset-y: 50;}
     29
     30node|z12-[amenity]::wikipedia
     31 {text-color: blue;
     32  font-size: 18;
     33  text: tag(wikipedia);
     34  text-halo-radius: 2;
     35  text-offset-y: 70;}
     36
     37node|z12-[amenity]::note_code
     38 {text-color: cyan;
     39  font-size: 20;
     40  text: concat(tag("note:code"));
     41  text-halo-radius: 2;
     42  text-offset-x: -5;
     43  text-offset-y: -40;
     44  z-index:1.0;}
     45
     46node|z17-[amenity]::note_remarks
     47 {text-color: black;
     48  font-size: 19;
     49  text: tag("note:remarks");
     50  text-halo-radius: -5;
     51  text-offset-y: -80;
     52  z-index:4.0;}
     53
     54  node|z12-[amenity]::fixme
     55 {text-color: pink;
     56  font-size: 30;
     57  text:  tag("fixme");
     58  text-halo-radius: 2;
     59  text-offset-x: -5;
     60  text-offset-y: -20;
     61  z-index:2.0;}
     62
     63node|z18-[amenity]::district
     64  {text-color: red;
     65  font-size: 12;
     66  text: tag("addr:district");
     67  text-halo-radius: 2;
     68  text-offset-x: -100;
     69  text-offset-y: 100;
     70  z-index:3.0;}
     71
     72node|z18-[amenity]::county
     73  {text-color: red;
     74  font-size: 12;
     75  text: tag("addr:county");
     76  text-halo-radius: 2;
     77  text-offset-x: -100;
     78  text-offset-y: 80;
     79  z-index:3.0;}
     80 
     81node|z18-[amenity]::subcounty
     82  {text-color: red;
     83  font-size: 12;
     84  text: tag("addr:subcounty");
     85  text-halo-radius: 2;
     86  text-offset-x: -100;
     87  text-offset-y: 60;
     88  z-index:3.0;}
     89 
     90node|z18-[amenity]::city
     91  {text-color: red;
     92  font-size: 12;
     93  text: concat(tag("addr:postcode"),"  ",tag("addr:city"));
     94  text-halo-radius: 2;
     95  text-offset-x: -100;
     96  text-offset-y: 40;
     97  z-index:3.0;}
     98 
     99node|z18-[amenity]::parishORstreet
     100  {text-color: red;
     101  font-size: 12;
     102  text: concat(tag("addr:parish"),"  ",tag("addr:street"),"  ",tag("addr:housenumber"));
     103  text-halo-radius: 2;
     104  text-offset-x: -100;
     105  text-offset-y: 20;
     106  z-index:3.0;}
     107 
     108node|z18-[amenity]::isced_level
     109  {text-color: cyan;
     110  font-size: 18;
     111  text: cond(has_tag_key("isced:level"), tag("isced:level"), "isced:level is missing");
     112  text-halo-radius: 2;
     113  text-offset-x: -200;
     114  text-offset-y: -20;
     115  z-index:3.0;}
     116 
     117
     118
     119}}}