User:Jonobennett/Compton Rendering Rules 2
Jump to navigation
Jump to 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 | landuse=residential | Polygon (Color=#FFBBBB) | |||
HighwayTrunk | highway=trunk | Polyline (MinZoom=6, Color=#008000, BorderColor=black, Width=6:1;17:14) | EliminateSeams | ||
HighwayTrunkLink | highway=trunk_link | Polyline (MinZoom=6, Color=#008000, BorderColor=black, Width=6:1;17:14) | EliminateSeams | ||
HighwaySecondary | highway=secondary | Polyline (MinZoom=8, Color=#FDBF6F, BorderColor=gray, Width=8:1;10:2;13:6;17:14) | EliminateSeams | ||
HighwaySecondaryText | highway=secondary | Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9) | |||
HighwayUnclassified | highway=unclassified | Polyline (MinZoom=11, Color=white, BorderColor=gray, Width=11:1;13:3;17:14) | EliminateSeams | ||
HighwayUnclassifiedText | highway=unclassified | Text (MinZoom=10, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=10:4;15:6;17:9) | |||
HighwayResidential | highway=residential | Polyline (MinZoom=11, Color=white, BorderColor=black, Width=5:4;6:6;17:12) | EliminateSeams | ||
HighwayResidentialText | highway=residential | Text (MinZoom=15, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9) | |||
SocialClub | amenity=social_club | Icon (MinZoom=6, IconUrl=http://wiki.openstreetmap.org/images/2/2c/Star-icon.png, Width=6:8;17:16) | |||
SocialClubText | amenity=social_club | Text (MinZoom=6, Color=black, TagToUse=name, FontName=Arial, FontStyle=Bold, FontSize=6:2;15:6;17:12, TextLineOffset=80%) |