Changes between Version 4 and Version 5 of Styles/PublicTransport


Ignore:
Timestamp:
2017-08-05T11:56:10+02:00 (8 years ago)
Author:
Polyglot
Comment:

ref non namespaced should also be shown

Legend:

Unmodified
Added
Removed
Modified
  • Styles/PublicTransport

    v4 v5  
    66    title: "Public Transport";
    77    description: "Highlight important information regarding Public Transport";
    8     version: "1.[[revision]]_[[date]]";
     8    version: "1.4_2017-08-05";
    99    author: "Polyglot";
    1010    link: "http://josm.openstreetmap.de/wiki/Styles/PublicTransport";
     
    1717    description: "Zet interessante info van bus- en tramlijnen en -haltes in de kijker";
    1818}
    19 
    20 /*
    21 relation[type=route][route=bus] > way::relation_underlay
    22  {z-index: -1;
    23   width: 16;
    24   color: teal;
    25   opacity: 0.4;
    26   linecap: none;
    27   text-color: red;
    28   font-size: 32;
    29   text: parent_tag(ref);
    30   text-position: line;
    31   text-offset-y: 32;}
    32 */
    3319
    3420relation[type=route][route=tram] > way::relation_underlay
     
    3925  linecap: none;
    4026  text-color: red;
    41   font-size: 32;
     27  font-size: 18;
    4228  text: parent_tag(ref);
    4329  text-position: line;
    44   text-offset-y: 32;}
     30  text-offset-y: 16;}
    4531 
    4632relation[type=route][route=bus] > way::relation_underlay
     
    5137  linecap: none;
    5238  text-color: red;
    53   font-size: 32;
     39  font-size: 18;
    5440  text: parent_tag(ref);
    5541  text-position: line;
    56   text-offset-y: 32;}
    57  
    58 node|z18-[highway=bus_stop]::zone,
    59 node|z18-[railway=tram_stop]::zone,
    60 node|z18-[public_transport=platform]::zone
     42  text-offset-y: 16;}
     43 
     44node|z15-[highway=bus_stop]::zone,
     45node|z15-[railway=tram_stop]::zone,
     46node|z15-[public_transport=platform]::zone
    6147 {text-color: pink;
    6248  font-size: 20;
     
    7258 {text-color: eval(rgb(abs(cos(concat(tag("zone:De_Lijn"),tag("zone:TEC"))*18)), abs(sin(concat(tag("zone:De_Lijn"),tag("zone:TEC"))*72)), abs(cos(concat(tag("zone:De_Lijn"),tag("zone:TEC"))*24))));
    7359  font-size: 40;
    74   text:  concat(tag("zone:De_Lijn"),tag("zone:TEC"));
     60  text: concat(tag("zone:De_Lijn"),tag("zone:TEC"));
    7561  text-halo-radius: 2;
    7662  text-offset-x: -85;
     
    7864  z-index:2.0;}
    7965
    80 node|z20-[public_transport=platform][network*=";"]::network
     66node|z18-[public_transport=platform][network*=";"]::network
    8167 {text-color: cyan;
    8268  font-size: 16;
    83   text:  tag("network");
     69  text: tag("network");
    8470  text-halo-radius: 2;
    8571  text-offset-x: -5;
    86   text-offset-y: 70;
     72  text-offset-y: 5;
    8773  z-index:2.0;}
    8874
    89 node|z20-[highway=bus_stop]::name,
    90 node|z20-[railway=tram_stop]::name,
    91 node|z20-[public_transport=platform]::name
     75node|z18-[highway=bus_stop]::name,
     76node|z18-[railway=tram_stop]::name,
     77node|z18-[public_transport=platform]::name
    9278 {text-color: purple;
    9379  font-size: 24;
    9480  text: tag(name);
    9581  text-halo-radius: 2;
    96   text-offset-x: 10;
    97   text-offset-y: 6;}
    98 
    99 node|z16-["ref:De_Lijn"]::ref
     82  text-offset-y: 15;}
     83
     84node|z14-["ref"]::ref
    10085  {text-color: blue;
    10186  font-size: 17;
     87  text: tag(ref);
     88  text-halo-radius: 2;
     89  text-offset-x: -60;
     90  text-offset-y: -20;
     91  z-index:3.0;}
     92
     93node|z14-["ref:De_Lijn"]::refDL
     94  {text-color: blue;
     95  font-size: 17;
    10296  text: tag("ref:De_Lijn");
    10397  text-halo-radius: 2;
    104   text-offset-x: -80;
    105   text-offset-y: -20;
    106   z-index:3.0;}
    107 
    108 node|z16-["ref:TECB"]::refb
     98  text-offset-x: -60;
     99  text-offset-y: -20;
     100  z-index:3.0;}
     101
     102node|z14-["ref:TECB"]::refb
    109103  {text-color: red;
    110104  font-size: 17;
    111   text:  tag("ref:TECB");
     105  text: tag("ref:TECB");
    112106  text-halo-radius: 2;
    113107  text-offset-x: -80;
     
    115109  z-index:3.0;}
    116110 
    117  node|z16-["ref:TECH"]::refh
     111 node|z14-["ref:TECH"]::refh
    118112  {text-color: orange;
    119113  font-size: 17;
    120   text:  tag("ref:TECH");
     114  text: tag("ref:TECH");
     115  text-halo-radius: 2;
     116  text-offset-x: -80;
     117  text-offset-y: -20;
     118  z-index:3.0;}
     119 
     120 node|z14-["ref:TECC"]::refc
     121  {text-color: cyan;
     122  font-size: 17;
     123  text: tag("ref:TECC");
    121124  text-halo-radius: 2;
    122125  text-offset-x: -80;
     
    124127  z-index:3.0;}
    125128 
    126  node|z16-["ref:TECC"]::refc
    127   {text-color: cyan;
    128   font-size: 17;
    129   text:  tag("ref:TECC");
    130   text-halo-radius: 2;
    131   text-offset-x: -80;
    132   text-offset-y: -20;
    133   z-index:3.0;}
    134  
    135  node|z16-["ref:TECN"]::refn
     129 node|z14-["ref:TECN"]::refn
    136130  {text-color: white;
    137131  font-size: 17;
    138   text:  tag("ref:TECN");
     132  text: tag("ref:TECN");
    139133  text-halo-radius: 2;
    140134  text-offset-x: -80;
     
    142136  z-index:3.0;}
    143137 
    144  node|z16-["ref:TECL"]::refl
     138 node|z14-["ref:TECL"]::refl
    145139  {text-color: black;
    146140  font-size: 17;
    147   text:  tag("ref:TECL");
     141  text: tag("ref:TECL");
     142  text-halo-radius: 2;
     143  text-offset-x: -80;
     144  text-offset-y: -20;
     145  z-index:3.0;}
     146 
     147 node|z14-["ref:TECX"]::refx
     148  {text-color: yellow;
     149  font-size: 17;
     150  text: tag("ref:TECX");
    148151  text-halo-radius: 2;
    149152  text-offset-x: -80;
    150153  text-offset-y: -60;
    151   z-index:3.0;}
    152  
    153  node|z16-["ref:TECX"]::refx
    154   {text-color: yellow;
    155   font-size: 17;
    156   text:  tag("ref:TECX");
    157   text-halo-radius: 2;
    158   text-offset-x: -80;
    159   text-offset-y: -20;
    160154  z-index:3.0;}
    161155
     
    214208
    215209
     210
    216211}}}