Bahnpirat/Let there be light

From OpenStreetMap Wiki
Jump to: navigation, search

These rules render lit=* - Update: 28.Oct 2009

Options

Option Value Comment
MinKosmosVersion 2.2 Minimal version of Kosmos needed to use these rules
LandBackgroundColor #101010
SeaColor #000080


lit

Rule Name Targets Selector Template Options Comment
lit Way highway=*
.lit-no Way lit=no Polyline (MinZoom=5, Color=#404040, Width=12:1;13:2;17:3)
.lit-yes Way lit=yes Polyline (MinZoom=5, Color=orange, Width=12:1;13:2;17:3)
.lit-other Way lit=* Polyline (MinZoom=5, Color=red, Width=12:1;13:2;17:3)
.* Way Polyline (color=black, Width=11:1;14:1;15:2)


Water Features

Rule Name Targets Selector Template Options Comment
Coastline Way natural=coastline Polyline (MinZoom=1, Color=#000080, Width=11:1;17:5, Curved=true)
Water Area natural=water Polygon (Color=#000080)
River Way waterway=river Polyline (MinZoom=5, Color=#000080, Width=5:1;10:2;17:14, Curved=true)
Stream Way waterway=stream Polyline (MinZoom=13, Color=#000080, Width=13:1;17:6, Curved=true)
Canal Way waterway=canal Polyline (MinZoom=5, Color=#000080, Width=5:1;10:1;17:10, Curved=true)
Riverbank Area waterway=riverbank Polygon (Color=#000080)
Land Area natural=land Polygon (Color=#101010)
Border Way boundary=administrative
.level2 admin_level=2 Polyline (MinZoom=1, Color=#606060, DashStyle=DashDot, Width=1:1;8:1;17:6)
.level4 admin_level=4 Polyline (MinZoom=7, Color=#606060, DashStyle=DashDot, Width=1:1;8:1;17:4)
.level8 admin_level=8 Polyline (MinZoom=11, Color=#606060, DashStyle=Dot, Width=1:1;8:1;5:5))
.* Polyline (MinZoom=12, Color=#606060, DashStyle=DashDot, Width=1:1;8:1;17:6)


Places

Rule Name Targets Selector Template Options Comment
PlaceCountry Node place=country Text (MinZoom=3, MaxZoom=7, Color=white, TagToUse=name, FontName=Trebuchet MS, FontSize=3:7;7:20)
PlaceCity Node place=city Text (MinZoom=7, MaxZoom=14, Color=white, TagToUse=name, FontName=Arial, FontSize=7:6;15:16)
PlaceTown Node place=town Text (MinZoom=10, MaxZoom=15, Color=white, TagToUse=name, FontName=Arial, FontSize=10:6;15:16)
PlaceVillage Node place=village Text (MinZoom=12, MaxZoom=16, Color=white, TagToUse=name, FontName=Arial, FontSize=12:6;15:16)
PlaceIsland Node place=island Text (MinZoom=12, MaxZoom=16, Color=white, TagToUse=name, FontName=Arial, FontSize=12:6;15:16)
PlaceSuburb Node place=suburb Text (MinZoom=13, MaxZoom=16, Color=white, TagToUse=name, FontName=Arial, FontSize=13:6;15:14)
PlaceHamlet Node place=hamlet Text (MinZoom=14, MaxZoom=17, Color=white, TagToUse=name, FontName=Arial, FontSize=14:8;15:10)
PlaceLocality Node place=locality Text (MinZoom=14, MaxZoom=17, Color=white, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=14:8;17:14)
PlaceFarm Node place=farm Text (MinZoom=15, MaxZoom=19, Color=white, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=15:8;17:13)