User:Rimmugygur/Kosmos Rules
Jump to navigation
Jump to search
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 |
|---|---|---|---|---|---|
| Wood | natural=wood |
Polygon (Color=#b099DB9C) | |||
| Forest | landuse=forest |
Polygon (Color=#b099DB9C) | |||
| Scrub | natural=scrub |
Polygon (Color=#99EE9C) | |||
| Fell | natural=fell |
Polygon (Color=#C0FCB3) | |||
| Farm | landuse=farm |
Polygon (Color=#EBE0AF) | |||
| Allotments | landuse=allotments |
Polygon (Color=#EBE0AF) | |||
| Quarry | landuse=quarry |
Polygon (Color=#FEADB8) | |||
| Reservoir | landuse=reservoir |
Polygon (Color=#9BECFF) | |||
| Residential | landuse=residential |
Polygon (Color=#DCDCDC) | |||
| Parking | amenity=parking |
Polygon (Color=#DCDCDC) | |||
| Skiing | sport=skiing |
Polygon (Color=#ADFF9B) | |||
| SportsCentre | leisure=sports_centre |
Polygon (Color=#ADFF9B) | |||
| SportMulti | sport=multi |
Polygon (Color=#ADFF9B) |
Water Features
| Rule Name | Targets | Selector | Template | Options | Comment |
|---|---|---|---|---|---|
| Water | natural=water |
Polygon (Color=#9BECFF) Text (MinZoom=11, TextMode=AreaCenter, FontStyle=Italic, Color=blue, OutlineColor=white, OutlineWidth=20%, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=11:4;17:20) | |||
| Marsh1 | natural=marsh |
Polygon (Color=blue, BackgroundColor=#00000000, BorderColor=blue, BorderWidth=1:1;12:1;15:3, HatchStyle=DashedHorizontal) | |||
| Marsh2 | natural=wetland |
Polygon (Color=blue, BackgroundColor=#00000000, BorderWidth=1:1;12:1;15:3, HatchStyle=DashedHorizontal) | |||
| River | waterway=river |
Polyline (MinZoom=5, Color=#9BECFF, Width=5:1;10:2;17:14, Curved=true) | |||
| Drain | waterway=drain |
Polyline (MinZoom=13, Color=#9BECFF, Width=13:1;17:6, Curved=true) | |||
| Stream | waterway=stream |
Polyline (MinZoom=13, Color=#9BECFF, Width=13:1;17:6, Curved=true) | |||
| StreamText | waterway=stream |
Text (MinZoom=15, Color=black, FontStyle=Italic, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9, TextLineOffset=100%) | |||
| Canal | waterway=canal |
Polyline (MinZoom=5, Color=#9BECFF, Width=5:1;10:1;17:10, Curved=true) | |||
| Riverbank | waterway=riverbank |
Polygon (Color=#9BECFF) | |||
| Land | natural=land |
Polygon (Color=white) |
Natural Features
| Rule Name | Targets | Selector | Template | Options | Comment |
|---|---|---|---|---|---|
| Peak | natural=peak |
Symbol (Type=Triangle, MinZoom=11, Color=gray, BorderColor=black, BorderWidth=15%, Size=13:2;17:10) Text (MinZoom=12.5, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=Italic, FontSize=12:6;17:10, TextLineOffset=-150%) |
|||
| Ditch | barrier=ditch |
Polyline (MinZoom=15, Color=brown, Width=12:0.5;17:2, DashStyle=Dot) |
Roads And Paths
| Rule Name | Targets | Selector | Template | Options | Comment |
|---|---|---|---|---|---|
| Track | highway=track |
EliminateSeams | |||
| .Grade3 | tracktype=grade3 |
Polyline (MinZoom=13, Color=#B0B071, Width=11:1;13:2;17:5, DashStyle=Dash) | EliminateSeams | ||
| .Grade4 | tracktype=grade4 |
Polyline (MinZoom=14, Color=#B0B071, Width=11:1;13:2;17:5, DashStyle=Dot) | EliminateSeams | ||
| .Grade5 | tracktype=grade5 |
Polyline (MinZoom=14.5, Color=#B0B071, Width=11:1;13:1.5;17:3, DashStyle=Dot) | EliminateSeams | ||
| .* | Polyline (MinZoom=12, Color=#B0B071, Width=11:1;13:2;17:5) | EliminateSeams | |||
| RoadMotorway | highway=motorway |
Polyline (MinZoom=11, Color=yellow, BorderColor=gray, Width=11:1;13:1.5;17:5) | |||
| RoadPrimary | highway=primary |
Polyline (MinZoom=11, Color=yellow, BorderColor=gray, Width=11:1;13:1.5;17:5) | |||
| RoadSecondary | highway=secondary |
Polyline (MinZoom=11, Color=yellow, BorderColor=gray, Width=11:1;13:1.5;17:5) | |||
| RoadTertiary | highway=tertiary |
Polyline (MinZoom=11, Color=yellow, BorderColor=gray, Width=11:1;13:1.5;17:5) | |||
| RoadUnclassified | highway=unclassified |
Polyline (MinZoom=12, Color=white, BorderColor=gray, Width=11:1;13:1.5;17:5) | |||
| RoadService | highway=service |
Polyline (MinZoom=13, Color=white, BorderColor=gray, Width=11:1;13:1.5;17:5) | |||
| RoadResidential | highway=residential |
Polyline (MinZoom=12, Color=white, BorderColor=gray, Width=11:1;13:1.5;17:5) | |||
| UnpavedSurface | surface=unpaved |
Polyline (MinZoom=14, Color=lightgray, Width=11:1;13:1.5;17:3, DashStyle=Dot) |
Hiking Routes
| Rule Name | Targets | Selector | Template | Options | Comment |
|---|---|---|---|---|---|
| Path1 | highway=footway |
EliminateSeams | |||
| .VisibilityIntermediate | trail_visibility=intermediate |
Polyline (MinZoom=14, Color=#719E6E, Width=11:1;13:1.5;17:3, DashStyle=Dash) | |||
| .VisibilityBad | trail_visibility=bad |
Polyline (MinZoom=14, Color=#719E6E, Width=11:1;13:1.5;17:3, DashStyle=Dot) | |||
| .VisibilityHorrible | trail_visibility=horrible |
Polyline (MinZoom=14, Color=#719E6E, Width=11:1;13:1.5;17:3, DashStyle=Dot) | |||
| .VisibilityNo | trail_visibility=no |
Polyline (MinZoom=15, Color=#719E6E, Width=11:1;13:1.5;17:3, DashStyle=Dot) | |||
| .* | Polyline (MinZoom=13, Color=#719E6E, Width=11:1;13:1.5;17:3) | ||||
| Path2 | highway=path |
EliminateSeams | |||
| .VisibilityIntermediate | trail_visibility=intermediate |
Polyline (MinZoom=14, Color=#719E6E, Width=11:1;13:1.5;17:3, DashStyle=Dash) | |||
| .VisibilityBad | trail_visibility=bad |
Polyline (MinZoom=14, Color=#719E6E, Width=11:1;13:1.5;17:3, DashStyle=Dot) | |||
| .VisibilityHorrible | trail_visibility=horrible |
Polyline (MinZoom=14, Color=#719E6E, Width=11:1;13:1.5;17:3, DashStyle=Dot) | |||
| .VisibilityNo | trail_visibility=no |
Polyline (MinZoom=15, Color=#719E6E, Width=11:1;13:1.5;17:3, DashStyle=Dot) | |||
| .* | Polyline (MinZoom=13, Color=#719E6E, Width=11:1;13:1.5;17:3) | ||||
| Traiblazed | trailblazed=yes |
Polyline (MinZoom=13, Color=#b0ff0000, Width=11:1;13:1.5;17:4, DashStyle=Dash) | |||
| HikingRoutes | route=foot |
||||
| National | network=nwn |
Polyline (MinZoom=12, Color=#50ff0000, Width=11:1;13:6;17:18) | |||
| Local | network=lwn |
Polyline (MinZoom=12, Color=#500000d0, Width=11:1;13:3;17:12) |
Manmade
| Rule Name | Targets | Selector | Template | Options | Comment |
|---|---|---|---|---|---|
| CableCar | aerialway=cable_car |
Symbol (MinZoom=14, Type=Circle, Density=30, Color=#00000000, BorderWidth=20%, BorderColor=black, Size=12:2;17:10) Polyline (MinZoom=13, Color=black, Width=12:0.5;17:3) |
|||
| DragLift | aerialway=drag_lift |
Symbol (MinZoom=16, Type=Circle, Density=30, Color=#00000000, BorderWidth=10%, BorderColor=black, Size=12:2;17:10) Polyline (MinZoom=14, Color=black, Width=12:0.5;17:2) |
|||
| ChairLift | aerialway=chair_lift |
Symbol (MinZoom=15.5, Type=Circle, Density=30, Color=#00000000, BorderWidth=10%, BorderColor=black, BackgroundColor=black, Size=12:2;17:10) Polyline (MinZoom=14, Color=black, Width=12:0.5;17:2) |
|||
| PowerLine | power=line |
Polyline (MinZoom=14, Color=black, Width=12:0.5;17:2) | |||
| Fence | barrier=fence |
Polyline (MinZoom=15, Color=brown, Width=12:0.5;17:2, DashStyle=Dot) | |||
| ParkingNode | amenity=parking |
Icon (MinZoom=14, IconUrl=http://wiki.openstreetmap.org/images/9/9a/Parking20.png, Width=12:5;17:20) | |||
| RestaurantNode | amenity=restaurant |
Icon (MinZoom=14, IconUrl=http://wiki.openstreetmap.org/images/a/a2/Restaurant20.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
| PlaceofworshipNode | amenity=place_of_worship religion=christian |
Icon (MinZoom=14, IconUrl=http://wiki.openstreetmap.org/images/a/aa/Church2.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
| CastleNode | historic=castle |
Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/d/d7/Castle20.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
| RuinsNode | historic=ruins |
Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/d/df/Ruins20.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
| MonumentNode | historic=monument |
Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/d/db/Monument20.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
| Information | tourism=information |
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) | |||
| .Guidepost | information=guidepost |
Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/9/91/Guidepost_doubleguidepost.png, Width=12:5;17:20) | File:Guidepost doubleguidepost | ||
| .* | Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/d/db/Information20.png, Width=12:5;17:20) | ||||
| HotelNode | tourism=hotel |
Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/c/c9/Hotel20.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
| MotelNode | tourism=motel |
Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/5/55/Motel20.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
| HostelNode | tourism=hostel |
Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/6/6a/Hostel20.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
| Guest_houseNode | tourism=guest_house |
Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/5/57/Guest_house20.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
| AlpineHut | tourism=alpine_hut |
Icon (MinZoom=12, IconUrl=http://wiki.openstreetmap.org/images/b/b6/Tourism-alpine_hut.png, Width=12:12;17:20) Text (MinZoom=13, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
| Camp_siteNode | tourism=camp_site |
Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/1/19/Campsite20.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
| Caravan_siteNode | tourism=caravan_site |
Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/3/32/Caravansite20.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
| Picnic_siteNode | tourism=picnic_site |
Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/6/68/Picnicsite20.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
| ViewpointNode | tourism=viewpoint |
Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/1/18/Viewpoint20.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
| MuseumNode | tourism=museum |
Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/6/66/Museum20.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
| WindmillNode | man_made=windmill |
Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/e/e3/Windmill20.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
| WatertowerNode | man_made=water_tower |
Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/3/33/Watertower20.png, Width=12:5;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
| HuntingStand | amenity=hunting_stand |
Icon (MinZoom=14, IconUrl=http://wiki.openstreetmap.org/images/thumb/0/06/Hunting_stand.svg/120px-Hunting_stand.svg.png, Width=12:10;17:30) | |||
| Shelter | amenity=shelter |
Icon (MinZoom=14, IconUrl=http://wiki.openstreetmap.org/images/f/ff/Amenity-shelter.png, Width=12:10;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
| HuntingLodge | tourism=hunting_lodge |
Icon (MinZoom=14, IconUrl=http://www.gpsdrive.de/development/map-icons/classic.small/accommodation/hostel.png, Width=12:10;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
|||
| ForestersLodge | man_made=forester's_lodge |
Icon (MinZoom=14, IconUrl=http://www.gpsdrive.de/development/map-icons/classic.small/accommodation/hostel.png, Width=12:10;17:20) Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%) |
Other Stuff
| Rule Name | Targets | Selector | Template | Options | Comment |
|---|---|---|---|---|---|
| NationalBoundary | boundary=administrative admin_level=2 |
Polyline (MinZoom=1, Color=red, DashStyle=DashDot, Width=1:1;9:1.5;17:6) | |||
| BoundaryNationalPark | boundary=national_park |
Polyline (MinZoom=9, Color=#60008000, DashStyle=DashDot, Width=9:1.5;17:6) Text (MinZoom=12, TextMode=AreaCenter, Color=#b0008000, TagToUse=name, FontName=Trebuchet MS, FontSize=7:8;17:10) | |||
| NoExit | noexit=yes |
Icon (MinZoom=14, IconUrl=http://wiki.openstreetmap.org/images/7/7f/Noexit_20x20.png, Width=12:5;17:20) | |||
| TodoContinue | todo=continue |
Icon (MinZoom=14, IconUrl=http://www.gpsdrive.de/development/map-icons/classic.big/unknown.png, Width=12:5;17:10) | |||
| TodoJunction | todo=junction |
Icon (MinZoom=14, IconUrl=http://www.gpsdrive.de/development/map-icons/classic.big/unknown.png, Width=12:5;17:10) |
Places
| Rule Name | Targets | Selector | Template | Options | Comment |
|---|---|---|---|---|---|
| PlaceCity | 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 | place=town |
Text (MinZoom=10, MaxZoom=15, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=10:10;17:25, OutlineColor=white) | |||
| PlaceVillage | place=village |
Text (MinZoom=12, MaxZoom=16, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:10;17:20, OutlineColor=white) | |||
| PlaceIsland | place=island |
Text (MinZoom=12, MaxZoom=16, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=12:10;17:20, OutlineColor=white) | |||
| PlaceSuburb | place=suburb |
Text (MinZoom=13, MaxZoom=16, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=13:10;17:20, OutlineColor=white) | |||
| PlaceHamlet | place=hamlet |
Text (MinZoom=14, MaxZoom=17, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=14:8;17:14, OutlineColor=white) | |||
| PlaceLocalityNode | place=locality |
Text (MinZoom=14, MaxZoom=17, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=14:8;17:14, OutlineColor=white) | |||
| PlaceLocalityArea | place=locality |
Text (MinZoom=12, TextMode=AreaCenter, MaxZoom=17, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=italic, FontSize=14:10;17:20, OutlineColor=white) | |||
| PlaceFarm | place=farm |
Text (MinZoom=15, MaxZoom=19, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=15:8;17:13, OutlineColor=white) |
Contours
| Rule Name | Targets | Selector | Template | Options | Comment |
|---|---|---|---|---|---|
| Contour | contour=elevation |
Polyline (MinZoom=4, Color=black, BorderColor=gray, Width=11:1;13:1.5;17:5) |