User:Alex McKee/Hiking

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

Places

Rule Name Targets Selector Template Options Comment
City Node place=city Text (Color=#444, TagToUse=name, MinZoom=6, MaxZoom=12, FontSize=6:12;12:10)
Town Node place=town Text (Color=#444, TagToUse=name, MinZoom=10, MaxZoom=12, FontSize=8:10;12:8)
Suburb Node place=suburb Text (Color=#444, TagToUse=name, MinZoom=12, FontSize=12:6;17:14)
Village Node place=village Text (Color=#444, TagToUse=name, MinZoom=12, FontSize=12:6;17:14)
Hamlet Node place=hamlet Text (Color=#444, TagToUse=name, MinZoom=14, FontSize=14:6;17:12)

Footpaths and all that goodness

Rule Name Targets Selector Template Options Comment
Path Way highway=path Polyline (Color=#ccc, Width=14:1;17:2, DashStyle=Dot, MinZoom=14)
FootFriendly Way foot=yes Polyline (Color=#ccc, Width=14:1;17:2, DashStyle=Dot, MinZoom=14)
PublicTracks Way highway=track Polyline (Color=#ccc, Width=14:1;17:2, DashStyle=Dot, MinZoom=14)
Footpath Way highway=footway Polyline (Color=Salmon, Width=14:1;17:2, DashStyle=Dot, MinZoom=14)
LDP Relation type=route route=hiking Polyline (Color=Salmon, Width=11:0.2;14:2;17:3, DashStyle=Dot)

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%, MinZoom=16, FontSize=16:8)
Pedestrian Way highway=pedestrian Polyline (Color=#ccc, Width=11:0.5;14:2;17:3) Text (Color=#444, TagToUse=name, TextLineOffset=850%, MinZoom=16, FontSize=16:8)
Service Way highway=service Polyline (Color=#ccc, Width=11:0.5;14:2;17:3) Text (Color=#444, TagToUse=name, TextLineOffset=850%, MinZoom=16, FontSize=16:8)
Unclassified Way highway=unclassified Polyline (Color=#ccc, Width=11:0.5;14:2;17:3) Text (Color=#444, TagToUse=name, TextLineOffset=850%, MinZoom=15, FontSize=15:10;16:8)
Tertiary Way highway=tertiary Polyline (Color=#ae4545, Width=11:1;14:3;17:6) Text (Color=#444, TagToUse=name, TextLineOffset=850%, OutlineColor=#fff, OutlineWidth=30%, MinZoom=15) EliminateSeams
Secondary Way highway=secondary Polyline (Color=#ae4545, Width=11:1;14:3;17:8) Text (Color=#444, TagToUse=ref, TextLineOffset=850%, OutlineColor=#fff, OutlineWidth=30%, MinZoom=15) Text (Color=#fff, TagToUse=ref, MinZoom=15, FontSize=16:8, TextMode=WayCenter, BackgroundColor=#ae4545, BorderColor=#fff, BorderWidth=1) EliminateSeams
Primary Way 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 Way highway=primary_link Polyline (Color=#ae4545, Width=11:1;14:3;17:10) EliminateSeams
Trunk Way highway=trunk Polyline (Color=#ae4545, Width=11:1;14:3;17:10) Text (Color=#fff, TagToUse=ref, MinZoom=14, FontSize=16:8, TextMode=WayCenter, BackgroundColor=#ae4545, BorderColor=#fff, BorderWidth=1) EliminateSeams
TrunkLink Way highway=trunk_link Polyline (Color=#ae4545, Width=11:1;14:3;17:10) EliminateSeams
Motorway Way 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

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%)

One way and roundabouts

Rule Name Targets Selector Template Options Comment
Oneway Way oneway=yes Polyline (Color=#993366)

Rail

Rule Name Targets Selector Template Options Comment
Railway Way railway=rail Polyline (Color=#000, Width=11:1;14:3;17:4, BorderColor=#fff, BorderWidth=50%) 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 Area emergency=yes Polygon (Color=#fda9a9) Text (Color=#fff, TagToUse=name, MinZoom=14, FontSize=14:6;17:12, TextMode=AreaCenter)

Enclosed space

Rule Name Targets Selector Template Options Comment
ResidentialArea Area landuse=residential Polygon (Color=#eee)
BusinessPark Area landuse=commercial Polygon (Color=#ddd)
TradingEstate Area landuse=industrial Polygon (Color=#ddd)
GolfCourse Area leisure=golf_course Polygon (Color=#bde588)
Building Area building=yes Polygon (Color=#ccc)
School Area amenity=school Polygon (Color=#ddd) Text (TagToUse=name, Color=#444, FontStyle=Italic, TextMode=AreaCenter, MinZoom=15)
Wall Way barrier=wall Polyline (Color=#444444, LineEndCap=SquareAnchor, LineStartCap=SquareAnchor, Width=17:2, MinZoom=17)
Fence Way barrier=fence Polyline (Color=#444444, LineEndCap=DiamondAnchor, LineStartCap=DiamondAnchor, Width=17:1, MinZoom=17)

Open space

Rule Name Targets Selector Template Options Comment
MiscellaneousGreen Area landuse=grass Polygon (Color=#CFECA8)
VillageGreen Area landuse=village_green Polygon (Color=#CFECA8)
Park Area leisure=park Polygon (Color=#CFECA8)
Common Area leisure=common Polygon (Color=#CFECA8)
RecreationGround Area landuse=recreation_ground Polygon (Color=#CFECA8)
NatureReserve Area leisure=nature_reserve Polygon (Color=#CFECA8)

Natural features

Rule Name Targets Selector Template Options Comment
Wood Area natural=wood natural=forest Polygon (Color=#84C082, IconUrl=http://www.agmckee.co.uk/misc/trees.png)
Forest Area landuse=forest landuse=wood Polygon (Color=#84C082, IconUrl=http://www.agmckee.co.uk/misc/trees.png)
Scrub Area natural=scrub Polygon (Color=#a2db57)
Hedge Way barrier=hedge Polyline (Color=#73b025, LineEndCap=RoundAnchor, LineStartCap=RoundAnchor, Width=17:3, MinZoom=17)

Water

Rule Name Targets Selector Template Options Comment
Streams Way waterway=stream Polyline (Color=#99d6e9, Width=11:0.2;14:1;17:2, MinZoom=14)
Rivers Way waterway=river Polyline (Color=#99d6e9, Width=11:0.2;14:2;17:3)
BigRivers Way Area waterway=riverbank Polygon (Color=#99d6e9, Width=11:0.2;14:2;17:3)
Canals Way waterway=canal Polyline (Color=#99d6e9, Width=11:0.2;14:2;17:3)
Lake Area natural=water Polygon (Color=#99d6e9, Width=11:0.2;14:2;17:3)
Reservoir Area landuse=reservoir Polygon (Color=#99d6e9, Width=11:0.2;14:2;17:3)
Dock Area waterway=dock Polygon (Color=#99d6e9, Width=11:0.2;14:2;17:3)