Maps/Transport for London/tube lines with colours

From Bjoern Hassler's website
Jump to: navigation, search
Overpass-turbo (run)
Overpass-turbo (run)
Overpass-turbo (view)
// Tube lines with colors
[out:json][timeout:25];
{{sel=["network"="London Underground"]["type"~"route"]}}
(
  relation{{sel}};
)->.a;
(.a;);
(.a; >>;) -> .b;
(relation.b;);
out geom qt;
// http://oobrien.com/2012/01/tube-colours/?change
{{style:
node {
  symbol-fill-opacity: 0;
  symbol-stroke-color: black;
  symbol-size: 5;
}
relation[line=Bakerloo] {
    color: #B36305;
  }
relation[line=Central] {
    color: #E32017;
  }
relation[line=District] {
    color: #00782A;
	width: 16;
  }
relation[line=Circle] {
    color: #FFD300;
  }
relation[line=Hammersmith & City] {
    color: #F3A9BB;
    width: 12;
  }
relation[ref=Jubilee] {
    color: #A0A5A9;
   	width: 20;
  }
relation[line=Metropolitan] {
    color: #9B0056;
  	width: 15;
  }
relation[line=Northern] {
    color: #000000;
  }
relation[line=Piccadilly] {
    color: #003688;
  }
relation[ref=Victoria] relation {
    color: #0098D4;
  }
relation[line=Waterloo & City] {
    color: #95CDBA;
      width: 12;

  }
}}

Transport for London-tube lines with colours-01.png Transport for London-tube lines with colours-02.png