User:Hedavid/Kosmos/Verkehr
Jump to navigation
Jump to search
Introduction
This page contains a set of Kosmos rendering rules to highlight the tram transportation.
- use transparent landuse areas
- thick black lines for rails
- red names for stations and halts
URL of the rules to use in Kosmos: http://wiki.openstreetmap.org/index.php?title=User:Hedavid/Kosmos/Verkehr
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 |
---|---|---|---|---|---|
Coastline | natural=coastline | Polyline (MinZoom=1, Color=#8BCCE5, Width=11:1;17:5, Curved=true) | |||
Wood | natural=wood | Polygon (Color=#6099DB9C) | |||
Scrub | natural=scrub | Polygon (Color=#6099EE9C) | |||
Fell | natural=fell | Polygon (Color=#60CDDB69) | |||
Farm | landuse=farm | Polygon (Color=#60F6EEB7) | |||
Farmland | landuse=farmland | Polygon (Color=#60F6EEB7) | |||
Farmyard | landuse=farmyard | Polygon (Color=#60FFFFCC) | |||
Residential | landuse=residential | Polygon (Color=#60DCDCDC) | |||
Industrial | landuse=industrial | Polygon (Color=#60FEADB8) | |||
Commercial | landuse=commercial | Polygon (Color=#60EFC8C8) | |||
Retail | landuse=retail | Polygon (Color=#60F0DADA) | |||
Reservoir | landuse=reservoir | Polygon (Color=#60B5D0D0) | |||
Basin | landuse=basin | Polygon (Color=#60B5D0D0) | |||
Forest | landuse=forest | Polygon (Color=#60CFECA8) | |||
Cemetery | landuse=cemetery | Polygon (Color=#60A9CAAE, BackgroundColor=#6075AC7D, HatchStyle=DashedVertical) | |||
Allotments | landuse=allotments | Polygon (Color=#60CC9900) | |||
VillageGreen | landuse=village_green | Polygon (Color=#6099FF99) | |||
Grass | landuse=grass | Polygon (Color=#6099FF99) | |||
Common | landuse=common | Polygon (Color=#6099FF99) | |||
Park | leisure=park | Polygon (Color=#60C7F1A3) | |||
Pitch | leisure=pitch | Polygon (Color=#608AD2AE) | |||
GolfCourse | leisure=golf_course | Polygon (Color=#607CCC7C) | |||
Common | leisure=common | Polygon (Color=#60CFECA8) | |||
Sport | sport=* | Polygon (Color=#608AD2AE) | |||
ParkingArea | amenity=parking | Polygon (Color=#60FFFF99) | |||
School | amenity=school | Polygon (Color=#60F0F0D8) |
Water Features
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Water | natural=water | Polygon (Color=lightblue) | |||
River | waterway=river | Polyline (MinZoom=5, Color=lightblue, Width=5:1;10:2;17:14, Curved=true) | |||
Drain | waterway=drain | Polyline (MinZoom=13, Color=lightblue, Width=13:1;17:6, Curved=true) | |||
Stream | waterway=stream | Polyline (MinZoom=13, Color=lightblue, Width=13:1;17:6, Curved=true) | |||
Canal | waterway=canal | Polyline (MinZoom=5, Color=lightblue, Width=5:1;10:1;17:10, Curved=true) | |||
Riverbank | waterway=riverbank | Polygon (Color=lightblue) | |||
Land | natural=land | Polygon (Color=white) |
Railway
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Rail | railway=tram | Polyline (MinZoom=10, Color=black, BorderColor=black,DashStyle=DashDot, Width=3) | EliminateSeams | ||
Station | railway=tram_stop | Symbol (Type=Circle, Color=red, BorderColor=red, BorderWidth=0%, size=12:2;13:2;16:14) Text (Color=red, TagToUse=name, FontName=Trebuchet MS, FontSize=8) |
Other Ways
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Border | boundary=administrative | ||||
.level2 | admin_level=2 | Polyline (MinZoom=1, Color=red, DashStyle=DashDot, Width=1) | |||
.level4 | admin_level=4 | Polyline (MinZoom=10, Color=red, DashStyle=DashDot, Width=1) | |||
.level7 | admin_level=8 | Polyline (MinZoom=14, Color=red, DashStyle=Dot, Width=1)) | |||
.* | Polyline (MinZoom=12, Color=red, DashStyle=DashDot, Width=1) | ||||
Runway | aeroway=runway | Polyline (MinZoom=14, Color=#BBBBCC, Width=11:1;17:30) | |||
Taxiway | aeroway=taxiway | Polyline (MinZoom=14, Color=#BBBBCC, Width=12:1;17:10) |