Improved roads

This commit is contained in:
lukasmartinelli 2016-08-07 15:54:51 +02:00
parent 53873aaf65
commit 8f0496435c

View File

@ -7,16 +7,20 @@
"collapsed": false, "collapsed": false,
"name": "Building" "name": "Building"
}, },
"5c16a6eb554162c4acf5ff3506899913": {
"collapsed": true,
"name": "Rail"
},
"group_aeroway": { "group_aeroway": {
"collapsed": true, "collapsed": true,
"name": "Aeroway" "name": "Aeroway"
}, },
"group_boundary": { "group_boundary": {
"collapsed": false, "collapsed": true,
"name": "Boundary" "name": "Boundary"
}, },
"group_bridge": { "group_bridge": {
"collapsed": true, "collapsed": false,
"name": "Bridge" "name": "Bridge"
}, },
"group_country_label": { "group_country_label": {
@ -32,7 +36,7 @@
"name": "Marine Label" "name": "Marine Label"
}, },
"group_place_label": { "group_place_label": {
"collapsed": false, "collapsed": true,
"name": "Place Label" "name": "Place Label"
}, },
"group_poi_label": { "group_poi_label": {
@ -44,7 +48,7 @@
"name": "Road" "name": "Road"
}, },
"group_road_label": { "group_road_label": {
"collapsed": false, "collapsed": true,
"name": "Road Label" "name": "Road Label"
}, },
"group_state_label": { "group_state_label": {
@ -52,7 +56,7 @@
"name": "State Label" "name": "State Label"
}, },
"group_tunnel": { "group_tunnel": {
"collapsed": true, "collapsed": false,
"name": "Tunnel" "name": "Tunnel"
}, },
"group_water": { "group_water": {
@ -387,7 +391,7 @@
"source-layer": "water", "source-layer": "water",
"interactive": true, "interactive": true,
"paint": { "paint": {
"fill-color": "hsl(228, 100%, 85%)" "fill-color": "rgb(158,189,255)"
} }
}, },
{ {
@ -490,59 +494,6 @@
} }
} }
}, },
{
"id": "building",
"type": "fill",
"metadata": {
"mapbox:group": "1444849364238.8171"
},
"source": "osm2vectortiles",
"source-layer": "building",
"interactive": true,
"paint": {
"fill-color": "hsl(35, 8%, 85%)",
"fill-outline-color": "hsl(35, 6%, 79%)"
}
},
{
"id": "housenum_label",
"type": "symbol",
"metadata": {
"mapbox:group": "1444849364238.8171"
},
"source": "osm2vectortiles",
"source-layer": "housenum_label",
"minzoom": 16,
"interactive": true,
"layout": {
"text-field": "{house_num}",
"text-font": [
"Roboto Condensed",
"Arial Unicode MS Regular"
],
"text-max-width": 7,
"text-size": 9.5,
"visibility": "visible"
},
"paint": {
"text-color": "hsl(35, 2%, 69%)",
"text-halo-color": "hsl(35, 8%, 85%)",
"text-halo-width": 0.5,
"text-opacity": {
"base": 1,
"stops": [
[
16,
0
],
[
16.5,
1
]
]
}
}
},
{ {
"id": "tunnel_motorway_link_casing", "id": "tunnel_motorway_link_casing",
"type": "line", "type": "line",
@ -946,21 +897,21 @@
] ]
], ],
"paint": { "paint": {
"line-color": "#cba", "line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [ "line-dasharray": [
1.5, 1,
0.75 0.75
], ],
"line-width": { "line-width": {
"base": 1.2, "base": 1.2,
"stops": [ "stops": [
[ [
15, 14,
1.2 0.5
], ],
[ [
20, 20,
4 10
] ]
] ]
} }
@ -1247,6 +1198,71 @@
} }
} }
}, },
{
"id": "building",
"type": "fill",
"metadata": {
"mapbox:group": "1444849364238.8171"
},
"source": "osm2vectortiles",
"source-layer": "building",
"interactive": true,
"paint": {
"fill-color": "hsl(35, 8%, 85%)",
"fill-outline-color": {
"base": 1,
"stops": [
[
13,
"hsla(35, 6%, 79%, 0.32)"
],
[
14,
"hsl(35, 6%, 79%)"
]
]
}
}
},
{
"id": "housenum_label",
"type": "symbol",
"metadata": {
"mapbox:group": "1444849364238.8171"
},
"source": "osm2vectortiles",
"source-layer": "housenum_label",
"minzoom": 16,
"interactive": true,
"layout": {
"text-field": "{house_num}",
"text-font": [
"Roboto Condensed",
"Arial Unicode MS Regular"
],
"text-max-width": 7,
"text-size": 9.5,
"visibility": "visible"
},
"paint": {
"text-color": "hsl(35, 2%, 69%)",
"text-halo-color": "hsl(35, 8%, 85%)",
"text-halo-width": 0.5,
"text-opacity": {
"base": 1,
"stops": [
[
16,
0
],
[
16.5,
1
]
]
}
}
},
{ {
"id": "road_motorway_link_casing", "id": "road_motorway_link_casing",
"type": "line", "type": "line",
@ -1472,7 +1488,7 @@
], ],
[ [
20, 20,
15 20
] ]
] ]
} }
@ -1667,22 +1683,25 @@
] ]
] ]
], ],
"layout": {
"line-join": "round"
},
"paint": { "paint": {
"line-color": "#cba", "line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [ "line-dasharray": [
1.5, 1,
0.75 0.7
], ],
"line-width": { "line-width": {
"base": 1.2, "base": 1.2,
"stops": [ "stops": [
[ [
15, 14,
1.2 1
], ],
[ [
20, 20,
4 10
] ]
] ]
} }
@ -1803,7 +1822,7 @@
], ],
[ [
20, 20,
11.5 18
] ]
] ]
} }
@ -1897,7 +1916,7 @@
"id": "road_major_rail", "id": "road_major_rail",
"type": "line", "type": "line",
"metadata": { "metadata": {
"mapbox:group": "group_road" "mapbox:group": "5c16a6eb554162c4acf5ff3506899913"
}, },
"source": "osm2vectortiles", "source": "osm2vectortiles",
"source-layer": "road", "source-layer": "road",
@ -1940,7 +1959,7 @@
{ {
"id": "road_major_rail_hatching", "id": "road_major_rail_hatching",
"metadata": { "metadata": {
"mapbox:group": "group_road" "mapbox:group": "5c16a6eb554162c4acf5ff3506899913"
}, },
"ref": "road_major_rail", "ref": "road_major_rail",
"interactive": true, "interactive": true,
@ -2145,7 +2164,7 @@
"line-join": "round" "line-join": "round"
}, },
"paint": { "paint": {
"line-color": "#cfcdca", "line-color": "hsl(36, 6%, 74%)",
"line-opacity": { "line-opacity": {
"stops": [ "stops": [
[ [
@ -2175,7 +2194,63 @@
], ],
[ [
20, 20,
15 25
]
]
}
}
},
{
"id": "bridge_path_pedestrian_casing",
"type": "line",
"metadata": {
"mapbox:group": "group_bridge"
},
"source": "osm2vectortiles",
"source-layer": "road",
"interactive": true,
"filter": [
"all",
[
"==",
"$type",
"LineString"
],
[
"all",
[
"==",
"structure",
"bridge"
],
[
"in",
"class",
"path",
"pedestrian"
]
]
],
"layout": {
"line-join": "miter",
"visibility": "visible"
},
"paint": {
"line-color": "hsl(35, 6%, 80%)",
"line-dasharray": [
1,
0
],
"line-width": {
"base": 1.2,
"stops": [
[
14,
1.5
],
[
20,
18
] ]
] ]
} }
@ -2358,21 +2433,21 @@
] ]
], ],
"paint": { "paint": {
"line-color": "#cba", "line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [ "line-dasharray": [
1.5, 1,
0.75 0.3
], ],
"line-width": { "line-width": {
"base": 1.2, "base": 1.2,
"stops": [ "stops": [
[ [
15, 14,
1.2 0.5
], ],
[ [
20, 20,
4 10
] ]
] ]
} }
@ -2493,7 +2568,7 @@
], ],
[ [
20, 20,
11.5 18
] ]
] ]
} }
@ -3102,15 +3177,15 @@
"interactive": true, "interactive": true,
"layout": { "layout": {
"icon-image": "{maki}-11", "icon-image": "{maki}-11",
"text-anchor": "top", "text-anchor": "left",
"text-field": "{name_en}", "text-field": "{name_en}",
"text-font": [ "text-font": [
"Open Sans Semibold" "Open Sans Semibold"
], ],
"text-max-width": 9, "text-max-width": 9,
"text-offset": [ "text-offset": [
0, 0.9,
0.8 0
], ],
"text-padding": 2, "text-padding": 2,
"text-size": 12, "text-size": 12,
@ -3276,7 +3351,7 @@
6 6
], ],
"layout": { "layout": {
"icon-image": "default-{reflen}", "icon-image": "motorway-{reflen}",
"icon-rotation-alignment": "viewport", "icon-rotation-alignment": "viewport",
"symbol-placement": { "symbol-placement": {
"base": 1, "base": 1,
@ -3920,9 +3995,10 @@
"maxzoom": 6, "maxzoom": 6,
"interactive": true, "interactive": true,
"layout": { "layout": {
"text-field": "{name}", "text-field": "{name_en}",
"text-font": [ "text-font": [
"Roboto Condensed Italic" "Roboto Condensed Italic",
"Arial Unicode MS Regular"
], ],
"text-size": { "text-size": {
"stops": [ "stops": [