User:Rotbarsch/Maperitive rules/public transport
Jump to navigation
Jump to search
// Author: Rotbarsch // // Goal: A public transport map (and: learning Maperative rules) // // Modification history: // date author summary // 20.05.2010 rotbarsch Intitial version // // Licence: Public Domain // // Source: http://wiki.openstreetmap.org/wiki/User:Rotbarsch/Maperitive_rules/public_transport // Feedback wanted at: http://wiki.openstreetmap.org/wiki/User_talk:Rotbarsch/Maperitive_rules/public_transport features power generator : power=generator points bus stop : highway=bus_stop lines route bus : relation[type=route AND line=bus] route light rail : relation[type=route AND line=light_rail] route tram : relation[type=route AND line=tram] route rail : relation[type=route AND line=rail] route subway : relation[type=route AND line=subway] properties //map-background-color : #181818 map-background-color : white topmost-layer : true rules target : bus stop define min-zoom : 13.2 shape : circle shape-size : 12 fill-color : yellow line-color : black line-width : 1 draw : shape define min-zoom : 15.0 draw : text target : route* define line-width : 5 border-color : black border-style : solid border-width : 30% for : tunnel=yes define border-style : dash if : *tram define line-color : #87CEFA elseif : *bus define line-color : red line-width : 3 elseif : *light rail define line-color : orange elseif : *rail define line-color : #708090 draw : line draw : text