User:Seufer wolle/Kosmos/FW

From OpenStreetMap Wiki
Jump to navigation Jump to search

Testseite Rendering...

Options

Option Value Comment
MinKosmosVersion 2.1 Minimal version of Kosmos needed to use these rules
LandBackgroundColor #B3F6D0
SeaColor #B5D6F1

Water Features

Rule Name Targets Selector Template Options Comment
Water area natural=water Polygon (Color=#5F80A5), Curved=true
Text (MinZoom=12, MaxZoom=18, Color=#F7EF0B, TagToUse=ref, FontName=Trebuchet MS, FontStyle=bold, FontSize=13:7;16:22, OutlineColor=black, TextMode=AreaCenter, Options=TopLevel)
Marsh area natural=marsh Polygon (Color=blue, BackgroundColor=#00000000, BorderColor=blue, BorderWidth=1:1;12:1;15:3, HatchStyle=DashedHorizontal)
River way waterway=river Polyline (MinZoom=5, Color=#5F80A5, Width=5:1;10:2;17:14, Curved=true)
Drain way waterway=drain Polyline (MinZoom=13, Color=lightblue, Width=13:1;17:6, Curved=true)
Stream way waterway=stream Polyline (MinZoom=13, Color=lightblue, Width=13:1;17:6, Curved=true)
Canal way waterway=canal Polyline (MinZoom=5, Color=lightblue, Width=5:1;10:1;17:10, Curved=true)
Riverbank area waterway=riverbank Polygon (Color=lightblue)

Land Areas

Rule Name Targets Selector Template Options Comment
Wood area natural=wood Polygon (Color=#6AEF7C)
Residential area landuse=residential Polygon (Color=#DCDCDC)
Industrial area landuse=industrial Polygon (Color=#FEADB8)
Commercial area landuse=commercial Polygon (Color=#EFC8C8)
Reservoir area landuse=reservoir Polygon (Color=#B5D0D0)
Basin area landuse=basin Polygon (Color=#B5D0D0)
Forest area landuse=forest Polygon (Color=#6AEF7C)
Cemetery area landuse=cemetery Polygon (Color=#A9CAAE, BackgroundColor=#75AC7D, HatchStyle=DashedVertical)
Grass area landuse=grass Polygon (Color=#28d25c)
Tennis area sport=tennis Polygon (Color=lightsalmon)
Swimming area sport=swimming Polygon (Color=lightblue)
Park area leisure=park Polygon (Color=#C7F1A3)
Pitch area leisure=pitch Polygon (Color=#8AD2AE)
GolfCourse area leisure=golf_course Polygon (Color=#7CCC7C)
Common area leisure=common Polygon (Color=#CFECA8)


Highways

Rule Name Targets Selector Template Options Comment
HighwayFootway way highway=footway Polyline (MinZoom=13, Color=#FFDE93, BorderColor=gray, Width=13:1;17:5) EliminateSeams
HighwayFootwayText way highway=footway Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9)
HighwayPath way highway=path Polyline (MinZoom=13, Color=#FFDE93, DashStyle=Dash, BorderColor=gray, Width=13:1;17:5) EliminateSeams
HighwayPathText way highway=path Text (MinZoom=15, Color=black, DashStyle=Dash,TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9)
HighwayCicleway way highway=cycleway Polyline (MinZoom=13, Color=#0202FE, DashStyle=Dash, Width=13:1;17:5) EliminateSeams
HighwayUnclassified way highway=unclassified Polyline (MinZoom=11, Color=white, BorderColor=gray, LineEndCap=Round, LineStartCap=Round, Width=11:1;13:3;17:14) EliminateSeams
HighwayUnclassifiedText way highway=unclassified Text (MinZoom=14, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=14:8;17:14)
HighwayResidential way highway=residential Polyline (MinZoom=11, Color=white, BorderColor=gray, LineEndCap=Round, LineStartCap=Round, Width=11:1;13:3;17:14) EliminateSeams
HighwayResidentialText way highway=residential Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9)
HighwayService way highway=service Polyline (MinZoom=12, Color=white, BorderColor=gray, LineEndCap=Round, LineStartCap=Round, Width=12:1;13:2;17:6) EliminateSeams
HighwayServiceText way highway=service Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=14:8;17:14)
HighwayTrack way highway=track EliminateSeams
.g1 way tracktype=grade1 Polyline (MinZoom=11, Color=#E2E2E2, BorderColor=gray, LineEndCap=Round, LineStartCap=Round, Width=11:1;14:3;17:10, DashStyle=Solid ) EliminateSeams
.g2 way tracktype=grade2 Polyline (MinZoom=11, Color=#E2E2E2, BorderColor=gray, LineEndCap=Round, LineStartCap=Round, Width=11:1;14:3;17:10, DashStyle=Solid ) EliminateSeams
.g3 way tracktype=grade3 Polyline (MinZoom=11, Color=black, Width=11:1;14:3;17:3, LineEndCap=Round, LineStartCap=Round, DashStyle=Dash) EliminateSeams
.g4 way tracktype=grade4 Polyline (MinZoom=11, Color=black, Width=11:1;14:3;17:3, LineEndCap=Round, LineStartCap=Round, DashStyle=Dot) EliminateSeams
.g5 way tracktype=grade5 Polyline (MinZoom=11, Color=black, Width=11:1;14:3;17:3, LineEndCap=Round, LineStartCap=Round, DashStyle=Dot) EliminateSeams
.* way highway=track Polyline (MinZoom=11, Color=black, Width=11:1;14:2;17:3, LineEndCap=Round, LineStartCap=Round, DashStyle=Dot) EliminateSeams
HighwayTrackText way highway=track Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=14:8;17:14)
HighwayTertiary way highway=tertiary Polyline (MinZoom=10, Color=#F7F496, BorderColor=gray, Width=10:1;13:4;17:14) EliminateSeams
HighwayTertiaryText way highway=tertiary Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=14:8;17:14)
HighwaySecondary way highway=secondary EliminateSeams
.Bridge bridge=yes Polyline (MinZoom=8, Color=#FDBF6F, BorderColor=gray, Width=8:1;10:2;13:6;17:14, BorderWidth=30%)
.* Polyline (MinZoom=8, Color=#FDBF6F, BorderColor=gray, Width=8:1;10:2;13:6;17:14)
HighwaySecondaryText way highway=secondary Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=14:8;17:14)
HighwayPrimary way highway=primary EliminateSeams
.Bridge bridge=yes Polyline (MinZoom=6, Color=#E46D71, BorderColor=gray, Width=6:0;11:3;17:14, BorderWidth=30%)
.* Polyline (MinZoom=6, Color=#E46D71, BorderColor=gray, Width=6:0;11:3;17:14)
HighwayPrimaryText way highway=primary Text (MinZoom=13, Color=#E46D71, BorderColor=#E46D71, BorderWidth=2, BackgroundColor=white, TagToUse=ref, TextMode=WayCenter, FontName=Arial, FontStyle=bold, FontSize=14:8;17:14)
HighwayPrimaryLink way highway=primary_link Polyline (MinZoom=6, Color=#E46D71, BorderColor=gray, Width=6:1;17:14) EliminateSeams
HighwayTrunk way highway=trunk Polyline (MinZoom=6, Color=#41A317, BorderColor=gray, Width=6:1;17:14) EliminateSeams
HighwayTrunkLink way highway=trunk_link Polyline (MinZoom=6, Color=#41A317, BorderColor=gray, Width=6:1;17:14) EliminateSeams
HighwayMotorway way highway=motorway EliminateSeams
.Bridge bridge=yes Polyline (MinZoom=6, Color=#809BC0, BorderColor=gray, Width=6:1;17:14, BorderWidth=30%)
.* Polyline (MinZoom=6, Color=#809BC0, BorderColor=gray, Width=6:1;17:14)
HighwayMotorwayLink way highway=motorway_link Polyline (MinZoom=6, Color=#809BC0, BorderColor=gray, Width=6:1;17:8) EliminateSeams
HighwayPedestrianPriority way highway=living_street Polyline (MinZoom=11, Color=white, BorderColor=gray, LineEndCap=Round, LineStartCap=Round, Width=11:1;13:3;17:14) EliminateSeams
HighwayPedestrianPriorityText way highway=living_street Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9)

Places

Rule Name Targets Selector Template Options Comment
PlaceCity node place=city Text (MinZoom=7, MaxZoom=14, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=7:10;17:30, OutlineColor=white, OutlineWidth=20%)
PlaceTown node place=town Text (MinZoom=10, MaxZoom=15, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=10:10;17:25, OutlineColor=white)
PlaceVillage node place=village Text (MinZoom=12, MaxZoom=16, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:10;17:20, OutlineColor=white)
PlaceSuburb node place=suburb Text (MinZoom=13, MaxZoom=16, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=13:10;17:20, OutlineColor=white)
PlaceHamlet node place=hamlet Text (MinZoom=14, MaxZoom=17, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=14:8;17:14, OutlineColor=white)
PlaceLocality node place=locality Text (MinZoom=14, MaxZoom=17, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=14:8;17:14, OutlineColor=white)
PlaceFarm node place=farm Text (MinZoom=14, MaxZoom=19, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=15:8;17:13, OutlineColor=white)

Ext.

Rule Name Targets Selector Template Options Comment
FireHydrant node fire_hydrant=underground Icon (MinZoom=14, IconUrl=http://www.feuerwehr-altenholz.de/img/H.jpg, Width=12:13;17:25)
.Diameter50 node fire_hydrant:pipe_diameter=50 Text (MinZoom=14, Color=red, TagToUse=fire_hydrant:pipe_diameter, FontName=Arial, BorderWidth=2, BackgroundColor=white, OutlineColor=black, FontStyle=regular, FontSize=14:5;17:13)
.Diameter80 node fire_hydrant:pipe_diameter=80 Text (MinZoom=14, Color=red, TagToUse=fire_hydrant:pipe_diameter, FontName=Arial, OutlineColor=black, FontStyle=regular, FontSize=14:7;17:16, TextLineOffset=-100%)
.Diameter100 node fire_hydrant:pipe_diameter=100 Text (MinZoom=14, Color=orange, TagToUse=fire_hydrant:pipe_diameter, FontName=Arial, OutlineColor=black, FontStyle=regular, FontSize=14:7;17:16, TextLineOffset=-100%)
.Diameter150 node fire_hydrant:pipe_diameter=150 Text (MinZoom=14, Color=orange, TagToUse=fire_hydrant:pipe_diameter,FontName=Arial, OutlineColor=black, FontStyle=regular, FontSize=14:7;17:16, TextLineOffset=-100%)
.Diameter200 node fire_hydrant:pipe_diameter=200 Text (MinZoom=14, Color=blue, TagToUse=fire_hydrant:pipe_diameter,FontName=Arial, OutlineColor=black, FontStyle=regular, FontSize=14:7;17:16, TextLineOffset=-100%)
.Diameter250 node fire_hydrant:pipe_diameter=250 Text (MinZoom=14, Color=blue, TagToUse=fire_hydrant:pipe_diameter,FontName=Arial, OutlineColor=black, FontStyle=regular, FontSize=14:7;17:16, TextLineOffset=-100%)
.Diameter300 node fire_hydrant:pipe_diameter=300 Text (MinZoom=14, Color=#1B5B17, TagToUse=fire_hydrant:pipe_diameter,FontName=Arial, OutlineColor=black, FontStyle=regular, FontSize=14:7;17:16, TextLineOffset=-100%)
.Diameter400 node fire_hydrant:pipe_diameter=400 Text (MinZoom=14, Color=#1B5B17, TagToUse=fire_hydrant:pipe_diameter,FontName=Arial, OutlineColor=black, FontStyle=regular, FontSize=14:7;17:16, TextLineOffset=-100%)
Gate node barrier=gate Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/9/94/Gate.png, Width=12:6;16:23)

Power

Rule Name Targets Selector Template Options Comment
PowerTower node power=tower Power-tower.JPG
.PT node Symbol (Type=Circle, MinZoom=11, 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-tower.JPG

Power=Cable

Rule Name Targets Selector Template Options Comment
PowerCable way power=cable Polyline (MinZoom=9, Color=black, DashStyle=Dash, Width=12:0;14:2)
Text (MinZoom=10, Color=black, TagToUse=name;ref, FontName=Arial, FontStyle=regular, FontSize=10:8;16:12)
.V110k way voltage=110000 Polyline (MinZoom=7.8, Color=#1985FF, DashStyle=Dash, Width=7:0.5;14:2)
Text (MinZoom=10, Color=black, TagToUse=name;ref, FontName=Arial, FontStyle=regular, FontSize=10:8;16:12)
110000
.V220k way voltage=220000 Polyline (Color=#00a000, DashStyle=Dash, Width=12:2;14:2)
Text (MinZoom=10, Color=black, TagToUse=name;ref, FontName=Arial, FontStyle=regular, FontSize=10:8;16:12)
220000
.V380k way voltage=380000 Polyline (Color=red, DashStyle=Dash, Width=6:2;9:2;14:4)
Text (MinZoom=10, Color=black, TagToUse=name;ref, FontName=Arial, FontStyle=regular, FontSize=10:8;16:12)
380000
.V400k way voltage=400000 Polyline (Color=brown, DashStyle=Dash, Width=6:2;9:3;14:4)
Text (MinZoom=10, Color=black, TagToUse=name;ref, FontName=Arial, FontStyle=regular, FontSize=10:8;16:12)
400000
.V600k way voltage=600000 Polyline (Color=#1E90FF, DashStyle=Dash, Width=6:2;9:3;14:4)
Text (MinZoom=10, Color=black, TagToUse=name;ref, FontName=Arial, FontStyle=regular, FontSize=10:8;16:12)
600000
.* way Polyline (MinZoom=8, Color=black, DashStyle=Dot, Width=7:0.5;14:2)
Text (MinZoom=10, Color=black, TagToUse=name;ref, FontName=Arial, FontStyle=regular, FontSize=10:8;16:12)


Power=Line

Rule Name Targets Selector Template Options Comment
PowerLine way power=line Polyline (MinZoom=9, Color=black, DashStyle=solid, Width=12:0;14:2)
Text (MinZoom=10, Color=black, TagToUse=name;ref, FontName=Arial, FontStyle=regular, FontSize=10:8;16:12)
.V110k way voltage=110000 Polyline (MinZoom=7.8, Color=#1985FF, Width=7:0.5;14:2)
Text (MinZoom=10, Color=black, TagToUse=name;ref, FontName=Arial, FontStyle=regular, FontSize=10:8;16:12)
110000
.V220k way voltage=220000 Polyline (Color=#00a000, Width=12:2;14:2)
Text (MinZoom=10, Color=black, TagToUse=name;ref, FontName=Arial, FontStyle=regular, FontSize=10:8;16:12)
220000
.V380k way voltage=380000 Polyline (Color=red, Width=6:2;9:2;14:4)
Text (MinZoom=10, Color=black, TagToUse=name;ref, FontName=Arial, FontStyle=regular, FontSize=10:8;16:12)
380000
.V400k way voltage=400000 Polyline (Color=brown, Width=6:2;9:3;14:4)
Text (MinZoom=10, Color=black, TagToUse=name;ref, FontName=Arial, FontStyle=regular, FontSize=10:8;16:12)
400000
.V600k way voltage=600000 Polyline (Color=#1E90FF, Width=6:2;9:3;14:4)
Text (MinZoom=10, Color=black, TagToUse=name;ref, FontName=Arial, FontStyle=regular, FontSize=10:8;16:12)
600000
.V220110k way voltage=220000;110000 Polyline (Color=#00a000, BackgroundColor=#1985FF, DashStyle=Dash, Width=6:2;9:2;14:4)
Text (MinZoom=10, Color=black, TagToUse=name;ref, FontName=Arial, FontStyle=regular, FontSize=10:8;16:12)
220000
.V380110k way voltage=380000;110000 Polyline (Color=pink, BackgroundColor=#1985FF, DashStyle=Dot, Width=6:2;9:2;14:4)
Text (MinZoom=10, Color=black, TagToUse=name;ref, FontName=Arial, FontStyle=regular, FontSize=10:8;16:12)
380000
.V380220k way voltage=380000;220000 Polyline (Color=#FF00FF, BackgroundColor=#00a000, DashStyle=Dash, Width=6:2;9:2;14:4)
Text (MinZoom=10, Color=black, TagToUse=name;ref, FontName=Arial, FontStyle=regular, FontSize=10:8;16:12)
380000
.* way Polyline (MinZoom=8, Color=black, DashStyle=Dot, Width=7:0.5;14:2)
Text (MinZoom=10, Color=black, TagToUse=name;ref, FontName=Arial, FontStyle=regular, FontSize=10:8;16:12)