Finland/helsinki bus stop/Kosmos

From OpenStreetMap Wiki
Jump to navigation Jump to search

Options

Option Value Comment
MinKosmosVersion 2.1 Minimal version of Kosmos needed to use these rules
LandBackgroundColor #eee
SeaColor #80a0ff

Land Areas

Rule Name Targets Selector Template Options Comment
Coastline way natural=coastline Polyline (MinZoom=1, Color=#7090f0, Width=11:3;17:3)

Water Features

Rule Name Targets Selector Template Options Comment
Land area natural=land Polygon (Color=#409030)

Highways

Rule Name Targets Selector Template Options Comment
HighwayService way highway=seervice EliminateSeams
.serviceDriveway way service=driveway Polyline (MinZoom=18, Color=white, Width=18:1, BorderColor=gray, BorderWidth=10%) EliminateSeams
.* way Polyline (MinZoom=6, Color=white, Width=6:1;14:2;17:2, BorderColor=gray, BorderWidth=10%) EliminateSeams
HighwayFoot way highway=foootway EliminateSeams
.piha way motorcar=private EliminateSeams
.* way Polyline (MinZoom=6, Color=white, Width=6:1;14:1;17:2) EliminateSeams
HighwayCycle way highway=cyycleway Polyline (MinZoom=6, Color=white, Width=6:1;14:1.5;17:3) EliminateSeams
HighwayResidential way highway=residential Polyline (MinZoom=6, Color=white, Width=6:1;14:1;17:11, BorderColor=gray, BorderWidth=10%) EliminateSeams
HighwayUnclassified way highway=unclassified Polyline (MinZoom=6, Color=white, Width=6:1;14:1;17:11, BorderColor=gray, BorderWidth=10%) EliminateSeams
HighwayTertiary way highway=tertiary Polyline (MinZoom=6, Color=#ffffff, Width=6:1;14:2;17:11, BorderColor=gray, BorderWidth=10%) EliminateSeams
HighwayMotorwayLink way highway=motorway_link Polyline (MinZoom=6, Color=#60a060, Width=6:1;14:1;17:9, BorderColor=gray, BorderWidth=15%) EliminateSeams
HighwayPrimary way highway=primary Polyline (MinZoom=6, Color=#fca, Width=6:1;14:2;17:11, BorderColor=gray, BorderWidth=10%) EliminateSeams
HighwayPrimaryLink way highway=primary_link Polyline (MinZoom=6, Color=#a04000, BorderColor=white, Width=6:1;14:1;17:6) EliminateSeams
HighwaySecondary way highway=secondary Polyline (MinZoom=6, Color=#ffe, Width=6:1;14:2;17:11, BorderColor=gray, BorderWidth=10%) EliminateSeams
HighwayTrunk way highway=trunk Polyline (MinZoom=6, Color=#444, Width=6:1;14:2;17:12) EliminateSeams
HighwayTrunkLink way highway=trunk_link Polyline (MinZoom=6, Color=#444, Width=6:1;14:1;17:8) EliminateSeams
HighwayMotorway way highway=motorway Polyline (MinZoom=6, Color=#60a060, Width=6:1;14:3;17:12, BorderColor=gray, BorderWidth=20%) EliminateSeams

stops

Rule Name Targets Selector Template Options Comment
busstop node highway=bus_stop Symbol (MinZoom=6, Color=#800, Type=Square, Size=6:1;14:2;17:2) ChildrenFirst
.s10 node ValueNum(e,"ref") < 1000 Text( TagToUse=ref, Color=#000, FontSize=11:3;14:6)
.s12 node ValueNum(e,"ref") < 1200 Text( TagToUse=ref, Color=#008, FontSize=11:5;14:8)
.s20 node ValueNum(e,"ref") < 2000 Text( TagToUse=ref, Color=#00f, FontSize=11:4;14:8)
.s22 node ValueNum(e,"ref") < 2200 Text( TagToUse=ref, Color=#00c, FontSize=11:5;14:8)
.s24 node ValueNum(e,"ref") < 2400 Text( TagToUse=ref, Color=#04c, FontSize=11:4;14:8)
.s26 node ValueNum(e,"ref") < 2600 Text( TagToUse=ref, Color=#08c, FontSize=11:4;14:8)
.s28 node ValueNum(e,"ref") < 2800 Text( TagToUse=ref, Color=#0cc, FontSize=11:4;14:8)
.s30 node ValueNum(e,"ref") < 3000 Text( TagToUse=ref, Color=#0c8, FontSize=11:4;14:8)
.s32 node ValueNum(e,"ref") < 3200 Text( TagToUse=ref, Color=#0f8, FontSize=11:4;14:8)
.s34 node ValueNum(e,"ref") < 3400 Text( TagToUse=ref, Color=#0f4, FontSize=11:4;14:8)
.s40 node ValueNum(e,"ref") < 4000 Text( TagToUse=ref, Color=#0f0, FontSize=11:5;14:8)
.s42 node ValueNum(e,"ref") < 4200 Text( TagToUse=ref, Color=#f40, FontSize=11:4;14:8)
.s44 node ValueNum(e,"ref") < 4400 Text( TagToUse=ref, Color=#f80, FontSize=11:4;14:8)
.s50 node ValueNum(e,"ref") < 5000 Text( TagToUse=ref, Color=#880, FontSize=11:4;14:8)
.hasref node ref=* Symbol (MinZoom=6, Color=#f00, Type=Square, Size=6:1;14:2;17:5)
.* node highway=bus_stop