Created
July 15, 2014 22:47
-
-
Save vibrog/cf5dd548a09c8b4f6bca to your computer and use it in GitHub Desktop.
Prototyping av sykkelkart (for Oslo)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
meta { title:"Prototyping av SLF Oslo sykkelkart"; } | |
/* Default */ | |
canvas { | |
fill-color:white; | |
default-points: false; | |
} | |
way, relation { color:#eee; } | |
area { | |
fill-opacity:1; | |
width:1; | |
text:name; | |
text-position:center; | |
} | |
area[landuse], area[leisure] { opacity:0; } | |
/* Urbane grøntarealer */ | |
area[landuse=recreation_ground], | |
area[landuse=village_green], | |
area[landuse=cemetery], | |
area[amenity=grave_yard], | |
area[leisure=park], | |
area[leisure=common], | |
area[leisure=garden], | |
area[tourism=zoo], | |
area[leisure=pitch], | |
area[leisure=sports_centre], | |
area[leisure=stadium], | |
area[leisure=track], | |
area[leisure=playground], | |
area[leisure=dog_park], | |
area[leisure*=golf] | |
{ | |
fill-color:#31a354; | |
} | |
/* Vann og sjø */ | |
area[natural=water], | |
area[natural=pond], | |
area[landuse=basin], | |
area[landuse=reservoir], | |
area[leisure$=pool], | |
area[waterway=riverbank] | |
{ | |
fill-color:#9ecae1; | |
} | |
way[natural=coastline], | |
way[waterway=riverbank], | |
way[waterway=canal], | |
way[waterway=river], | |
way[waterway=stream], | |
way[waterway=slide], | |
way[waterway=ditch], | |
way[waterway=drain] | |
{ | |
color:#9ecae1; | |
} | |
/* Jernbane */ | |
way[railway=rail], | |
way[railway=subway], | |
way[railway=light_rail], | |
way[railway=narrow_gauge], | |
way[railway=preserved], | |
way[railway=monorail], | |
way[railway=funicular] | |
{ | |
casing-width:+1; | |
casing-color:#ddd; | |
width:2.5; | |
color:white; | |
dashes:10,15; | |
} | |
way[railway=tram][!highway] | |
{ | |
casing-width:+1; | |
casing-color:#ddd; | |
width:2; | |
color:white; | |
} | |
/* Ferger */ | |
way[route=ferry], | |
relation[route=ferry] > way | |
{ | |
color: #3182bd; | |
width: 2; | |
dashes: 8,5; | |
} | |
/* Bygninger */ | |
area[building] { fill-color:#f9f9f9; } | |
/* Veier */ | |
way[highway] { color:#d3d3d3; } | |
way[highway=motorway], | |
way[highway=trunk], | |
way[highway=primary], | |
way[highway=secondary] | |
{ | |
color:#e4e4e4; | |
width:2.5; | |
} | |
/* Sti, gangvei og gågate er lite egnet for jobbsykling */ | |
way[highway=track], | |
way[highway=footway], | |
way[highway=pedestrian], | |
way[highway=living_street], | |
way[highway=steps], | |
way[highway=path] | |
{ dashes:7,3; } | |
way[highway][area] { opacity:0; } | |
/* Grusveier uten allmenn biltrafikk (i Marka) egnet for tursykling */ | |
way[highway][motor_vehicle=private][access!=destination][highway!=service], | |
way[highway=track][tracktype=grade1], way[highway=track][tracktype=grade2] | |
{ color:#222; width:1.5; dashes:0; } | |
/* Fremhev "trillesti" som forbinder bilveier */ | |
way[route=bicycle], way[highway=path][bicycle=designated] { color:#222; } | |
/* Gi gang- og sykkelvei blå strek */ | |
way[highway=cycleway], way[cycleway][cycleway!=no] { color:#181d85; width:2.5; } | |
/* Gi sykkelrute mørkerød strek */ | |
relation[route=bicycle][network$=cn] > way { color:#8d0511; } | |
/* Dedikert sykkeltrasé */ | |
way[cycleway=track], way[cycleway=lane] { width:5; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment