WikiProject Finland/helsinki bus stop/Kosmos

From OpenStreetMap Wiki
Jump to: navigation, 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