User:Jonobennett/Compton Rendering Rules 2

From OpenStreetMap Wiki
Jump to: navigation, search

Explanation

This is the set of rendering rules used in my book to demonstrate how Kosmos works. It's a minimal set of rules

Options

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

Rendering rules

Rule Name Targets Selector Template Options Comment
Residential Area landuse=residential Polygon (Color=#FFBBBB)
HighwayTrunk Way highway=trunk Polyline (MinZoom=6, Color=#008000, BorderColor=black, Width=6:1;17:14) EliminateSeams
HighwayTrunkLink Way highway=trunk_link Polyline (MinZoom=6, Color=#008000, BorderColor=black, Width=6:1;17:14) EliminateSeams
HighwaySecondary Way highway=secondary Polyline (MinZoom=8, Color=#FDBF6F, BorderColor=gray, Width=8:1;10:2;13:6;17:14) EliminateSeams
HighwaySecondaryText Way highway=secondary 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=10, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=10:4;15:6;17:9)
HighwayResidential Way highway=residential Polyline (MinZoom=11, Color=white, BorderColor=black, Width=5:4;6:6;17:12) EliminateSeams
HighwayResidentialText Way highway=residential Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9)
SocialClub Node amenity=social_club Icon (MinZoom=6, IconUrl=http://wiki.openstreetmap.org/images/2/2c/Star-icon.png, Width=6:8;17:16)
SocialClubText Node amenity=social_club Text (MinZoom=6, Color=black, TagToUse=name, FontName=Arial, FontStyle=Bold, FontSize=6:2;15:6;17:12, TextLineOffset=80%)