User:SK53/Kosmos NoName Assessment Rules

From OpenStreetMap Wiki
Jump to navigation Jump to search

Introduction

This page contains a set of Kosmos rendering rules for a providing a quick overview of which streets have been named and which have not. 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/SK53/Kosmos_NoName Assessment 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 way highway=residential EliminateSeams
.named IsTaggedWith(e,"name") Polyline (MinZoom=10, Color=green, DashStyle=DashDot, Width=10:1;17:2)
.* Polyline (MinZoom=6, Color=red, BorderColor=gray, Width=10:1;17:2)
HighwayRoad way highway=road name=* EliminateSeams
.named IsTaggedWith(e,"name") Polyline (MinZoom=10, Color=green, DashStyle=DashDot, Width=10:1;17:2)
.* IsTaggedWith(e,"name") Polyline (MinZoom=6, Color=red, BorderColor=gray, Width=10:1;17:2)
HighwayUncNoName way highway=unclassified EliminateSeams
.named IsTaggedWith(e,"name") Polyline (MinZoom=6, Color=green, DashStyle=DashDot, Width=10:1;17:2)
.* IsTaggedWith(e,"name") Polyline (MinZoom=6, Color=orange, BorderColor=gray, Width=10:1;17:2)