User:Karli

From OpenStreetMap Wiki
Jump to: navigation, search

Introduction

This page contains a set of Kosmos rendering rules for a general purpose map. These rules do not cover the whole range of OSM tagging currently in use, so you are free to edit these rules and add new ones if you feel something is missing. However a couple of things should be noted:

  1. See Kosmos Rendering Help for help on how to write rendering rules.
  2. Before committing changes to the page, please make sure the rules are actually working. Try them with the latest version of Kosmos (2.00 or above), since they are not compatible with previous versions.
  3. These rules are intended for a general-purpose map, so if you want to create specialized maps, the preferred way is to create a new rules page (see Category:Kosmos_rules).

URL of the rules to use in Kosmos: http://wiki.openstreetmap.org/wiki/Kosmos_General_Purpose_Rules

Highways

Rule Name Targets Selector Template Options Comment
Strassen Way highway=residential Polyline (Color=#000000, BorderColor=white, BorderWidth=0%, Width=1:0.2;17:0.2, DashStyle=Solid, LineEndCap=Square, LineStartCap=Square) EliminateSeams
Strassen1 Way highway=living_street Polyline (Color=#000000, BorderColor=white, BorderWidth=0%, Width=1:0.2;17:0.2, DashStyle=Solid, LineEndCap=Square, LineStartCap=Square) EliminateSeams
Strassen2 Way highway=unclassified Polyline (Color=#000000, BorderColor=white, BorderWidth=0%, Width=1:0.2;17:0.2, DashStyle=Solid, LineEndCap=Square, LineStartCap=Square) EliminateSeams
Strassen3 Way highway=road Polyline (Color=#000000, BorderColor=white, BorderWidth=0%, Width=1:0.2;17:0.2, DashStyle=Solid, LineEndCap=Square, LineStartCap=Square) EliminateSeams
Strassen4 Way highway=service Polyline (Color=#000000, BorderColor=white, BorderWidth=0%, Width=1:0.2;17:0.2, DashStyle=Solid, LineEndCap=Square, LineStartCap=Square) EliminateSeams
Strassen5 Way highway=motorway Polyline (Color=#000000, BorderColor=white, BorderWidth=0%, Width=1:0.2;17:0.2, DashStyle=Solid, LineEndCap=Square, LineStartCap=Square) EliminateSeams
Strassen6 Way highway=motorway_link Polyline (Color=#000000, BorderColor=white, BorderWidth=0%, Width=1:0.2;17:0.2, DashStyle=Solid, LineEndCap=Square, LineStartCap=Square) EliminateSeams
Strassen7 Way highway=trunk Polyline (Color=#000000, BorderColor=white, BorderWidth=0%, Width=1:0.2;17:0.2, DashStyle=Solid, LineEndCap=Square, LineStartCap=Square) EliminateSeams
Strassen8 Way highway=trunk_link Polyline (Color=#000000, BorderColor=white, BorderWidth=0%, Width=1:0.2;17:0.2, DashStyle=Solid, LineEndCap=Square, LineStartCap=Square) EliminateSeams
Strassen9 Way highway=primary Polyline (Color=#000000, BorderColor=white, BorderWidth=0%, Width=1:0.2;17:0.2, DashStyle=Solid, LineEndCap=Square, LineStartCap=Square) EliminateSeams
Strassen10 Way highway=primary_link Polyline (Color=#000000, BorderColor=white, BorderWidth=0%, Width=1:0.2;17:0.2, DashStyle=Solid, LineEndCap=Square, LineStartCap=Square) EliminateSeams
Strassen11 Way highway=secondary Polyline (Color=#000000, BorderColor=white, BorderWidth=0%, Width=1:0.2;17:0.2, DashStyle=Solid, LineEndCap=Square, LineStartCap=Square) EliminateSeams
Strassen12 Way highway=secondary_link Polyline (Color=#000000, BorderColor=white, BorderWidth=0%, Width=1:0.2;17:0.2, DashStyle=Solid, LineEndCap=Square, LineStartCap=Square) EliminateSeams
Strassen13 Way highway=tertiary Polyline (Color=#000000, BorderColor=white, BorderWidth=0%, Width=1:0.2;17:0.2, DashStyle=Solid, LineEndCap=Square, LineStartCap=Square) EliminateSeams
Strassen14 Way highway=ford Polyline (Color=#000000, BorderColor=white, BorderWidth=0%, Width=1:0.2;17:0.2, DashStyle=Solid, LineEndCap=Square, LineStartCap=Square) EliminateSeams