Introduction
This page contains a set of rendering rules for Kosmos.
URL of the rules to use in Kosmos: http://wiki.openstreetmap.org/index.php?title=User:Vibrog/Kosmos-rules/dntskilt
Options
Option
|
Value
|
Comment
|
MinKosmosVersion |
2.1 |
Minimal version of Kosmos needed to use these rules
|
LandBackgroundColor |
white
|
SeaColor |
#87D2E7
|
Water Features
Rule Name
|
Targets
|
Selector
|
Template
|
Options
|
Comment
|
Coastline |
![way](/w/images/thumb/e/ee/Osm_element_way.svg/20px-Osm_element_way.svg.png) |
natural=coastline |
Polyline (MinZoom=1, Color=#87D2E7, Width=11:1;17:2)
|
Reservoir |
![area](/w/images/thumb/e/e6/Osm_element_area.svg/20px-Osm_element_area.svg.png) |
landuse=reservoir |
Polygon (Color=#87D2E7)
|
Basin |
![area](/w/images/thumb/e/e6/Osm_element_area.svg/20px-Osm_element_area.svg.png) |
landuse=basin |
Polygon (Color=#87D2E7)
|
Water |
![area](/w/images/thumb/e/e6/Osm_element_area.svg/20px-Osm_element_area.svg.png) |
natural=water |
Polygon (Color=#87D2E7)
|
River |
![way](/w/images/thumb/e/ee/Osm_element_way.svg/20px-Osm_element_way.svg.png) |
waterway=river |
Polyline (MinZoom=5, Color=#87D2E7, Width=5:1;10:2;17:14, Curved=true)
|
Drain |
![way](/w/images/thumb/e/ee/Osm_element_way.svg/20px-Osm_element_way.svg.png) |
waterway=drain |
Polyline (MinZoom=13, Color=#87D2E7, Width=13:1;17:6, Curved=true)
|
Stream |
![way](/w/images/thumb/e/ee/Osm_element_way.svg/20px-Osm_element_way.svg.png) |
waterway=stream |
Polyline (MinZoom=13, Color=#87D2E7, Width=13:1;17:6, Curved=true)
|
Canal |
![way](/w/images/thumb/e/ee/Osm_element_way.svg/20px-Osm_element_way.svg.png) |
waterway=canal |
Polyline (MinZoom=5, Color=#87D2E7, Width=5:1;10:1;17:10, Curved=true)
|
Riverbank |
![area](/w/images/thumb/e/e6/Osm_element_area.svg/20px-Osm_element_area.svg.png) |
waterway=riverbank |
Polygon (Color=#87D2E7)
|
Land |
![area](/w/images/thumb/e/e6/Osm_element_area.svg/20px-Osm_element_area.svg.png) |
natural=land |
Polygon (Color=white)
|
Contours
Rule Name
|
Targets
|
Selector
|
Template
|
Options
|
Comment
|
Contours |
![way](/w/images/thumb/e/ee/Osm_element_way.svg/20px-Osm_element_way.svg.png) |
ele=* |
|
|
for elevation contours generated by Srtm2Osm
|
.Major |
![way](/w/images/thumb/e/ee/Osm_element_way.svg/20px-Osm_element_way.svg.png) |
ValueNum(e,"ele") % 100 = 0 |
Polyline (MinZoom=11, Color=#99C8C6B9, Width=11:1;14:2, Curved=true) |
|
Major contours (100m ones)
|
.* |
![way](/w/images/thumb/e/ee/Osm_element_way.svg/20px-Osm_element_way.svg.png) |
|
Polyline (MinZoom=12, Color=#40C8C6B9, Width=1, Curved=true) |
|
all other contours
|
Signposts
Marked paths
Rule Name
|
Targets
|
Selector
|
Template
|
Options
|
Comment
|
TrailsMarkedBlue |
![way](/w/images/thumb/e/ee/Osm_element_way.svg/20px-Osm_element_way.svg.png) |
marked_trail=* |
Polyline (MinZoom=10, Color=blue, Width=13:2;17:4) |
EliminateSeams
|
TrailsMarkedBluePlanned |
![way](/w/images/thumb/e/ee/Osm_element_way.svg/20px-Osm_element_way.svg.png) |
fixme:marked_trail=* |
Polyline (MinZoom=10, Color=blue, Width=13:2;17:4) |
EliminateSeams
|
TrailsBlazed |
![way](/w/images/thumb/e/ee/Osm_element_way.svg/20px-Osm_element_way.svg.png) |
trailblazed=* |
Polyline (MinZoom=10, Color=blue, Width=13:2;17:4) |
EliminateSeams
|