User:Alex McKee/Bus routes

From OpenStreetMap Wiki
Jump to: navigation, search

Options

Option Value Comment
MinKosmosVersion 2.1 Minimal version of Kosmos needed to use these rules
LandBackgroundColor #FFFFFF
SeaColor #B5D6F1

Highways, byways and paths

Rule Name Targets Selector Template Options Comment
Residential Way highway=residential Polyline (Color=#ccc, Width=11:0.5;14:2;17:3) Text (Color=#444, TagToUse=name, TextLineOffset=850%, OutlineColor=#000, OutlineWidth=30%, MinZoom=15)
Pedestrian Way highway=pedestrian Polyline (Color=#ccc, Width=11:0.5;14:2;17:3) Text (Color=#444, TagToUse=name, TextLineOffset=850%, OutlineColor=#000, OutlineWidth=30%, MinZoom=15)
Service Way highway=service Polyline (Color=#ccc, Width=11:0.5;14:2;17:3) Text (Color=#444, TagToUse=name, TextLineOffset=850%, OutlineColor=#000, OutlineWidth=30%, MinZoom=15)
Unclassified Way highway=unclassified Polyline (Color=#ccc, Width=11:0.5;14:2;17:3) Text (Color=#444, TagToUse=name, TextLineOffset=850%, OutlineColor=#000, OutlineWidth=30%, MinZoom=15)
Tertiary Way highway=tertiary Polyline (Color=#ccc, Width=11:0.5;14:2;17:3) Text (Color=#444, TagToUse=name, TextLineOffset=850%, OutlineColor=#000, OutlineWidth=30%, MinZoom=15) EliminateSeams
Secondary Way highway=secondary Polyline (Color=#ccc, Width=11:0.5;14:2;17:3) Text (Color=#444, TagToUse=name, TextLineOffset=850%, OutlineColor=#000, OutlineWidth=30%, MinZoom=15) EliminateSeams
Primary Way highway=primary Polyline (Color=#ccc, Width=11:0.5;14:2;17:3) Text (Color=#444, TagToUse=name, TextLineOffset=850%, OutlineColor=#000, OutlineWidth=30%, MinZoom=15) EliminateSeams
PrimaryLink Way highway=primary_link Polyline (Color=#ccc, Width=11:0.5;14:2;17:3) EliminateSeams
Trunk Way highway=trunk Polyline (Color=#ccc, Width=11:0.5;14:2;17:3) EliminateSeams
TrunkLink Way highway=trunk_link Polyline (Color=#ccc, Width=11:0.5;14:2;17:3) EliminateSeams
Motorway Way highway=motorway Polyline (Color=#809BC0, Width=11:1;14:3;17:10) Text (Color=#444, TagToUse=ref, TextLineOffset=850%, OutlineColor=#000, OutlineWidth=30%, MinZoom=11)

Bridges

Rule Name Targets Selector Template Options Comment
Bridge Way bridge=yes Polyline (Width=11:0.5;14:3;17:4, BorderColor=#444, BorderWidth=10%)
SwingBridge Way bridge=swing Polyline (Width=11:0.5;14:3;17:4, BorderColor=#444, BorderWidth=10%)

Rail

Rule Name Targets Selector Template Options Comment
Railway Way railway=rail Polyline (Color=#000, Width=11:0.5;14:3;17:4)

Bus routes

Rule Name Targets Selector Template Options Comment
BusRoute Relation type=route route=bus Polyline (Color=#FFAA00, Width=11:1;14:3;17:5) Text (TagToUse=Ref, Color=#444444, OutlineColor=#FFAA00, OutlineWidth=5%)
Forward Relation role=forward Polyline (LineEndCap=ArrowAnchor, LineStartCap=ArrowAnchor)
BusStop Relation Node highway=bus_stop Icon (IconUrl=http://localhost/Bus_routes/bus.png, Width=17:10, MinZoom=16)