See [[Kosmos Rendering Help]] for help. ==Rendering Rules== === Land Areas === {| class="wikitable" border="1" cellspacing="0" cellpadding="2" width="100%" |- style="background-color:#F8F4C2" ! style="width:15%" | Rule Name ! style="width:7%" | Targets ! style="width:20%" | Selector ! style="width:25%" | Template ! style="width:5%" | Options ! style="width:15%" | Comment |- | Coastline || {{IconWay}} || {{tag|natural|coastline}} || Polyline (MinZoom=1, Color=#8BCCE5, Width=11:1;17:5, Curved=true) |- | Wood || {{IconArea}} || {{tag|natural|wood}} || Polygon (Color=#99DB9C) |- | Scrub || {{IconArea}} || {{tag|natural|scrub}} || Polygon (Color=#99EE9C) |- | Fell || {{IconArea}} || {{tag|natural|fell}} || Polygon (Color=#CDDB69) |- | Farm || {{IconArea}} || {{tag|landuse|farm}} || Polygon (Color=#EFDD8B) |- | Residential || {{IconArea}} || {{tag|landuse|residential}} || Polygon (Color=#DCDCDC) |- | Industrial || {{IconArea}} || {{tag|landuse|industrial}} || Polygon (Color=#FEADB8) |- | Commercial || {{IconArea}} || {{tag|landuse|commercial}} || Polygon (Color=#EFC8C8) |- | Retail || {{IconArea}} || {{tag|landuse|retail}} || Polygon (Color=#F0DADA) |- | Reservoir || {{IconArea}} || {{tag|landuse|reservoir}} || Polygon (Color=#B5D0D0) |- | Forest || {{IconArea}} || {{tag|landuse|forest}} || Polygon (Color=#CFECA8) |- | Cemetery || {{IconArea}} || {{tag|landuse|cemetery}} || Polygon (Color=#A9CAAE, BackgroundColor=#75AC7D, HatchStyle=DashedVertical) |- | Allotments || {{IconArea}} || {{tag|landuse|allotments}} || Polygon (Color=#C8B084) |- | School || {{IconArea}} || {{tag|amenity|school}} || Polygon (Color=#F0F0D8)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Times New Roman, FontStyle=bold, FontSize=15:6;17:10, TextMode=AreaCenter) |- | ParkingArea || {{IconArea}} || {{tag|amenity|parking}} || Polygon (Color=#F6EEB7) |- | Skiing || {{IconArea}} || {{tag|sport|skiing}} || Polygon (Color=#CDDB69) |- | HorseRacing || {{IconArea}} || {{tag|sport|horse_racing}} || Polygon (Color=peru) |- | Tennis || {{IconArea}} || {{tag|sport|tennis}} || Polygon (Color=lightsalmon) |- | Swimming || {{IconArea}} || {{tag|sport|swimming}} || Polygon (Color=lightblue) |- | Park || {{IconArea}} || {{tag|leisure|park}} || Polygon (Color=#C7F1A3) |- | Pitch || {{IconArea}} || {{tag|leisure|pitch}} || Polygon (Color=#8AD2AE) |- | GolfCourse || {{IconArea}} || {{tag|leisure|golf_course}} || Polygon (Color=#7CCC7C) |- | Common || {{IconArea}} || {{tag|leisure|common}} || Polygon (Color=#CFECA8) |} ===Icons=== {| class="wikitable" border="1" cellspacing="0" cellpadding="2" width="100%" | RestaurantNode || {{IconNode}} || {{tag|amenity|restaurant}} || Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/5/58/Restaurant.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) || || [[Image:Restaurant.png|20px]] |- | PubNode || {{IconNode}} || {{tag|amenity|pub}} || Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/2/25/Amenity-pub.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) || || [[Image:Amenity-pub.png|20px]] |} ===Buildings=== {| class="wikitable" border="1" cellspacing="0" cellpadding="2" width="100%" | BuildingResidential || {{IconArea}} || {{tag|building|residential}} || Polygon (MinZoom=12, Color=#F3D6B6, BorderColor=#6B5B8E, BorderWidth=1) |- | BuildingSport || {{IconArea}} || {{tag|building|sport}} || Polygon (MinZoom=12, Color=thistle, BorderColor=#6B5B8E, BorderWidth=1) |- | BuildingMuseum || {{IconArea}} || {{tag|building|museum}} || Polygon (MinZoom=12, Color=thistle, BorderColor=#6B5B8E, BorderWidth=1) |- | BuildingShop || {{IconArea}} || {{tag|building|shop}} || Polygon (MinZoom=12, Color=thistle, BorderColor=#6B5B8E, BorderWidth=1) |- | BuildingOffice || {{IconArea}} || {{tag|building|office}} || Polygon (MinZoom=12, Color=thistle, BorderColor=#6B5B8E, BorderWidth=1) |- | ContoursMajor || {{IconWay}} || IsTaggedWith(e,"ele") AND ValueNum(e,"ele") % 100 = 0 || Polyline (MinZoom=11, Color=#B0AD8852, Width=11:1;12:2, Curved=true) || || for elevation contours generated by [[Srtm2Osm]] |- | ContoursMinor || {{IconWay}} || IsTaggedWith(e,"ele") AND ValueNum(e,"ele") % 100 <> 0 || Polyline (MinZoom=12, Color=#B0AD8852, Width=1, Curved=true) || || for elevation contours generated by [[Srtm2Osm]] |- | Runway || {{IconWay}} || {{tag|aeroway|runway}} || Polyline (MinZoom=11, Color=#BBBBCC, Width=11:1;17:30) |- | Taxiway || {{IconWay}} || {{tag|aeroway|taxiway}} || Polyline (MinZoom=12, Color=#BBBBCC, Width=12:1;17:10) |- | Water || {{IconArea}} || {{tag|natural|water}} || Polygon (Color=lightblue) |- | River || {{IconWay}} || {{tag|waterway|river}} || Polyline (MinZoom=5, Color=lightblue, Width=5:1;10:2;17:14, Curved=true) |- | Drain || {{IconWay}} || {{tag|waterway|drain}} || Polyline (MinZoom=13, Color=lightblue, Width=13:1;17:6, Curved=true) |- | Stream || {{IconWay}} || {{tag|waterway|stream}} || Polyline (MinZoom=13, Color=lightblue, Width=13:1;17:6, Curved=true) |- | Canal|| {{IconWay}} || {{tag|waterway|canal}} || Polyline (MinZoom=5, Color=lightblue, Width=5:1;10:1;17:10, Curved=true) |- | Riverbank || {{IconArea}} || {{tag|waterway|riverbank}} || Polygon (Color=lightblue) |- | Land || {{IconArea}} || {{tag|natural|land}} || Polygon (Color=white) |} ===Highways=== {| class="wikitable" border="1" cellspacing="0" cellpadding="2" width="100%" | HighwayFootway || {{IconWay}} || {{tag|highway|footway}} || Polyline (MinZoom=13, Color=#FFDE93, BorderColor=gray, Width=13:1;17:6) || EliminateSeams |- | HighwayFootwayText || {{IconWay}} || {{tag|highway|footway}} || Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9) |- | HighwaySteps || {{IconWay}} || {{tag|highway|steps}} || Polyline (MinZoom=13, Color=#FFDE93, DashStyle=Dot, BorderColor=gray, Width=13:1;17:6) || EliminateSeams |- | HighwayBridleway || {{IconWay}} || {{tag|highway|bridleway}} || Polyline (MinZoom=13, Color=#DDDDDD, BorderColor=gray, Width=13:1;17:6) || EliminateSeams |- | HighwayBridlewayText || {{IconWay}} || {{tag|highway|bridleway}} || Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9) |- | HighwayCicleway || {{IconWay}} || {{tag|highway|cycleway}} || Polyline (MinZoom=13, Color=#0202FE, DashStyle=Dash, Width=13:1;17:4) || EliminateSeams |- | HighwayUnsurfaced || {{IconWay}} || {{tag|highway|unsurfaced}} || Polyline (MinZoom=14, Color=white, BorderDashStyle=Dash, BorderColor=gray, Width=11:1;14:3;17:14) || EliminateSeams |- | HighwayUnsurfacedText || {{IconWay}} || {{tag|highway|unsurfaced}} || Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9) |- | HighwayUnclassified || {{IconWay}} || {{tag|highway|unclassified}} || Polyline (MinZoom=11, Color=white, BorderColor=gray, Width=11:1;13:3;17:14) || EliminateSeams |- | HighwayUnclassifiedText || {{IconWay}} || {{tag|highway|unclassified}} || Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9) |- | HighwayResidential || {{IconWay}} || {{tag|highway|residential}} || Polyline (MinZoom=11, Color=white, BorderColor=gray, Width=11:1;13:3;17:14) || EliminateSeams |- | HighwayResidentialText || {{IconWay}} || {{tag|highway|residential}} || Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9) |- | HighwayService || {{IconWay}} || {{tag|highway|service}} || Polyline (MinZoom=12, Color=white, BorderColor=gray, Width=12:1;13:2;17:13) || EliminateSeams |- | HighwayServiceText || {{IconWay}} || {{tag|highway|service}} || Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:8) |- | HighwayMinor || {{IconWay}} || {{tag|highway|minor}} || Polyline (MinZoom=12, Color=white, BorderColor=gray, Width=12:1;13:2;17:13) || EliminateSeams |- | HighwayMinorText || {{IconWay}} || {{tag|highway|minor}} || Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:8) |- | HighwayPedestrian || {{IconWay}} || {{tag|highway|pedestrian}} || Polyline (MinZoom=13, Color=lightgray, BorderColor=gray, Width=14:3;17:14) || EliminateSeams |- | HighwayPedestrianArea || {{IconArea}} || {{tag|highway|pedestrian}} {{tag|area|yes}} || Polygon (MinZoom=13, Color=lightgray, BorderColor=gray, BorderWidth=1)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9, TextMode=AreaCenter) || EliminateSeams |- | HighwayPedestrianText || {{IconWay}} || {{tag|highway|pedestrian}} || Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9) |- | HighwayTrack || {{IconWay}} || {{tag|highway|track}} || Polyline (MinZoom=11, Color=#E2E2E2, BorderColor=gray, Width=11:1;17:10) || EliminateSeams |- | HighwayTertiary || {{IconWay}} || {{tag|highway|tertiary}} || Polyline (MinZoom=10, Color=#F7F496, BorderColor=gray, Width=10:1;13:4;17:14) || EliminateSeams |- | HighwayTertiaryText || {{IconWay}} || {{tag|highway|tertiary}} || Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9) |- | HighwaySecondary || {{IconWay}} || {{tag|highway|secondary}} || || ChildrenFirst |- | .Bridge || || {{tag|bridge|yes}} || Polyline (MinZoom=8, Color=#FDBF6F, BorderColor=gray, BorderWidth=30%, Width=8:1;10:2;13:6;17:14) || EliminateSeams |- | .* || || || Polyline (MinZoom=8, Color=#FDBF6F, BorderColor=gray, Width=8:1;10:2;13:6;17:14) || EliminateSeams |- | HighwaySecondaryText || {{IconWay}} || {{tag|highway|secondary}} || Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9) |- | HighwayPrimary || {{IconWay}} || {{tag|highway|primary}} || Polyline (MinZoom=6, Color=#E46D71, BorderColor=gray, Width=6:0;11:3;17:14) || EliminateSeams |- | HighwayPrimaryText || {{IconWay}} || {{tag|highway|primary}} || Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9) |- | HighwayPrimaryLink || {{IconWay}} || {{tag|highway|primary_link}} || Polyline (MinZoom=6, Color=#E46D71, BorderColor=gray, Width=6:1;17:14) || EliminateSeams |- | HighwayTrunk || {{IconWay}} || {{tag|highway|trunk}} || Polyline (MinZoom=6, Color=green, BorderColor=gray, Width=6:1;17:14) || EliminateSeams |- | HighwayTrunkLink || {{IconWay}} || {{tag|highway|trunk_link}} || Polyline (MinZoom=6, Color=green, BorderColor=gray, Width=6:1;17:14) || EliminateSeams |- | HighwayMotorway || {{IconWay}} || {{tag|highway|motorway}} || Polyline (MinZoom=6, Color=#809BC0, BorderColor=gray, Width=6:1;17:14) || EliminateSeams |- | HighwayMotorwayLink || {{IconWay}} || {{tag|highway|motorway_link}} || Polyline (MinZoom=6, Color=#809BC0, BorderColor=gray, Width=6:1;17:14) || EliminateSeams |- | Rail || {{IconWay}} || {{tag|railway|rail}} || Polyline (MinZoom=6, Color=white, DashStyle=Dot, BorderColor=gray, Width=6:1;17:6) || EliminateSeams |- | RailDisused || {{IconWay}} || {{tag|railway|disused}} || Polyline (MinZoom=10, Color=white, DashStyle=Dot, BorderColor=#DDDDDD, Width=10:1;17:4) || EliminateSeams |- | CableCar || {{IconWay}} || {{tag|aerialway|cable_car}} || Symbol (MinZoom=12, Type=Circle, Density=30, Color=#00000000, BorderWidth=20%, BorderColor=black, Size=12:2;17:10)
Polyline (MinZoom=12, Color=black, Width=12:0.5;17:3) |- | DragLift || {{IconWay}} || {{tag|aerialway|drag_lift}} || Symbol (MinZoom=12, Type=Circle, Density=30, Color=#00000000, BorderWidth=10%, BorderColor=black, Size=12:2;17:10)
Polyline (MinZoom=12, Color=black, Width=12:0.5;17:2) |- | ChairLift || {{IconWay}} || {{tag|aerialway|chair_lift}} || Symbol (MinZoom=12, Type=Circle, Density=30, Color=#00000000, BorderWidth=10%, BorderColor=black, BackgroundColor=black, Size=12:2;17:10)
Polyline (MinZoom=12, Color=black, Width=12:0.5;17:2) |- | Ferry || {{IconWay}} || {{tag|route|ferry}} || Polyline (MinZoom=8, Color=darkgray, DashStyle=Dot, Width=8:0.1;17:4) |- | Border || {{IconWay}} || {{tag|boundary|administrative}} || Polyline (MinZoom=1, Color=black, DashStyle=DashDot, Width=1:1;9:1.5;17:6) || || Temporary, there are conflicting ways of tagging borders |- | ParkingNode || {{IconNode}} || {{tag|amenity|parking}} || Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/7/74/Parking.png, Width=12:5;17:20) || || [[Image:Parking.png|20px]] |- | TrafficSignals || {{IconNode}} || {{tag|highway|traffic_signals}} || Icon (MinZoom=16, IconUrl=http://wiki.openstreetmap.org/images/a/a1/Icon-highway_traffic_signals.png, Width=16:6;17:7) || || [[Image:Icon-highway_traffic_signals.png|6px]] |- | RailwayStation || {{IconNode}} || {{tag|railway|station}} || Symbol (Type=Diamond, MinZoom=13, Color=red, BorderColor=black, BorderWidth=15%, Size=13:6;17:20) |- | Peak || {{IconNode}} || {{tag|natural|peak}} || Symbol (Type=Triangle, MinZoom=11, Color=gray, BorderColor=black, BorderWidth=15%, Size=13:6;17:20)
Text (MinZoom=12, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=Italic, FontSize=12:6;17:15, TextLineOffset=-200%) |- | PlaceCity || {{IconNode}} || {{tag|place|city}} || Text (MinZoom=7, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=7:10;17:30) || |- | PlaceTown || {{IconNode}} || {{tag|place|town}} || Text (MinZoom=10, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=10:10;17:25) || |- | PlaceSuburb || {{IconNode}} || {{tag|place|suburb}} || Text (MinZoom=13, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=13:10;17:20) || |- | PlaceVillage || {{IconNode}} || {{tag|place|village}} || Text (MinZoom=12, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:10;17:20) || |- | PlaceHamlet || {{IconNode}} || {{tag|place|hamlet}} || Text (MinZoom=14, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=14:8;17:14) || |- | PlaceCountry || {{IconNode}} || {{tag|place|country}} || Text (MinZoom=3, MaxZoom=7, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=3:7;7:20) || |- | rcnref || {{IconNode}} || {{tag|network|rcn}} || Symbol (Type=Circle,MinZoom=11,Color=green, BorderColor=black, BorderWidth=5%, Size=13:6;17:20)
Text (MinZoom=7, Color=white, TagToUse=rcn_ref, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9) |} [[Category:Kosmos_rules]]