User:SK53/Kosmos NoName Rules
Jump to navigation
Jump to search
Introduction
This page contains a set of Kosmos rendering rules for a showing streets lacking a name. They are intended to used as an overlay with slippy tiles, either for printing out an area as an aide memoire for surveying, or for online viewing. These rules are conceived to perform the same function as the Cloudmade NoName map, but to be used with the most upto date data.
URL of the rules to use in Kosmos: http://wiki.openstreetmap.org/wiki/User:SK53/Kosmos_NoName_Rules
Options
Option | Value | Comment |
---|---|---|
MinKosmosVersion | 2.1 | Minimal version of Kosmos needed to use these rules |
LandBackgroundColor | #F8F8F8 | |
SeaColor | #B5D6F1 |
Highways
}Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
HighwayRes | highway=residential | EliminateSeams | |||
.named | IsTaggedWith(e,"name") | Polyline (MinZoom=10, Color=white, DashStyle=DashDot, Width=10:1;17:2) | |||
.* | Polyline (MinZoom=6, Color=red, BorderColor=gray, Width=10:1;17:2) | ||||
HighwayRoad | highway=road name=* | EliminateSeams | |||
.named | IsTaggedWith(e,"name") | Polyline (MinZoom=10, Color=white, DashStyle=DashDot, Width=10:1;17:2) | |||
.* | IsTaggedWith(e,"name") | Polyline (MinZoom=6, Color=red, BorderColor=gray, Width=10:1;17:2) | |||
HighwayUncNoName | highway=unclassified | EliminateSeams | |||
.named | IsTaggedWith(e,"name") | Polyline (MinZoom=10, Color=white, DashStyle=DashDot, Width=10:1;17:2) | |||
.* | IsTaggedWith(e,"name") | Polyline (MinZoom=6, Color=red, BorderColor=gray, Width=10:1;17:2) |