Kosmos Power Rules
Jump to navigation
Jump to search
This article or section may contain out-of-date information: Kosmos has been superseded by the more powerful Maperitive from the same author. Furthermore, the rules below are outdated not reflecting the currently used tagging scheme for power features.
If you know about the current state of affairs, please help keep everyone informed by updating this information. (Discussion)
If you know about the current state of affairs, please help keep everyone informed by updating this information. (Discussion)
This are rules for Kosmos version 2.x and up. With these rules power network will be rendered. Version 3.1 from July 28, 2009
- power:(tower,line,generator,sub_station)
- man_made=*:power_(fossil/hydro/nuclear/wind) and power_source=*:(biofossil,oil,gas,coal,hydro,wave,solar,nuclear,wind)
- Text for power lines, towers, and man_made:power_(fossil/hydro/nuclear/wind) and power_source:(biofossil,oil,gas,coal,hydro,wave,solar,nuclear,wind) rendered with name or ref or operator. (in this order)
- borders and coastlines is rendered for better orientation
- Generator without power_source will be displayed as white triangle with black border. But power_source without power=generator will not be displayed.
- special for Germany: operators are rendered differently.
Borders
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Border | boundary=administrative | ||||
.level2 | admin_level=2 | Polyline (MinZoom=1, Color=black, DashStyle=DashDot, Width=1:1;9:1.5;17:6) | |||
.level4 | admin_level=4 | Polyline (MinZoom=8, Color=black, DashStyle=DashDot, Width=1:1;8:1.5;17:6) | |||
.level8 | admin_level=8 | Polyline (MinZoom=12, Color=#A4A4A4, DashStyle=Dot, Width=1:1;9:1.5;5:5)) | |||
.* | Polyline (MinZoom=12, Color=black, DashStyle=DashDot, Width=1:1;9:1.5;17:6) | ||||
Coastline | natural=coastline | Polyline (MinZoom=1, Color=#8BCCE5, Width=11:1;17:5, Curved=true) |
Water Features
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Water | natural=water | Polygon (Color=lightblue) | |||
Marsh | natural=marsh | Polygon (Color=blue, BackgroundColor=#00000000, BorderColor=blue, BorderWidth=1:1;12:1;15:3, HatchStyle=DashedHorizontal) | |||
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) |
Motorway
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
HighwayMotorway | highway=motorway | EliminateSeams | |||
.Bridge | bridge=yes | Polyline (MinZoom=9, Color=#809BC0, BorderColor=gray, Width=9:1;17:14, BorderWidth=30%) | |||
.* | Polyline (MinZoom=9, Color=#809BC0, BorderColor=gray, Width=9:1;17:14) | ||||
HighwayMotorwayLink | highway=motorway_link | Polyline (MinZoom=9, Color=#809BC0, BorderColor=gray, Width=9:1;17:14) | EliminateSeams |
Railway
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
RailwayStation | railway=station | Symbol (Type=Diamond, MinZoom=12, Color=red, BorderColor=black, BorderWidth=15%, Size=12:6;17:20) | |||
RailDisused | railway=disused | Polyline (MinZoom=10, Color=white, DashStyle=Dot, BorderColor=#DDDDDD, Width=12:1;17:4) | EliminateSeams | ||
Railway | railway=* | Polyline (MinZoom=6, Color=white, DashStyle=Dot, BorderColor=gray, Width=6:1;17:6) | EliminateSeams |
Places
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
PlaceCountry | place=country | Text (MinZoom=3, MaxZoom=6, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=3:7;7:20) | |||
PlaceCity | place=city | Text (MinZoom=8, MaxZoom=14, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=7:10;17:30) | |||
PlaceTown | place=town | Text (MinZoom=10.5, MaxZoom=15, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=10:10;17:25) | |||
PlaceVillage | place=village | Text (MinZoom=12, MaxZoom=16, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:10;17:20) | |||
PlaceIsland | place=island | Text (MinZoom=12, MaxZoom=16, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:10;17:20) | |||
PlaceSuburb | place=suburb | Text (MinZoom=13, MaxZoom=16, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=13:10;17:20) | |||
PlaceHamlet | place=hamlet | Text (MinZoom=14, MaxZoom=17, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=14:8;17:14) | |||
PlaceLocality | place=locality | Text (MinZoom=14, MaxZoom=17, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=14:8;17:14) | |||
PlaceFarm | place=farm | Text (MinZoom=15, MaxZoom=19, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=15:8;17:13) |
Power:Line
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
PowerLine | power=line | Text (MinZoom=11, Color=black, TagToUse=name;ref, FontName=Arial, FontStyle=regular, FontSize=11:8;16:12) | |||
.DBEnergie | operator=DB_Energie | Polyline (Color=green, BorderColor=green, Width=12:0;14:2) | |||
.DeutscheBahnAG | operator=Deutsche_Bahn_AG | Polyline (Color=green, BorderColor=green, Width=12:0;14:2) | |||
.EnBW | operator=EnBW | Polyline (Color=cyan, BorderColor=lime, Width=12:0;14:2) | |||
.EON | operator=EON_Netz | Polyline (Color=#ff00ff, BorderColor=#ff00ff, Width=12:0;14:2) | |||
.EON_edis | operator=EON_edis | Polyline (Color=#ff00ff, BorderColor=#ff00ff, Width=12:0;14:2) | |||
.RWE | operator=RWE | Polyline (Color=blue, BorderColor=blue, Width=12:0;14:2) | |||
.StadtwerkeHannover | operator=Stadtwerke_Hannover_AG | Polyline (Color=#ff00ff, BorderColor=#ff00ff, Width=12:0;14:2) | |||
.PreussenElektra | operator=PreussenElektra | Polyline (Color=#ff00ff, BorderColor=#ff00ff, Width=12:0;14:2) | |||
.transpower | operator=transpower | Polyline (Color=lime, BorderColor=#ff00ff, Width=12:0;14:2) | |||
.VET | operator=Vattenfall_Europe_Transmission | Polyline (Color=orange, BorderColor=orange, Width=12:0;14:2) | |||
.operator | operator=* | Polyline (Color=gray, BorderColor=gray, Width=12:0;14:2) | |||
.* | Polyline (Color=red, BorderColor=red, Width=12:0;14:2) |
Power:Tower
Rule Name | Targets | Selector | Template | Options | Photo |
---|---|---|---|---|---|
PowerTower | power=tower | ||||
.PTref | ref=* | Symbol (Type=Circle, MinZoom=10, Color=lime, BorderColor=lime, BorderWidth=0%, size=10:2;13:3;16:14) Text (MinZoom=14, Color=black, TagToUse=ref;name, FontName=Arial, FontStyle=bold, FontSize=14:8;16:12) |
|||
.PT | Symbol (Type=Circle, MinZoom=10, Color=red, BorderColor=red, BorderWidth=0%, size=10:2;13:3;16:14) Text (MinZoom=14, Color=black, TagToUse=ref;name, FontName=Arial, FontStyle=bold, FontSize=14:8;16:12) |
Power:Sub_station
Rule Name | Targets | Selector | Template | Options | Photo |
---|---|---|---|---|---|
PowerStationNodea | power=station | Symbol (Type=Circle, MinZoom=7, Maxzoom=11, Color=#A0FFC000, BorderColor=orange, BorderWidth=2%, size=7:10;8:20;9:40;10:80) Text (MinZoom=12, Color=black, TagToUse=name;ref;operator, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:8;15:10) |
|||
PowerStationAreaa | power=station | Symbol (Type=Circle, MinZoom=7, Maxzoom=11, Color=#80FFC000, BorderColor=orange, BorderWidth=2%, size=7:10;8:20;9:40;10:80) Text (MinZoom=12, Color=black, TagToUse=name;ref;operator, FontName=Times New Roman, FontStyle=bold, FontSize=12:8;15:10, TextMode=AreaCenter) |
|||
PowerStationNodeb | power=station | Symbol (Type=Square, MinZoom=11, Color=#A0FFC000, BorderColor=orange, BorderWidth=2%, size=12:8;15:10) Text (MinZoom=12, Color=black, TagToUse=name;ref;operator, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:8;15:10) |
|||
PowerStationAreab | power=station | Polygon (MinZoom=11, Color=#A0FFC000, BorderColor=orange, BorderWidth=1:1;16:1) Text (MinZoom=12, Color=black, TagToUse=name;ref;operator, FontName=Times New Roman, FontStyle=bold, FontSize=12:8;15:10, TextMode=AreaCenter) |
|||
PowerSub_stationNode | power=sub_station | Symbol (Type=Square, MinZoom=9, Color=yellow, BorderColor=orange, BorderWidth=5%, size=9:8;15:10) Text (MinZoom=14, Color=black, TagToUse=name;ref;operator, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:8;15:10) |
|||
PowerSub_StationBuildingRaus | power=sub_station building=yes | Symbol (Type=Square, MinZoom=16, Color=white, BorderColor=white, BorderWidth=0%, size=16:1) Text (MinZoom=16, Color=white, TagToUse=name;ref;operator, FontName=Times New Roman, FontStyle=bold, FontSize=16:10, TextMode=AreaCenter) |
|||
PowerSub_StationAreaa | power=sub_station | Symbol (Type=Circle, MinZoom=9, Maxzoom=12, Color=#80FFFF00, BorderColor=orange, BorderWidth=2%, size=9:20;10:40) Text (MinZoom=12, Color=red, TagToUse=name;ref;operator, FontName=Times New Roman, FontStyle=bold, FontSize=12:8;15:10, TextMode=AreaCenter) |
|||
PowerSub_stationAreab | power=sub_station | Polygon (MinZoom=12, Color=yellow, BorderColor=orange, BorderWidth=1:1;16:1) Text (MinZoom=14, Color=black, TagToUse=name;ref;operator, FontName=Times New Roman, FontStyle=bold, FontSize=12:8;15:10, TextMode=AreaCenter) |
Man_made:Power_(...)
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Man_madePower_fossilNode | man_made=power_fossil | Symbol (Type=Diamond, MinZoom=8, Color=brown, BorderColor=black, BorderWidth=0%, size=10:5;14:16) Text (MinZoom=13, Color=black, TagToUse=name;ref;operator, TextLineOffset=-200%, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:8;15:10) |
|||
Man_madePower_hydroNode | man_made=power_hydro | Symbol (Type=Diamond, MinZoom=8, Color=blue, BorderColor=black, BorderWidth=0%, size=10:5;14:16) Text (MinZoom=13, Color=black, TagToUse=name;ref;operator, TextLineOffset=-200%, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:8;15:10) |
|||
Man_madePower_nuclearNode | man_made=power_nuclear | Symbol (Type=Diamond, MinZoom=8, Color=orange, BorderColor=black, BorderWidth=0%, size=10:5;14:16) Text (MinZoom=13, Color=black, TagToUse=name;ref;operator, TextLineOffset=-200%, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:8;15:10) |
|||
Man_madePower_windNode | man_made=power_wind | Symbol (Type=Circle, MinZoom=8, Color=cyan, BorderColor=black, BorderWidth=0%, size=10:5;16:15) Text (MinZoom=13, Color=black, TagToUse=name;ref;operator, TextLineOffset=-200%, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:8;15:10) |
Man_made:Power_(...)
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Man_madePower_fossilArea | man_made=power_fossil | Polygon (MinZoom=6, Color=brown, BorderColor=brown, BorderWidth=1:1;16:1, BackgroundColor=green) Text (MinZoom=13, Color=black, TagToUse=name;ref;operator, FontName=Times New Roman, FontStyle=bold, FontSize=12:8;15:10, TextMode=AreaCenter) |
|||
Man_madePower_hydroArea | man_made=power_hydro | Polygon (MinZoom=6, Color=blue, BorderColor=blue, BorderWidth=1:1;16:1, BackgroundColor=green) Text (MinZoom=13, Color=lime, TagToUse=name;ref;operator, FontName=Times New Roman, FontStyle=bold, FontSize=12:8;15:10, TextMode=AreaCenter) |
|||
Man_madePower_nuclearArea | man_made=power_nuclear | Polygon (MinZoom=6, Color=orange, BorderColor=orange, BorderWidth=1:1;16:1, BackgroundColor=green) Text (MinZoom=13, Color=black, TagToUse=name;ref;operator, FontName=Times New Roman, FontStyle=bold, FontSize=12:8;15:10, TextMode=AreaCenter) |
|||
Man_madePower_windArea | man_made=power_wind | Polygon (MinZoom=6, Color=cyan, Options=TopLevel, BorderColor=orange, BorderWidth=1:1;16:1, BackgroundColor=green) Text (MinZoom=13, Color=black, TagToUse=name;ref;operator, FontName=Times New Roman, FontStyle=bold, FontSize=12:8;15:10, TextMode=AreaCenter) |
Power_source
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
power_sourceNode | power=generator | ||||
.power_sourceBiofuelNode | power_source=biofuel | Symbol (Type=Diamond, MinZoom=8, Color=green, BorderColor=black, BorderWidth=0%, size=10:5;14:16) Text (MinZoom=13, Color=green, TagToUse=name;ref;operator, TextLineOffset=-200%, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:8;15:10) |
|||
.power_sourceCoalNode | power_source=coal | Symbol (Type=Diamond, MinZoom=8, Color=gray, BorderColor=black, BorderWidth=0%, size=10:5;14:16) Text (MinZoom=13, Color=black, TagToUse=name;ref;operator, TextLineOffset=-200%, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:8;15:10) |
|||
.power_sourceGasNode | power_source=gas | Symbol (Type=Diamond, MinZoom=8, Color=yellow, BorderColor=black, BorderWidth=0%, size=10:5;14:16) Text (MinZoom=13, Color=black, TagToUse=name;ref;operator, TextLineOffset=-200%, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:8;15:10) |
|||
.power_sourceHydroNode | power_source=hydro | Symbol (Type=Diamond, MinZoom=8, Color=blue, BorderColor=black, BorderWidth=0%, size=10:5;14:16) Text (MinZoom=13, Color=green, TagToUse=name;ref;operator, TextLineOffset=-200%, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:8;15:10) |
|||
.power_sourceNuclearNode | power_source=nuclear | Symbol (Type=Diamond, MinZoom=8, Color=orange, BorderColor=black, BorderWidth=0%, size=10:5;14:16) Text (MinZoom=13, Color=black, TagToUse=name;ref;operator, TextLineOffset=-200%, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:8;15:10) |
|||
.power_sourceOilNode | power_source=oil | Symbol (Type=Diamond, MinZoom=8, Color=black, BorderColor=black, BorderWidth=0%, size=10:5;14:16) Text (MinZoom=13, Color=black, TagToUse=name;ref;operator, TextLineOffset=-200%, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:8;15:10) |
|||
.power_sourceSolarNode | power_source=solar | Symbol (Type=Square, MinZoom=8, Color=lightgray, BorderColor=black, BorderWidth=0%, size=10:5;14:16) Text (MinZoom=13, Color=black, TagToUse=name;ref;operator, TextLineOffset=-200%, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:8;15:10) |
|||
.power_sourceWaveNode | power_source=wave | Symbol (Type=Diamond, MinZoom=8, Color=blue, BorderColor=black, BorderWidth=0%, size=10:5;14:16) Text (MinZoom=13, Color=green, TagToUse=name;ref;operator, TextLineOffset=-200%, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:8;15:10) |
|||
.power_sourceWindNode | power_source=wind | Symbol (Type=Circle, MinZoom=8, Color=cyan, BorderColor=cyan, BorderWidth=0%, size=10:2;16:15) Text (MinZoom=13, Color=black, TagToUse=name;ref;operator, TextLineOffset=-200%, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:8;15:10) |
|||
.* | power=generator | Symbol (Type=Triangle, MinZoom=7, Color=white, BorderColor=black, BorderWidth=0%, size=10:5;14:16) Text (MinZoom=12, Color=black, TagToUse=name;ref;operator, TextLineOffset=-200%, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:8;15:10) |
Power_source
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
power_sourceArea | power=generator | ||||
.power_sourceBiofuelArea | power_source=biofuel | Polygon (MinZoom=9, Color=green, BorderColor=black, BorderWidth=1:1;16:1) Text (MinZoom=12, Color=black, TagToUse=name;ref;operator, FontName=Times New Roman, FontStyle=bold, FontSize=12:8;15:10, TextMode=AreaCenter) |
|||
.power_sourceCoalArea | power_source=coal | Polygon (MinZoom=9, Color=gray, BorderColor=black, BorderWidth=1:1;16:1, BackgroundColor=green) Text (MinZoom=12, Color=black, TagToUse=name;ref;operator, FontName=Times New Roman, FontStyle=bold, FontSize=12:8;15:10, TextMode=AreaCenter) |
|||
.power_sourceGasArea | power_source=gas | Polygon (MinZoom=9, Color=yellow, BorderColor=black, BorderWidth=1:1;16:1, BackgroundColor=green) Text (MinZoom=12, Color=black, TagToUse=name;ref;operator, FontName=Times New Roman, FontStyle=bold, FontSize=12:8;15:10, TextMode=AreaCenter) |
|||
.power_sourceHydroArea | power_source=hydro | Polygon (MinZoom=9, Color=blue, BorderColor=black, BorderWidth=1:1;16:1) Text (MinZoom=12, Color=lime, TagToUse=name;ref;operator, FontName=Times New Roman, FontStyle=bold, FontSize=12:8;15:10, TextMode=AreaCenter) |
|||
.power_sourceNuclearArea | power_source=nuclear | Polygon (MinZoom=9, Color=orange, BorderColor=black, BorderWidth=1:1;16:1) Text (MinZoom=12, Color=black, TagToUse=name;ref;operator, FontName=Times New Roman, FontStyle=bold, FontSize=12:8;15:10, TextMode=AreaCenter) |
|||
.power_sourceOilArea | power_source=oil | Polygon (MinZoom=9, Color=black, BorderColor=black, BorderWidth=1:1;16:1, BackgroundColor=green) Text (MinZoom=12, Color=gray, TagToUse=name;ref;operator, FontName=Times New Roman, FontStyle=bold, FontSize=12:8;15:10, TextMode=AreaCenter) |
|||
.power_sourceSolarArea | power_source=solar | Polygon (MinZoom=9, Color=lightgray, BorderColor=black, BorderWidth=1:1;16:1) Text (MinZoom=12, Color=black, TagToUse=name;ref;operator, FontName=Times New Roman, FontStyle=bold, FontSize=12:8;15:10, TextMode=AreaCenter) |
|||
.power_sourceWaveArea | power_source=wave | Polygon (MinZoom=9, Color=#5555ff, BorderColor=black, BackgroundColor=blue, BorderWidth=1:1;16:1, HatchStyle=DashedHorizontal) Text (MinZoom=12, Color=lime, TagToUse=name;ref;operator, FontName=Times New Roman, FontStyle=bold, FontSize=12:8;15:10, TextMode=AreaCenter) |
|||
.power_sourceWindArea | power_source=wind | Polygon (MinZoom=9, Color=cyan, Options=TopLevel, BorderColor=cyan, BorderWidth=1:1;16:1, BackgroundColor=cyan) Text (MinZoom=12, Color=black, TagToUse=name;ref;operator, FontName=Times New Roman, FontStyle=bold, FontSize=12:8;15:10, TextMode=AreaCenter) |
|||
.* | power=generator | Polygon (MinZoom=7, Color=gray, BorderColor=gray, size=10:5;14:16, BorderWidth=1:1;16:1) Text (MinZoom=12, Color=black, TagToUse=name;ref;operator, FontName=Times New Roman, FontStyle=bold, FontSize=12:8;15:10, TextMode=AreaCenter) |
Routes
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
RelationOperatorDB_Energie | type=route route=power operator=DB_Energie | Polyline (MinZoom=7, Color=#4050FF50, Width=7:1;17:10, Curved=true) | |||
RelationOperatorVET | type=route route=power operator=Vattenfall_Europe_Transmission | Polyline (MinZoom=7, Color=#40FFFF00, Width=7:1;17:10, Curved=true) | |||
RelationOperatorEON_Netz | type=route route=power operator=EON_Netz | Polyline (MinZoom=7, Color=#40FF00FF, Width=7:1;17:10, Curved=true) | |||
RelationOperatorRWE | type=route route=power operator=RWE | Polyline (MinZoom=7, Color=#400202FE, Width=7:1;17:10, Curved=true) | |||
RouteFoot | type=route route=foot | Polyline (MinZoom=7, Color=#500000aa, Width=7:1;17:10, Curved=true) |