User:Alan Vos/Whitewater Kosmos Rendering Rules

From OpenStreetMap Wiki
Jump to: navigation, search

Rendering rule for use with Kosmos, to create whitewater maps (see WikiProject Whitewater Maps) showing different graded sections as different colours.

The colours used here are purely to show the approach, opinions as to which are best will no doubt differ.

These rules are intended to be as consistent as possible and to make best use of whichever tags have been provided.

The distinction drawn between rapids and sections is that rapids are more detailed than sections, so get priority for rendering. Sections, rapid as nodes and rapid as ways can all have _name and _grade tags. On nodes, rapid_grade overlays the icon, rapid_name is shown below


Example rendering:

Soca OSM.png


Map Legend

Kosmos Whitewater Key Trial.png

Differences

These are the differences compared to the current WikiProject Whitewater Maps article and associated Whitewater_Kosmos_Rendering_Rules:

  • different grading colours, mainly due to personal preference
  • whitewater:section_name is added
  • whitewater:rapid_name and whitewater:rapid_grade are both included for both nodes and ways
  • whitewater=portage is added for both waterways and highways (portage paths)
  • show river names when zoomed out past minimum zoom levels for whitewater tags, or when there is no section or rapid name
  • moved rendering of names for sections and rapids as ways into different rules from the polylines to reduce duplication
  • removed rules for styles of tagging that were not found in OSM data (could easily put these back)

TODO

  • a matching icon for portage nodes (currently uses LevelCrossing)



Contours

