User:LukasK/Kosmos
Jump to navigation
Jump to search
Introduction
This page contains a set of Kosmos rendering rules for a climbing guide map.
Options
Option | Value | Comment |
---|---|---|
MinKosmosVersion | 2.1 | Minimal version of Kosmos needed to use these rules |
LandBackgroundColor | #F8F8F8 | |
SeaColor | #B5D6F1 |
Land Areas
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Scrub | natural=scrub | Polygon (Color=#99EE9C) | |||
Residential | landuse=residential | Polygon (Color=#DCDCDC) | |||
Industrial | landuse=industrial | Polygon (Color=#FEADB8) | |||
Forest | landuse=forest | Polygon (Color=#99DB9C) | |||
Cemetery | landuse=cemetery | Polygon (Color=#A9CAAE, BackgroundColor=#75AC7D, HatchStyle=DashedVertical) |
Water Features
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Water | water=lake | Polygon (Color=#54AFFF) | |||
Stream | water=stream | Polyline (MinZoom=13, Color=#54AFFF, Width=13:1;18:2, Curved=true) |
Other Land Features
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Fence | barrier=fence | Polyline (MinZoom=15, Color=brown, Width=12:0.5;17:2, DashStyle=Dot) | |||
Contours | ele=* | for elevation contours generated by Srtm2Osm | |||
.Major | ValueNum(e,"ele") % 100 = 0 | Polyline (MinZoom=11, Color=#B0835B1E, Width=11:1;12:2, Curved=true) | Major contours (100m ones) | ||
.* | Polyline (MinZoom=12, Color=#B0835B1E, Width=1, Curved=true) | all other contours |
Highways
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
HighwayPath | highway=path | Polyline (MinZoom=15, Color=#505050, DashStyle=Dash, Width=15:1;18:2, Curved=true) | EliminateSeams | ||
HighwayTrack | highway=track | Polyline (MinZoom=13, Color=#505050, Width=13:1;18:3, Curved=true) | EliminateSeams | ||
HighwayStreet | highway=street | Polyline (MinZoom=12, Color=#F4F4F4, BorderColor=gray, Width=12:1;18:5) | EliminateSeams | ||
HighwayTertiary | highway=tertiary | Polyline (MinZoom=10, Color=#F7F496, BorderColor=gray, Width=10:1;18:8, Curved=true) | EliminateSeams |
Transport
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Rail | railway=rail | Polyline (MinZoom=6, Color=white, DashStyle=Dot, BorderColor=gray, Width=6:1;17:6) | EliminateSeams | ||
.tunnel | tunnel=yes | Polyline (MinZoom=6, Color=white, DashStyle=solid, BorderColor=gray, BorderDashStyle=Dash, Width=6:1;17:6) | EliminateSeams |
Other Ways
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
BoundaryAdministrative | boundary=administrative | ||||
.national | admin_level=national | Polyline (MinZoom=1, Color=red, DashStyle=DashDot, Width=1:1;9:1.5;17:6) |
Buildings
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
BuildingAny | building=* | Polygon (MinZoom=13, Color=thistle, BorderColor=#6B5B8E, BorderWidth=1) Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=16:6;17:10, TextMode=AreaCenter) |
Climbing
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Boulder | nature=boulder | Polygon (MinZoom=16, Color=#CCAE9D, BorderColor=#AA4100, BorderWidth=1, Curved=true) | |||
Rock | nature=rock | Polyline (MinZoom=14, BorderColor=#AA4100, Color=#AA4100, Width=14:1;18:3, BorderWidth=200%, Curved=true ) | |||
BoulderLabel | label=yes | Text (TextMode=Node, MinZoom=17, Color=black, TagToUse=mark, FontName=Arial, FontStyle=regular, FontSize=15:8;18:12) |