This style supports the public transport tags public_transport=stop_position, public_transport=platform and public_transport=stop_area.
meta { title: "PTStops"; description: "Highlight important information regarding Public Transportation according to public transport version 2"; version: "1.0.4_2016-01-19"; author: "FiliusMartii"; link: "https://josm.openstreetmap.de/wiki/Styles/PTStops"; } meta[lang=de] { title: "Stop positions"; description: "Map-Paint-Stil zum Hervorheben des Tags public_transport nach Public Transport Version 2"; } way|z16-[public_transport=platform], node|z16-[public_transport=platform] { text-color: white; text-opacity: 1.0; font-size: 12; text-halo-radius: 3; text-halo-color: #000000; text-halo-opacity: 0.8; font-weight: bold; } way|z16-[public_transport=platform]!:closed{ width: 10; dashes: none; color: #ffffff; opacity: 1.0; text-position: line } way|z16-[public_transport=platform]:closed, relation|z16-[type=multipolygon][public_transport=platform]{ width: 3; color: #ffffff; fill-color: #ffffff; fill-opacity: 0.3; text-position: center; font-weight: bold } way|z16-[public_transport=platform][coach=yes], relation|z16-[type=multipolygon][public_transport=platform][coach=yes]{ color: #ff7f00; fill-color: #ff7f00; } way|z16-[public_transport=platform][bus=yes], relation|z16-[type=multipolygon][public_transport=platform][bus=yes]{ color: #0000ff; fill-color: #0000ff; } way|z16-[public_transport=platform][tram=yes], relation|z16-[type=multipolygon][public_transport=platform][tram=yes]{ color: #ff0000; fill-color: #ff0000; } way|z16-[public_transport=platform][light_rail=yes], relation|z16-[type=multipolygon][public_transport=platform][light_rail=yes]{ color: #00ff00; fill-color: #00ff00; } way|z16-[public_transport=platform][subway=yes], relation|z16-[type=multipolygon][public_transport=platform][subway=yes]{ color: #ff00ff; fill-color: #ff00ff; } way|z16-[public_transport=platform][train=yes], relation|z16-[type=multipolygon][public_transport=platform][train=yes]{ color: #ffff00; fill-color: #ffff00; } node|z16-[public_transport=platform]{ icon-image: none; symbol-shape: square; symbol-fill-color: #ffffff; symbol-size: 15; text-anchor-horizontal: right; } node|z16-[public_transport=stop_position]{ icon-image: none; symbol-shape: circle; symbol-fill-color: #ffffff; symbol-size: 15; font-size: 12; text-halo-radius: 3; text-halo-color: #000000; text-halo-opacity: 0.8; font-weight: bold; text-anchor-horizontal: right; } node|z16-[public_transport=stop_position][coach=yes], node|z16-[public_transport=platform][coach=yes]{ symbol-fill-color: #ff7f00; text-halo-color: #ff7f00; } node|z16-[public_transport=stop_position][bus=yes], node|z16-[public_transport=platform][bus=yes]{ symbol-fill-color: #0000ff; text-halo-color: #0000ff; } node|z16-[public_transport=stop_position][tram=yes], node|z16-[public_transport=platform][tram=yes]{ symbol-fill-color: #ff0000; text-halo-color: #ff0000; } node|z16-[public_transport=stop_position][light_rail=yes], node|z16-[public_transport=platform][light_rail=yes]{ symbol-fill-color: #00ff00; text-halo-color: #00ff00; } node|z16-[public_transport=stop_position][subway=yes], node|z16-[public_transport=platform][subway=yes]{ symbol-fill-color: #ff00ff; text-halo-color: #ff00ff; } node|z16-[public_transport=stop_position][train=yes], node|z16-[public_transport=platform][train=yes]{ symbol-fill-color: #ffff00; text-halo-color: #ffff00; } relation|z16-[public_transport=stop_area] > way:closed, relation|z16-[public_transport=stop_area] > relation[type=multipolygon][public_transport=platform]{ color: #00ffff; text-halo-color: #00ffff; text: concat(parent_tag(name)); } relation|z16-[public_transport=stop_area] > way!:closed { dashes: 10,10; dashes-background-color: #00ffff; text-halo-color: #00ffff; text: concat(parent_tag(name)); } relation|z16-[public_transport=stop_area] > node { symbol-stroke-width: 3; symbol-stroke-color: #00ffff; text: concat(parent_tag(name)); text-halo-color: #00ffff; }
Last modified
9 years ago
Last modified on 2016-01-19T01:55:16+01:00
Note:
See TracWiki
for help on using the wiki.