Rule Name Targets Selector Template Options Comment
ContoursMajor Way IsTaggedWith(e,"ele") AND ValueNum(e,"ele") % 100 = 0 Polyline (MinZoom=11, Color=#FFAD8852, Width=1, Curved=true) for elevation contours generated by Srtm2Osm
ContoursMinor Way IsTaggedWith(e,"ele") AND ValueNum(e,"ele") % 100 <> 0 Polyline (MinZoom=12, Color=#60AD8852, Width=1, Curved=true) for elevation contours generated by Srtm2Osm



Land Areas

Rule Name Targets Selector Template Options Comment
Coastline Way natural=coastline Polyline (MinZoom=1, Color=#8BCCE5, Width=11:1;17:5, Curved=true)
Wood Area natural=wood Polygon (Color=#99DB9C)
Scrub Area natural=scrub Polygon (Color=#99EE9C)
Fell Area natural=fell Polygon (Color=#CDDB69)
Farm Area landuse=farm Polygon (Color=#EFDD8B)
Residential Area landuse=residential Polygon (Color=#DCDCDC)
Industrial Area landuse=industrial Polygon (Color=#FEADB8)
Commercial Area landuse=commercial Polygon (Color=#EFC8C8)
Retail Area landuse=retail Polygon (Color=#F0DADA)
Reservoir Area landuse=reservoir Polygon (Color=#B5D0D0)
Basin Area landuse=basin Polygon (Color=#B5D0D0)
Forest Area landuse=forest Polygon (Color=#CFECA8)
Cemetery Area landuse=cemetery Polygon (Color=#A9CAAE, BackgroundColor=#75AC7D, HatchStyle=DashedVertical)
Allotments Area landuse=allotments Polygon (Color=#C8B084)
School Area 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)
Skiing Area sport=skiing Polygon (Color=#CDDB69)
HorseRacing Area sport=horse_racing Polygon (Color=peru)
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)
ParkingArea Area amenity=parking Polygon (Color=#F6EEB7)

Water Features

Rule Name Targets Selector Template Options Comment
Water Area natural=water Polygon (Color=lightblue)
River Way waterway=river Polyline (MinZoom=5, Color=lightblue, Width=5:1;10:1;17:8, 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:4, Curved=true)
Canal Way waterway=canal Polyline (MinZoom=5, Color=lightblue, Width=5:1;10:1;17:6, Curved=true)
Riverbank Area waterway=riverbank Polygon (Color=lightblue)
Land Area natural=land Polygon (Color=white)

Whitewater Maps

Rule Name Targets Selector Template Options Comment
PutinNode Node whitewater=put_in Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/1/1b/Ww_put_in.png, Width=12:7;17:24, Options=TopLevel) Ww put in.png
EgressNode Node whitewater=egress Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/e/e7/Ww_egress.png, Width=12:7;17:24, Options=TopLevel) Ww egress.png
Putin/EgressNode Node whitewater=put_in;egress Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/2/2a/Ww_put_in_egress.png, Width=12:7;17:24, Options=TopLevel) Ww put in egress.png
Egress/PutinNode Node whitewater=egress;put_in Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/2/2a/Ww_put_in_egress.png, Width=12:7;17:24, Options=TopLevel) Ww put in egress.png
HazardNode Node whitewater=hazard Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/b/bb/Ww_hazard.png, Width=12:7;17:24, Options=TopLevel) Ww hazard.png
WwNameNode Node whitewater=* Text (MinZoom=13, Color=black, OutlineColor=#FFFFFF, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=13:6;17:12, TextLineOffset=-100%) Names for whitewater=*
RiverName Way waterway=river Text (MinZoom=11, MaxZoom=13, Color=#333333, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=11:6;15:12) Show river names at low zoom levels
RapidGradeNode Node whitewater:rapid_grade=* Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/d/d4/Ww_rapid.png, Width=12:7;17:24, Options=TopLevel) Text (MinZoom=13, Color=#000000, OutlineColor=#FFFFFF, TagToUse=whitewater:rapid_grade, FontName=Arial, FontStyle=regular, FontSize=13:7;17:14) Ww rapid.png Overlaid with grade
RapidNameNode Node whitewater:rapid_name=* Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/d/d4/Ww_rapid.png, Width=12:7;17:24, Options=TopLevel) Text (MinZoom=13, Color=#333333, OutlineColor=#FFFFFF, TagToUse=whitewater:rapid_name, FontName=Arial, FontStyle=regular, FontSize=13:6;17:12, TextLineOffset=-100%) Ww rapid.png Rapid (node) names for all grades
PortageNode Node whitewater=portage Icon (MinZoom=13, IconUrl=http://wiki.openstreetmap.org/images/3/32/LevelCrossing.png, Width=12:7;17:24, Options=TopLevel) LevelCrossing.png By itself, or on top of Ww rapid.png if rapid tagged
SectionGrade1Way Way whitewater:section_grade=1 Polyline (MinZoom=13, Color=limegreen, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
SectionGrade1+Way Way whitewater:section_grade=1+ Polyline (MinZoom=13, Color=limegreen, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
SectionGrade2-Way Way whitewater:section_grade=2- Polyline (MinZoom=13, Color=yellow, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
SectionGrade2Way Way whitewater:section_grade=2 Polyline (MinZoom=13, Color=yellow, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
SectionGrade2+Way Way whitewater:section_grade=2+ Polyline (MinZoom=13, Color=yellow, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
SectionGrade3-Way Way whitewater:section_grade=3- Polyline (MinZoom=13, Color=orange, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
SectionGrade3Way Way whitewater:section_grade=3 Polyline (MinZoom=13, Color=orange, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
SectionGrade3+Way Way whitewater:section_grade=3+ Polyline (MinZoom=13, Color=orange, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
SectionGrade4-Way Way whitewater:section_grade=4- Polyline (MinZoom=13, Color=mediumvioletred, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
SectionGrade4Way Way whitewater:section_grade=4 Polyline (MinZoom=13, Color=mediumvioletred, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
SectionGrade4+Way Way whitewater:section_grade=4+ Polyline (MinZoom=13, Color=mediumvioletred, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
SectionGrade5-Way Way whitewater:section_grade=5- Polyline (MinZoom=13, Color=red, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
SectionGrade5Way Way whitewater:section_grade=5 Polyline (MinZoom=13, Color=red, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
SectionGrade5+Way Way whitewater:section_grade=5+ Polyline (MinZoom=13, Color=red, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
SectionGrade6-Way Way whitewater:section_grade=6- Polyline (MinZoom=13, Color=black, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
SectionGrade6Way Way whitewater:section_grade=6 Polyline (MinZoom=13, Color=black, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
SectionNameWay Way whitewater:section_grade=* Text (MinZoom=13, Color=#333333, OutlineColor=#FFFFFF, TagToUse=whitewater:rapid_name;whitewater:section_name;name, FontName=Arial, FontStyle=regular, FontSize=13:8;17:16) Section names for all grades
RapidGrade1Way Way whitewater:rapid_grade=1 Polyline (MinZoom=13, Color=limegreen, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
RapidGrade1+Way Way whitewater:rapid_grade=1+ Polyline (MinZoom=13, Color=limegreen, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
RapidGrade2-Way Way whitewater:rapid_grade=2- Polyline (MinZoom=13, Color=yellow, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
RapidGrade2Way Way whitewater:rapid_grade=2 Polyline (MinZoom=13, Color=yellow, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
RapidGrade2+Way Way whitewater:rapid_grade=2+ Polyline (MinZoom=13, Color=yellow, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
RapidGrade3-Way Way whitewater:rapid_grade=3- Polyline (MinZoom=13, Color=orange, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
RapidGrade3Way Way whitewater:rapid_grade=3 Polyline (MinZoom=13, Color=orange, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
RapidGrade3+Way Way whitewater:rapid_grade=3+ Polyline (MinZoom=13, Color=orange, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
RapidGrade4-Way Way whitewater:rapid_grade=4- Polyline (MinZoom=13, Color=mediumvioletred, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
RapidGrade4Way Way whitewater:rapid_grade=4 Polyline (MinZoom=13, Color=mediumvioletred, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
RapidGrade4+Way Way whitewater:rapid_grade=4+ Polyline (MinZoom=13, Color=mediumvioletred, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
RapidGrade5-Way Way whitewater:rapid_grade=5- Polyline (MinZoom=13, Color=red, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
RapidGrade5Way Way whitewater:rapid_grade=5 Polyline (MinZoom=13, Color=red, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
RapidGrade5+Way Way whitewater:rapid_grade=5+ Polyline (MinZoom=13, Color=red, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
RapidGrade6-Way Way whitewater:rapid_grade=6- Polyline (MinZoom=13, Color=black, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
RapidGrade6Way Way whitewater:rapid_grade=6 Polyline (MinZoom=13, Color=black, DashStyle=Dash, Width=13:1;17:4, Curved=true, Options=TopLevel)
RapidNameWay Way whitewater:rapid_name=* Text (MinZoom=13, Color=#333333, OutlineColor=#FFFFFF, TagToUse=whitewater:rapid_name;whitewater:section_name;name, FontName=Arial, FontStyle=regular, FontSize=13:8;17:16) Rapid (way) names for all grades
PortageWaterway Way whitewater=portage waterway=* Symbol (MinZoom=13, Color=#BFFF0000, Type=Diamond, Size=15, Density=30.0, Width=13:1;17:4, Curved=true, Options=TopLevel) Show 'compulsory' portage
PortageHighway Way whitewater=portage highway=* Polyline (MinZoom=13, Color=#993300, DashStyle=Dash, Width=15:1;17:2, Options=TopLevel) Highlight portage routes
PortageNameWay Way whitewater=portage highway=* Text (MinZoom=13, Color=#333333, TagToUse=name, OutlineColor=#FFFFFF, FontName=Arial, FontStyle=regular, FontSize=13:6;17:12) Show any names on portage

POIs

Rule Name Targets Selector Template Options Comment
AerodromeNode Node aeroway=aerodrome Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/a/aa/Aerodrome20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Aerodrome20.png
TerminalNode Node aeroway=terminal Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/d/d3/Terminal20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Terminal20.png
HelipadNode Node aeroway=helipad Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/f/f7/Helipad20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Helipad20.png
HospitalNode Node amenity=hospital Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/1/1b/Hospital20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Hospital20.png
Pharmacy1Node Node amenity=pharmacy dispensing=yes Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/f/f3/Pharmacyyes20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Pharmacyyes20.png
Pharmacy2Node Node amenity=pharmacy dispensing=no Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/a/a7/Pharmacyno20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Pharmacyno20.png
FuelNode Node amenity=fuel Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/0/01/Fuel20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Fuel20.png
ParkingNode Node amenity=parking Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/9/9a/Parking20.png, Width=12:5;17:20) Parking20.png
FerryterminalNode Node amenity=ferry_terminal Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/0/08/Ferryterminal20.png, Width=12:5;17:20) Ferryterminal20.png
BusstationNode Node amenity=bus_station Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/b/b0/Busstation20.png, Width=12:5;17:20) Busstation20.png
BusstopNode Node highway=bus_stop Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/7/71/Busstop20.png, Width=12:5;17:20) Busstop20.png
TaxiNode Node amenity=taxi Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/6/62/Taxi20.png, Width=12:5;17:20) Taxi20.png
CarrentalNode Node amenity=car_rental Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/5/5a/Carrental20.png, Width=12:5;17:20) Carrental20.png
BicyclerentalNode Node amenity=bicycle_rental Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/d/d9/Bicycle_rental20.png, Width=12:5;17:20) Bicycle rental20.png
BicycleparkingNode Node amenity=bicycle_parking Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/e/eb/Bicycle_parking20.png, Width=12:5;17:20) Bicycle parking20.png
BankNode Node amenity=bank Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/4/4a/Bank20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Bank20.png
AtmNode Node amenity=atm Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/0/0f/Atm20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Atm20.png
RestaurantNode Node amenity=restaurant Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/a/a2/Restaurant20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Restaurant20.png
CafeNode Node amenity=cafe Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/e/ef/Cafe20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Cafe20.png
Fast_foodNode Node amenity=fast_food Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/4/4f/Fastfood20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Fastfood20.png
PubNode Node amenity=pub Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/b/b9/Pub20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Pub20.png
BiergartenNode Node amenity=biergarten Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/2/26/Biergarten20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Biergarten20.png
SchoolNode Node amenity=school Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/0/08/School20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
School20.png
ToiletsNode Node amenity=toilets Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/7/76/Toilets20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Toilets20.png
VendingMachineNode Node amenity=vending_machine Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/1/17/Vending_machine20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Vending machine20.png
TheatreNode Node amenity=theatre Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/6/63/Theatre20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Theatre20.png
CinemaNode Node amenity=cinema Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/2/25/Cinema20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Cinema20.png
NightclubNode Node amenity=nightclub Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/c/c2/Nightclub20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Nightclub20.png
ArtscentreNode Node amenity=arts_centre Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/8/86/Artscentre20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Artscentre20.png
FountainNode Node amenity=fountain Icon (MinZoom=14, IconUrl=http://wiki.openstreetmap.org/images/a/aa/Fountain20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Fountain20.png
TownhallNode Node amenity=townhall Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/6/67/Townhall20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Townhall20.png
CourthouseNode Node amenity=courthouse Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/f/fa/Courthouse20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Courthouse20.png
RecyclingNode Node amenity=recycling Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/e/ee/Recycling20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Recycling20.png
PostofficeNode Node amenity=post_office Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/0/0b/Postoffice20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Postoffice20.png
PostboxNode Node amenity=post_box Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/a/a3/Postbox20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Postbox20.png
TelephoneNode Node amenity=telephone Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/d/dd/Telephone20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Telephone20.png
PlaceofworshipNode Node amenity=place_of_worship religion=christian Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/2/20/Christian20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Christian20.png
CastleNode Node historic=castle Icon (MinZoom=15, 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=13:5;17:9, TextLineOffset=-200%)
Castle20.png
CastleRuinsNode Node historic=castle ruins=yes Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/images/d/df/Ruins20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=13:5;17:9, TextLineOffset=-200%)
Ruins20.png
RuinsNode Node historic=ruins Icon (MinZoom=15, 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=13:5;17:9, TextLineOffset=-200%)
Ruins20.png
MonumentNode Node historic=monument Icon (MinZoom=15, 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=13:5;17:9, TextLineOffset=-200%)
Monument20.png
BattlefieldNode Node historic=battlefield Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/a/a4/Battlefield20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Battlefield20.png
WreckNode Node historic=wreck Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/9/94/Wreck20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Wreck20.png
InformationNode Node tourism=information Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/d/db/Information20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Information20.png
HotelNode Node tourism=hotel Icon (MinZoom=15, 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%)
Hotel20.png
MotelNode Node tourism=motel Icon (MinZoom=15, 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%)
Motel20.png
HostelNode Node tourism=hostel Icon (MinZoom=15, 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%)
Hostel20.png
Guest_houseNode Node tourism=guest_house Icon (MinZoom=15, 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%)
Guest house20.png
Camp_siteNode Node tourism=camp_site Icon (MinZoom=15, 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%)
Campsite20.png
Caravan_siteNode Node tourism=caravan_site Icon (MinZoom=15, 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%)
Caravansite20.png
Picnic_siteNode Node tourism=picnic_site Icon (MinZoom=15, 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%)
Picnicsite20.png
ViewpointNode Node tourism=viewpoint Icon (MinZoom=15, 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%)
Viewpoint20.png
MuseumNode Node tourism=museum Icon (MinZoom=15, 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%)
Museum20.png
ThemeparkNode Node tourism=theme_park Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/5/50/Themepark20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Themepark20.png
ZooNode Node tourism=zoo Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/8/8d/Zoo20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Zoo20.png
SupermarketNode Node shop=supermarket Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/2/29/Supermarket20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Supermarket20.png
BakeryNode Node shop=bakery Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/e/e2/Bakery20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Bakery20.png
ButcherNode Node shop=butcher Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/a/a4/Butcher20.png, Width=12:5;17:20)
Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Butcher20.png
DoityourselfNode Node shop=doityourself Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/6/60/Doityourself20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Doityourself20.png
OutdoorNode Node shop=outdoor Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/e/eb/Outdoor20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Outdoor20.png
LighthouseNode Node man_made=lighthouse Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/1/18/Lighthouse20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Lighthouse20.png
WindmillNode Node man_made=windmill Icon (MinZoom=15, 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%)
Windmill20.png
WatertowerNode Node man_made=water_tower Icon (MinZoom=15, 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%)
Watertower20.png
CraneNode Node man_made=crane Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/f/fa/Crane20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Crane20.png
WorksNode Node man_made=works Icon (MinZoom=15, IconUrl=http://wiki.openstreetmap.org/images/c/c9/Works20.png, Width=12:5;17:20)
Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:9, TextLineOffset=-200%)
Works20.png
TrafficSignals Node highway=traffic_signals Icon (MinZoom=16, IconUrl=http://wiki.openstreetmap.org/images/a/a1/Icon-highway_traffic_signals.png, Width=12:5;17:20) Icon-highway traffic signals.png
RailwayStation Node railway=station Symbol (Type=Circle, MinZoom=15, Color=red, BorderColor=black, BorderWidth=15%, Size=13:6;17:12)
Tram-Stop Node railway=tram_stop Symbol (Type=Circle, MinZoom=15, Color=red, BorderColor=black, BorderWidth=15%, Size=13:6;17:10)
Peak Node 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=-150%)

Highways

Rule Name Targets Selector Template Options Comment
HighwayPath Way highway=path Polyline (MinZoom=13, Color=#FFDE93, BorderColor=gray, Width=13:1;17:6) EliminateSeams
HighwayPathText Way highway=path Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9)
HighwayFootway Way highway=footway Polyline (MinZoom=13, Color=#FFDE93, BorderColor=gray, Width=13:1;17:6) EliminateSeams
HighwayFootwayText Way highway=footway Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9)
HighwaySteps Way highway=steps Polyline (MinZoom=13, Color=#FFDE93, DashStyle=Dot, BorderColor=gray, Width=13:1;17:6) EliminateSeams
HighwayBridleway Way highway=bridleway Polyline (MinZoom=13, Color=#DDDDDD, BorderColor=gray, Width=13:1;17:6) EliminateSeams
HighwayBridlewayText Way highway=bridleway Text (MinZoom=15, Color=black, 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:4) EliminateSeams
HighwayUnsurfaced Way highway=unsurfaced Polyline (MinZoom=14, Color=white, BorderDashStyle=Dash, BorderColor=gray, Width=11:1;14:3;17:14) EliminateSeams
HighwayUnsurfacedText Way highway=unsurfaced Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9)
HighwayUnclassified Way highway=unclassified Polyline (MinZoom=11, Color=white, BorderColor=gray, Width=11:1;13:3;17:14) EliminateSeams
HighwayUnclassifiedText Way highway=unclassified Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9)
HighwayPedestrian Way highway=pedestrian Polyline (MinZoom=13, Color=lightgray, BorderColor=gray, Width=14:3;17:14) EliminateSeams
HighwayPedestrianArea Area highway=pedestrian 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 Way highway=pedestrian Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9)
HighwayResidential Way highway=residential Polyline (MinZoom=11, Color=white, BorderColor=gray, 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, Width=12:1;13:2;17:13) EliminateSeams
HighwayServiceText Way highway=service Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:8)
HighwayMinor Way highway=minor Polyline (MinZoom=12, Color=white, BorderColor=gray, Width=12:1;13:2;17:13) EliminateSeams
HighwayMinorText Way highway=minor Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:5;17:8)
HighwayTrack Way highway=track Polyline (MinZoom=11, Color=#E2E2E2, BorderColor=gray, Width=11:1;17:10) EliminateSeams
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=15:6;17:9)
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=15:6;17:9)
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=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9)
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=green, BorderColor=gray, Width=6:1;17:14) EliminateSeams
HighwayTrunkLink Way highway=trunk_link Polyline (MinZoom=6, Color=green, 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:14) EliminateSeams

Other Ways

Rule Name Targets Selector Template Options Comment
Rail Way railway=rail Polyline (MinZoom=6, Color=white, DashStyle=Dot, BorderColor=gray, Width=6:1;17:6) EliminateSeams
RailDisused Way railway=disused Polyline (MinZoom=10, Color=white, DashStyle=Dot, BorderColor=#DDDDDD, Width=10:1;17:4) EliminateSeams
CableCar Way 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 Way 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 Way 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 Way route=ferry Polyline (MinZoom=8, Color=darkgray, DashStyle=Dot, Width=8:0.1;17:4)
Border Way boundary=administrative
.level2 admin_level=2 Polyline (MinZoom=1, Color=red, DashStyle=DashDot, Width=1:1;9:1.5;17:6)
.level4 admin_level=4 Polyline (MinZoom=10, Color=black, DashStyle=DashDot, Width=1:1;9:1.5;17:6)
.level8 admin_level=8 Polyline (MinZoom=12, Color=#A4A4A4, DashStyle=Dot, Width=1:1;9:1.5;17:6)
.* Polyline (MinZoom=12, Color=black, DashStyle=DashDot, Width=1:1;9:1.5;17:6)
Runway Way aeroway=runway Polyline (MinZoom=11, Color=#BBBBCC, Width=11:1;17:30)
Taxiway Way aeroway=taxiway Polyline (MinZoom=12, Color=#BBBBCC, Width=12:1;17:10)


Places

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

Buildings

Rule Name Targets Selector Template Options Comment
BuildingResidential Area building=residential Polygon (MinZoom=12, Color=#F3D6B6, BorderColor=#6B5B8E, BorderWidth=1)
BuildingAny Area building=* Polygon (MinZoom=13, Color=thistle, BorderColor=#6B5B8E, BorderWidth=1)
Text (MinZoom=16, Color=black, TagToUse=name;building, FontName=Arial, FontStyle=regular, FontSize=16:6;17:10, TextMode=AreaCenter)