User:Vibrog/Kosmos-rules
Jump to navigation
Jump to search
Introduction
This page contains a set of rendering rules for Kosmos.
These rules are based on User:Gustavf/Kosmos-rules, but colors have been tweaked to make the map resemble hiking maps published by Asker Skiklubb.
Marked trails will be shown dotted blue.
Skiing tracks will be shown with a thin red line.
(How do i offset it to one side?)
URL of the rules to use in Kosmos: http://wiki.openstreetmap.org/index.php?title=User:Vibrog/Kosmos-rules
Options
Option | Value | Comment |
---|---|---|
MinKosmosVersion | 2.1 | Minimal version of Kosmos needed to use these rules |
LandBackgroundColor | #F8F8F8 | |
SeaColor | #86D3E5 |
Land Areas
Forest, grass and sports
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Wood | natural=wood | Polygon (Color=#EFFDE3) | |||
Wood/managed | landuse=wood | Polygon (Color=#EFFDE3) | |||
Forest | landuse=forest | Polygon (Color=#EFFDE3) | |||
Orchard | landuse=orchard | Polygon (Color=#FEC775) | |||
Vine yard | landuse=vineyard | Polygon (Color=#FEC775) | |||
Farm | landuse=farm | Polygon (Color=#FEC775) | |||
Meadow | landuse=meadow | Polygon (Color=#F7E4A9) | |||
Scrub | natural=scrub | Polygon (Color=#F7E4A9) | |||
Heath | natural=heath | Polygon (Color=#F7E4A9) | |||
Rock | natural=bare_rock | Polygon (Color=#D0C3BF) | |||
Allotments | landuse=allotments | Polygon (Color=#F7E4A9) | |||
Park | leisure=park | Polygon (Color=#F7E4A9) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
Garden | leisure=garden | Polygon (Color=#F7E4A9) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
Common | leisure=common | Polygon (Color=#F7E4A9) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
Recreation Ground | landuse=recreation_ground | Polygon (Color=#F7E4A9) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
Village Green | landuse=village_green | Polygon (Color=#F7E4A9) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
Cemetery | landuse=cemetery | Polygon (Color=#AAC193) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
Pitch | leisure=pitch | Polygon (MinZoom=12, Color=#E3A778) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
Stadium | leisure=stadium | Polygon (MinZoom=12, Color=#E3A778, BorderColor=black, BorderWidth=13:0;14:1;17:2) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
GolfCourse | leisure=golf_course | Polygon (Color=#F7E4A9) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
HorseRacing | sport=horse_racing | Polygon (Color=#E3A778) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
Playground | leisure=playground | Polygon (MinZoom=12, Color=#F7E4A9) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
Sports Centre | leisure=sports_centre | Polygon (Color=#E3A778) | |||
SportsTrack | leisure=track | Polygon (MinZoom=12, Color=#E3A778, BorderColor=black, BorderWidth=13:0;14:1;17:2) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
Tennis | sport=tennis | Polygon (MinZoom=12, Color=#E3A778, BorderColor=black, BorderWidth=13:0;14:1;17:2) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
Swimming | sport=swimming | Polygon (Color=#86D3E5) |
Other
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Coastline | natural=coastline | Polyline (MinZoom=1, Color=#86D3E5, Width=11:1;17:2) | |||
Fell | natural=fell | Polygon (Color=#F7E4A9) | |||
Residential | landuse=residential | Polygon (Color=#AAC193) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
Residential/farm yard | landuse=farmyard | Polygon (Color=#AAC193) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
Industrial | landuse=industrial | Polygon (Color=#AAC193) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
Quarry | landuse=quarry | Polygon (Color=#AAC193) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
Military | landuse=military | Polygon (Color=#AAC193) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
Landfill | landuse=landfill | Polygon (Color=#AAC193) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
Brownfield | landuse=brownfield | Polygon (Color=#AAC193) | |||
Construction | landuse=construction | Polygon (Color=#AAC193) | |||
Commercial | landuse=commercial | Polygon (Color=#AAC193) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
Retail | landuse=retail | Polygon (Color=#AAC193) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
Reservoir | landuse=reservoir | Polygon (Color=#86D3E5) | |||
Basin | landuse=basin | Polygon (Color=#86D3E5) | |||
School | amenity=school | Polygon (Color=#AAC193) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=bold, FontSize=15:6;17:10, TextMode=AreaCenter) | |||
Skiing | sport=skiing | Polygon (Color=#F7E4A9) | |||
Waterpark | leisure=water_park | Polygon (Color=#86D3E5) | |||
ParkingArea | amenity=parking | Polygon (Color=#E3A778) | |||
Snuplass | highway=* area=yes |
Polygon (Color=#E3A778) | |||
Tourism | tourism=* | Polygon (Color=#AAC193) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=13:6;17:10, TextMode=AreaCenter) | |||
RailwayArea | landuse=railway | Polygon (Color=#E3A778) | |||
PowerSubstation | power=sub_station | Polygon (Color=#E3A778) |
Water Features
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Water | natural=water | Polygon (Color=#86D3E5) | |||
Marsh | natural=marsh | Polygon (Color=#86D3E5, BackgroundColor=#00000000, BorderColor=#86D3E5, BorderWidth=1:1;12:1;15:3, HatchStyle=Horizontal) | |||
Wetland | natural=wetland | Polygon (Color=#86D3E5, BackgroundColor=#00000000, BorderColor=#86D3E5, BorderWidth=1:1;12:1;15:3, HatchStyle=Horizontal) | |||
River | waterway=river | Polyline (MinZoom=5, Color=#86D3E5, Width=5:1;10:2;17:14, Curved=true) | |||
Drain | waterway=drain | Polyline (MinZoom=13, Color=#86D3E5, Width=13:1;17:6, Curved=true) | |||
Stream | waterway=stream | Polyline (MinZoom=13, Color=#86D3E5, Width=13:1;17:6, Curved=true) | |||
Canal | waterway=canal | Polyline (MinZoom=5, Color=#86D3E5, Width=5:1;10:1;17:10, Curved=true) | |||
Riverbank | waterway=riverbank | Polygon (Color=#86D3E5) | |||
Land | natural=land | Polygon (Color=white) |
Other Land Features
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Contours | ele=* | for elevation contours generated by Srtm2Osm | |||
.Major | ValueNum(e,"ele") % 100 = 0 | Polyline (MinZoom=12, Color=#80AD8852, Width=11:1;14:2, Curved=true) | Major contours (100m ones) | ||
.* | Polyline (MinZoom=13, Color=#66AD8852, Width=1, Curved=true) | all other contours |
POIs
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
ViewpointNode | tourism=viewpoint | Icon (MinZoom=16, IconUrl=http://wiki.openstreetmap.org/images/f/f3/Viewpoint.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
RestaurantNode | amenity=restaurant | Icon (MinZoom=16, IconUrl=http://wiki.openstreetmap.org/images/5/58/Restaurant.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
CafeNode | amenity=cafe | Icon (MinZoom=16, IconUrl=http://wiki.openstreetmap.org/images/e/e9/Coffee.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
PubNode | amenity=pub | Icon (MinZoom=16, IconUrl=http://wiki.openstreetmap.org/images/2/25/Amenity-pub.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
RecyclingNode | amenity=recycling | Icon (MinZoom=16, IconUrl=http://wiki.openstreetmap.org/images/e/ef/Recycling.png, Width=12:5;17:20) | ; only at high zoom levels to prevent clutter | ||
ParkingNode | amenity=parking | Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/7/74/Parking.png, Width=12:5;17:20) | |||
TrafficSignals | highway=traffic_signals | Icon (MinZoom=17, IconUrl=http://wiki.openstreetmap.org/images/a/a1/Icon-highway_traffic_signals.png, Width=16:6;17:7) | |||
Peak | natural=peak | Symbol (Type=Triangle, MinZoom=16, Color=gray, BorderColor=black, BorderWidth=15%, Size=13:6;17:20) Text (MinZoom=12, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=Italic, FontSize=12:6;17:15, TextLineOffset=-200%) | |||
PostOffice | amenity=post_office | Icon (MinZoom=16, IconUrl=http://wiki.openstreetmap.org/images/b/b4/GCR_COMM_POSTO.png, Width=12:5;17:20) Text (MinZoom=16, Color=black, TagToUse=name;ref, FontName=Segoe UI, FontStyle=Italic, FontSize=16:6;17:10, TextLineOffset=-200%) |
Highways
Minor roads
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
HighwayUnpaved | highway=unpaved | Polyline (MinZoom=11, Color=black, Width=11:1;14:3;17:8) | EliminateSeams | ||
HighwayUnpavedText | highway=unpaved | Text (MinZoom=14, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=15:6;17:9) | |||
HighwayUnsurfaced | highway=unsurfaced | Polyline (MinZoom=11, Color=black, Width=11:1;14:3;17:8) | EliminateSeams | deprecated | |
HighwayUnclassified | highway=unclassified | Polyline (MinZoom=11, Color=black, Width=11:1;14:3;17:8) | EliminateSeams | ||
HighwayUnclassifiedText | highway=unclassified | Text (MinZoom=14, Color=black, OutlineColor=White, OutlineWidth=10%, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=15:6;17:9) | |||
HighwayResidential | highway=residential | Polyline (MinZoom=11, Color=black, Width=11:1;14:3;17:8) | EliminateSeams | ||
HighwayResidentialText | highway=residential | Text (MinZoom=14, Color=black, OutlineColor=White, OutlineWidth=10%, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=15:6;17:9) | |||
HighwayService | highway=service | Polyline (MinZoom=14, Color=black, Width=13:1;17:4) | EliminateSeams | ||
HighwayServiceText | highway=service | Text (MinZoom=14, Color=black, OutlineColor=White, OutlineWidth=10%, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=15:5;17:8) | |||
HighwayMinor | highway=minor | Polyline (MinZoom=12, Color=black, Width=11:1;14:3;17:8) | EliminateSeams | ||
HighwayMinorText | highway=minor | Text (MinZoom=14, Color=black, TagToUse=name, OutlineColor=White, OutlineWidth=10%, FontName=Segoe UI, FontStyle=regular, FontSize=15:5;17:8) | |||
HighwayTrack | highway=track | ||||
.grade3 | tracktype=grade3 | Polyline (MinZoom=12, Color=#18711C, Width=11:1;14:3;17:5) | EliminateSeams | ||
.grade4 | tracktype=grade4 | Polyline (MinZoom=12, Color=#18711C, DashStyle=dash, Width=11:1;14:3;17:5) | EliminateSeams | ||
.grade5 | tracktype=grade5 | Polyline (MinZoom=13, Color=#18711C, DashStyle=dash, Width=11:1;14:2;17:4) | EliminateSeams | ||
.* | Polyline (MinZoom=11, Color=black, Width=11:1;14:3;17:5) | EliminateSeams |
Without motor
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
HighwaySteps | highway=steps | Polyline (MinZoom=13, Color=#FFDE93, DashStyle=Dot, BorderColor=gray, Width=13:1;17:6) | EliminateSeams | ||
GS-Sti-Cycleway | highway=cycleway | Polyline (MinZoom=12, Color=#666, Width=11:1;13:1;17:3) | EliminateSeams | ||
GS-Sti-Footway | bicycle=yes highway=footway | Polyline (MinZoom=12, Color=#666, DashStyle=Dash, Width=11:1;13:1;17:3) | EliminateSeams | ||
HighwayPedestrian | highway=pedestrian | Polyline (MinZoom=13, Color=#666, DashStyle=dot, BorderColor=gray, Width=11:1;13:2;17:6) | EliminateSeams | ||
HighwayPedestrianArea | highway=pedestrian area=yes | Polygon (MinZoom=13, Color=#E3A778) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=15:6;17:9, TextMode=AreaCenter) |
EliminateSeams | ||
HighwayPedestrianText | highway=pedestrian | Text (MinZoom=14, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=15:6;17:9) | |||
HighwayLivingStreet | highway=living_street | Polyline (MinZoom=11, Color=#666, Width=11:1;13:2;17:6) | EliminateSeams | ||
HighwayLivingStreetText | highway=living_street | Text (MinZoom=14, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=15:6;17:9) | |||
HighwayBridleway | highway=bridleway | Polyline (MinZoom=16, Color=#18711C, DashStyle=Dash, Width=13:1;17:3) | EliminateSeams |
Major roads
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
HighwayTertiary | highway=tertiary | ||||
.Bridge | bridge=yes | Polyline (MinZoom=11, Color=#E3A778, BorderColor=black, Width=8:1;13:2;17:8, BorderWidth=30%) | EliminateSeams | ||
.Tunnel | tunnel=yes | Polyline (MinZoom=11, Color=#00000000, BorderColor=gray, BorderDashStyle=Dot, Width=8:1;13:2;17:8) | EliminateSeams | ||
.* | Polyline (MinZoom=11, Color=#E3A778, BorderColor=black, Width=11:1;13:3;17:14) | EliminateSeams | |||
HighwayTertiaryText | highway=tertiary | Text (MinZoom=14, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=15:6;17:9) | |||
HighwaySecondary | highway=secondary | ||||
.Bridge | bridge=yes | Polyline (MinZoom=9, Color=#E3A778, BorderColor=black, BorderWidth=30%, Width=11:1;13:3;17:8) | EliminateSeams | ||
.Tunnel | tunnel=yes | Polyline (MinZoom=9, Color=#00000000, BorderColor=gray, BorderDashStyle=Dot, Width=11:1;13:3;17:8) | EliminateSeams | ||
.* | Polyline (MinZoom=9, Color=#E3A778, BorderColor=gray, Width=11:1;13:3;17:14) | EliminateSeams | |||
HighwaySecondaryText | highway=secondary | Text (MinZoom=14, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=15:6;17:9) | |||
HighwayPrimary | highway=primary | ||||
.Bridge | bridge=yes | Polyline (MinZoom=8, Color=#E3A778, BorderColor=black, Width=6:1;9:2;12:4;17:8, BorderWidth=30%) | EliminateSeams | ||
.Tunnel | tunnel=yes | Polyline (MinZoom=8, Color=#00000000, BorderColor=gray, BorderDashStyle=Dot, BorderWidth=20%, Curved=True, Width=6:1;9:2;12:4;17:8) | EliminateSeams | ||
.* | Polyline (MinZoom=8, Color=#E3A778, BorderColor=black, BorderWidth=20%, Width=6:1;9:2;12:4;17:8) | EliminateSeams | |||
HighwayPrimaryText | highway=primary | Text (MinZoom=14, Color=black, TagToUse=name;ref, FontName=Segoe UI, FontStyle=regular, FontSize=15:6;17:9) | |||
HighwayPrimaryLink | highway=primary_link | ||||
.Bridge | bridge=yes | Polyline (MinZoom=8, Color=#E3A778, BorderColor=black, Width=6:1;9:2;12:4;17:8, BorderWidth=30%) | EliminateSeams | ||
.Tunnel | tunnel=yes | Polyline (MinZoom=8, Color=#00000000, BorderColor=gray, BorderDashStyle=Dot, BorderWidth=20%, Curved=True, Width=6:1;9:2;12:4;17:8) | EliminateSeams | ||
.* | Polyline (MinZoom=8, Color=#E3A778, BorderColor=black, BorderWidth=20%, Width=6:1;9:2;17:12) | EliminateSeams | |||
HighwayTrunk | highway=trunk | ||||
.Tunnel | tunnel=yes | Polyline (MinZoom=6, Color=#00000000, BorderColor=gray, BorderDashStyle=Dot, Curved=True, Width=6:1;9:2;12:4;17:8) | EliminateSeams | ||
.* | Polyline (MinZoom=6, Color=#E3A778, BorderColor=black, Width=6:1;9:2;12:4;17:8) | EliminateSeams | |||
HighwayTrunkText | highway=trunk | Text (MinZoom=14, Color=black, TagToUse=name;ref, FontName=Segoe UI, FontStyle=regular, FontSize=15:6;17:9) | |||
HighwayTrunkLink | highway=trunk_link | Polyline (MinZoom=6, Color=#E3A778, BorderColor=gray, Width=6:1;9:2;12:4;17:8) | EliminateSeams | ||
.Tunnel | tunnel=yes | Polyline (MinZoom=6, Color=#00000000, BorderColor=gray, BorderDashStyle=Dot, Curved=True, Width=6:1;9:2;12:4;17:8) | EliminateSeams | ||
HighwayMotorway | highway=motorway | EliminateSeams | |||
.Bridge | bridge=yes | Polyline (MinZoom=6, Color=#E3A778, BorderColor=black, Width=6:1;9:2;12:4;17:8, BorderWidth=30%) | EliminateSeams | ||
.Tunnel | tunnel=yes | Polyline (MinZoom=6, Color=#00000000, BorderColor=gray, BorderDashStyle=Dot, Curved=True, Width=6:1;9:2;12:4;17:8) | EliminateSeams | ||
.* | Polyline (MinZoom=6, Color=#E3A778, BorderColor=black, BorderWidth=20%, Width=6:1;9:2;12:4;17:8) | EliminateSeams | |||
HighwayMotorwayText | highway=motorway | Text (MinZoom=14, Color=black, TagToUse=name;ref, FontName=Segoe UI, FontStyle=regular, FontSize=15:6;17:9) | |||
HighwayMotorwayLink | highway=motorway_link | ||||
.Tunnel | tunnel=yes | Polyline (MinZoom=6, Color=#00000000, BorderColor=gray, BorderDashStyle=Dot, Curved=True, Width=6:1;9:2;12:4;17:8) | EliminateSeams | ||
.* | Polyline (MinZoom=6, Color=#E3A778, BorderColor=black, BorderWidth=20%, Width=6:1;9:2;12:4;17:8) | EliminateSeams |
Skiing, hiking and other marked paths
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
HighwayFootway | highway=footway | Polyline (MinZoom=13, Color=#666, DashStyle=dash, Width=11:1;13:1;17:2) | EliminateSeams | ||
HighwayPath | highway=path | ||||
.Intermediate | trail_visibility=intermediate | Polyline (MinZoom=14, Color=#18711C, DashStyle=dash, Width=13:1;17:2) | EliminateSeams | ||
.Bad | trail_visibility=bad | Polyline (MinZoom=14, Color=#18711C, DashStyle=dash, Width=14:1;17:1) | EliminateSeams | ||
.Horrible | trail_visibility=horrible | Polyline (MinZoom=15, Color=#18711C, DashStyle=dash, Width=15:1;18:1) | EliminateSeams | ||
.No | trail_visibility=no | Polyline (MinZoom=15, Color=#18711C, DashStyle=dash, Width=16:1;19:1) | EliminateSeams | ||
.Sac | sac_scale=* | Polyline (MinZoom=13, Color=#18711C, DashStyle=dot, Width=13:1;17:3) | EliminateSeams | ||
.* | Polyline (MinZoom=13, Color=#18711C, DashStyle=dash, Width=13:1;17:3) | EliminateSeams | |||
HighwayFootwayText | highway=footway | Text (MinZoom=14, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=15:6;17:9) | |||
Trails (DNT) | marked_trail=* | Polyline (MinZoom=12, Color=blue, DashStyle=Dot, Width=13:2;17:4) | EliminateSeams | ||
relation:route:foot | route=foot | Polyline (MinZoom=12, Color=#660033FF, Width=12:3;17:8) | EliminateSeams | ||
relation:route:mtb | route=bicycle network=mtb | Polyline (MinZoom=12, Color=#6638C032, Width=12:3;17:8) | EliminateSeams |
Railways
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Rail | railway=rail | ||||
.Tunnel | tunnel=yes | Polyline (MinZoom=16, Color=#5B5B5B, DashStyle=Dash, Width=1) | EliminateSeams | ||
.* | Polyline (MinZoom=6, Color=#444444, Width=6:1;9:2;17:3) | EliminateSeams | |||
Subway | railway=subway | ||||
.Tunnel | tunnel=yes | Polyline (MinZoom=16, Color=#5B5B5B, DashStyle=Dash, Width=1) | EliminateSeams | ||
.* | Polyline (MinZoom=11, Color=#444444, Width=6:1;11:1;17:3) | EliminateSeams | |||
Tram | railway=tram | Polyline (MinZoom=13, Color=#444444, Width=6:1;13:1;17:2.5) | EliminateSeams | ||
LightRail | railway=light_rail | Polyline (MinZoom=11, Color=#444444, Width=6:1;11:1;17:3) | EliminateSeams | ||
RailDisused | railway=tram | Polyline (MinZoom=13, Color=#444444, DashStyle=Dot, Width=6:1;13:1;17:2.5) | EliminateSeams | ||
RailwayStation | railway=station | Symbol (Type=Square, MinZoom=13, Color=#5B5B5B, Size=13:6;17:20) Text (MinZoom=12, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=bold, FontSize=14:6;17:14, TextLineOffset=-170%) | |||
TramStop | railway=tram_stop | Symbol (Type=Square, Color=#5B5B5B, MinZoom=14, Size=10:4;14:8) Text (MinZoom=14, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=bold, FontSize=14:6;17:14, TextLineOffset=-170%) | |||
RailHalt | railway=halt | Symbol (Type=Square, Color=#5B5B5B, MinZoom=13, Size=13:2.5;14:7) Text (MinZoom=14, Color=black, TagToUse=name, FontName=Segoe UI, FontStyle=bold, FontSize=14:6;17:14, TextLineOffset=-170%) |
Other Ways
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
CableCar | aerialway=cable_car | Symbol (MinZoom=12, Type=Circle, Density=30, Color=#00000000, BorderWidth=20%, BorderColor=black, Size=12:2;17:10) Polyline (MinZoom=12, Color=black, Width=12:0.5;17:3) | |||
DragLift | aerialway=drag_lift | Symbol (MinZoom=12, Type=Circle, Density=30, Color=#00000000, BorderWidth=10%, BorderColor=black, Size=12:2;17:10) Polyline (MinZoom=12, Color=black, Width=12:0.5;17:2) | |||
ChairLift | aerialway=chair_lift | Symbol (MinZoom=12, Type=Circle, Density=30, Color=#00000000, BorderWidth=10%, BorderColor=black, BackgroundColor=black, Size=12:2;17:10) Polyline (MinZoom=12, Color=black, Width=12:0.5;17:2) | |||
Ferry | route=ferry | Polyline (MinZoom=8, Color=#7abdd0, DashStyle=Dot, Width=8:0.1;17:4) | |||
Runway | aeroway=runway | Polyline (MinZoom=11, Color=#666, Width=11:1;17:20) | |||
Taxiway | aeroway=taxiway | Polyline (MinZoom=12, Color=#666, Width=12:1;17:10) | |||
powerline | power=line | Polyline (MinZoom=11, Color=gray, Width=11:1;13:1;17:1) | EliminateSeams | ||
power tower | power=tower | Symbol (Type=Diamond, MinZoom=13, Color=white, BorderColor=black, BorderWidth=10%, Size=13:4;17:15) | |||
Festningsverk | historic=fortress | Polyline (MinZoom=13, Color=#5B5B5B, Width=6:1;13:1;17:2.5) |
Places
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
PlaceCountry | place=country | Text (MinZoom=3, MaxZoom=7, Color=#5B5B5B, OutlineColor=White, OutlineWidth=10%, TagToUse=name, FontName=Segoe UI, FontStyle=bold, FontSize=3:7;7:20) | |||
PlaceCity | place=city | Text (MinZoom=6, MaxZoom=14, Color=#5B5B5B, OutlineColor=White, OutlineWidth=10%, TagToUse=name, FontName=Segoe UI, FontStyle=bold, FontSize=7:10;17:30) | |||
PlaceTown | place=town | Text (MinZoom=10, MaxZoom=15, Color=#5B5B5B, OutlineColor=White, OutlineWidth=10%, TagToUse=name, FontName=Segoe UI, FontStyle=bold, FontSize=10:10;17:25) | |||
PlaceVillage | place=village | Text (MinZoom=12, MaxZoom=16, Color=#5B5B5B, OutlineColor=White, OutlineWidth=10%, TagToUse=name, FontName=Segoe UI, FontStyle=bold, FontSize=12:10;17:20) | |||
PlaceIsland | place=island | Text (MinZoom=12, MaxZoom=16, Color=#5B5B5B, OutlineColor=White, OutlineWidth=10%, TagToUse=name, FontName=Segoe UI, FontStyle=bold, FontSize=12:10;17:20) | |||
PlaceSuburb | place=suburb | Text (MinZoom=13, MaxZoom=16, Color=#5B5B5B, OutlineColor=White, OutlineWidth=10%, TagToUse=name, FontName=Segoe UI, FontStyle=bold, FontSize=13:10;17:20) | |||
PlaceHamlet | place=hamlet | Text (MinZoom=14, MaxZoom=17, Color=#5B5B5B, OutlineColor=White, OutlineWidth=10%, TagToUse=name, FontName=Segoe UI, FontStyle=bold, FontSize=14:8;17:14) | |||
PlaceLocality | place=locality | Text (MinZoom=14, MaxZoom=17, Color=#5B5B5B, OutlineColor=White, OutlineWidth=10%, TagToUse=name, FontName=Segoe UI, FontStyle=bold, FontSize=14:8;17:14) | |||
PlaceFarm | place=farm | Text (MinZoom=15, MaxZoom=19, Color=#5B5B5B, OutlineColor=White, OutlineWidth=10%, TagToUse=name, FontName=Segoe UI, FontStyle=bold, FontSize=15:8;17:13) |
Buildings
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
BuildingAny | building=* | Polygon (MinZoom=13, Color=black) Text (MinZoom=16, Color=white, TagToUse=name, FontName=Segoe UI, FontStyle=regular, FontSize=16:6;17:10, TextMode=AreaCenter) | |||
BuildingCabin | building=cabin | Symbol (Type=Square, Color=black, MinZoom=14, Size=12:1;16:4) | |||
BuildingCabinDNT | tourism=cabin | Symbol (Type=Square, Color=black, MinZoom=14, Size=12:1;16:4) |