User:SvenR/KosmosMaxSpeed

From OpenStreetMap Wiki
Jump to: navigation, search

Introduction

Changes from KosmosStandardRules:

  • Removed most of landuse.
  • Railways are now tiny dotted lines, no matter what kind of rail.
  • All streets are now the same size, and much smaller in pixels.
  • Instead of a street name now the maxspeed-value appears.
  • The maxspeed value is shown at a much smaller scale.

Land Areas

Draw only basic landuses which might be connected to maximum speed settings, like residential.

Rule Name Targets Selector Template Options Comment
Coastline way natural=coastline Polyline (MinZoom=1, Color=#8BCCE5, Width=11:1;17:5, Curved=true)
Residential area landuse=residential Polygon (Color=#DCDCDC)
Industrial area landuse=industrial Polygon (Color=#FEADB8)
Commercial area landuse=commercial Polygon (Color=#EFC8C8)
Retail area landuse=retail Polygon (Color=#F0DADA)

Highways

Rule Name Targets Selector Template Options Comment
HighwayUnclassified way highway=unclassified Polyline (MinZoom=11, Color=white, BorderColor=gray, Width=11:1;14:3;17:6) EliminateSeams
HighwayUnclassifiedText way highway=unclassified Text (MinZoom=11, Color=black, TagToUse=maxspeed, FontName=Arial, FontStyle=regular, FontSize=11:6;17:9)
HighwayResidential way highway=residential Polyline (MinZoom=11, Color=white, BorderColor=gray, Width=11:1;14:3;17:6) EliminateSeams
HighwayResidentialText way highway=residential Text (MinZoom=11, Color=black, TagToUse=maxspeed, FontName=Arial, FontStyle=regular, FontSize=11:6;17:9)
HighwayService way highway=service Polyline (MinZoom=11, Color=white, BorderColor=gray, Width=11:1;14:3;17:6) EliminateSeams
HighwayServiceText way highway=service Text (MinZoom=11, Color=black, TagToUse=maxspeed, FontName=Arial, FontStyle=regular, FontSize=11:5;17:8)
HighwayTrack way highway=track Polyline (MinZoom=11, Color=#E2E2E2, BorderColor=gray, Width=11:1;14:3;17:10) EliminateSeams
HighwayTertiary way highway=tertiary Polyline (MinZoom=10, Color=#F7F496, BorderColor=gray, Width=10:1;14:3;17:6) EliminateSeams
HighwayTertiaryText way highway=tertiary Text (MinZoom=15, Color=black, TagToUse=maxspeed, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9)
HighwaySecondary way highway=secondary Polyline (MinZoom=8, Color=#FDBF6F, BorderColor=gray, Width=8:1;10:1;14:3;17:6) EliminateSeams
HighwaySecondaryText way highway=secondary Text (MinZoom=15, Color=black, TagToUse=maxspeed, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9)
HighwayPrimary way highway=primary Polyline (MinZoom=6, Color=#E46D71, BorderColor=gray, Width=6:0;10:1;14:3;17:6) EliminateSeams
HighwayPrimaryText way highway=primary Text (MinZoom=15, Color=black, TagToUse=maxspeed, FontName=Arial, FontStyle=regular, FontSize=15:6;17:9)
HighwayPrimaryLink way highway=primary_link Polyline (MinZoom=6, Color=#E46D71, BorderColor=gray, Width=6:1;10:1;14:3;17:6) EliminateSeams
HighwayTrunk way highway=trunk Polyline (MinZoom=6, Color=#41A317, BorderColor=gray, Width=6:1;10:1;14:3;17:6) EliminateSeams
HighwayTrunkLink way highway=trunk_link Polyline (MinZoom=6, Color=#41A317, BorderColor=gray, Width=6:1;10:1;14:3;17:6) EliminateSeams
HighwayMotorway way highway=motorway Polyline (MinZoom=6, Color=#809BC0, BorderColor=gray, Width=6:1;10:1;14:3;17:6) EliminateSeams
HighwayMotorwayLink way highway=motorway_link Polyline (MinZoom=6, Color=#809BC0, BorderColor=gray, Width=6:1;10:1;14:3;17:6) EliminateSeams

Other Ways

Rule Name Targets Selector Template Options Comment
AnyRail way railway=* Polyline (MinZoom=10, Color=gray, DashStyle=Dot, Width=10:1;17:1) EliminateSeams
Runway way aeroway=runway Polyline (MinZoom=11, Color=#BBBBCC, Width=11:1;17:20)
Taxiway way aeroway=taxiway Polyline (MinZoom=12, Color=#BBBBCC, Width=12:1;17:8)

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)