Improve road colors

buefy-0.9^2
Manuel Kasper 2024-05-30 09:11:30 +02:00
rodzic c49b8ca82c
commit c2103e2d7b
1 zmienionych plików z 144 dodań i 117 usunięć

Wyświetl plik

@ -1,5 +1,5 @@
--- Outdoor/style.json 2024-05-29 11:35:38
+++ SOTLAS_Outdoor_meters/style.json 2024-05-29 11:34:54
--- Outdoor/style.json 2024-05-30 07:10:16
+++ SOTLAS_Outdoor_meters/style.json 2024-05-30 07:10:12
@@ -1,7 +1,7 @@
{
"version": 8,
@ -11,11 +11,10 @@
"outdoor": {
"url": "https://api.maptiler.com/tiles/outdoor/tiles.json?key={key}",
\ No newline at end of file
@@ -17,6 +17,22 @@
},
@@ -18,6 +18,22 @@
"maptiler_planet": {
"url": "https://api.maptiler.com/tiles/v3/tiles.json?key={key}",
+ "type": "vector"
"type": "vector"
+ },
+ "2d324268-fe52-4875-96ca-bc5692fc1225": {
+ "url": "https://api.maptiler.com/tiles/2d324268-fe52-4875-96ca-bc5692fc1225/tiles.json?key={key}",
@ -31,9 +30,10 @@
+ },
+ "e3f0b69a-1a14-4a8c-933a-4c4e134fdaa3": {
+ "url": "https://api.maptiler.com/tiles/e3f0b69a-1a14-4a8c-933a-4c4e134fdaa3/tiles.json?key={key}",
"type": "vector"
+ "type": "vector"
}
},
"layers": [
\ No newline at end of file
@@ -380,6 +396,9 @@
},
@ -57,16 +57,16 @@
"all",
[
\ No newline at end of file
@@ -575,6 +597,9 @@
@@ -574,6 +596,9 @@
18,
0.5
]
},
+ },
+ "metadata": {
+ "sotlas-map-option": "contours"
+ },
},
"filter": [
"all",
[
\ No newline at end of file
@@ -605,6 +630,9 @@
"line-width": 0.8,
@ -114,7 +114,7 @@
"all",
[
\ No newline at end of file
@@ -1555,7 +1590,191 @@
@@ -1555,7 +1590,186 @@
]
},
{
@ -287,11 +287,6 @@
+ ],
+ [
+ "!=",
+ "subclass",
+ "path"
+ ],
+ [
+ "!=",
+ "surface",
+ "paved"
+ ],
@ -308,7 +303,7 @@
"source": "maptiler_planet",
"source-layer": "transportation",
\ No newline at end of file
@@ -1566,7 +1785,18 @@
@@ -1566,7 +1780,23 @@
"visibility": "visible"
},
"paint": {
@ -321,19 +316,27 @@
+ ],
+ "motorway",
+ "hsl(28, 72%, 69%)",
+ "primary",
+ [
+ "primary",
+ "trunk"
+ ],
+ "hsl(28, 72%, 69%)",
+ "secondary",
+ "hsl(40, 69%, 72%)",
+ "hsl(0, 0%, 65%)"
+ ],
"line-width": [
"interpolate",
[
\ No newline at end of file
@@ -1583,8 +1813,10 @@
@@ -1583,8 +1813,13 @@
"get",
"class"
],
+ "primary",
+ [
+ "primary",
+ "trunk"
+ ],
+ 1,
"motorway",
- 0.5,
@ -342,11 +345,14 @@
],
7,
\ No newline at end of file
@@ -1594,8 +1826,10 @@
@@ -1594,8 +1829,13 @@
"get",
"class"
],
+ "primary",
+ [
+ "primary",
+ "trunk"
+ ],
+ 1.5,
"motorway",
- 1,
@ -355,11 +361,14 @@
],
9,
\ No newline at end of file
@@ -1605,8 +1839,10 @@
@@ -1605,8 +1845,13 @@
"get",
"class"
],
+ "primary",
+ [
+ "primary",
+ "trunk"
+ ],
+ 2.5,
"motorway",
- 2,
@ -368,7 +377,7 @@
],
14,
\ No newline at end of file
@@ -1617,15 +1853,15 @@
@@ -1617,15 +1862,15 @@
"class"
],
"motorway",
@ -388,7 +397,7 @@
16,
[
\ No newline at end of file
@@ -1635,15 +1871,15 @@
@@ -1635,15 +1880,15 @@
"class"
],
"motorway",
@ -408,7 +417,7 @@
18,
[
\ No newline at end of file
@@ -1653,15 +1889,15 @@
@@ -1653,15 +1898,15 @@
"class"
],
"motorway",
@ -428,7 +437,7 @@
20,
[
\ No newline at end of file
@@ -1671,15 +1907,15 @@
@@ -1671,15 +1916,15 @@
"class"
],
"motorway",
@ -448,7 +457,7 @@
22,
[
\ No newline at end of file
@@ -1689,22 +1925,22 @@
@@ -1689,22 +1934,22 @@
"class"
],
"motorway",
@ -476,7 +485,7 @@
]
},
\ No newline at end of file
@@ -1742,177 +1978,206 @@
@@ -1742,177 +1987,220 @@
]
},
{
@ -488,11 +497,10 @@
- "minzoom": 15.0,
+ "minzoom": 5.0,
"layout": {
+ "line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
- "line-join": "round",
- "visibility": "visible"
- },
- "paint": {
- "line-color": "hsl(24, 10%, 60%)",
- "line-width": {
- "base": 1.4,
@ -523,18 +531,7 @@
- "==",
- "$type",
- "LineString"
+ "line-color": [
+ "match",
+ [
+ "get",
+ "class"
+ ],
+ "motorway",
+ "hsl(35, 100%, 76%)",
+ "primary",
+ "hsl(48, 100%,76%)",
+ "hsl(0, 100%, 100%)"
],
- ],
- [
- "==",
- "class",
@ -559,21 +556,28 @@
- "source-layer": "transportation",
- "minzoom": 12.0,
- "layout": {
- "line-join": "round",
- "visibility": "visible"
- },
- "paint": {
+ "line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
- "line-color": "hsl(24, 10%, 60%)",
"line-width": [
"interpolate",
- "line-width": [
- "interpolate",
+ "line-color": [
+ "match",
[
- "exponential",
- 1.2
+ "linear",
+ 1
+ "get",
+ "class"
],
+ "motorway",
+ "hsl(35, 100%, 76%)",
[
"zoom"
- "zoom"
+ "primary",
+ "trunk"
],
- 13,
- 0.5,
@ -581,9 +585,13 @@
- 1,
- 20,
- 2
- ],
+ "hsl(48, 100%, 76%)",
+ "secondary",
+ "hsl(48, 100%, 88%)",
+ "hsl(0, 100%, 100%)"
],
- "line-dasharray": [
5,
- 5,
- 2
- ]
- },
@ -619,38 +627,51 @@
- },
- "paint": {
- "line-color": "hsl(24, 10%, 60%)",
- "line-width": [
- "interpolate",
"line-width": [
"interpolate",
[
- "exponential",
- 1.2
+ "linear",
+ 1
],
[
"zoom"
],
- 13,
- 0.5,
+ 5,
+ [
+ "match",
+ [
+ "get",
+ "class"
+ ],
+ "primary",
+ [
+ "primary",
+ "trunk"
+ ],
+ 0.5,
+ "motorway",
+ 1,
+ 0
],
+ ],
+ 7,
[
- "zoom"
+ [
+ "match",
+ [
+ "get",
+ "class"
+ ],
+ "primary",
+ [
+ "primary",
+ "trunk"
+ ],
+ 1,
+ "motorway",
+ 1.5,
+ 0
],
- 13,
- 0.5,
+ ],
+ 9,
+ [
+ "match",
@ -658,7 +679,10 @@
+ "get",
+ "class"
+ ],
+ "primary",
+ [
+ "primary",
+ "trunk"
+ ],
+ 1.5,
+ "motorway",
+ 2,
@ -772,7 +796,7 @@
"metadata": {},
"filter": [
"all",
[
- [
- "==",
- "$type",
- "LineString"
@ -783,12 +807,12 @@
- "path"
- ],
- [
"!=",
- "!=",
- "subclass",
- "steps"
- ],
- [
- "!=",
[
"!=",
- "surface",
- "paved"
- ],
@ -823,7 +847,7 @@
]
},
\ No newline at end of file
@@ -2326,7 +2591,7 @@
@@ -2326,7 +2614,7 @@
"layout": {
"line-cap": "round",
"line-join": "miter",
@ -833,7 +857,7 @@
},
"paint": {
\ No newline at end of file
@@ -2454,7 +2719,7 @@
@@ -2454,7 +2742,7 @@
"layout": {
"line-cap": "round",
"line-join": "miter",
@ -843,7 +867,7 @@
},
"paint": {
\ No newline at end of file
@@ -2564,13 +2829,17 @@
@@ -2564,13 +2852,17 @@
"zoom"
],
10,
@ -865,7 +889,7 @@
},
"metadata": {},
\ No newline at end of file
@@ -2582,8 +2851,88 @@
@@ -2582,10 +2874,90 @@
"LineString"
],
[
@ -941,7 +965,7 @@
+ 1.7,
+ 18,
+ 3
+ ],
],
+ "line-opacity": 0.8
+ },
+ "metadata": {
@ -949,15 +973,17 @@
+ },
+ "filter": [
+ "all",
+ [
[
+ "==",
+ "$type",
+ "LineString"
],
[
+ ],
+ [
"!in",
"class",
"bicycle",
\ No newline at end of file
@@ -2604,7 +2953,7 @@
@@ -2604,7 +2976,7 @@
"layout": {
"line-cap": "round",
"line-join": "miter",
@ -967,7 +993,7 @@
},
"paint": {
\ No newline at end of file
@@ -2675,7 +3024,7 @@
@@ -2675,7 +3047,7 @@
"layout": {
"line-cap": "round",
"line-join": "miter",
@ -977,7 +1003,7 @@
"stops": [
[
\ No newline at end of file
@@ -2770,7 +3119,7 @@
@@ -2770,7 +3142,7 @@
"layout": {
"line-cap": "round",
"line-join": "miter",
@ -987,7 +1013,7 @@
},
"paint": {
\ No newline at end of file
@@ -2854,7 +3203,7 @@
@@ -2854,7 +3226,7 @@
"layout": {
"line-cap": "round",
"line-join": "miter",
@ -997,7 +1023,7 @@
"stops": [
[
\ No newline at end of file
@@ -2950,7 +3299,7 @@
@@ -2950,7 +3322,7 @@
"layout": {
"line-cap": "round",
"line-join": "miter",
@ -1007,7 +1033,7 @@
},
"paint": {
\ No newline at end of file
@@ -3034,7 +3383,7 @@
@@ -3034,7 +3406,7 @@
"layout": {
"line-cap": "round",
"line-join": "miter",
@ -1017,7 +1043,7 @@
},
"paint": {
\ No newline at end of file
@@ -3118,7 +3467,7 @@
@@ -3118,7 +3490,7 @@
"layout": {
"line-cap": "round",
"line-join": "miter",
@ -1027,7 +1053,7 @@
"stops": [
[
\ No newline at end of file
@@ -3213,7 +3562,7 @@
@@ -3213,7 +3585,7 @@
"layout": {
"line-cap": "round",
"line-join": "miter",
@ -1037,7 +1063,7 @@
"stops": [
[
\ No newline at end of file
@@ -3316,7 +3665,7 @@
@@ -3316,7 +3688,7 @@
"layout": {
"line-cap": "round",
"line-join": "bevel",
@ -1047,7 +1073,7 @@
"stops": [
[
\ No newline at end of file
@@ -3396,7 +3745,7 @@
@@ -3396,7 +3768,7 @@
"layout": {
"line-cap": "round",
"line-join": "round",
@ -1057,7 +1083,7 @@
},
"paint": {
\ No newline at end of file
@@ -3448,7 +3797,7 @@
@@ -3448,7 +3820,7 @@
"layout": {
"line-cap": "round",
"line-join": "miter",
@ -1067,7 +1093,7 @@
},
"paint": {
\ No newline at end of file
@@ -3637,7 +3986,7 @@
@@ -3637,7 +4009,7 @@
"layout": {
"line-cap": "round",
"line-join": "miter",
@ -1077,7 +1103,7 @@
},
"paint": {
\ No newline at end of file
@@ -3725,9 +4074,20 @@
@@ -3725,9 +4097,20 @@
}
},
"filter": [
@ -1102,7 +1128,7 @@
},
{
\ No newline at end of file
@@ -3761,9 +4121,20 @@
@@ -3761,9 +4144,20 @@
]
},
"filter": [
@ -1127,7 +1153,7 @@
},
{
\ No newline at end of file
@@ -3873,8 +4244,12 @@
@@ -3873,8 +4267,12 @@
[
"!in",
"subclass",
@ -1143,7 +1169,7 @@
[
"!in",
\ No newline at end of file
@@ -3891,7 +4266,7 @@
@@ -3891,7 +4289,7 @@
"source": "maptiler_planet",
"source-layer": "boundary",
"minzoom": 3.0,
@ -1153,7 +1179,7 @@
"line-join": "round",
"visibility": "visible"
\ No newline at end of file
@@ -3906,9 +4281,9 @@
@@ -3906,9 +4304,9 @@
"zoom"
],
3,
@ -1166,7 +1192,7 @@
"line-width": [
"interpolate",
\ No newline at end of file
@@ -3926,10 +4301,12 @@
@@ -3926,10 +4324,12 @@
12,
1
],
@ -1183,7 +1209,7 @@
},
"metadata": {},
\ No newline at end of file
@@ -3939,13 +4316,7 @@
@@ -3939,13 +4339,7 @@
"in",
"admin_level",
3,
@ -1199,7 +1225,7 @@
[
"==",
\ No newline at end of file
@@ -6511,7 +6882,7 @@
@@ -6511,7 +6905,7 @@
],
" ft"
],
@ -1209,7 +1235,7 @@
"text-offset": [
0,
\ No newline at end of file
@@ -6585,10 +6956,6 @@
@@ -6585,10 +6979,6 @@
[
"has",
"name"
@ -1221,7 +1247,7 @@
]
},
\ No newline at end of file
@@ -6752,10 +7119,6 @@
@@ -6752,10 +7142,6 @@
[
"has",
"name"
@ -1233,7 +1259,7 @@
]
},
\ No newline at end of file
@@ -6764,7 +7127,7 @@
@@ -6764,7 +7150,7 @@
"type": "symbol",
"source": "maptiler_planet",
"source-layer": "mountain_peak",
@ -1243,7 +1269,7 @@
"icon-size": [
"interpolate",
\ No newline at end of file
@@ -6845,7 +7208,7 @@
@@ -6845,7 +7231,7 @@
],
" ft"
],
@ -1253,7 +1279,7 @@
"text-offset": [
0,
\ No newline at end of file
@@ -6874,6 +7237,8 @@
@@ -6874,6 +7260,8 @@
"paint": {
"icon-color": "hsl(23, 57%, 24%)",
"text-color": "hsl(23, 57%, 24%)",
@ -1263,7 +1289,7 @@
"text-halo-blur": {
"stops": [
\ No newline at end of file
@@ -6919,10 +7284,6 @@
@@ -6919,10 +7307,6 @@
[
"has",
"name"
@ -1275,7 +1301,7 @@
]
},
\ No newline at end of file
@@ -6931,7 +7292,7 @@
@@ -6931,7 +7315,7 @@
"type": "symbol",
"source": "maptiler_planet",
"source-layer": "mountain_peak",
@ -1285,7 +1311,7 @@
"icon-size": [
"interpolate",
\ No newline at end of file
@@ -7041,6 +7402,8 @@
@@ -7041,6 +7425,8 @@
"paint": {
"icon-color": "hsl(23, 57%, 24%)",
"text-color": "hsl(23, 57%, 24%)",
@ -1295,7 +1321,7 @@
"text-halo-blur": {
"stops": [
\ No newline at end of file
@@ -7098,10 +7461,6 @@
@@ -7098,10 +7484,6 @@
[
"has",
"name"
@ -1307,7 +1333,7 @@
]
},
\ No newline at end of file
@@ -7619,7 +7978,7 @@
@@ -7619,7 +8001,7 @@
"name"
]
],
@ -1317,7 +1343,7 @@
},
"paint": {
\ No newline at end of file
@@ -7704,7 +8063,7 @@
@@ -7704,7 +8086,7 @@
"name"
]
],
@ -1327,7 +1353,7 @@
"text-offset": [
0,
\ No newline at end of file
@@ -8603,13 +8962,842 @@
@@ -8603,13 +8985,843 @@
"==",
"class",
"continent"
@ -1338,6 +1364,7 @@
+ "type": "symbol",
+ "source": "outdoor",
+ "source-layer": "trail",
+ "minzoom": 14.0,
+ "layout": {
+ "text-font": [
+ "Roboto Regular",
@ -2171,7 +2198,7 @@
"icon": "poi",
"name": "POI",
\ No newline at end of file
@@ -8651,7 +9839,9 @@
@@ -8651,7 +9863,9 @@
"Bicycle longdistance",
"Bicycle longdistance labels",
"Longdistance trail labels",
@ -2183,7 +2210,7 @@
},
{
\ No newline at end of file
@@ -8715,7 +9905,8 @@
@@ -8715,7 +9929,8 @@
"Taxiway",
"Runway",
"Airport labels",
@ -2194,7 +2221,7 @@
},
{
\ No newline at end of file
@@ -8783,10 +9974,17 @@
@@ -8783,10 +9998,17 @@
],
"viewState": {
"mapType": "Style",
@ -2204,7 +2231,7 @@
+ "selectedLayers": [
+ "Road network casing"
+ ],
+ "propertyPanelType": "Edit",
+ "propertyPanelType": "Style",
+ "editorFocusProperty": null,
+ "layersViewPanelType": "Verticality"
},