Skip to content

Commit ccf824a

Browse files
author
Andy Townsend
committed
Added secondary to svwd08
1 parent 1789655 commit ccf824a

File tree

1 file changed

+19
-125
lines changed

1 file changed

+19
-125
lines changed

resources/svwd08_style.json

Lines changed: 19 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -4000,6 +4000,8 @@
40004000
"all",
40014001
[ "in", "class", "secondary",
40024002
"secondary_link" ],
4003+
[ "in", "edge", "sidewalk",
4004+
"verge" ],
40034005
[ "==", "tunnel", true ]
40044006
],
40054007
"layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" },
@@ -4025,6 +4027,8 @@
40254027
"all",
40264028
[ "in", "class", "secondary",
40274029
"secondary_link" ],
4030+
[ "in", "edge", "sidewalk",
4031+
"verge" ],
40284032
[ "==", "tunnel", true ]
40294033
],
40304034
"layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" },
@@ -7276,35 +7280,6 @@
72767280
}
72777281
}
72787282
},
7279-
{
7280-
"id": "highway-secondary-otherinnercasing-8",
7281-
"type": "line",
7282-
"source": "someoneelse",
7283-
"source-layer": "transportation",
7284-
"minzoom": 8,
7285-
"filter": [
7286-
"all",
7287-
[ "in", "class", "secondary",
7288-
"secondary_link" ],
7289-
[ "!in", "edge", "sidewalk",
7290-
"verge",
7291-
"ford" ],
7292-
[ "!in", "bridge", "yes" ],
7293-
[ "!=", "tunnel", true ]
7294-
],
7295-
"layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" },
7296-
"paint": {
7297-
"line-color": "#cca16a",
7298-
"line-width": {
7299-
"base": 2.0,
7300-
"stops": [
7301-
[ 8, 1.4 ],
7302-
[ 9, 2.8 ],
7303-
[ 20, 86.0 ]
7304-
]
7305-
}
7306-
}
7307-
},
73087283
{
73097284
"id": "highway-secondarysidewalk-casing-8",
73107285
"type": "line",
@@ -7415,35 +7390,6 @@
74157390
}
74167391
}
74177392
},
7418-
{
7419-
"id": "highway-secondary-otherfill-8",
7420-
"type": "line",
7421-
"source": "someoneelse",
7422-
"source-layer": "transportation",
7423-
"minzoom": 8,
7424-
"filter": [
7425-
"all",
7426-
[ "in", "class", "secondary",
7427-
"secondary_link" ],
7428-
[ "!in", "edge", "sidewalk",
7429-
"verge",
7430-
"ford" ],
7431-
[ "!=", "bridge", "yes" ],
7432-
[ "!=", "tunnel", true ]
7433-
],
7434-
"layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" },
7435-
"paint": {
7436-
"line-color": "#f9d6aa",
7437-
"line-width": {
7438-
"base": 2.0,
7439-
"stops": [
7440-
[ 8, 1.0 ],
7441-
[ 9, 2.0 ],
7442-
[ 20, 64.0 ]
7443-
]
7444-
}
7445-
}
7446-
},
74477393
{
74487394
"id": "highway-primarysidewalk-casing-7",
74497395
"type": "line",
@@ -10113,34 +10059,6 @@
1011310059
}
1011410060
}
1011510061
},
10116-
{
10117-
"id": "highway-secondary-bridgeinnerothercasing-9",
10118-
"type": "line",
10119-
"source": "someoneelse",
10120-
"source-layer": "transportation",
10121-
"minzoom": 8,
10122-
"filter": [
10123-
"all",
10124-
[ "in", "class", "secondary",
10125-
"secondary_link" ],
10126-
[ "!in", "edge", "sidewalk",
10127-
"verge",
10128-
"ford" ],
10129-
[ "==", "bridge", "yes" ]
10130-
],
10131-
"layout": { "line-cap": "butt", "line-join": "round", "visibility": "visible" },
10132-
"paint": {
10133-
"line-color": "#cca16a",
10134-
"line-width": {
10135-
"base": 2.0,
10136-
"stops": [
10137-
[ 8, 1.4 ],
10138-
[ 9, 2.8 ],
10139-
[ 20, 86.0 ]
10140-
]
10141-
}
10142-
}
10143-
},
1014410062
{
1014510063
"id": "highway-secondary-bridgeinnersidewalkcasing-9",
1014610064
"type": "line",
@@ -10247,34 +10165,6 @@
1024710165
}
1024810166
}
1024910167
},
10250-
{
10251-
"id": "highway-secondary-bridgefill-8",
10252-
"type": "line",
10253-
"source": "someoneelse",
10254-
"source-layer": "transportation",
10255-
"minzoom": 8,
10256-
"filter": [
10257-
"all",
10258-
[ "in", "class", "secondary",
10259-
"secondary_link" ],
10260-
[ "!in", "edge", "sidewalk",
10261-
"verge",
10262-
"ford" ],
10263-
[ "==", "bridge", "yes" ]
10264-
],
10265-
"layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" },
10266-
"paint": {
10267-
"line-color": "#f9d6aa",
10268-
"line-width": {
10269-
"base": 2.0,
10270-
"stops": [
10271-
[ 8, 1.0 ],
10272-
[ 9, 2.0 ],
10273-
[ 20, 64.0 ]
10274-
]
10275-
}
10276-
}
10277-
},
1027810168
{
1027910169
"id": "highway-primary-bridgecasing-12",
1028010170
"type": "line",
@@ -10595,7 +10485,8 @@
1059510485
"source": "someoneelse",
1059610486
"source-layer": "transportation",
1059710487
"minzoom": 12,
10598-
"filter": [ "all", [ "in", "class", "primary", "primary_link", "trunk", "trunk_link" ],
10488+
"filter": [ "all", [ "in", "class", "secondary", "secondary_link",
10489+
"primary", "primary_link", "trunk", "trunk_link" ],
1059910490
[ "==", "access", "destination" ],
1060010491
[ "in", "edge", "sidewalk",
1060110492
"verge" ] ],
@@ -10617,8 +10508,7 @@
1061710508
"source": "someoneelse",
1061810509
"source-layer": "transportation",
1061910510
"minzoom": 12,
10620-
"filter": [ "all", [ "in", "class", "secondary", "secondary_link",
10621-
"tertiary", "tertiary_link",
10511+
"filter": [ "all", [ "in", "class", "tertiary", "tertiary_link",
1062210512
"unclassified", "residential", "pedestrian",
1062310513
"service", "road", "driveway" ],
1062410514
[ "==", "access", "destination" ] ],
@@ -10666,7 +10556,8 @@
1066610556
"id": "trunkmarker-oneway-15",
1066710557
"type": "symbol",
1066810558
"source-layer": "transportation",
10669-
"filter": [ "all", [ "in", "class", "primary", "primary_link", "trunk", "trunk_link" ],
10559+
"filter": [ "all", [ "in", "class", "secondary", "secondary_link",
10560+
"primary", "primary_link", "trunk", "trunk_link" ],
1067010561
[ "in", "edge", "sidewalk",
1067110562
"verge" ],
1067210563
[ "==", "oneway", "yes" ] ],
@@ -10685,8 +10576,7 @@
1068510576
"id": "marker-oneway-15",
1068610577
"type": "symbol",
1068710578
"source-layer": "transportation",
10688-
"filter": [ "all", [ "in", "class", "secondary", "secondary_link",
10689-
"tertiary", "tertiary_link",
10579+
"filter": [ "all", [ "in", "class", "tertiary", "tertiary_link",
1069010580
"unclassified", "residential", "pedestrian",
1069110581
"service", "road", "driveway", "unpaved" ],
1069210582
[ "==", "oneway", "yes" ] ],
@@ -10705,7 +10595,8 @@
1070510595
"id": "trunkmarker-onewayminusone-15",
1070610596
"type": "symbol",
1070710597
"source-layer": "transportation",
10708-
"filter": [ "all", [ "in", "class", "primary", "primary_link", "trunk", "trunk_link" ],
10598+
"filter": [ "all", [ "in", "class", "secondary", "secondary_link",
10599+
"primary", "primary_link", "trunk", "trunk_link" ],
1070910600
[ "in", "edge", "sidewalk",
1071010601
"verge" ],
1071110602
[ "==", "oneway", "-1" ] ],
@@ -10724,8 +10615,7 @@
1072410615
"id": "marker-onewayminusone-15",
1072510616
"type": "symbol",
1072610617
"source-layer": "transportation",
10727-
"filter": [ "all", [ "in", "class", "secondary", "secondary_link",
10728-
"tertiary", "tertiary_link",
10618+
"filter": [ "all", [ "in", "class", "tertiary", "tertiary_link",
1072910619
"unclassified", "residential", "pedestrian",
1073010620
"service", "road", "driveway", "unpaved" ],
1073110621
[ "==", "oneway", "-1" ] ],
@@ -19079,7 +18969,7 @@
1907918969
"id": "trunklabel-street-centre-12",
1908018970
"type": "symbol",
1908118971
"source-layer": "transportation",
19082-
"filter": [ "all", [ "in", "class", "primary", "trunk" ],
18972+
"filter": [ "all", [ "in", "class", "secondary", "primary", "trunk" ],
1908318973
[ "in", "edge", "sidewalk",
1908418974
"verge" ] ],
1908518975
"layout": {
@@ -19105,7 +18995,7 @@
1910518995
"id": "label-street-centre-12",
1910618996
"type": "symbol",
1910718997
"source-layer": "transportation",
19108-
"filter": [ "in", "class", "secondary", "tertiary",
18998+
"filter": [ "in", "class", "tertiary",
1910918999
"unclassified", "residential", "pedestrian", "living_street", "service", "road", "driveway" ],
1911019000
"layout": {
1911119001
"text-field": "{name}",
@@ -19267,6 +19157,8 @@
1926719157
"type": "symbol",
1926819158
"source-layer": "transportation",
1926919159
"filter": [ "all", [ "in", "class", "secondary" ],
19160+
[ "in", "edge", "sidewalk",
19161+
"verge" ],
1927019162
[ "has", "ref" ],
1927119163
[ "<", "ref_len", 6 ] ],
1927219164
"layout": {
@@ -19299,6 +19191,8 @@
1929919191
"type": "symbol",
1930019192
"source-layer": "transportation",
1930119193
"filter": [ "all", [ "in", "class", "secondary" ],
19194+
[ "in", "edge", "sidewalk",
19195+
"verge" ],
1930219196
[ "has", "ref" ],
1930319197
[ ">=", "ref_len", 6 ] ],
1930419198
"layout": {

0 commit comments

Comments
 (0)