Kosmos postal code rendering rules/nl

From OpenStreetMap Wiki
Jump to navigation Jump to search

See Kosmos Rendering Help for help. You will need to download the latest version of Kosmos (1.10 or above) to use these rules since they are not compatible with previous versions.

Information

These are rendering rules for Kosmos interpreting postal_code=*. Codename return_to_sender. Only netherlands postal code-system (numbers 0000 - 9999) will be displayed. Displaying may also work for other countries. It's not complete and update is at least monthly. Contact user:Bahnpirat for question on these rules.

Update: 2008-06-27

Water Features

Rule Name Targets Selector Template Options Comment
Coastline way natural=coastline Polyline (MinZoom=1, Color=#8BCCE5, Width=11:1;17:5, Curved=true)
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)
Border way boundary=administrative
.level2 admin_level=2 Polyline (MinZoom=1, Color=red, DashStyle=DashDot, Width=1:1;9:1.5;17:6)
.level4 admin_level=4 Polyline (MinZoom=10, Color=black, DashStyle=DashDot, Width=1:1;9:1.5;17:6)
.level8 admin_level=8 Polyline (MinZoom=12, Color=#A4A4A4, DashStyle=Dot, Width=1:1;9:1.5;5:5))
.* Polyline (MinZoom=12, Color=black, DashStyle=DashDot, Width=1:1;9:1.5;17:6)

POIs

Rule Name Targets Selector Template Options Comment
PostOffice node amenity=post_office Icon (MinZoom=11.5, IconUrl=http://wiki.openstreetmap.org/images/b/b4/GCR_COMM_POSTO.png, Width=11:10;13:20;15:20)
Text (MinZoom=13, Color=black, TagToUse=name;ref, FontName=Trebuchet MS, FontStyle=Italic, FontSize=14:6;17:10, TextLineOffset=-200%)
GCR COMM POSTO.png

Highways

Rule Name Targets Selector Template Options Comment
HighwayMotorway way highway=motorway EliminateSeams
.Bridge bridge=yes Polyline (MinZoom=8, Color=gray, Width=6:1;17:6)
.* Polyline (MinZoom=8, Color=gray, Width=6:1;17:10)
HighwayMotorwayLink way highway=motorway_link Polyline (MinZoom=10, Color=gray, Width=6:1;17:4) EliminateSeams
Postal_code way highway=* Polyline (MinZoom=5, Width=11:1;17:1)
.trunk highway=trunk Polyline (MinZoom=5, Color=gray, Width=8:1;10:2;17:3)
.primary highway=primary Polyline (MinZoom=5, Color=gray)
.secondary highway=secondary Polyline (MinZoom=5, Color=gray)
.pc3628 postal_code=3628 Polyline (Color=#808040)
.pc6712 postal_code=6712 Polyline (Color=#80c040)
.pc6974 postal_code=6974 Polyline (Color=#c00040)
.pc6986 postal_code=6986 Polyline (Color=#80ff40)
.pc7201 postal_code=7201 Polyline (Color=#c0c040)
.pc7205 postal_code=7205 Polyline (Color=#c0ff40)
.pc7221 postal_code=7221 Polyline (Color=#c04040)
.pc7394 postal_code=7394 Polyline (Color=#ff0040)
.pc7396 postal_code=7396 Polyline (Color=#000080)
.pc7399 postal_code=7399 Polyline (Color=#c08040)
.pc7411 postal_code=7411 Polyline (Color=#00c040)
.pc7412 postal_code=7412 Polyline (Color=#ffc040)
.pc7413 postal_code=7413 Polyline (Color=#ffff40)
.pc7414 postal_code=7414 Polyline (Color=#ff0080)
.pc8121 postal_code=8121 Polyline (Color=#ff8040)
.pc8144 postal_code=8144 Polyline (Color=#008080)
.pc9401 postal_code=9401 Polyline (Color=#008000)
.pc9402 postal_code=9402 Polyline (Color=#00c000)
.pc9403 postal_code=9403 Polyline (Color=#00ff00)
.pc9404 postal_code=9404 Polyline (Color=#800000)
.pc9405 postal_code=9405 Polyline (Color=#408000)
.pc9406 postal_code=9406 Polyline (Color=#40c000)
.pc9407 postal_code=9407 Polyline (Color=#40ff00)
.pc9408 postal_code=9408 Polyline (Color=#ff8000)
.pc9409 postal_code=9409 Polyline (Color=#ff4000)
.pc9410 postal_code=9410 Polyline (Color=#804040)
.pc9411 postal_code=9411 Polyline (Color=#400040)
.pc9412 postal_code=9412 Polyline (Color=#ffc000)
.pc9413 postal_code=9413 Polyline (Color=#ffc000)
.pc9414 postal_code=9414 Polyline (Color=#ff8000)
.pc9421 postal_code=9421 Polyline (Color=#804000)
.pc9433 postal_code=9433 Polyline (Color=#80ff00)
.pc9451 postal_code=9451 Polyline (Color=#00ff40)
.pc9457 postal_code=9457 Polyline (Color=#808000)
.pc9458 postal_code=9458 Polyline (Color=#80c000)
.pc9459 postal_code=9459 Polyline (Color=#004040)
.pc9465 postal_code=9465 Polyline (Color=#ffff00)
.pc9466 postal_code=9466 Polyline (Color=#c0c000)
.pc9467 postal_code=9467 Polyline (Color=#c08000)
.pc9468 postal_code=9468 Polyline (Color=#800040)
.pc9469 postal_code=9469 Polyline (Color=#c08000)
.pc9471 postal_code=9471 Polyline (Color=#408040)
.pc9481 postal_code=9481 Polyline (Color=#408040)
.pc9482 postal_code=9482 Polyline (Color=#008040)
.pc9485 postal_code=9485 Polyline (Color=#ff0000)
.pc9487 postal_code=9487 Polyline (Color=#c00000)
.pc9491 postal_code=9491 Polyline (Color=#c0ff00)
.pc9501 postal_code=9501 Polyline (Color=#40c040)
.pc9531 postal_code=9531 Polyline (Color=#40ff40)
.pcany postal_code=* Polyline (Color=black)
.cycle highway=cycleway Polyline (Color=white)
.foot highway=footway Polyline (Color=white)
.* highway=* Polyline (Color=white)

Other Ways

Rule Name Targets Selector Template Options Comment
Rail way railway=rail Polyline (MinZoom=6, Color=white, DashStyle=Dot, BorderColor=gray, Width=10:1;15:4) EliminateSeams
Runway way aeroway=runway Polyline (MinZoom=11, Color=#BBBBCC, Width=11:1;17:30)
Taxiway way aeroway=taxiway Polyline (MinZoom=12, Color=#BBBBCC, Width=12:1;17:10)


Places

Rule Name Targets Selector Template Options Comment
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)