Last active
December 16, 2015 21:21
-
-
Save iwillig/5499187 to your computer and use it in GitHub Desktop.
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
| { | |
| "name": "OSM Planet line Style", | |
| "feature-styles": [ | |
| { | |
| "rules": [ | |
| { | |
| "zoom-levels": { | |
| "max": 12, | |
| "min": 20 | |
| }, | |
| "where": "railway = 'rail'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "color": "#eeeeee" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "zoom-levels": { | |
| "max": 12, | |
| "min": 20 | |
| }, | |
| "where": "railway = 'rail'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "graphic-stroke": { | |
| "symbols": [ | |
| { | |
| "mark": { | |
| "stroke": { | |
| "color": "#eeeeee" | |
| }, | |
| "name": "shape://vertline" | |
| } | |
| } | |
| ], | |
| "size": 6 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "zoom-levels": { | |
| "max": 8, | |
| "min": 10 | |
| }, | |
| "where": "highway = 'motorway'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "opacity": 0.40000000000000002, | |
| "color": "#8d888f" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "zoom-levels": { | |
| "max": 10, | |
| "min": 12 | |
| }, | |
| "where": "highway = 'motorway'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "color": "#8d888f", | |
| "opacity": 0.40000000000000002 | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "rules": [ | |
| { | |
| "zoom-levels": { | |
| "max": 12, | |
| "min": 14 | |
| }, | |
| "where": "highway = 'motorway'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "color": "#8d888f", | |
| "width": 2 | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "rules": [ | |
| { | |
| "zoom-levels": { | |
| "max": 12, | |
| "min": 14 | |
| }, | |
| "where": "highway = 'motorway'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "color": "#e8e8e8", | |
| "width": 1.5 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "zoom-levels": { | |
| "max": 14 | |
| }, | |
| "where": "highway = 'motorway_link'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "opacity": 0.40000000000000002, | |
| "color": "#8d888f" | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "rules": [ | |
| { | |
| "zoom-levels": { | |
| "max": 8, | |
| "min": 12 | |
| }, | |
| "where": "highway = 'trunk'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "opacity": 0.40000000000000002, | |
| "width": 0.5, | |
| "color": "#8d888f" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "zoom-levels": { | |
| "max": 12, | |
| "min": 14 | |
| }, | |
| "where": "highway = 'trunk'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "opacity": 0.5, | |
| "width": 1, | |
| "color": "#8d888f" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "zoom-levels": { | |
| "max": 8, | |
| "min": 12 | |
| }, | |
| "where": "highway = 'secondary'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "opacity": 0.20000000000000001, | |
| "width": 0.5, | |
| "color": "#8d888f" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "zoom-levels": { | |
| "max": 10, | |
| "min": 14 | |
| }, | |
| "where": "highway = 'motorway'", | |
| "symbolizers": { | |
| "text": { | |
| "font": { | |
| "weight": "bold", | |
| "family": "Droid Sans" | |
| }, | |
| "vendor": { | |
| "followLine": "true" | |
| }, | |
| "halo": { | |
| "color": "#ffffff", | |
| "radius": 1 | |
| }, | |
| "label": { | |
| "property": "name" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "zoom-levels": { | |
| "max": 10, | |
| "min": 14 | |
| }, | |
| "where": "highway = 'secondary' or highway = 'primary'", | |
| "symbolizers": { | |
| "text": { | |
| "font": { | |
| "family": "Droid Sans" | |
| }, | |
| "vendor": { | |
| "followLine": "true" | |
| }, | |
| "halo": { | |
| "color": "#ffffff", | |
| "radius": 1 | |
| }, | |
| "label": { | |
| "property": "name" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "zoom-levels": { | |
| "max": 12, | |
| "min": 14 | |
| }, | |
| "where": "highway = 'secondary'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "opacity": 0.40000000000000002, | |
| "width": 0.5, | |
| "color": "#8d888f" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "zoom-levels": { | |
| "max": 10, | |
| "min": 14 | |
| }, | |
| "where": "highway = 'secondary' or highway = 'primary'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "opacity": 0.40000000000000002, | |
| "width": 0.5, | |
| "color": "#8d888f" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "zoom-levels": { | |
| "max": 14, | |
| "min": 16 | |
| }, | |
| "where": "highway = 'secondary' or highway = 'primary'", | |
| "symbolizers": { | |
| "text": { | |
| "font": { | |
| "family": "Droid Sans", | |
| "size": 14 | |
| }, | |
| "vendor": { | |
| "followLine": "true" | |
| }, | |
| "halo": { | |
| "color": "#ffffff", | |
| "radius": 2 | |
| }, | |
| "label": { | |
| "property": "name" | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "rules": [ | |
| { | |
| "zoom-levels": { | |
| "max": 14, | |
| "min": 16 | |
| }, | |
| "where": "highway = 'residential' or highway = 'secondary' or highway = 'primary' or highway = 'tertiary'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "color": "#8d888f", | |
| "line-cap": "round", | |
| "width": 3.5 | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "rules": [ | |
| { | |
| "zoom-levels": { | |
| "max": 14, | |
| "min": 16 | |
| }, | |
| "where": "highway = 'residential'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "color": "#ffffff", | |
| "line-cap": "round", | |
| "width": 3 | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "rules": [ | |
| { | |
| "zoom-levels": { | |
| "max": 14, | |
| "min": 16 | |
| }, | |
| "where": "highway = 'secondary' or highway = 'primary' or highway = 'tertiary'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "color": "#e8e8e8", | |
| "line-cap": "round", | |
| "width": 2 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "zoom-levels": { | |
| "max": 12, | |
| "min": 14 | |
| }, | |
| "where": "highway = 'residential'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "opacity": 0.20000000000000001, | |
| "width": 0.5, | |
| "color": "#8d888f" | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "rules": [ | |
| { | |
| "zoom-levels": { | |
| "max": 14, | |
| "min": 16 | |
| }, | |
| "where": "highway = 'motorway'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "color": "#8d888f", | |
| "width": 4.5 | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "rules": [ | |
| { | |
| "zoom-levels": { | |
| "max": 14, | |
| "min": 16 | |
| }, | |
| "where": "highway = 'motorway'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "color": "#e8e8e8", | |
| "line-cap": "round", | |
| "width": 3 | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "rules": [ | |
| { | |
| "zoom-levels": { | |
| "max": 16, | |
| "min": 18 | |
| }, | |
| "where": "highway = 'motorway'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "color": "#ff33ff", | |
| "line-cap": "round", | |
| "width": 4 | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "rules": [ | |
| { | |
| "zoom-levels": { | |
| "max": 16, | |
| "min": 18 | |
| }, | |
| "where": "highway = 'residential' or highway = 'secondary' or highway = 'primary' or highway = 'tertiary' or highway = 'motorway'", | |
| "symbolizers": { | |
| "text": { | |
| "font": { | |
| "weight": "bold", | |
| "family": "Droid Sans", | |
| "size": 12 | |
| }, | |
| "vendor": { | |
| "followLine": "true" | |
| }, | |
| "label": { | |
| "property": "name" | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "rules": [ | |
| { | |
| "zoom-levels": { | |
| "max": 16, | |
| "min": 18 | |
| }, | |
| "where": "highway = 'residential' or highway = 'secondary' or highway = 'primary' or highway = 'tertiary' or highway = 'motorway'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "color": "#8d888f", | |
| "line-cap": "round", | |
| "width": 12 | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "rules": [ | |
| { | |
| "zoom-levels": { | |
| "max": 16, | |
| "min": 18 | |
| }, | |
| "where": "highway = 'residential'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "color": "#ffffff", | |
| "line-cap": "round", | |
| "width": 10 | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "rules": [ | |
| { | |
| "zoom-levels": { | |
| "max": 16, | |
| "min": 18 | |
| }, | |
| "where": "highway = 'secondary' or highway = 'primary' or highway = 'tertiary' or highway = 'motorway'", | |
| "symbolizers": { | |
| "line": { | |
| "stroke": { | |
| "color": "#e8e8e8", | |
| "width": 10, | |
| "line-cap": "round" | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment