From a78531820ed87225af447014c9607f735af4bc2a Mon Sep 17 00:00:00 2001 From: Charlie Plett Date: Sun, 8 Nov 2026 22:33:21 -0600 Subject: [PATCH 1/8] Made motorway links narrower and deleted a few duplicated code blocks. Also darkened bridge casing. --- historical/historical.json | 196 +++++++++++++++++-------------------- 1 file changed, 90 insertions(+), 106 deletions(-) diff --git a/historical/historical.json b/historical/historical.json index c840d3f2..d97bb8a1 100644 --- a/historical/historical.json +++ b/historical/historical.json @@ -3047,9 +3047,19 @@ ["exponential", 1.5], ["zoom"], 5, - 1, + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 1.8, + 3 + ], 18, - 46 + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 28, + 46 + ] ], "line-dasharray": [0.5, 1.25] } @@ -3169,9 +3179,19 @@ ["exponential", 1.5], ["zoom"], 5, - 1, + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 0.6, + 1 + ], 18, - 36 + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 18, + 36 + ] ] } }, @@ -3645,15 +3665,15 @@ } }, { - "id": "roads_motorwaylink-case", + "id": "roads_motorway-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", "minzoom": 9, - "maxzoom": 20, + "maxzoom": 24, "filter": [ "all", - ["in", ["get", "type"], ["literal", ["motorway_link", "trunk_link"]]], + ["in", ["get", "type"], ["literal", ["motorway", "trunk", "motorway_link", "trunk_link"]]], ["!=", ["coalesce", ["get", "tunnel"], 0], 1], ["!=", ["coalesce", ["get", "bridge"], 0], 1] ], @@ -3668,41 +3688,64 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 10, - 3, + 5, + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 1.8, + 3 + ], 18, - 46 + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 28, + 46 + ] ] } }, { - "id": "roads_motorway-case", + "id": "roads_motorwaybridge-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", "minzoom": 9, - "maxzoom": 24, + "maxzoom": 20, "filter": [ "all", - ["in", ["get", "type"], ["literal", ["motorway", "trunk"]]], - ["!=", ["coalesce", ["get", "tunnel"], 0], 1], - ["!=", ["coalesce", ["get", "bridge"], 0], 1] + [ + "in", + ["get", "type"], + ["literal", ["motorway", "motorway_link", "trunk", "trunk_link"]] + ], + ["==", ["get", "bridge"], 1] ], "layout": { "visibility": "visible", - "line-cap": "round", + "line-cap": "butt", "line-join": "round" }, "paint": { - "line-color": "rgba(230, 143, 124, 1)", + "line-color": "rgba(182, 109, 93, 1)", "line-width": [ "interpolate", ["exponential", 1.5], ["zoom"], - 10, - 3, + 5, + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 1.8, + 3 + ], 18, - 46 + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 28, + 46 + ] ] } }, @@ -3915,47 +3958,6 @@ ] } }, - { - "id": "roads_motorwaylink", - "type": "line", - "source": "ohm", - "source-layer": "transport_lines", - "minzoom": 6, - "maxzoom": 20, - "filter": [ - "all", - ["in", ["get", "type"], ["literal", ["motorway_link", "trunk_link"]]], - ["!=", ["coalesce", ["get", "tunnel"], 0], 1], - ["!=", ["coalesce", ["get", "bridge"], 0], 1] - ], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": [ - "step", - ["zoom"], - "rgba(254, 194, 182, 1)", - 9, - "rgba(254, 224, 217, 1)" - ], - "line-width": [ - "interpolate", - ["exponential", 1.5], - ["zoom"], - 6, - 1, - 9, - 2, - 10, - 2.5, - 18, - 36 - ] - } - }, { "id": "roads_tertiary", "type": "line", @@ -4085,7 +4087,7 @@ "maxzoom": 24, "filter": [ "all", - ["in", ["get", "type"], ["literal", ["motorway", "trunk"]]], + ["in", ["get", "type"], ["literal", ["motorway", "trunk", "motorway_link", "trunk_link"]]], ["!=", ["coalesce", ["get", "tunnel"], 0], 1], ["!=", ["coalesce", ["get", "bridge"], 0], 1] ], @@ -4106,14 +4108,20 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 6, - 1, - 9, - 2, - 10, - 2.5, + 5, + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 0.6, + 1 + ], 18, - 36 + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 22, + 36 + ] ] } }, @@ -4999,40 +5007,6 @@ ] } }, - { - "id": "roads_motorwaybridge", - "type": "line", - "source": "ohm", - "source-layer": "transport_lines", - "minzoom": 9, - "maxzoom": 20, - "filter": [ - "all", - [ - "in", - ["get", "type"], - ["literal", ["motorway", "motorway_link", "trunk", "trunk_link"]] - ], - ["==", ["get", "bridge"], 1] - ], - "layout": { - "visibility": "visible", - "line-cap": "butt", - "line-join": "round" - }, - "paint": { - "line-color": "rgba(232, 159, 143, 1)", - "line-width": [ - "interpolate", - ["exponential", 1.5], - ["zoom"], - 5, - 3, - 18, - 50 - ] - } - }, { "id": "roads_residential_bridgetop_z13", "type": "line", @@ -5180,7 +5154,7 @@ } }, { - "id": "roads_motorwaybridgetop", + "id": "roads_motorwaybridge", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -5213,9 +5187,19 @@ ["exponential", 1.5], ["zoom"], 5, - 1, + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 0.6, + 1 + ], 18, - 36 + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 22, + 36 + ] ] } }, From 3f86bf979f3709c280ca9de817f5e1c6c6b3f455 Mon Sep 17 00:00:00 2001 From: Charlie Plett Date: Sun, 8 Nov 2026 22:35:50 -0600 Subject: [PATCH 2/8] Update motorway tunnels to render up to z24 as other motorway segemnts --- historical/historical.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/historical/historical.json b/historical/historical.json index d97bb8a1..774dcb6c 100644 --- a/historical/historical.json +++ b/historical/historical.json @@ -3025,7 +3025,7 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 6, - "maxzoom": 20, + "maxzoom": 24, "filter": [ "all", [ @@ -3157,7 +3157,7 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 6, - "maxzoom": 20, + "maxzoom": 24, "filter": [ "all", [ From e33aa2909e8f2ea57655ecf89588621d16148fe7 Mon Sep 17 00:00:00 2001 From: Charlie Plett Date: Sun, 8 Nov 2026 23:11:32 -0600 Subject: [PATCH 3/8] Road maxzooms were very inconsistent and sometimes missing, so I just removed all max zooms on roads. --- historical/historical.json | 79 -------------------------------------- 1 file changed, 79 deletions(-) diff --git a/historical/historical.json b/historical/historical.json index 774dcb6c..f75ed262 100644 --- a/historical/historical.json +++ b/historical/historical.json @@ -1459,7 +1459,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 7, - "maxzoom": 20, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -1491,7 +1490,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 6, - "maxzoom": 20, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -1617,7 +1615,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 6, - "maxzoom": 20, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -1652,7 +1649,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 12, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -1679,7 +1675,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 14, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -1705,7 +1700,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 14, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -1731,7 +1725,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 14, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -1758,7 +1751,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 14, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -1784,7 +1776,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 14, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -1810,7 +1801,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 14, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -1845,7 +1835,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 14, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -1871,7 +1860,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 14, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -1898,7 +1886,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 13, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -1929,7 +1916,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 13, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -1964,7 +1950,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 10.01, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -2090,7 +2075,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 6, - "maxzoom": 20, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -2126,7 +2110,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 9, - "maxzoom": 20, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -2158,7 +2141,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 12, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -2189,7 +2171,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 12, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -2296,7 +2277,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 5, - "maxzoom": 20, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -2333,7 +2313,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 9, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -2455,7 +2434,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 6, - "maxzoom": 20, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -2516,7 +2494,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 13, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -2611,7 +2588,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 10, - "maxzoom": 20, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -2646,7 +2622,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 9, - "maxzoom": 20, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -2681,7 +2656,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 12, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -2717,7 +2691,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 6, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -2835,7 +2808,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 6, - "maxzoom": 20, "filter": [ "all", ["==", ["get", "type"], "construction"], @@ -2877,7 +2849,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 11, - "maxzoom": 24, "filter": [ "all", ["in", ["get", "type"], ["literal", ["funicular", "monorail", "tram"]]], @@ -2994,7 +2965,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 7, - "maxzoom": 20, "filter": [ "all", ["in", ["get", "type"], ["literal", ["primary", "primary_link"]]], @@ -3025,7 +2995,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 6, - "maxzoom": 24, "filter": [ "all", [ @@ -3157,7 +3126,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 6, - "maxzoom": 24, "filter": [ "all", [ @@ -3201,7 +3169,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 12, - "maxzoom": 24, "filter": ["==", ["get", "type"], "raceway"], "layout": {"visibility": "visible"}, "paint": { @@ -3224,7 +3191,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 14, - "maxzoom": 24, "filter": ["==", ["get", "type"], "track"], "layout": {"visibility": "visible"}, "paint": { @@ -3246,7 +3212,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 14, - "maxzoom": 24, "filter": ["==", ["get", "type"], "track"], "layout": {"visibility": "visible"}, "paint": { @@ -3268,7 +3233,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 14, - "maxzoom": 24, "filter": ["==", ["get", "type"], "track"], "layout": {"visibility": "visible"}, "paint": { @@ -3291,7 +3255,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 14, - "maxzoom": 24, "filter": ["==", ["get", "type"], "living_street"], "layout": {"visibility": "visible"}, "paint": { @@ -3313,7 +3276,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 14, - "maxzoom": 24, "filter": [ "in", ["get", "type"], @@ -3344,7 +3306,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 14, - "maxzoom": 24, "filter": ["==", ["get", "type"], "pier"], "layout": {"visibility": "visible"}, "paint": { @@ -3366,7 +3327,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 14, - "maxzoom": 24, "filter": ["==", ["get", "type"], "steps"], "layout": {"visibility": "visible"}, "paint": { @@ -3389,7 +3349,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 13, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "service"], @@ -3419,7 +3378,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 13, - "maxzoom": 24, "filter": [ "all", ["in", ["get", "type"], ["literal", ["residential", "unclassified"]]], @@ -3449,7 +3407,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 14, - "maxzoom": 24, "filter": ["==", ["get", "type"], "pedestrian"], "layout": {"visibility": "visible"}, "paint": { @@ -3471,7 +3428,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 10.01, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "tertiary_link"], @@ -3506,7 +3462,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 10.01, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "tertiary"], @@ -3670,7 +3625,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 9, - "maxzoom": 24, "filter": [ "all", ["in", ["get", "type"], ["literal", ["motorway", "trunk", "motorway_link", "trunk_link"]]], @@ -3711,7 +3665,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 9, - "maxzoom": 20, "filter": [ "all", [ @@ -3755,7 +3708,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 12, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "proposed"], @@ -3786,7 +3738,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 12, - "maxzoom": 24, "filter": ["==", ["get", "type"], "service"], "layout": { "visibility": "visible", @@ -3812,7 +3763,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 12, - "maxzoom": 24, "filter": [ "in", ["get", "type"], @@ -3842,7 +3792,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 14, - "maxzoom": 24, "filter": ["==", ["get", "type"], "pedestrian"], "layout": {"visibility": "visible"}, "paint": { @@ -3964,7 +3913,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 9, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "tertiary"], @@ -4084,7 +4032,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 6, - "maxzoom": 24, "filter": [ "all", ["in", ["get", "type"], ["literal", ["motorway", "trunk", "motorway_link", "trunk_link"]]], @@ -4153,7 +4100,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 7, - "maxzoom": 24, "filter": [ "all", ["in", ["get", "type"], ["literal", ["miniature", "narrow_gauge"]]], @@ -4171,7 +4117,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 7, - "maxzoom": 24, "filter": [ "all", ["in", ["get", "type"], ["literal", ["miniature", "narrow_gauge"]]], @@ -4207,7 +4152,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 12, - "maxzoom": 24, "filter": [ "all", ["in", ["get", "type"], ["literal", ["miniature", "narrow_gauge"]]], @@ -4242,7 +4186,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 7, - "maxzoom": 24, "filter": [ "all", [ @@ -4276,7 +4219,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 7, - "maxzoom": 24, "filter": [ "all", [ @@ -4312,7 +4254,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 12, - "maxzoom": 24, "filter": [ "all", [ @@ -4359,7 +4300,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 7, - "maxzoom": 24, "filter": [ "all", [ @@ -4387,7 +4327,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 7, - "maxzoom": 24, "filter": [ "all", [ @@ -4413,7 +4352,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 7, - "maxzoom": 24, "filter": [ "all", [ @@ -4439,7 +4377,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 7, - "maxzoom": 24, "filter": ["in", ["get", "service"], ["literal", ["siding", "yard"]]], "layout": { "visibility": "visible", @@ -4457,7 +4394,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 7, - "maxzoom": 24, "filter": ["in", ["get", "service"], ["literal", ["siding", "yard"]]], "layout": { "visibility": "visible", @@ -4492,7 +4428,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 7, - "maxzoom": 24, "filter": [ "all", [ @@ -4528,7 +4463,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 7, - "maxzoom": 24, "filter": [ "all", [ @@ -4583,7 +4517,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 7, - "maxzoom": 24, "filter": [ "all", [ @@ -4636,7 +4569,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 7, - "maxzoom": 24, "filter": [ "all", [ @@ -4683,7 +4615,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 7, - "maxzoom": 24, "filter": [ "all", [ @@ -4731,7 +4662,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 12, - "maxzoom": 24, "filter": [ "all", [ @@ -4779,7 +4709,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 7, - "maxzoom": 24, "filter": [ "all", ["in", ["get", "type"], ["literal", ["construction", "proposed"]]], @@ -4813,7 +4742,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 7, - "maxzoom": 24, "filter": [ "all", ["in", ["get", "type"], ["literal", ["construction", "proposed"]]], @@ -4848,7 +4776,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 12, - "maxzoom": 24, "filter": [ "all", ["in", ["get", "type"], ["literal", ["construction", "proposed"]]], @@ -4891,7 +4818,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 13, - "maxzoom": 24, "filter": [ "all", [ @@ -4983,7 +4909,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 10, - "maxzoom": 20, "filter": [ "all", ["in", ["get", "type"], ["literal", ["primary", "primary_link"]]], @@ -5013,7 +4938,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 12, - "maxzoom": 24, "filter": [ "all", [ @@ -5047,7 +4971,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 6, - "maxzoom": 24, "filter": [ "all", ["==", ["get", "type"], "tertiary"], @@ -5159,7 +5082,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 6, - "maxzoom": 20, "filter": [ "all", [ @@ -5209,7 +5131,6 @@ "source": "ohm", "source-layer": "transport_lines", "minzoom": 11, - "maxzoom": 24, "filter": [ "all", ["in", ["get", "type"], ["literal", ["funicular", "monorail", "tram"]]], From fc05c14aefe2e9fbabc328955c3f89704528e40c Mon Sep 17 00:00:00 2001 From: Charlie Plett Date: Mon, 9 Nov 2026 17:58:24 -0600 Subject: [PATCH 4/8] Moved motorway_bridge-case back to it's proper location --- historical/historical.json | 86 +++++++++++++++++++------------------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/historical/historical.json b/historical/historical.json index f75ed262..fca9bf28 100644 --- a/historical/historical.json +++ b/historical/historical.json @@ -3659,49 +3659,6 @@ ] } }, - { - "id": "roads_motorwaybridge-case", - "type": "line", - "source": "ohm", - "source-layer": "transport_lines", - "minzoom": 9, - "filter": [ - "all", - [ - "in", - ["get", "type"], - ["literal", ["motorway", "motorway_link", "trunk", "trunk_link"]] - ], - ["==", ["get", "bridge"], 1] - ], - "layout": { - "visibility": "visible", - "line-cap": "butt", - "line-join": "round" - }, - "paint": { - "line-color": "rgba(182, 109, 93, 1)", - "line-width": [ - "interpolate", - ["exponential", 1.5], - ["zoom"], - 5, - [ - "match", - ["get", "type"], - ["motorway_link", "trunk_link"], 1.8, - 3 - ], - 18, - [ - "match", - ["get", "type"], - ["motorway_link", "trunk_link"], 28, - 46 - ] - ] - } - }, { "id": "roads_proposed", "type": "line", @@ -4932,6 +4889,49 @@ ] } }, + { + "id": "roads_motorwaybridge-case", + "type": "line", + "source": "ohm", + "source-layer": "transport_lines", + "minzoom": 9, + "filter": [ + "all", + [ + "in", + ["get", "type"], + ["literal", ["motorway", "motorway_link", "trunk", "trunk_link"]] + ], + ["==", ["get", "bridge"], 1] + ], + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "paint": { + "line-color": "rgba(152, 79, 63, 1)", + "line-width": [ + "interpolate", + ["exponential", 1.5], + ["zoom"], + 5, + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 1.8, + 3 + ], + 18, + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 28, + 46 + ] + ] + } + }, { "id": "roads_residential_bridgetop_z13", "type": "line", From ee83f6fb41ca8299a0ef37826f197c497d824994 Mon Sep 17 00:00:00 2001 From: Charlie Plett Date: Mon, 9 Nov 2026 19:58:36 -0600 Subject: [PATCH 5/8] Improved primary roads by making links 0.6 of primary road and darkening bridges. Also improved some motorways. --- historical/historical.json | 522 ++++++++++++++++++------------------- 1 file changed, 251 insertions(+), 271 deletions(-) diff --git a/historical/historical.json b/historical/historical.json index fca9bf28..a9d74a15 100644 --- a/historical/historical.json +++ b/historical/historical.json @@ -1454,7 +1454,7 @@ } }, { - "id": "roads_primarytunnel_case_construction", + "id": "roads_primarytunnel_construction-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -1476,16 +1476,26 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 7, - 1, + 5, + [ + "match", + ["get", "type"], + "primary_link", 1.6, + 2.7 + ], 18, - 42 + [ + "match", + ["get", "type"], + "primary_link", 25, + 41.4 + ] ], "line-dasharray": [0.5, 1.25] } }, { - "id": "roads_motorwaytunnel_case_construction", + "id": "roads_motorwaytunnel_construction-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -1512,9 +1522,19 @@ ["exponential", 1.5], ["zoom"], 5, - 1, + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 1.8, + 3 + ], 18, - 46 + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 28, + 46 + ] ], "line-dasharray": [0.5, 1.25] } @@ -1602,10 +1622,20 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 6, - 0.75, + 5, + [ + "match", + ["get", "type"], + "primary_link", 0.5, + 0.9 + ], 18, - 32 + [ + "match", + ["get", "type"], + "primary_link", 19, + 32 + ] ] } }, @@ -1637,9 +1667,19 @@ ["exponential", 1.5], ["zoom"], 5, - 1, + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 0.6, + 1 + ], 18, - 36 + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 22, + 36 + ] ] } }, @@ -2007,38 +2047,7 @@ } }, { - "id": "roads_primarylink-case_construction", - "type": "line", - "source": "ohm", - "source-layer": "transport_lines", - "minzoom": 7, - "filter": [ - "all", - ["==", ["get", "type"], "construction"], - ["!=", ["coalesce", ["get", "tunnel"], 0], 1], - ["==", ["get", "construction"], "primary_link"], - ["!=", ["coalesce", ["get", "bridge"], 0], 1] - ], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "#ffffff", - "line-width": [ - "interpolate", - ["exponential", 1.5], - ["zoom"], - 7, - 2, - 18, - 40 - ] - } - }, - { - "id": "roads_primary-case_construction", + "id": "roads_primary_construction-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -2048,7 +2057,7 @@ ["==", ["get", "type"], "construction"], ["!=", ["coalesce", ["get", "tunnel"], 0], 1], ["!=", ["get", "ford"], "yes"], - ["==", ["get", "construction"], "primary"], + ["in", ["get", "construction"], ["literal", ["primary", "primary_link"]]], ["!=", ["coalesce", ["get", "bridge"], 0], 1] ], "layout": { @@ -2062,50 +2071,25 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 7, - 2, - 18, - 40 - ] - } - }, - { - "id": "roads_motorwaylink-case_construction", - "type": "line", - "source": "ohm", - "source-layer": "transport_lines", - "minzoom": 6, - "filter": [ - "all", - ["==", ["get", "type"], "construction"], - ["!=", ["coalesce", ["get", "tunnel"], 0], 1], - [ - "in", - ["get", "construction"], - ["literal", ["motorway_link", "trunk_link"]] - ], - ["!=", ["coalesce", ["get", "bridge"], 0], 1] - ], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "#ffffff", - "line-width": [ - "interpolate", - ["exponential", 1.5], - ["zoom"], - 6, - 2, + 5, + [ + "match", + ["get", "type"], + "primary_link", 1.6, + 2.7 + ], 18, - 46 + [ + "match", + ["get", "type"], + "primary_link", 25, + 41.4 + ] ] } }, { - "id": "roads_motorway-case_construction", + "id": "roads_motorway_construction-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -2114,7 +2098,7 @@ "all", ["==", ["get", "type"], "construction"], ["!=", ["coalesce", ["get", "tunnel"], 0], 1], - ["in", ["get", "construction"], ["literal", ["motorway", "trunk"]]], + ["in", ["get", "construction"], ["literal", ["motorway", "motorway_link", "trunk", "trunk_link"]]], ["!=", ["coalesce", ["get", "bridge"], 0], 1] ], "layout": { @@ -2128,10 +2112,20 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 6, - 2, + 5, + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 1.8, + 3 + ], 18, - 46 + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 28, + 46 + ] ] } }, @@ -2239,74 +2233,6 @@ "line-dasharray": [3, 1.5] } }, - { - "id": "roads_primarylink_construction", - "type": "line", - "source": "ohm", - "source-layer": "transport_lines", - "minzoom": 6, - "filter": [ - "all", - ["==", ["get", "type"], "construction"], - ["!=", ["coalesce", ["get", "tunnel"], 0], 1], - ["==", ["get", "construction"], "primary_link"], - ["!=", ["coalesce", ["get", "bridge"], 0], 1] - ], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "rgba(241, 218, 187, 1)", - "line-width": [ - "interpolate", - ["exponential", 1.5], - ["zoom"], - 6, - 0.75, - 18, - 32 - ], - "line-dasharray": [3, 1.5] - } - }, - { - "id": "roads_motorwaylink_construction", - "type": "line", - "source": "ohm", - "source-layer": "transport_lines", - "minzoom": 5, - "filter": [ - "all", - ["==", ["get", "type"], "construction"], - ["!=", ["coalesce", ["get", "tunnel"], 0], 1], - [ - "in", - ["get", "construction"], - ["literal", ["motorway_link", "trunk_link"]] - ], - ["!=", ["coalesce", ["get", "bridge"], 0], 1] - ], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "rgba(240, 197, 188, 1)", - "line-width": [ - "interpolate", - ["exponential", 1.5], - ["zoom"], - 5, - 1, - 18, - 36 - ], - "line-dasharray": [3, 1.5] - } - }, { "id": "roads_tertiary_construction", "type": "line", @@ -2398,7 +2324,7 @@ ["==", ["get", "type"], "construction"], ["!=", ["coalesce", ["get", "tunnel"], 0], 1], ["!=", ["get", "ford"], "yes"], - ["==", ["get", "construction"], "primary"], + ["in", ["get", "construction"], ["literal", ["primary", "primary_link"]]], ["!=", ["coalesce", ["get", "bridge"], 0], 1] ], "layout": { @@ -2420,10 +2346,20 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 6, - 0.75, + 5, + [ + "match", + ["get", "type"], + "primary_link", 0.5, + 0.9 + ], 18, - 32 + [ + "match", + ["get", "type"], + "primary_link", 19, + 32 + ] ], "line-dasharray": [3, 1.5] } @@ -2438,7 +2374,7 @@ "all", ["==", ["get", "type"], "construction"], ["!=", ["coalesce", ["get", "tunnel"], 0], 1], - ["in", ["get", "construction"], ["literal", ["motorway", "trunk"]]], + ["in", ["get", "construction"], ["literal", ["motorway", "motorway_link", "trunk", "trunk_link"]]], ["!=", ["coalesce", ["get", "bridge"], 0], 1] ], "layout": { @@ -2459,9 +2395,19 @@ ["exponential", 1.5], ["zoom"], 5, - 1, + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 0.6, + 1 + ], 18, - 36 + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 22, + 36 + ] ], "line-dasharray": [3, 1.5] } @@ -2583,7 +2529,7 @@ } }, { - "id": "roads_primarybridge_construction", + "id": "roads_primarybridge_construction-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -2609,15 +2555,25 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 7, - 3.5, + 5, + [ + "match", + ["get", "type"], + "primary_link", 1.6, + 2.7 + ], 18, - 48 + [ + "match", + ["get", "type"], + "primary_link", 25, + 41.4 + ] ] } }, { - "id": "roads_motorwaybridge_construction", + "id": "roads_motorwaybridge_construction-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -2638,15 +2594,25 @@ "line-join": "round" }, "paint": { - "line-color": "rgba(232, 159, 143, 1)", + "line-color": "rgba(152, 79, 63, 1)", "line-width": [ "interpolate", ["exponential", 1.5], ["zoom"], 5, - 3, + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 1.8, + 3 + ], 18, - 50 + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 28, + 46 + ] ] } }, @@ -2764,7 +2730,7 @@ } }, { - "id": "roads_primarybridgetop_construction", + "id": "roads_primarybridge_construction", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -2773,7 +2739,7 @@ "all", ["==", ["get", "type"], "construction"], ["==", ["get", "bridge"], 1], - ["==", ["get", "construction"], "primary"] + ["in", ["get", "construction"], ["literal", ["primary", "primary_link"]]] ], "layout": { "visibility": "visible", @@ -2794,16 +2760,26 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 6, - 0.75, + 5, + [ + "match", + ["get", "type"], + "primary_link", 0.5, + 0.9 + ], 18, - 32 + [ + "match", + ["get", "type"], + "primary_link", 19, + 32 + ] ], "line-dasharray": [3, 1.5] } }, { - "id": "roads_motorwaybridgetop_construction", + "id": "roads_motorwaybridge_construction", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -2836,9 +2812,19 @@ ["exponential", 1.5], ["zoom"], 5, - 1, + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 0.6, + 1 + ], 18, - 36 + [ + "match", + ["get", "type"], + ["motorway_link", "trunk_link"], 22, + 36 + ] ], "line-dasharray": [3, 1.5] } @@ -2960,7 +2946,7 @@ } }, { - "id": "roads_primarytunnel_case", + "id": "roads_primarytunnel-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -2981,16 +2967,26 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 7, - 1, + 5, + [ + "match", + ["get", "type"], + "primary_link", 1.6, + 2.7 + ], 18, - 42 + [ + "match", + ["get", "type"], + "primary_link", 25, + 41.4 + ] ], "line-dasharray": [0.5, 1.25] } }, { - "id": "roads_motorwaytunnel_case", + "id": "roads_motorwaytunnel-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -3113,10 +3109,20 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 6, - 0.75, + 5, + [ + "match", + ["get", "type"], + "primary_link", 0.5, + 0.9 + ], 18, - 32 + [ + "match", + ["get", "type"], + "primary_link", 19, + 32 + ] ] } }, @@ -3554,36 +3560,6 @@ ] } }, - { - "id": "roads_primarylink-case", - "type": "line", - "source": "ohm", - "source-layer": "transport_lines", - "minzoom": 7, - "filter": [ - "all", - ["==", ["get", "type"], "primary_link"], - ["!=", ["coalesce", ["get", "tunnel"], 0], 1], - ["!=", ["coalesce", ["get", "bridge"], 0], 1] - ], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "#ffffff", - "line-width": [ - "interpolate", - ["exponential", 1.5], - ["zoom"], - 7, - 2, - 18, - 40 - ] - } - }, { "id": "roads_primary-case", "type": "line", @@ -3592,7 +3568,7 @@ "minzoom": 8, "filter": [ "all", - ["==", ["get", "type"], "primary"], + ["in", ["get", "type"], ["literal", ["primary", "primary_link"]]], ["!=", ["coalesce", ["get", "tunnel"], 0], 1], ["!=", ["get", "ford"], "yes"], ["!=", ["coalesce", ["get", "bridge"], 0], 1] @@ -3608,14 +3584,20 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 8, - 1, - 9, - 2, - 11, - 3.5, + 5, + [ + "match", + ["get", "type"], + "primary_link", 1.6, + 2.7 + ], 18, - 40 + [ + "match", + ["get", "type"], + "primary_link", 25, + 41.4 + ] ] } }, @@ -3834,36 +3816,6 @@ ] } }, - { - "id": "roads_primarylink", - "type": "line", - "source": "ohm", - "source-layer": "transport_lines", - "minzoom": 6, - "filter": [ - "all", - ["==", ["get", "type"], "primary_link"], - ["!=", ["coalesce", ["get", "tunnel"], 0], 1], - ["!=", ["coalesce", ["get", "bridge"], 0], 1] - ], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "rgba(241, 218, 187, 1)", - "line-width": [ - "interpolate", - ["exponential", 1.5], - ["zoom"], - 6, - 0.75, - 18, - 32 - ] - } - }, { "id": "roads_tertiary", "type": "line", @@ -3950,7 +3902,7 @@ "minzoom": 6, "filter": [ "all", - ["==", ["get", "type"], "primary"], + ["in", ["get", "type"], ["literal", ["primary", "primary_link"]]], ["!=", ["coalesce", ["get", "tunnel"], 0], 1], ["!=", ["get", "ford"], "yes"], ["!=", ["coalesce", ["get", "bridge"], 0], 1] @@ -3974,12 +3926,20 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 6, - 0.5, - 8, - 2, + 5, + [ + "match", + ["get", "type"], + "primary_link", 0.5, + 0.9 + ], 18, - 32 + [ + "match", + ["get", "type"], + "primary_link", 19, + 32 + ] ] } }, @@ -4861,7 +4821,7 @@ } }, { - "id": "roads_primarybridge", + "id": "roads_primarybridge-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -4877,15 +4837,25 @@ "line-join": "round" }, "paint": { - "line-color": "rgba(248, 187, 127, 1)", + "line-color": "rgba(168, 107, 47, 1)", "line-width": [ "interpolate", ["exponential", 1.5], ["zoom"], - 7, - 3.5, + 5, + [ + "match", + ["get", "type"], + "primary_link", 1.6, + 2.7 + ], 18, - 48 + [ + "match", + ["get", "type"], + "primary_link", 25, + 41.4 + ] ] } }, @@ -5040,14 +5010,14 @@ } }, { - "id": "roads_primarybridgetop", + "id": "roads_primarybridge", "type": "line", "source": "ohm", "source-layer": "transport_lines", "minzoom": 6, "filter": [ "all", - ["==", ["get", "type"], "primary"], + ["in", ["get", "type"], ["literal", ["primary", "primary_link"]]], ["==", ["get", "bridge"], 1] ], "layout": { @@ -5069,10 +5039,20 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 6, - 0.75, + 5, + [ + "match", + ["get", "type"], + "primary_link", 0.5, + 0.9 + ], 18, - 32 + [ + "match", + ["get", "type"], + "primary_link", 19, + 32 + ] ] } }, From dbca8b06c08d0ed6378c726557f113894025fde6 Mon Sep 17 00:00:00 2001 From: Charlie Plett Date: Sun, 15 Nov 2026 15:54:32 -0600 Subject: [PATCH 6/8] Improving the rest of the road sizes --- historical/historical.json | 840 ++++++++++++++++++++----------------- 1 file changed, 461 insertions(+), 379 deletions(-) diff --git a/historical/historical.json b/historical/historical.json index a9d74a15..20b40c48 100644 --- a/historical/historical.json +++ b/historical/historical.json @@ -1392,7 +1392,7 @@ } }, { - "id": "roads_tertiarytunnel_case_construction", + "id": "roads_tertiarytunnel_construction-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -1415,15 +1415,25 @@ ["exponential", 1.5], ["zoom"], 9, - 1, + [ + "match", + ["get", "type"], + "tertiary_link", 0.5, + 0.8 + ], 18, - 36 + [ + "match", + ["get", "type"], + "tertiary_link", 22, + 36 + ] ], "line-dasharray": [0.5, 1.25] } }, { - "id": "roads_secondarytunnel_case_construction", + "id": "roads_secondarytunnel_construction-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -1446,9 +1456,19 @@ ["exponential", 1.5], ["zoom"], 8, - 1, + [ + "match", + ["get", "type"], + "secondary_link", 0.3, + 0.5 + ], 18, - 38 + [ + "match", + ["get", "type"], + "secondary_link", 23, + 39 + ] ], "line-dasharray": [0.5, 1.25] } @@ -1487,8 +1507,8 @@ [ "match", ["get", "type"], - "primary_link", 25, - 41.4 + "primary_link", 26, + 42 ] ], "line-dasharray": [0.5, 1.25] @@ -1562,10 +1582,20 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 9, - 0.8, + 8, + [ + "match", + ["get", "type"], + "tertiary_link", 0.3, + 0.5 + ], 18, - 24 + [ + "match", + ["get", "type"], + "tertiary_link", 17, + 28 + ] ] } }, @@ -1593,9 +1623,19 @@ ["exponential", 1.5], ["zoom"], 8, - 0.5, + [ + "match", + ["get", "type"], + "secondary_link", 0.3, + 0.5 + ], 18, - 30 + [ + "match", + ["get", "type"], + "secondary_link", 18, + 30 + ] ] } }, @@ -1710,7 +1750,7 @@ } }, { - "id": "roads_trackfillcase_construction", + "id": "roads_trackfill_construction-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -1921,7 +1961,7 @@ } }, { - "id": "roads_roadscase_z13_construction", + "id": "roads_roads_construction-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -1951,7 +1991,7 @@ } }, { - "id": "roads_residentialcase_z13_construction", + "id": "roads_residential_construction-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -1977,15 +2017,25 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 13, - 4, + 12, + [ + "match", + ["get", "type"], + "service", 0.4, + 0.5 + ], 18, - 18 + [ + "match", + ["get", "type"], + "service", 10, + 12 + ] ] } }, { - "id": "roads_tertiary-case_construction", + "id": "roads_tertiary_construction-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -1994,7 +2044,7 @@ "all", ["==", ["get", "type"], "construction"], ["!=", ["coalesce", ["get", "tunnel"], 0], 1], - ["==", ["get", "construction"], "tertiary"], + ["in", ["get", "construction"], ["literal", ["tertiary", "tertiary_link"]]], ["!=", ["coalesce", ["get", "bridge"], 0], 1] ], "layout": { @@ -2008,15 +2058,25 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 10, - 2.2, + 9, + [ + "match", + ["get", "type"], + "tertiary_link", 0.5, + 0.8 + ], 18, - 28 + [ + "match", + ["get", "type"], + "tertiary_link", 22, + 36 + ] ] } }, { - "id": "roads_secondary-case_construction", + "id": "roads_secondary_construction-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -2025,7 +2085,7 @@ "all", ["==", ["get", "type"], "construction"], ["!=", ["coalesce", ["get", "tunnel"], 0], 1], - ["==", ["get", "construction"], "secondary"], + ["in", ["get", "construction"], ["literal", ["secondary", "secondary_link"]]], ["!=", ["coalesce", ["get", "bridge"], 0], 1] ], "layout": { @@ -2039,10 +2099,20 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 10, - 2.4, + 8, + [ + "match", + ["get", "type"], + "secondary_link", 0.3, + 0.5 + ], 18, - 35 + [ + "match", + ["get", "type"], + "secondary_link", 23, + 39 + ] ] } }, @@ -2082,8 +2152,8 @@ [ "match", ["get", "type"], - "primary_link", 25, - 41.4 + "primary_link", 26, + 42 ] ] } @@ -2186,49 +2256,19 @@ ["exponential", 1.5], ["zoom"], 12, - 1.5, - 18, - 12 - ], - "line-dasharray": [3, 1.5] - } - }, - { - "id": "roads_secondarylink_construction", - "type": "line", - "source": "ohm", - "source-layer": "transport_lines", - "minzoom": 8, - "filter": [ - "all", - ["==", ["get", "type"], "construction"], - ["!=", ["coalesce", ["get", "tunnel"], 0], 1], - ["==", ["get", "construction"], "secondary_link"], - ["!=", ["coalesce", ["get", "bridge"], 0], 1] - ], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": [ - "interpolate", - ["linear"], - ["zoom"], - 10, - "rgba(240, 240, 240, 1)", - 12, - "#ffffff" - ], - "line-width": [ - "interpolate", - ["exponential", 1.5], - ["zoom"], - 8, - 0.5, + [ + "match", + ["get", "type"], + "service", 0.4, + 0.5 + ], 18, - 30 + [ + "match", + ["get", "type"], + "service", 10, + 12 + ] ], "line-dasharray": [3, 1.5] } @@ -2243,7 +2283,7 @@ "all", ["==", ["get", "type"], "construction"], ["!=", ["coalesce", ["get", "tunnel"], 0], 1], - ["==", ["get", "construction"], "tertiary"], + ["in", ["get", "construction"], ["literal", ["tertiary", "tertiary_link"]]], ["!=", ["coalesce", ["get", "bridge"], 0], 1] ], "layout": { @@ -2265,10 +2305,20 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 9, - 0.8, + 8, + [ + "match", + ["get", "type"], + "tertiary_link", 0.3, + 0.5 + ], 18, - 24 + [ + "match", + ["get", "type"], + "tertiary_link", 17, + 28 + ] ], "line-dasharray": [3, 1.5] } @@ -2283,7 +2333,7 @@ "all", ["==", ["get", "type"], "construction"], ["!=", ["coalesce", ["get", "tunnel"], 0], 1], - ["==", ["get", "construction"], "secondary"], + ["in", ["get", "construction"], ["literal", ["secondary", "secondary_link"]]], ["!=", ["coalesce", ["get", "bridge"], 0], 1] ], "layout": { @@ -2306,9 +2356,19 @@ ["exponential", 1.5], ["zoom"], 8, - 0.5, + [ + "match", + ["get", "type"], + "secondary_link", 0.3, + 0.5 + ], 18, - 30 + [ + "match", + ["get", "type"], + "secondary_link", 18, + 30 + ] ], "line-dasharray": [3, 1.5] } @@ -2435,7 +2495,7 @@ } }, { - "id": "roads_residential_bridge_z13-copy_construction", + "id": "roads_residential_bridge_construction-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -2461,15 +2521,25 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 11, - 2, + 12, + [ + "match", + ["get", "type"], + "service", 0.4, + 0.5 + ], 18, - 30 + [ + "match", + ["get", "type"], + "service", 10, + 12 + ] ] } }, { - "id": "roads_tertiarybridge_construction", + "id": "roads_tertiarybridge_construction-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -2478,7 +2548,7 @@ "all", ["==", ["get", "type"], "construction"], ["==", ["get", "bridge"], 1], - ["==", ["get", "construction"], "tertiary"] + ["in", ["get", "construction"], ["literal", ["tertiary", "tertiary_link"]]] ], "layout": { "visibility": "visible", @@ -2491,15 +2561,25 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 11, - 4, + 9, + [ + "match", + ["get", "type"], + "tertiary_link", 0.5, + 0.8 + ], 18, - 38 + [ + "match", + ["get", "type"], + "tertiary_link", 22, + 36 + ] ] } }, { - "id": "roads_secondarybridge_construction", + "id": "roads_secondarybridge_construction-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -2508,7 +2588,7 @@ "all", ["==", ["get", "type"], "construction"], ["==", ["get", "bridge"], 1], - ["==", ["get", "construction"], "secondary"] + ["in", ["get", "construction"], ["literal", ["secondary", "secondary_link"]]] ], "layout": { "visibility": "visible", @@ -2522,9 +2602,19 @@ ["exponential", 1.5], ["zoom"], 8, - 3.2, + [ + "match", + ["get", "type"], + "secondary_link", 0.3, + 0.5 + ], 18, - 48 + [ + "match", + ["get", "type"], + "secondary_link", 23, + 39 + ] ] } }, @@ -2566,8 +2656,8 @@ [ "match", ["get", "type"], - "primary_link", 25, - 41.4 + "primary_link", 26, + 42 ] ] } @@ -2617,7 +2707,7 @@ } }, { - "id": "roads_residential_bridgetop_z13_construction", + "id": "roads_residential_bridge_construction", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -2644,15 +2734,25 @@ ["exponential", 1.5], ["zoom"], 12, - 0.5, + [ + "match", + ["get", "type"], + "service", 0.4, + 0.5 + ], 18, - 12 + [ + "match", + ["get", "type"], + "service", 10, + 12 + ] ], "line-dasharray": [3, 1.5] } }, { - "id": "roads_tertiarybridgetop_construction", + "id": "roads_tertiarybridge_construction", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -2661,7 +2761,7 @@ "all", ["==", ["get", "type"], "construction"], ["==", ["get", "bridge"], 1], - ["==", ["get", "construction"], "tertiary"] + ["in", ["get", "construction"], ["literal", ["tertiary", "tertiary_link"]]] ], "layout": { "visibility": "visible", @@ -2682,16 +2782,26 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 9, - 0.8, + 8, + [ + "match", + ["get", "type"], + "tertiary_link", 0.3, + 0.5 + ], 18, - 24 + [ + "match", + ["get", "type"], + "tertiary_link", 17, + 28 + ] ], "line-dasharray": [3, 1.5] } }, { - "id": "roads_secondarybridgetop_construction", + "id": "roads_secondarybridge_construction", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -2700,7 +2810,7 @@ "all", ["==", ["get", "type"], "construction"], ["==", ["get", "bridge"], 1], - ["==", ["get", "construction"], "secondary"] + ["in", ["get", "construction"], ["literal", ["secondary", "secondary_link"]]] ], "layout": { "visibility": "visible", @@ -2722,9 +2832,19 @@ ["exponential", 1.5], ["zoom"], 8, - 0.5, + [ + "match", + ["get", "type"], + "secondary_link", 0.3, + 0.5 + ], 18, - 30 + [ + "match", + ["get", "type"], + "secondary_link", 18, + 30 + ] ], "line-dasharray": [3, 1.5] } @@ -2886,7 +3006,7 @@ } }, { - "id": "roads_tertiarytunnel_case", + "id": "roads_tertiarytunnel-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -2908,15 +3028,25 @@ ["exponential", 1.5], ["zoom"], 9, - 1, + [ + "match", + ["get", "type"], + "tertiary_link", 0.5, + 0.8 + ], 18, - 36 + [ + "match", + ["get", "type"], + "tertiary_link", 22, + 36 + ] ], "line-dasharray": [0.5, 1.25] } }, { - "id": "roads_secondarytunnel_case", + "id": "roads_secondarytunnel-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -2938,9 +3068,19 @@ ["exponential", 1.5], ["zoom"], 8, - 1, + [ + "match", + ["get", "type"], + "secondary_link", 0.3, + 0.5 + ], 18, - 38 + [ + "match", + ["get", "type"], + "secondary_link", 23, + 39 + ] ], "line-dasharray": [0.5, 1.25] } @@ -2978,8 +3118,8 @@ [ "match", ["get", "type"], - "primary_link", 25, - 41.4 + "primary_link", 26, + 42 ] ], "line-dasharray": [0.5, 1.25] @@ -3051,10 +3191,20 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 9, - 0.8, + 8, + [ + "match", + ["get", "type"], + "tertiary_link", 0.3, + 0.5 + ], 18, - 24 + [ + "match", + ["get", "type"], + "tertiary_link", 17, + 28 + ] ] } }, @@ -3081,9 +3231,19 @@ ["exponential", 1.5], ["zoom"], 8, - 0.5, + [ + "match", + ["get", "type"], + "secondary_link", 0.3, + 0.5 + ], 18, - 30 + [ + "match", + ["get", "type"], + "secondary_link", 18, + 30 + ] ] } }, @@ -3350,14 +3510,14 @@ } }, { - "id": "roads_servicecase_z13", + "id": "roads_residential-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", - "minzoom": 13, + "minzoom": 12, "filter": [ "all", - ["==", ["get", "type"], "service"], + ["in", ["get", "type"], ["literal", ["residential", "unclassified", "service"]]], ["!=", ["coalesce", ["get", "bridge"], 0], 1] ], "layout": { @@ -3371,39 +3531,20 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 13, - 2, - 18, - 12 - ] - } - }, - { - "id": "roads_residentialcase_z13", - "type": "line", - "source": "ohm", - "source-layer": "transport_lines", - "minzoom": 13, - "filter": [ - "all", - ["in", ["get", "type"], ["literal", ["residential", "unclassified"]]], - ["!=", ["coalesce", ["get", "bridge"], 0], 1] - ], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "#D2D2D5", - "line-width": [ - "interpolate", - ["exponential", 1.5], - ["zoom"], - 13, - 4, + 12, + [ + "match", + ["get", "type"], + "service", 0.8, + 1.0 + ], 18, - 18 + [ + "match", + ["get", "type"], + "service", 14, + 16 + ] ] } }, @@ -3428,40 +3569,6 @@ ] } }, - { - "id": "roads_tertiarylink-case", - "type": "line", - "source": "ohm", - "source-layer": "transport_lines", - "minzoom": 10.01, - "filter": [ - "all", - ["==", ["get", "type"], "tertiary_link"], - ["!=", ["coalesce", ["get", "tunnel"], 0], 1], - ["!=", ["coalesce", ["get", "bridge"], 0], 1] - ], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "#D2D2D5", - "line-width": [ - "interpolate", - ["exponential", 1.5], - ["zoom"], - 10, - 0.5, - 11, - 2.5, - 16, - 14, - 18, - 36 - ] - } - }, { "id": "roads_tertiary-case", "type": "line", @@ -3470,7 +3577,7 @@ "minzoom": 10.01, "filter": [ "all", - ["==", ["get", "type"], "tertiary"], + ["in", ["get", "type"], ["literal", ["tertiary", "tertiary_link"]]], ["!=", ["coalesce", ["get", "tunnel"], 0], 1], ["!=", ["coalesce", ["get", "bridge"], 0], 1] ], @@ -3485,14 +3592,20 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 10, - 0.5, - 11, - 2.5, - 16, - 14, + 9, + [ + "match", + ["get", "type"], + "tertiary_link", 0.5, + 0.8 + ], 18, - 36 + [ + "match", + ["get", "type"], + "tertiary_link", 22, + 36 + ] ] } }, @@ -3504,39 +3617,7 @@ "minzoom": 10, "filter": [ "all", - ["==", ["get", "type"], "secondary"], - ["!=", ["coalesce", ["get", "tunnel"], 0], 1], - ["!=", ["coalesce", ["get", "bridge"], 0], 1] - ], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "#D2D2D5", - "line-width": [ - "interpolate", - ["exponential", 1.5], - ["zoom"], - 10, - 0.5, - 11, - 3, - 18, - 39 - ] - } - }, - { - "id": "roads_secondarylink-case", - "type": "line", - "source": "ohm", - "source-layer": "transport_lines", - "minzoom": 8, - "filter": [ - "all", - ["==", ["get", "type"], "secondary_link"], + ["in", ["get", "type"], ["literal", ["secondary", "secondary_link"]]], ["!=", ["coalesce", ["get", "tunnel"], 0], 1], ["!=", ["coalesce", ["get", "bridge"], 0], 1] ], @@ -3551,12 +3632,20 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 10, - 0.5, - 11, - 3, + 8, + [ + "match", + ["get", "type"], + "secondary_link", 0.3, + 0.5 + ], 18, - 39 + [ + "match", + ["get", "type"], + "secondary_link", 23, + 39 + ] ] } }, @@ -3595,8 +3684,8 @@ [ "match", ["get", "type"], - "primary_link", 25, - 41.4 + "primary_link", 26, + 42 ] ] } @@ -3671,31 +3760,6 @@ "line-dasharray": [1, 2] } }, - { - "id": "roads_service", - "type": "line", - "source": "ohm", - "source-layer": "transport_lines", - "minzoom": 12, - "filter": ["==", ["get", "type"], "service"], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "#ffffff", - "line-width": [ - "interpolate", - ["exponential", 1.5], - ["zoom"], - 12, - 1.6, - 18, - 7 - ] - } - }, { "id": "roads_residential", "type": "line", @@ -3705,7 +3769,7 @@ "filter": [ "in", ["get", "type"], - ["literal", ["residential", "unclassified"]] + ["literal", ["residential", "unclassified", "service"]] ], "layout": { "visibility": "visible", @@ -3719,9 +3783,19 @@ ["exponential", 1.5], ["zoom"], 12, - 2, + [ + "match", + ["get", "type"], + "service", 0.4, + 0.5 + ], 18, - 12 + [ + "match", + ["get", "type"], + "service", 10, + 12 + ] ] } }, @@ -3746,76 +3820,6 @@ ] } }, - { - "id": "roads_secondarylink", - "type": "line", - "source": "ohm", - "source-layer": "transport_lines", - "minzoom": 8, - "filter": [ - "all", - ["==", ["get", "type"], "secondary_link"], - ["!=", ["coalesce", ["get", "tunnel"], 0], 1], - ["!=", ["coalesce", ["get", "bridge"], 0], 1] - ], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "rgba(255, 255, 255, 1)", - "line-width": [ - "interpolate", - ["exponential", 1.5], - ["zoom"], - 8, - 0.5, - 18, - 30 - ] - } - }, - { - "id": "roads_tertiarylink", - "type": "line", - "source": "ohm", - "source-layer": "transport_lines", - "minzoom": 6, - "filter": [ - "all", - ["==", ["get", "type"], "tertiary_link"], - ["!=", ["coalesce", ["get", "tunnel"], 0], 1], - ["!=", ["coalesce", ["get", "bridge"], 0], 1] - ], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-width": [ - "interpolate", - ["exponential", 1.5], - ["zoom"], - 8, - 0.5, - 16, - 11, - 18, - 28 - ], - "line-color": [ - "interpolate", - ["linear"], - ["zoom"], - 10, - "rgba(240, 240, 240, 1)", - 12, - "#ffffff" - ] - } - }, { "id": "roads_tertiary", "type": "line", @@ -3824,7 +3828,7 @@ "minzoom": 9, "filter": [ "all", - ["==", ["get", "type"], "tertiary"], + ["in", ["get", "type"], ["literal", ["tertiary", "tertiary_link"]]], ["!=", ["coalesce", ["get", "tunnel"], 0], 1], ["!=", ["coalesce", ["get", "bridge"], 0], 1] ], @@ -3848,11 +3852,19 @@ ["exponential", 1.5], ["zoom"], 8, - 0.5, - 16, - 11, + [ + "match", + ["get", "type"], + "tertiary_link", 0.3, + 0.5 + ], 18, - 28 + [ + "match", + ["get", "type"], + "tertiary_link", 17, + 28 + ] ] } }, @@ -3864,7 +3876,7 @@ "minzoom": 8, "filter": [ "all", - ["==", ["get", "type"], "secondary"], + ["in", ["get", "type"], ["literal", ["secondary", "secondary_link"]]], ["!=", ["coalesce", ["get", "tunnel"], 0], 1], ["!=", ["coalesce", ["get", "bridge"], 0], 1] ], @@ -3888,9 +3900,19 @@ ["exponential", 1.5], ["zoom"], 8, - 0.5, + [ + "match", + ["get", "type"], + "secondary_link", 0.3, + 0.5 + ], 18, - 30 + [ + "match", + ["get", "type"], + "secondary_link", 18, + 30 + ] ] } }, @@ -4730,11 +4752,11 @@ } }, { - "id": "roads_residential_bridge_z13-case", + "id": "roads_residentialbridge-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", - "minzoom": 13, + "minzoom": 12, "filter": [ "all", [ @@ -4755,22 +4777,32 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 11, - 2, + 12, + [ + "match", + ["get", "type"], + "service", 1.2, + 1.5 + ], 18, - 30 + [ + "match", + ["get", "type"], + "service", 18, + 22 + ] ] } }, { - "id": "roads_tertiarybridge", + "id": "roads_tertiarybridge-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", "minzoom": 9, "filter": [ "all", - ["==", ["get", "type"], "tertiary"], + ["in", ["get", "type"], ["literal", ["tertiary", "tertiary_link"]]], ["==", ["get", "bridge"], 1] ], "layout": { @@ -4784,22 +4816,32 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 11, - 4, + 9, + [ + "match", + ["get", "type"], + "tertiary_link", 0.8, + 1.2 + ], 18, - 38 + [ + "match", + ["get", "type"], + "tertiary_link", 25, + 39 + ] ] } }, { - "id": "roads_secondarybridge", + "id": "roads_secondarybridge-case", "type": "line", "source": "ohm", "source-layer": "transport_lines", "minzoom": 10, "filter": [ "all", - ["==", ["get", "type"], "secondary"], + ["in", ["get", "type"], ["literal", ["secondary", "secondary_link"]]], ["==", ["get", "bridge"], 1] ], "layout": { @@ -4814,9 +4856,19 @@ ["exponential", 1.5], ["zoom"], 8, - 3.2, + [ + "match", + ["get", "type"], + "secondary_link", 1.9, + 3.2 + ], 18, - 44 + [ + "match", + ["get", "type"], + "secondary_link", 26, + 44 + ] ] } }, @@ -4837,7 +4889,7 @@ "line-join": "round" }, "paint": { - "line-color": "rgba(168, 107, 47, 1)", + "line-color": "rgba(218, 157, 97, 1)", "line-width": [ "interpolate", ["exponential", 1.5], @@ -4846,15 +4898,15 @@ [ "match", ["get", "type"], - "primary_link", 1.6, - 2.7 + "primary_link", 1.8, + 3 ], 18, [ "match", ["get", "type"], - "primary_link", 25, - 41.4 + "primary_link", 26, + 44 ] ] } @@ -4880,7 +4932,7 @@ "line-join": "round" }, "paint": { - "line-color": "rgba(152, 79, 63, 1)", + "line-color": "rgba(202, 129, 113, 1)", "line-width": [ "interpolate", ["exponential", 1.5], @@ -4889,21 +4941,21 @@ [ "match", ["get", "type"], - ["motorway_link", "trunk_link"], 1.8, - 3 + ["motorway_link", "trunk_link"], 2.1, + 3.5 ], 18, [ "match", ["get", "type"], - ["motorway_link", "trunk_link"], 28, - 46 + ["motorway_link", "trunk_link"], 30, + 50 ] ] } }, { - "id": "roads_residential_bridgetop_z13", + "id": "roads_residentialbridge", "type": "line", "source": "ohm", "source-layer": "transport_lines", @@ -4929,21 +4981,31 @@ ["exponential", 1.5], ["zoom"], 12, - 0.5, + [ + "match", + ["get", "type"], + "service", 0.4, + 0.5 + ], 18, - 12 + [ + "match", + ["get", "type"], + "service", 10, + 12 + ] ] } }, { - "id": "roads_tertiarybridgetop", + "id": "roads_tertiarybridge", "type": "line", "source": "ohm", "source-layer": "transport_lines", "minzoom": 6, "filter": [ "all", - ["==", ["get", "type"], "tertiary"], + ["in", ["get", "type"], ["literal", ["tertiary", "tertiary_link"]]], ["==", ["get", "bridge"], 1] ], "layout": { @@ -4965,22 +5027,32 @@ "interpolate", ["exponential", 1.5], ["zoom"], - 9, - 0.8, + 8, + [ + "match", + ["get", "type"], + "tertiary_link", 0.3, + 0.5 + ], 18, - 24 + [ + "match", + ["get", "type"], + "tertiary_link", 17, + 28 + ] ] } }, { - "id": "roads_secondarybridgetop", + "id": "roads_secondarybridge", "type": "line", "source": "ohm", "source-layer": "transport_lines", "minzoom": 8, "filter": [ "all", - ["==", ["get", "type"], "secondary"], + ["in", ["get", "type"], ["literal", ["secondary", "secondary_link"]]], ["==", ["get", "bridge"], 1] ], "layout": { @@ -5003,9 +5075,19 @@ ["exponential", 1.5], ["zoom"], 8, - 0.5, + [ + "match", + ["get", "type"], + "secondary_link", 0.3, + 0.5 + ], 18, - 30 + [ + "match", + ["get", "type"], + "secondary_link", 18, + 30 + ] ] } }, From 8ab41849bf3539280206c0b4907eb3fea7265da1 Mon Sep 17 00:00:00 2001 From: Charlie Plett Date: Sun, 15 Nov 2026 16:01:30 -0600 Subject: [PATCH 7/8] All bridge casing rgb values are 20 darker than normal road casing --- historical/historical.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/historical/historical.json b/historical/historical.json index 20b40c48..b1354f96 100644 --- a/historical/historical.json +++ b/historical/historical.json @@ -3627,7 +3627,7 @@ "line-join": "round" }, "paint": { - "line-color": "#D2D2D5", + "line-color": "rgba(210, 210, 213, 1)", "line-width": [ "interpolate", ["exponential", 1.5], @@ -4772,7 +4772,7 @@ "line-join": "round" }, "paint": { - "line-color": "rgba(210, 210, 213, 1)", + "line-color": "rgba(190, 190, 193, 1)", "line-width": [ "interpolate", ["exponential", 1.5], @@ -4811,7 +4811,7 @@ "line-join": "round" }, "paint": { - "line-color": "rgba(210, 210, 213, 1)", + "line-color": "rgba(190, 190, 193, 1)", "line-width": [ "interpolate", ["exponential", 1.5], @@ -4850,7 +4850,7 @@ "line-join": "round" }, "paint": { - "line-color": "rgba(210, 210, 213, 1)", + "line-color": "rgba(190, 190, 193, 1)", "line-width": [ "interpolate", ["exponential", 1.5], @@ -4889,7 +4889,7 @@ "line-join": "round" }, "paint": { - "line-color": "rgba(218, 157, 97, 1)", + "line-color": "rgba(230, 158, 87, 1)", "line-width": [ "interpolate", ["exponential", 1.5], @@ -4932,7 +4932,7 @@ "line-join": "round" }, "paint": { - "line-color": "rgba(202, 129, 113, 1)", + "line-color": "rgba(210, 123, 104, 1)", "line-width": [ "interpolate", ["exponential", 1.5], From a0253ab28de8e5b2fefae1f1e8e6d997156ab91d Mon Sep 17 00:00:00 2001 From: Charlie Plett Date: Sun, 15 Nov 2026 16:40:56 -0600 Subject: [PATCH 8/8] Fix road widths at low zooms to match the current style --- historical/historical.json | 180 ++++++++++++++++++------------------- 1 file changed, 90 insertions(+), 90 deletions(-) diff --git a/historical/historical.json b/historical/historical.json index b1354f96..cff8f86e 100644 --- a/historical/historical.json +++ b/historical/historical.json @@ -1499,14 +1499,14 @@ 5, [ "match", - ["get", "type"], - "primary_link", 1.6, - 2.7 + ["get", "construction"], + "primary_link", 0.8, + 1 ], 18, [ "match", - ["get", "type"], + ["get", "construction"], "primary_link", 26, 42 ] @@ -1544,14 +1544,14 @@ 5, [ "match", - ["get", "type"], - ["motorway_link", "trunk_link"], 1.8, - 3 + ["get", "construction"], + ["motorway_link", "trunk_link"], 1.1, + 1.3 ], 18, [ "match", - ["get", "type"], + ["get", "construction"], ["motorway_link", "trunk_link"], 28, 46 ] @@ -1709,9 +1709,9 @@ 5, [ "match", - ["get", "type"], - ["motorway_link", "trunk_link"], 0.6, - 1 + ["get", "construction"], + ["motorway_link", "trunk_link"], 0.4, + 0.65 ], 18, [ @@ -2020,16 +2020,16 @@ 12, [ "match", - ["get", "type"], - "service", 0.4, - 0.5 + ["get", "construction"], + "service", 2, + 2.6 ], 18, [ "match", - ["get", "type"], - "service", 10, - 12 + ["get", "construction"], + "service", 15, + 20 ] ] } @@ -2144,14 +2144,14 @@ 5, [ "match", - ["get", "type"], - "primary_link", 1.6, - 2.7 + ["get", "construction"], + "primary_link", 0.8, + 1 ], 18, [ "match", - ["get", "type"], + ["get", "construction"], "primary_link", 26, 42 ] @@ -2185,14 +2185,14 @@ 5, [ "match", - ["get", "type"], - ["motorway_link", "trunk_link"], 1.8, - 3 + ["get", "construction"], + ["motorway_link", "trunk_link"], 1.1, + 1.3 ], 18, [ "match", - ["get", "type"], + ["get", "construction"], ["motorway_link", "trunk_link"], 28, 46 ] @@ -2258,16 +2258,16 @@ 12, [ "match", - ["get", "type"], - "service", 0.4, - 0.5 + ["get", "construction"], + "service", 0.8, + 1 ], 18, [ "match", - ["get", "type"], + ["get", "construction"], "service", 10, - 12 + 14 ] ], "line-dasharray": [3, 1.5] @@ -2457,9 +2457,9 @@ 5, [ "match", - ["get", "type"], - ["motorway_link", "trunk_link"], 0.6, - 1 + ["get", "construction"], + ["motorway_link", "trunk_link"], 0.4, + 0.65 ], 18, [ @@ -2524,16 +2524,16 @@ 12, [ "match", - ["get", "type"], - "service", 0.4, - 0.5 + ["get", "construction"], + "service", 2.4, + 3.1 ], 18, [ "match", - ["get", "type"], - "service", 10, - 12 + ["get", "construction"], + "service", 18, + 22 ] ] } @@ -2648,16 +2648,16 @@ 5, [ "match", - ["get", "type"], - "primary_link", 1.6, - 2.7 + ["get", "construction"], + "primary_link", 1, + 1.2 ], 18, [ "match", - ["get", "type"], + ["get", "construction"], "primary_link", 26, - 42 + 44 ] ] } @@ -2692,16 +2692,16 @@ 5, [ "match", - ["get", "type"], - ["motorway_link", "trunk_link"], 1.8, - 3 + ["get", "construction"], + ["motorway_link", "trunk_link"], 1.3, + 1.5 ], 18, [ "match", - ["get", "type"], - ["motorway_link", "trunk_link"], 28, - 46 + ["get", "construction"], + ["motorway_link", "trunk_link"], 30, + 50 ] ] } @@ -2736,16 +2736,16 @@ 12, [ "match", - ["get", "type"], - "service", 0.4, - 0.5 + ["get", "construction"], + "service", 1.1, + 1.4 ], 18, [ "match", - ["get", "type"], - "service", 10, - 12 + ["get", "construction"], + "service", 12, + 16 ] ], "line-dasharray": [3, 1.5] @@ -2934,9 +2934,9 @@ 5, [ "match", - ["get", "type"], - ["motorway_link", "trunk_link"], 0.6, - 1 + ["get", "construction"], + ["motorway_link", "trunk_link"], 0.45, + 0.7 ], 18, [ @@ -3111,8 +3111,8 @@ [ "match", ["get", "type"], - "primary_link", 1.6, - 2.7 + "primary_link", 0.8, + 1 ], 18, [ @@ -3155,8 +3155,8 @@ [ "match", ["get", "type"], - ["motorway_link", "trunk_link"], 1.8, - 3 + ["motorway_link", "trunk_link"], 1.1, + 1.3 ], 18, [ @@ -3316,8 +3316,8 @@ [ "match", ["get", "type"], - ["motorway_link", "trunk_link"], 0.6, - 1 + ["motorway_link", "trunk_link"], 0.4, + 0.65 ], 18, [ @@ -3535,15 +3535,15 @@ [ "match", ["get", "type"], - "service", 0.8, - 1.0 + "service", 2, + 2.6 ], 18, [ "match", ["get", "type"], - "service", 14, - 16 + "service", 15, + 20 ] ] } @@ -3677,8 +3677,8 @@ [ "match", ["get", "type"], - "primary_link", 1.6, - 2.7 + "primary_link", 0.8, + 1 ], 18, [ @@ -3717,8 +3717,8 @@ [ "match", ["get", "type"], - ["motorway_link", "trunk_link"], 1.8, - 3 + ["motorway_link", "trunk_link"], 1.1, + 1.3 ], 18, [ @@ -3786,15 +3786,15 @@ [ "match", ["get", "type"], - "service", 0.4, - 0.5 + "service", 0.8, + 1 ], 18, [ "match", ["get", "type"], "service", 10, - 12 + 14 ] ] } @@ -3998,8 +3998,8 @@ [ "match", ["get", "type"], - ["motorway_link", "trunk_link"], 0.6, - 1 + ["motorway_link", "trunk_link"], 0.4, + 0.65 ], 18, [ @@ -4781,8 +4781,8 @@ [ "match", ["get", "type"], - "service", 1.2, - 1.5 + "service", 2.4, + 3.1 ], 18, [ @@ -4898,8 +4898,8 @@ [ "match", ["get", "type"], - "primary_link", 1.8, - 3 + "primary_link", 1, + 1.2 ], 18, [ @@ -4941,8 +4941,8 @@ [ "match", ["get", "type"], - ["motorway_link", "trunk_link"], 2.1, - 3.5 + ["motorway_link", "trunk_link"], 1.3, + 1.5 ], 18, [ @@ -4984,15 +4984,15 @@ [ "match", ["get", "type"], - "service", 0.4, - 0.5 + "service", 1.1, + 1.4 ], 18, [ "match", ["get", "type"], - "service", 10, - 12 + "service", 12, + 16 ] ] } @@ -5174,8 +5174,8 @@ [ "match", ["get", "type"], - ["motorway_link", "trunk_link"], 0.6, - 1 + ["motorway_link", "trunk_link"], 0.45, + 0.7 ], 18, [