User:Alex McKee/Street
Jump to navigation
Jump to search
Options
Option | Value | Comment |
---|---|---|
MinKosmosVersion | 2.1 | Minimal version of Kosmos needed to use these rules |
LandBackgroundColor | #FFFFFF | |
SeaColor | #B5D6F1 |
Places
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
City | place=city | Text (Color=#444, TagToUse=name, MinZoom=6, MaxZoom=12, FontSize=6:12;12:10) | |||
Town | place=town | Text (Color=#444, TagToUse=name, MinZoom=10, MaxZoom=12, FontSize=8:10;12:8) | |||
Suburb | place=suburb | Text (Color=#444, TagToUse=name, MinZoom=12, FontSize=12:6;17:14) | |||
Village | place=village | Text (Color=#444, TagToUse=name, MinZoom=12, FontSize=12:6;17:14) | |||
Hamlet | place=hamlet | Text (Color=#444, TagToUse=name, MinZoom=14, FontSize=14:6;17:12) |
Ordinary roads
As this is a street map, we need to more clearly define all minor roads using width, colour and casing.
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Residential | highway=residential | Polyline (Color=#ddd, Width=11:0.5;14:2;17:3) Text (Color=#444, TagToUse=name, MinZoom=16, FontSize=16:8, OutlineColor=black, OutlineWidth=20%) | |||
Pedestrian | highway=pedestrian | Polyline (Color=#ddd, Width=11:0.2;14:0.5;17:1) Text (Color=#444, TagToUse=name, MinZoom=16, FontSize=16:8) | |||
Service | highway=service | Polyline (Color=#ccc, Width=11:0.5;14:2;17:2) Text (Color=#444, TagToUse=name, MinZoom=16, FontSize=16:8) | |||
Unclassified | highway=unclassified | Polyline (Color=#ccc, Width=11:0.5;14:2;17:3) Text (Color=#444, TagToUse=name, MinZoom=15, FontSize=16:8) | ChildrenFirst | ||
.Bridge | bridge=yes | Color=#ccc, Width=11:0.5;14:2;17:3) Text (Color=#444, TagToUse=name, MinZoom=15, FontSize=16:8) | |||
.* | Color=#ccc, Width=11:0.5;14:2;17:3) Text (Color=#444, TagToUse=name, MinZoom=15, FontSize=16:8 |
Highways
Since this is a street map, all various highways need to be clearly rendered.
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
TertiaryZoomedOut | highway=tertiary | Polyline (Color=#ccc, Width=11:0.5;12:2) | EliminateSeams | ||
TertiaryZoomedIn | highway=tertiary | Polyline (Color=#ccc, Width=14:2;17:4, MinZoom=13) Text (Color=#444, TagToUse=name, MinZoom=15, FontSize=16:8) | ChildrenFirst | ||
.Bridge | bridge=yes | Polyline (Color=#ccc, Width=14:2;17:4, MinZoom=13, BorderColour=#444444, BorderWidth=10) Text (Color=#444, TagToUse=name, MinZoom=15, FontSize=16:8) | |||
.* | Polyline (Color=#ccc, Width=14:2;17:4, MinZoom=13) Text (Color=#444, TagToUse=name, MinZoom=15, FontSize=16:8) | ||||
Secondary | highway=secondary | Polyline (Color=#e79e6d, Width=11:1;14:3;17:8) Text (Color=#fff, TagToUse=ref, MinZoom=15, FontSize=16:8, TextMode=WayCenter, BackgroundColor=#e79e6d, BorderColor=#fff, BorderWidth=1) | EliminateSeams | ||
Primary | highway=primary | Polyline (Color=#ae4545, Width=11:1;14:3;17:10) Text (Color=#fff, TagToUse=ref, MinZoom=15, FontSize=16:8, TextMode=WayCenter, BackgroundColor=#ae4545, BorderColor=#fff, BorderWidth=1) | EliminateSeams | ||
PrimaryLink | highway=primary_link | Polyline (Color=#ae4545, Width=11:1;14:3;17:10) | EliminateSeams |
National road network
These will be rendered when zoomed out further.
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Trunk | highway=trunk | Polyline (Color=#7bae7b, Width=11:1;14:3;17:10) Text (Color=#fff, TagToUse=ref, MinZoom=15, FontSize=16:8, TextMode=WayCenter, BackgroundColor=#7bae7b, BorderColor=#fff, BorderWidth=1) | EliminateSeams | ||
TrunkLink | highway=trunk_link | Polyline (Color=#7bae7b, Width=11:1;14:3;17:10) | EliminateSeams | ||
Motorway | highway=motorway | Polyline (Color=#809BC0, Width=11:1;14:3;17:10) Text (Color=#fff, TagToUse=ref, MinZoom=12, FontSize=16:8, TextMode=WayCenter, BackgroundColor=#809BC0, BorderColor=#fff, BorderWidth=1) | EliminateSeams |
Emergency facillities
Hospitals with accident & emergency departments should be picked out in a different, more visible, colour than their non-emergency counterparts.
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
AandE | emergency=yes | Polygon (Color=#fda9a9) Text (Color=#fff, TagToUse=name, MinZoom=14, FontSize=14:6;17:12, TextMode=AreaCenter) |