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)