mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-05-27 02:25:10 +00:00
remove casings
This commit is contained in:
@@ -21,227 +21,6 @@
|
||||
"type": "raster",
|
||||
"source": "esri"
|
||||
},
|
||||
{
|
||||
"id": "tunnel_motorway_link_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"all",
|
||||
["==", ["get", "class"], "motorway"],
|
||||
["==", ["get", "ramp"], 1],
|
||||
["==", ["get", "brunnel"], "tunnel"]
|
||||
],
|
||||
"layout": {"line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "#e9ac77",
|
||||
"line-dasharray": [0.5, 0.25],
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
12,
|
||||
1,
|
||||
13,
|
||||
3,
|
||||
14,
|
||||
4,
|
||||
20,
|
||||
15
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "tunnel_service_track_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"all",
|
||||
["==", ["get", "brunnel"], "tunnel"],
|
||||
["match", ["get", "class"], ["service", "track"], true, false]
|
||||
],
|
||||
"layout": {"line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "#cfcdca",
|
||||
"line-dasharray": [0.5, 0.25],
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
15,
|
||||
1,
|
||||
16,
|
||||
4,
|
||||
20,
|
||||
11
|
||||
],
|
||||
"line-opacity":[
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 0.5,
|
||||
15, 0.3
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "tunnel_link_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"all",
|
||||
["==", ["get", "ramp"], 1],
|
||||
["==", ["get", "brunnel"], "tunnel"]
|
||||
],
|
||||
"layout": {"line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "#e9ac77",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
12,
|
||||
1,
|
||||
13,
|
||||
3,
|
||||
14,
|
||||
4,
|
||||
20,
|
||||
15
|
||||
],
|
||||
"line-opacity":[
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 0.5,
|
||||
15, 0.3
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "tunnel_street_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"all",
|
||||
["==", ["get", "brunnel"], "tunnel"],
|
||||
["match", ["get", "class"], ["street", "street_limited"], true, false]
|
||||
],
|
||||
"layout": {"line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "#cfcdca",
|
||||
"line-opacity": ["interpolate", ["linear"], ["zoom"], 12, 0, 12.5, 1],
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
12,
|
||||
0.5,
|
||||
13,
|
||||
1,
|
||||
14,
|
||||
4,
|
||||
20,
|
||||
15
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "tunnel_secondary_tertiary_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"all",
|
||||
["==", ["get", "brunnel"], "tunnel"],
|
||||
["match", ["get", "class"], ["secondary", "tertiary"], true, false]
|
||||
],
|
||||
"layout": {"line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "#e9ac77",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
8,
|
||||
1.5,
|
||||
20,
|
||||
17
|
||||
],
|
||||
"line-opacity":[
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 0.5,
|
||||
15, 0.3
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "tunnel_trunk_primary_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"all",
|
||||
["==", ["get", "brunnel"], "tunnel"],
|
||||
["match", ["get", "class"], ["primary", "trunk"], true, false]
|
||||
],
|
||||
"layout": {"line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "#e9ac77",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
5,
|
||||
0.4,
|
||||
6,
|
||||
0.7,
|
||||
7,
|
||||
1.75,
|
||||
20,
|
||||
22
|
||||
],
|
||||
"line-opacity":[
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 0.5,
|
||||
15, 0.3
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "tunnel_motorway_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"all",
|
||||
["==", ["get", "class"], "motorway"],
|
||||
["!=", ["get", "ramp"], 1],
|
||||
["==", ["get", "brunnel"], "tunnel"]
|
||||
],
|
||||
"layout": {"line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "#e9ac77",
|
||||
"line-dasharray": [0.5, 0.25],
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
5,
|
||||
0.4,
|
||||
6,
|
||||
0.7,
|
||||
7,
|
||||
1.75,
|
||||
20,
|
||||
22
|
||||
],
|
||||
"line-opacity":[
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 0.5,
|
||||
15, 0.3
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "tunnel_path_pedestrian",
|
||||
"type": "line",
|
||||
@@ -644,243 +423,6 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road_motorway_link_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"minzoom": 12,
|
||||
"filter": [
|
||||
"all",
|
||||
["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true],
|
||||
["==", ["get", "class"], "motorway"],
|
||||
["==", ["get", "ramp"], 1]
|
||||
],
|
||||
"layout": {"line-cap": "round", "line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "#e9ac77",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
12,
|
||||
1,
|
||||
13,
|
||||
3,
|
||||
14,
|
||||
4,
|
||||
20,
|
||||
15
|
||||
],
|
||||
"line-opacity":[
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 0.5,
|
||||
15, 0.3
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road_service_track_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"all",
|
||||
["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true],
|
||||
["match", ["get", "class"], ["service", "track"], true, false]
|
||||
],
|
||||
"layout": {"line-cap": "round", "line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": ["match", ["get", "class"], ["service"], "#cfcdca", "hsl(40,70%,60%,70%)"],
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
12,
|
||||
1,
|
||||
15,
|
||||
4,
|
||||
20,
|
||||
11
|
||||
],
|
||||
"line-opacity":[
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 0.5,
|
||||
15, 0.3
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road_link_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"minzoom": 13,
|
||||
"filter": [
|
||||
"all",
|
||||
["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true],
|
||||
[
|
||||
"match",
|
||||
["get", "class"],
|
||||
["motorway", "path", "pedestrian", "service", "track"],
|
||||
false,
|
||||
true
|
||||
],
|
||||
["==", ["get", "ramp"], 1]
|
||||
],
|
||||
"layout": {"line-cap": "round", "line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "#e9ac77",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
12,
|
||||
1,
|
||||
13,
|
||||
3,
|
||||
14,
|
||||
4,
|
||||
20,
|
||||
15
|
||||
],
|
||||
"line-opacity":[
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 0.5,
|
||||
15, 0.3
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road_minor_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"all",
|
||||
[
|
||||
"match",
|
||||
["geometry-type"],
|
||||
["LineString", "MultiLineString"],
|
||||
true,
|
||||
false
|
||||
],
|
||||
["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true],
|
||||
["match", ["get", "class"], ["minor"], true, false],
|
||||
["!=", ["get", "ramp"], 1]
|
||||
],
|
||||
"layout": {"line-cap": "round", "line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "#cfcdca",
|
||||
"line-opacity": ["interpolate", ["linear"], ["zoom"], 12, 0, 12.5, 1],
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
12,
|
||||
0.5,
|
||||
13,
|
||||
1,
|
||||
14,
|
||||
4,
|
||||
20,
|
||||
20
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road_secondary_tertiary_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"all",
|
||||
["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true],
|
||||
["match", ["get", "class"], ["secondary", "tertiary"], true, false],
|
||||
["!=", ["get", "ramp"], 1]
|
||||
],
|
||||
"layout": {"line-cap": "round", "line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "#e9ac77",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
8,
|
||||
1.5,
|
||||
20,
|
||||
17
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road_trunk_primary_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"all",
|
||||
["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true],
|
||||
["match", ["get", "class"], ["primary", "trunk"], true, false]
|
||||
],
|
||||
"layout": {"line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "#e9ac77",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
5,
|
||||
0.4,
|
||||
6,
|
||||
0.7,
|
||||
7,
|
||||
1.75,
|
||||
20,
|
||||
22
|
||||
],
|
||||
"line-opacity":[
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 0.5,
|
||||
15, 0.3
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road_motorway_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"minzoom": 5,
|
||||
"filter": [
|
||||
"all",
|
||||
["match", ["get", "brunnel"], ["bridge", "tunnel"], false, true],
|
||||
["==", ["get", "class"], "motorway"],
|
||||
["!=", ["get", "ramp"], 1]
|
||||
],
|
||||
"layout": {"line-cap": "round", "line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "#e9ac77",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
5,
|
||||
0.4,
|
||||
6,
|
||||
0.7,
|
||||
7,
|
||||
1.75,
|
||||
20,
|
||||
22
|
||||
],
|
||||
"line-opacity":[
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 0.5,
|
||||
15, 0.3
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road_path_pedestrian",
|
||||
"type": "line",
|
||||
@@ -1311,265 +853,6 @@
|
||||
"symbol-placement": "line"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "bridge_motorway_link_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"all",
|
||||
["==", ["get", "class"], "motorway"],
|
||||
["==", ["get", "ramp"], 1],
|
||||
["==", ["get", "brunnel"], "bridge"]
|
||||
],
|
||||
"layout": {"line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "#e9ac77",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
12,
|
||||
1,
|
||||
13,
|
||||
3,
|
||||
14,
|
||||
4,
|
||||
20,
|
||||
15
|
||||
],
|
||||
"line-opacity":[
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 0.5,
|
||||
15, 0.3
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "bridge_service_track_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"all",
|
||||
["==", ["get", "brunnel"], "bridge"],
|
||||
["match", ["get", "class"], ["service", "track"], true, false]
|
||||
],
|
||||
"layout": {"line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "#cfcdca",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
15,
|
||||
1,
|
||||
16,
|
||||
4,
|
||||
20,
|
||||
11
|
||||
],
|
||||
"line-opacity":[
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 0.5,
|
||||
15, 0.3
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "bridge_link_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"all",
|
||||
["==", ["get", "class"], "link"],
|
||||
["==", ["get", "brunnel"], "bridge"]
|
||||
],
|
||||
"layout": {"line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "#e9ac77",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
12,
|
||||
1,
|
||||
13,
|
||||
3,
|
||||
14,
|
||||
4,
|
||||
20,
|
||||
15
|
||||
],
|
||||
"line-opacity":[
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 0.5,
|
||||
15, 0.3
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "bridge_street_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"all",
|
||||
["==", ["get", "brunnel"], "bridge"],
|
||||
["match", ["get", "class"], ["street", "street_limited"], true, false]
|
||||
],
|
||||
"layout": {"line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "hsl(36,6%,74%)",
|
||||
"line-opacity": ["interpolate", ["linear"], ["zoom"], 12, 0, 12.5, 1],
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
12,
|
||||
0.5,
|
||||
13,
|
||||
1,
|
||||
14,
|
||||
4,
|
||||
20,
|
||||
25
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "bridge_path_pedestrian_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"all",
|
||||
[
|
||||
"match",
|
||||
["geometry-type"],
|
||||
["LineString", "MultiLineString"],
|
||||
true,
|
||||
false
|
||||
],
|
||||
["==", ["get", "brunnel"], "bridge"],
|
||||
["match", ["get", "class"], ["path", "pedestrian"], true, false]
|
||||
],
|
||||
"paint": {
|
||||
"line-color": "hsl(35,6%,80%)",
|
||||
"line-dasharray": [1, 0],
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
14,
|
||||
1.5,
|
||||
20,
|
||||
18
|
||||
],
|
||||
"line-opacity":[
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 0.5,
|
||||
15, 0.3
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "bridge_secondary_tertiary_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"all",
|
||||
["==", ["get", "brunnel"], "bridge"],
|
||||
["match", ["get", "class"], ["secondary", "tertiary"], true, false]
|
||||
],
|
||||
"layout": {"line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "#e9ac77",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
8,
|
||||
1.5,
|
||||
20,
|
||||
17
|
||||
],
|
||||
"line-opacity":[
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 0.5,
|
||||
15, 0.3
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "bridge_trunk_primary_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"all",
|
||||
["==", ["get", "brunnel"], "bridge"],
|
||||
["match", ["get", "class"], ["primary", "trunk"], true, false]
|
||||
],
|
||||
"layout": {"line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "#e9ac77",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
5,
|
||||
0.4,
|
||||
6,
|
||||
0.7,
|
||||
7,
|
||||
1.75,
|
||||
20,
|
||||
22
|
||||
],
|
||||
"line-opacity":[
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 0.5,
|
||||
15, 0.3
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "bridge_motorway_casing",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"all",
|
||||
["==", ["get", "class"], "motorway"],
|
||||
["!=", ["get", "ramp"], 1],
|
||||
["==", ["get", "brunnel"], "bridge"]
|
||||
],
|
||||
"layout": {"line-join": "round"},
|
||||
"paint": {
|
||||
"line-color": "#e9ac77",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
["exponential", 1.2],
|
||||
["zoom"],
|
||||
5,
|
||||
0.4,
|
||||
6,
|
||||
0.7,
|
||||
7,
|
||||
1.75,
|
||||
20,
|
||||
22
|
||||
],
|
||||
"line-opacity":[
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 0.5,
|
||||
15, 0.3
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "bridge_path_pedestrian",
|
||||
"type": "line",
|
||||
|
||||
Reference in New Issue
Block a user