User:FK270673/HQA

From OpenStreetMap Wiki
Jump to: navigation, search

Introduction

This page is intended to find

  • secondary roads without ref
  • tertiary roads without ref
  • unclassified roads within residential areas

See Kosmos Rendering Help for help on how to write rendering rules. Before committing changes to the page, please make sure the rules are actually working. Try them with the latest version of Kosmos (1.10 or above), since they are not compatible with previous versions.

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:2;17:14, 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:6, Curved=true)
Canal Way waterway=canal Polyline (MinZoom=5, Color=lightblue, Width=5:1;10:1;17:10, Curved=true)
Riverbank Area waterway=riverbank Polygon (Color=lightblue)
Land Area natural=land Polygon (Color=white)

Highways

Rule Name Targets Selector Template Options Comment
HighwayUnclassified Way highway=unclassified Polyline (MinZoom=8, Color=white, BorderColor=gray, Width=11:1;13:3;17:14) EliminateSeams
HighwayUnclassifiedText Way highway=unclassified 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=red, 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)
HighwayTertiary Way highway=tertiary EliminateSeams
.WithRef IsTaggedWith (e,"ref")=true Polyline (MinZoom=8, Color=yellow, BorderColor=gray, Width=8:1;10:2;13:6;17:14, BorderWidth=30%)
.WithOldRef IsTaggedWith (e,"old_ref")=true Polyline (MinZoom=8, Color=yellow, BorderColor=blue, Width=8:1;10:2;13:6;17:14, BorderWidth=30%)
.* Polyline (MinZoom=6, Color=yellow, BorderColor=red, Width=8:1;10:2;13:6;17:14)
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%)
.WithRef IsTaggedWith (e,"ref")=true Polyline (MinZoom=8, Color=#FDBF6F, BorderColor=gray, Width=8:1;10:2;13:6;17:14, BorderWidth=30%)
.WithOldRef IsTaggedWith (e,"old_ref")=true Polyline (MinZoom=8, Color=#FDBF6F, BorderColor=blue, Width=8:1;10:2;13:6;17:14, BorderWidth=30%)
.* Polyline (MinZoom=6, Color=#FDBF6F, BorderColor=red, 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=#41A317, BorderColor=gray, Width=6:1;17:14) EliminateSeams
HighwayTrunkLink Way highway=trunk_link Polyline (MinZoom=6, Color=#41A317, 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:10, BorderWidth=30%)
.* Polyline (MinZoom=6, Color=#809BC0, BorderColor=gray, Width=6:1;17:10)
HighwayMotorwayLink Way highway=motorway_link Polyline (MinZoom=6, Color=#809BC0, BorderColor=gray, Width=6:1;17:6) EliminateSeams

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, MaxZoom=14, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=7:10;17:30)
PlaceTown Node place=town Text (MinZoom=10, MaxZoom=15, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=10:10;17:25)
PlaceVillage Node place=village Text (MinZoom=12, MaxZoom=16, 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, MaxZoom=16, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=13:10;17:20)
PlaceHamlet Node place=hamlet Text (MinZoom=14, MaxZoom=17, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=14:8;17:14)
PlaceLocality Node place=locality Text (MinZoom=14, MaxZoom=17, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=14:8;17:14)
PlaceFarm Node place=farm Text (MinZoom=15, MaxZoom=19, Color=black, TagToUse=name, FontName=Trebuchet MS, FontStyle=bold, FontSize=15:8;17:13)