User:Willem1/Kosmos rendering rules topo

From OpenStreetMap Wiki
Jump to: navigation, search

Introduction

This page contains my rendering rules for Kosmos.

URL of the rules to use in Kosmos: http://wiki.openstreetmap.org/index.php?title=User:Willem1/Kosmos_rendering_rules

Options

Option Value Comment
MinKosmosVersion 2.1 Minimal version of Kosmos needed to use these rules
LandBackgroundColor #BAE9A9
SeaColor #8BCCE5


Water Features

Rule Name Targets Selector Template Options Comment
Water Area natural=water Polygon (MinZoom=12, Color=#8BCCE5)
River Way waterway=river Polyline (MinZoom=5, Color=#8BCCE5, Width=5:1;10:2;17:14, Curved=true)
Coastline Way natural=coastline Polyline (MinZoom=1, Color=#8BCCE5, Width=5:1;10:2;17:14, Curved=true)

Boundaries

Rule Name Targets Selector Template Options Comment
BoundaryAdministrative Way boundary=administrative
.land admin_level=2 Polyline (MinZoom=1, Color=red, DashStyle=DashDot, Width=1:1;9:1.5;17:6)
.provincie admin_level=4 Polyline (MinZoom=7, Color=black, DashStyle=DashDot, Width=1:1;9:1.5;17:6)

Places

Rule Name Targets Selector Template Options Comment
PlaceCity Node place=city Symbol (Type=Circle, Size=7:5;10:8, BorderColor=black, BorderWidth=20%, BackgroundColor=yellow)
PlaceTown Node place=town Symbol (MinZoom=10, Type=Circle, Size=4, BorderColor=black, BorderWidth=20%, BackgroundColor=orange)