diff --git a/src/assets/swisstopo.json b/src/assets/swisstopo.json index d81face..c3c8c18 100644 --- a/src/assets/swisstopo.json +++ b/src/assets/swisstopo.json @@ -1,32 +1,15 @@ { "version": 8, - "name": "lbm_v1.0.0", - "center": [7.969664962869274, 47.021278030856564], - "zoom": 9.333879434342306, - "bearing": 0, - "pitch": 0, + "id": "2fa0964e-8ce3-4fe9-91b3-2a0d18663c9d", + "name": "basemap_v1.15.0", "sources": { - "swissmaptiles": { - "type": "vector", - "url": "https://vectortiles.geo.admin.ch/tiles/ch.swisstopo.leichte-basiskarte.vt/v2.0.0/tiles.json" + "terrain_v1.0.0": { + "url": "https://vectortiles.geo.admin.ch/tiles/ch.swisstopo.relief.vt/v1.0.0/tiles.json", + "type": "vector" }, - "relief_shading": { - "type": "raster", - "tiles": [ - "https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.leichte-basiskarte_reliefschattierung/default/current/3857/{z}/{x}/{y}.png" - ], - "tileSize": 256, - "minzoom": 0, - "maxzoom": 22, - "bounds": [5.140242, 45.398181, 11.47757, 48.230651] - }, - "hiking_trails_raster": { - "type": "raster", - "tiles": [ - "https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.swisstlm3d-wanderwege/default/current/3857/{z}/{x}/{y}.png" - ], - "tileSize": 256, - "bounds": [5.140242, 45.398181, 11.47757, 48.230651] + "base_v1.0.0": { + "url": "https://vectortiles.geo.admin.ch/tiles/ch.swisstopo.base.vt/v1.0.0/tiles.json", + "type": "vector" }, "skiing_trails_raster": { "type": "raster", @@ -95,9 +78,6 @@ "maxzoom": 10 } }, - "sprite": "https://vectortiles.geo.admin.ch/styles/ch.swisstopo.leichte-basiskarte.vt/sprite/sprite", - "glyphs": "https://vectortiles.geo.admin.ch/fonts/{fontstack}/{range}.pbf", - "transition": {}, "layers": [ { "id": "background", @@ -106,7 +86,7 @@ "visibility": "visible" }, "paint": { - "background-color": "rgba(255, 255, 255, 1)" + "background-color": "rgba(253, 253, 254, 1)" } }, { @@ -172,50 +152,241 @@ ] }, { - "id": "relief_shading", - "type": "raster", + "id": "hillshade_grey", + "type": "fill", + "source": "terrain_v1.0.0", + "source-layer": "hillshade", "metadata": { "sotlas-map-option": "hillshading" }, - "source": "relief_shading", "layout": { "visibility": "visible" }, "paint": { - "raster-opacity": { + "fill-color": [ + "match", + ["get","luminosity"], + -15, + "rgb(189,201,210)", + -14, + "rgb(194,205,213)", + -13, + "rgb(198,208,216)", + -12, + "rgb(202,211,219)", + -11, + "rgb(206,215,221)", + -10, + "rgb(210,218,224)", + -9, + "rgb(214,222,227)", + -8, + "rgb(218,225,230)", + -7, + "rgb(222,228,233)", + -6, + "rgb(226,232,235)", + -5, + "rgb(230,235,238)", + -4, + "rgb(235,238,241)", + -3, + "rgb(239,242,244)", + -2, + "rgb(243,245,247)", + -1, + "rgb(247,248,249)", + "rgb(251,252,252)" + ], + "fill-opacity": { "stops": [ - [15.5,1], - [17,0.6] + [1,0.5], + [8,1] ] }, - "raster-brightness-min": [ + "fill-antialias": false + }, + "filter": [ + "all", + ["<=","luminosity",0] + ] + }, + { + "id": "hillshade_yellow", + "type": "fill", + "source": "terrain_v1.0.0", + "source-layer": "hillshade", + "minzoom": 9.0, + "metadata": { + "sotlas-map-option": "hillshading" + }, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "rgba(255, 235, 5, 1)", + "fill-opacity": [ "interpolate", ["linear"], ["zoom"], - 6, + 9, 0, - 12, + 10, + 0.0175 + ], + "fill-antialias": false + }, + "filter": [ + "all", + [">","luminosity",0], + ["!in","mask","rock","ice","scree"] + ] + }, + { + "id": "scree_z17", + "type": "fill", + "source": "terrain_v1.0.0", + "source-layer": "scree", + "minzoom": 17.0, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-opacity": [ + "interpolate", + ["linear"], + ["zoom"], + 9, + 0, + 11, + 0.3, + 16, + 0.4 + ], + "fill-pattern": [ + "match", + ["get","weight"], + 15, + "scree_very_large_1", + 10, + "scree_very_large_2", + 5, + "scree_very_large_3", + 1, + "scree_very_large_4", + "" + ] + } + }, + { + "id": "scree_z15", + "type": "fill", + "source": "terrain_v1.0.0", + "source-layer": "scree", + "minzoom": 15.0, + "maxzoom": 17.0, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-opacity": [ + "interpolate", + ["linear"], + ["zoom"], + 9, + 0, + 11, + 0.3, + 16, + 0.4 + ], + "fill-pattern": [ + "match", + ["get","weight"], + 15, + "scree_large_1", + 10, + "scree_large_2", + 5, + "scree_large_3", + 1, + "scree_large_4", + "" + ] + } + }, + { + "id": "scree_z13", + "type": "fill", + "source": "terrain_v1.0.0", + "source-layer": "scree", + "minzoom": 13.0, + "maxzoom": 15.0, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-opacity": [ + "interpolate", + ["linear"], + ["zoom"], + 9, + 0, + 11, + 0.2, + 16, 0.25 ], - "raster-saturation": [ + "fill-pattern": [ + "match", + ["get","weight"], + 15, + "scree_medium_1", + 10, + "scree_medium_2", + 5, + "scree_medium_3", + 1, + "scree_medium_4", + "" + ] + } + }, + { + "id": "scree_z11", + "type": "fill", + "source": "terrain_v1.0.0", + "source-layer": "scree", + "minzoom": 11.0, + "maxzoom": 13.0, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-opacity": [ "interpolate", ["linear"], ["zoom"], - 6, - -0.5, - 12, - -0.2 + 9, + 0, + 11, + 0.3, + 16, + 0.4 ], - "raster-contrast": [ - "interpolate", - ["linear"], - ["zoom"], - 6, - 0.1, - 12, - 0 - ], - "raster-resampling": "nearest" + "fill-pattern": [ + "match", + ["get","weight"], + 15, + "scree_small_1", + 10, + "scree_small_2", + 5, + "scree_small_3", + 1, + "scree_small_4", + "" + ] } }, { @@ -260,67 +431,47 @@ { "id": "contour_line", "type": "line", + "source": "base_v1.0.0", + "source-layer": "contour_line", + "minzoom": 11.0, "metadata": { "sotlas-map-option": "contours" }, - "source": "swissmaptiles", - "source-layer": "contour_line", - "minzoom": 13.0, "layout": { "visibility": "visible" }, "paint": { - "line-blur": 0.4, + "line-blur": 0.25, "line-color": [ "match", ["get","class"], - ["ice","water"], - "rgb(0,136,208)", - ["scree"], - "rgb(0,0,0)", - "rgb(191,138,64)" + "scree", + "rgba(0, 0, 0, 1)", + "hsl(35, 86%, 38%)" ], "line-width": [ "interpolate", ["exponential",1], ["zoom"], + 11, + [ + "case", + [ + "==", + [ + "%", + [ + "to-number", + ["get","ele"] + ], + 100 + ], + 0 + ], + 0.75, + 0 + ], 12, - [ - "case", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 100 - ], - 0 - ], - 0.75, - 0 - ], - 13, - [ - "case", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 100 - ], - 0 - ], - 0.75, - 0 - ], - 14, [ "case", [ @@ -338,7 +489,7 @@ 1, 0 ], - 14.5, + 14, [ "case", [ @@ -387,7 +538,7 @@ ], 0 ], - 1.75, + 2, [ "case", [ @@ -406,7 +557,7 @@ 0 ] ], - 16.5, + 18, [ "case", [ @@ -421,7 +572,7 @@ ], 0 ], - 2, + 3, [ "case", [ @@ -436,30 +587,30 @@ ], 0 ], - 1, + 1.5, 0 ] ] ], "line-opacity": [ "interpolate", - ["linear"], + ["exponential",1], ["zoom"], - 13, + 11, [ "match", ["get","class"], - ["scree","ice","water"], - 0.25, - 0.45 + "scree", + 0.2, + 0.3 ], - 14, + 16, [ "match", ["get","class"], - ["scree","ice","water"], - 0.3, - 0.55 + "scree", + 0.2, + 0.3 ] ] }, @@ -471,7 +622,7 @@ { "id": "landcover", "type": "fill", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "landcover", "minzoom": 5.0, "layout": { @@ -479,17 +630,33 @@ }, "paint": { "fill-color": [ - "match", - ["get","class"], - ["forest","wood"], - "rgb(186, 210, 172)", - ["ice","glacier"], - "rgb(205, 232, 244)", - ["wetland"], - "rgb(204, 229, 245)", - ["sand"], - "rgb(240, 218, 188)", - "rgb(215, 224, 209)" + "interpolate", + ["exponential",2], + ["zoom"], + 10, + [ + "match", + ["get","subclass"], + ["forest","scrub","woody_plant","loose_forest"], + "hsl(98, 70%, 33%)", + "glacier", + "rgb(205, 232, 244)", + "sand", + "hsl(35, 83%, 64%)", + "hsl(100, 60%, 70%)" + ], + 12, + [ + "match", + ["get","subclass"], + ["forest","scrub","woody_plant","loose_forest"], + "hsl(98, 90%, 33%)", + "glacier", + "rgb(205, 232, 244)", + "sand", + "hsl(35, 83%, 64%)", + "hsl(100, 60%, 70%)" + ] ], "fill-opacity": [ "interpolate", @@ -501,87 +668,73 @@ [ "match", ["get","class"], - ["ice","glacier"], + "ice", 0.3, 0 ], + 9, + [ + "match", + ["get","class"], + "ice", + 0.2, + 0 + ], 10, [ "match", ["get","class"], - ["ice","glacier"], + "ice", 0.2, - 0 + 0.1 ], 11, [ "match", ["get","class"], - ["ice","glacier"], + "ice", 0.2, - 0.3 + 0.125 + ], + 12, + [ + "match", + ["get","class"], + "ice", + 0.1, + 0.125 ], 14, [ "match", ["get","class"], - ["ice","glacier"], + "ice", 0, - 0.3 + 0.135 ] ] }, "filter": [ - "any", + "in", + ["get","subclass"], [ - "match", - ["get","subclass"], - [ - "allotments", - "forest", - "glacier", - "golf_course", - "park", - "plant_nursery", - "recreation_ground", - "scrub", - "woody_plant", - "loose_forest" - ], - true, - false - ], - [ - "case", - [ - "==", - [ - "typeof", - ["get","class"] - ], - "string" - ], - [ - "==", - ["get","class"], - "sand" - ], - false + "literal", + ["allotments","forest","glacier","golf_course","park","scrub","woody_plant"] ] ] }, { "id": "landcover_casing", "type": "line", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "landcover", "minzoom": 10.0, "layout": { "visibility": "visible" }, "paint": { - "line-blur": 0.5, - "line-color": "rgb(186, 199, 172)", + "line-blur": 0.25, + "line-color": "rgba(153, 186, 133, 1)", "line-width": [ "interpolate", ["exponential",1.5], @@ -589,9 +742,11 @@ 6, 0, 11, - 0.25, + 1, 16, - 0.75 + 1, + 20, + 5 ], "line-opacity": [ "interpolate", @@ -604,15 +759,47 @@ ] }, "filter": [ - "all", - ["in","subclass","wood","scrub","recreation_ground","park","golf_course","allotments","plant_nursery","forest"] + "in", + ["get","subclass"], + [ + "literal", + ["allotments","golf_course","park","vineyard"] + ] + ] + }, + { + "id": "landuse_residential", + "type": "fill", + "source": "base_v1.0.0", + "source-layer": "landuse", + "minzoom": 7.0, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "rgb(35, 33, 31)", + "fill-opacity": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + 0.08, + 14, + 0 + ] + }, + "filter": [ + "==", + ["get","class"], + "residential" ] }, { "id": "landuse", "type": "fill", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "landuse", + "minzoom": 11.0, "layout": { "visibility": "visible" }, @@ -620,70 +807,247 @@ "fill-color": [ "match", ["get","class"], - ["pitch"], - "rgb(224,234,221)", ["landfill","quarry"], - "rgb(240, 218, 188)", - ["cemetery","zoo"], - "rgb(215, 224, 209)", - ["parking"], + "hsl(35, 63%, 84%)", + "pitch", + "rgb(231, 243, 225)", + ["camp_site","cemetery","zoo"], + "hsl(100, 60%, 70%)", + ["power_transformer"], "rgb(255, 255, 255)", - "rgb(215, 224, 209)" + "rgb(231, 243, 225)" ], "fill-opacity": [ - "match", - ["get","class"], - ["pitch"], - 1, - 0.3 + "step", + ["zoom"], + 0, + 11, + [ + "match", + ["get","class"], + ["pitch","power_transformer"], + 0, + ["camp_site","cemetery","zoo"], + 0.2, + 0.3 + ], + 12, + [ + "match", + ["get","class"], + ["pitch","power_transformer"], + 1, + ["camp_site","cemetery","zoo"], + 0.2, + 0.3 + ] ] }, "filter": [ - "all", - ["in","class","landfill","cemetery","quarry","zoo","pitch"] + "in", + ["get","class"], + [ + "literal", + [ + "camp_site", + "caravan_site", + "cemetery", + "horse_racing", + "landfill", + "pitch", + "power_transformer", + "recreation", + "sports", + "swimming_pool", + "zoo" + ] + ] ] }, { "id": "landuse_outline", "type": "line", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "landuse", + "minzoom": 7.0, "layout": { "visibility": "visible" }, "paint": { + "line-blur": [ + "match", + ["get","class"], + "residential", + 1, + 0.25 + ], "line-color": [ "match", ["get","class"], - ["pitch"], - "rgb(130, 130, 130)", - "rgba(186, 199, 172, 1)" + ["pitch","power_transformer","residential"], + "rgba(152, 152, 152, 1)", + "rgb(152, 200, 90)" ], "line-width": [ "interpolate", ["exponential",1.5], ["zoom"], + 6, + 0, 11, - 0.25, + 1, 16, - 0.75 + 1, + 20, + 5 ], - "line-opacity": { - "stops": [ - [14,0], - [15,1] + "line-opacity": [ + "step", + ["zoom"], + [ + "match", + ["get","class"], + "residential", + 0.35, + 1 + ], + 11, + [ + "match", + ["get","class"], + "residential", + 0, + 1 ] - } + ] }, "filter": [ - "all", - ["in","class","cemetery","zoo","pitch"] + "in", + ["get","class"], + [ + "literal", + ["camp_site","cemetery","pitch","power_transformer","residential","zoo"] + ] + ] + }, + { + "id": "ford_casing", + "type": "line", + "source": "base_v1.0.0", + "source-layer": "transportation", + "minzoom": 10.0, + "layout": { + "line-cap": "butt", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-blur": 0.4, + "line-color": "rgba(80, 80, 80, 1)", + "line-width": [ + "interpolate", + ["exponential",2], + ["zoom"], + 13, + 2.5, + 15, + 5, + 16, + 9, + 20, + 115 + ], + "line-offset": 0, + "line-opacity": [ + "match", + ["get","class"], + [ + "motorway_construction", + "trunk_construction", + "primary_construction", + "secondary_construction", + "tertiary_construction", + "minor_construction", + "track_construction", + "path_construction", + "service_construction", + "via_ferrata_construction", + "rail_construction", + "transit_construction" + ], + 0.3, + 1 + ] + }, + "filter": [ + "==", + ["get","brunnel"], + "ford" + ] + }, + { + "id": "ford_fill", + "type": "line", + "source": "base_v1.0.0", + "source-layer": "transportation", + "minzoom": 10.0, + "layout": { + "line-cap": "butt", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-blur": { + "stops": [ + [8,0.4], + [14,0.1] + ] + }, + "line-color": "rgba(255, 255, 255, 1)", + "line-width": [ + "interpolate", + ["exponential",2], + ["zoom"], + 13, + 2.5, + 15, + 3, + 16, + 6, + 20, + 101 + ], + "line-opacity": [ + "match", + ["get","class"], + [ + "motorway_construction", + "trunk_construction", + "primary_construction", + "secondary_construction", + "tertiary_construction", + "minor_construction", + "track_construction", + "path_construction", + "service_construction", + "via_ferrata_construction", + "rail_construction", + "transit_construction" + ], + 0.5, + 1 + ] + }, + "filter": [ + "==", + ["get","brunnel"], + "ford" ] }, { "id": "water_line_intermittent", "type": "line", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "waterway", "minzoom": 12.0, "layout": { @@ -691,168 +1055,70 @@ }, "paint": { "line-blur": 0, - "line-color": "rgba(48, 48, 48, 1)", + "line-color": "rgba(0, 0, 0, 1)", "line-width": [ "interpolate", - ["exponential",1.5], + ["linear"], ["zoom"], 13, + 1, + 15, + 1.5, + 20, + 5 + ], + "line-offset": 0, + "line-opacity": 0.4, + "line-dasharray": [ + "step", + ["zoom"], [ - "match", - [ - "to-string", - ["get","width"] - ], - ["10","9","8"], - 3.5, - ["7","6","5"], - 2.5, - ["4","3"], - 1.5, - ["1","2"], - 1, - [ - "match", - ["get","class"], - ["river","canal"], - 3.5, - 1 - ] + "literal", + [0.25,0.75] + ], + 14, + [ + "literal", + [0.5,1.5] + ], + 15, + [ + "literal", + [0.75,3] ], 16, [ - "match", - [ - "to-string", - ["get","width"] - ], - "10", - 5, - "9", - 4.5, - "8", - 4, - "7", - 3.5, - ["6","5"], - 3, - "4", - 2.5, - "3", - 2, - "2", - 1.5, - "1", - 1, - [ - "match", - ["get","class"], - ["river","canal"], - 5, - 1.5 - ] - ], - 20, - [ - "match", - [ - "to-string", - ["get","width"] - ], - "10", - 10, - "9", - 9.6, - "8", - 8.9, - "7", - 8.2, - "6", - 7.5, - "5", - 6.8, - "4", - 6.1, - "3", - 5.4, - "2", - 4.7, - "1", - 4, - [ - "match", - ["get","class"], - ["river","canal"], - 10, - 4 - ] + "literal", + [1,4] ] - ], - "line-offset": 0, - "line-opacity": { - "stops": [ - [13,0.25], - [16,0.35] - ] - }, - "line-dasharray": { - "stops": [ - [ - 13, - [0.5,3] - ], - [ - 14, - [0.75,4.5] - ], - [ - 15, - [1,6] - ], - [ - 16, - [1.25,7.5] - ] - ] - } + ] }, "filter": [ - "all", - ["==","intermittent",1] + "==", + ["get","intermittent"], + 1 ] }, { "id": "water_line", "type": "line", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "waterway", - "minzoom": 7.0, + "minzoom": 5.0, "layout": { "visibility": "visible" }, "paint": { "line-blur": 0, - "line-color": [ - "interpolate", - ["linear"], - ["zoom"], - 10, - "rgba(138, 195, 229, 1)", - 16, - [ - "match", - ["get","class"], - ["river","canal"], - "rgba(160, 205, 236, 1)", - "rgba(140, 185, 226, 1)" - ] - ], + "line-color": "hsl(203, 69%, 68%)", "line-width": [ "interpolate", ["exponential",1.5], ["zoom"], + 5, + 0.25, 7, - 1, + 0.75, 10, [ "match", @@ -861,15 +1127,15 @@ ["get","width"] ], ["10","9","8","7","6"], - 1.5, - ["5","4","3","2","1"], 1, + ["5","4","3","2","1"], + 0.75, [ "match", ["get","class"], ["river","canal"], - 1.5, - 1 + 1, + 0.75 ] ], 13, @@ -880,13 +1146,13 @@ ["get","width"] ], ["10","9","8"], - 3.5, + 3, ["7","6","5"], - 2.5, + 2, ["4","3"], - 1.5, - ["1","2"], 1, + ["1","2"], + 0.5, [ "match", ["get","class"], @@ -946,36 +1212,51 @@ "6", 7.5, "5", - 6.8, + 5.8, "4", - 6.1, + 5.1, "3", - 5.4, + 4.4, "2", - 4.7, + 3.7, "1", - 4, + 2, [ "match", ["get","class"], ["river","canal"], 10, - 4 + 2 ] ] ], "line-offset": 0, - "line-opacity": 0.7 + "line-opacity": 1 }, "filter": [ "all", - ["!=","intermittent",1] + [ + "!=", + ["get","intermittent"], + 1 + ], + [ + "!", + [ + "in", + ["get","class"], + [ + "literal", + ["riverbank","shoreline","shoreline_changing_level"] + ] + ] + ] ] }, { "id": "water_polygon", "type": "fill", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "water", "layout": { "visibility": "visible" @@ -983,71 +1264,353 @@ "paint": { "fill-color": [ "interpolate", - ["exponential",1.5], + ["linear"], ["zoom"], - 4, - "rgb(209, 228, 240)", - 10, - "rgb(199, 224, 245)" + 11, + "rgba(210, 238, 255, 1)", + 13, + [ + "match", + ["get","class"], + "lake", + "rgba(215, 243, 255, 1)", + "rgba(200, 236, 255, 1)" + ] ] + }, + "filter": [ + "all", + ["!=","class","pool"] + ] + }, + { + "id": "hachure", + "type": "fill", + "source": "terrain_v1.0.0", + "source-layer": "hachure", + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": [ + "match", + ["get","class"], + 1, + "rgba(32, 32, 32, 1)", + "hsl(203, 60%, 46%)" + ], + "fill-opacity": [ + "interpolate", + ["linear"], + ["zoom"], + 9, + 0, + 11, + 0.25 + ], + "fill-antialias": false } }, + { + "id": "mask_terrain", + "type": "line", + "source": "base_v1.0.0", + "source-layer": "transportation", + "layout": { + "visibility": "visible" + }, + "paint": { + "line-blur": 2, + "line-color": "hsl(197, 14%, 90%)", + "line-width": [ + "interpolate", + ["exponential",2], + ["zoom"], + 11, + 2, + 12, + 3, + 13, + 4, + 15, + 5, + 16, + 8, + 20, + 20 + ], + "line-opacity": [ + "match", + ["get","subclass"], + ["mask_rock_via_ferrata","mask_scree_via_ferrata"], + 0.5, + 1 + ] + }, + "filter": [ + "all", + [ + "in", + "subclass", + "mask_rock_path", + "mask_rock_footway", + "mask_rock_trail", + "mask_rock_via_ferrata", + "mask_scree_path", + "mask_scree_footway", + "mask_scree_trail", + "mask_scree_via_ferrata" + ] + ] + }, + { + "id": "pattern_landcover_z16", + "type": "fill", + "source": "base_v1.0.0", + "source-layer": "landcover", + "minzoom": 16.0, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-opacity": [ + "interpolate", + ["exponential",2], + ["zoom"], + 13, + 0.4, + 16, + 0.6 + ], + "fill-pattern": [ + "match", + ["get","subclass"], + "orchard", + "orchard_pattern", + "plant_nursery", + "plant_nursery_pattern", + "swamp", + "wetland_pattern_small", + "vineyard", + "vineyard_pattern", + ["scrub","woody_plant"], + "scrub_pattern_big", + "loose_forest", + "tree_pattern_big", + "" + ] + }, + "filter": [ + "in", + ["get","subclass"], + [ + "literal", + ["orchard","swamp","loose_forest","plant_nursery","vineyard"] + ] + ] + }, + { + "id": "pattern_landcover_z12", + "type": "fill", + "source": "base_v1.0.0", + "source-layer": "landcover", + "minzoom": 12.0, + "maxzoom": 16.0, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-opacity": [ + "interpolate", + ["linear"], + ["zoom"], + 12, + [ + "match", + ["get","subclass"], + "swamp", + 0, + 0.4 + ], + 13, + 0.4 + ], + "fill-pattern": [ + "match", + ["get","subclass"], + "orchard", + "orchard_pattern", + "plant_nursery", + "plant_nursery_pattern", + "swamp", + "wetland_pattern_big", + "vineyard", + "vineyard_pattern", + "loose_forest", + "tree_pattern_small", + ["scrub","woody_plant"], + "scrub_pattern_small", + "" + ] + }, + "filter": [ + "in", + ["get","subclass"], + [ + "literal", + ["orchard","swamp","loose_forest","plant_nursery","vineyard"] + ] + ] + }, + { + "id": "waterway_shoreline_ply", + "type": "line", + "source": "base_v1.0.0", + "source-layer": "water", + "minzoom": 0.0, + "maxzoom": 22.0, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "hsl(203, 69%, 68%)", + "line-width": [ + "interpolate", + ["exponential",1.2], + ["zoom"], + 6, + 0.1, + 10, + 0.3, + 18, + 1.5 + ], + "line-opacity": [ + "step", + ["zoom"], + 1, + 12, + [ + "match", + ["get","class"], + ["river","lake"], + 0, + 1 + ] + ] + }, + "filter": [ + "all", + ["!=","class","pool"] + ] + }, + { + "id": "waterway_shoreline_changing", + "type": "line", + "source": "base_v1.0.0", + "source-layer": "waterway", + "minzoom": 12.0, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "hsl(203, 69%, 68%)", + "line-width": [ + "interpolate", + ["exponential",1.2], + ["zoom"], + 6, + 1.5, + 18, + 2 + ], + "line-dasharray": [0.8,1.2] + }, + "filter": [ + "==", + ["get","class"], + "shoreline_changing_level" + ] + }, + { + "id": "waterway_shoreline", + "type": "line", + "source": "base_v1.0.0", + "source-layer": "waterway", + "minzoom": 12.0, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "hsl(203, 69%, 68%)", + "line-width": [ + "interpolate", + ["exponential",1.2], + ["zoom"], + 6, + [ + "match", + ["get","class"], + "riverbank", + 0.1, + 0.2 + ], + 10, + [ + "match", + ["get","class"], + "riverbank", + 0.2, + 0.3 + ], + 18, + 1.5 + ] + }, + "filter": [ + "in", + ["get","class"], + [ + "literal", + ["riverbank","shoreline"] + ] + ] + }, { "id": "contour_line_water", "type": "line", - "metadata": { - "sotlas-map-option": "contours" - }, - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "contour_line", - "minzoom": 13.0, + "minzoom": 11.0, "layout": { "visibility": "visible" }, "paint": { "line-blur": 0.4, - "line-color": "rgb(0,136,208)", + "line-color": "hsl(203, 69%, 68%)", "line-width": [ "interpolate", ["exponential",1], ["zoom"], + 11, + [ + "case", + [ + "==", + [ + "%", + [ + "to-number", + ["get","ele"] + ], + 100 + ], + 0 + ], + 0.75, + 0 + ], 12, - [ - "case", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 100 - ], - 0 - ], - 0.75, - 0 - ], - 13, - [ - "case", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 100 - ], - 0 - ], - 0.75, - 0 - ], - 14, [ "case", [ @@ -1065,7 +1628,7 @@ 1, 0 ], - 14.5, + 14, [ "case", [ @@ -1099,7 +1662,7 @@ 0 ] ], - 16, + 15, [ "case", [ @@ -1114,7 +1677,7 @@ ], 0 ], - 1.75, + 2, [ "case", [ @@ -1133,7 +1696,7 @@ 0 ] ], - 16.5, + 18, [ "case", [ @@ -1148,7 +1711,7 @@ ], 0 ], - 2, + 3, [ "case", [ @@ -1163,891 +1726,92 @@ ], 0 ], - 1, + 1.5, 0 ] ] ], - "line-opacity": [ - "interpolate", - ["linear"], - ["zoom"], - 13, - [ - "match", - ["get","class"], - ["scree","ice","water"], - 0.25, - 0.45 - ], - 14, - [ - "match", - ["get","class"], - ["scree","ice","water"], - 0.3, - 0.55 - ] - ] + "line-opacity": 0.45 }, - "filter": [ - "all", - ["in","class","ice","water"] - ] - }, - { - "id": "label_contour_line_20_grey", - "type": "symbol", "metadata": { + "maputnik:comment": "color: rgb(191,138,64)", "sotlas-map-option": "contours" }, - "source": "swissmaptiles", - "source-layer": "contour_line", - "minzoom": 16.0, - "layout": { - "text-font": ["Frutiger Neue Italic"], - "text-size": 12, - "text-field": "{ele} ", - "visibility": "visible", - "text-justify": "center", - "text-padding": [ - "interpolate", - ["linear"], - ["zoom"], - 14, - 0, - 15, - 12, - 16, - 80 - ], - "symbol-spacing": 550, - "symbol-z-order": "auto", - "text-max-angle": 40, - "text-transform": "none", - "symbol-placement": "line", - "text-keep-upright": true, - "symbol-avoid-edges": true, - "text-allow-overlap": false, - "text-letter-spacing": 0.1, - "text-pitch-alignment": "map", - "text-ignore-placement": false, - "text-rotation-alignment": "map" - }, - "paint": { - "text-color": "rgba(64,64,64, 1)", - "text-opacity": [ - "step", - ["zoom"], - 0, - 12, - [ - "case", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 100 - ], - 0 - ], - 0.75, - 0 - ], - 16, - [ - "case", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 20 - ], - 0 - ], - 0.75, - 0 - ] - ], - "text-halo-blur": 0.5, - "text-halo-color": "rgba(238, 238, 238, .8)", - "text-halo-width": 2 - }, "filter": [ - "all", + "in", + ["get","class"], [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 20 - ], - 0 - ], - [ - "!=", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 100 - ], - 0 - ], - [ - "match", - ["get","class"], - ["scree"], - true, - false + "literal", + ["ice","water"] ] ] }, { - "id": "label_contour_line_20_blue", - "type": "symbol", - "metadata": { - "sotlas-map-option": "contours" - }, - "source": "swissmaptiles", - "source-layer": "contour_line", - "minzoom": 16.0, - "layout": { - "text-font": ["Frutiger Neue Italic"], - "text-size": 12, - "text-field": "{ele} ", - "visibility": "visible", - "text-justify": "center", - "text-padding": [ - "interpolate", - ["linear"], - ["zoom"], - 14, - 0, - 15, - 12, - 16, - 80 - ], - "symbol-spacing": 550, - "symbol-z-order": "auto", - "text-max-angle": 40, - "text-transform": "none", - "symbol-placement": "line", - "text-keep-upright": true, - "symbol-avoid-edges": true, - "text-allow-overlap": false, - "text-letter-spacing": 0.1, - "text-pitch-alignment": "map", - "text-ignore-placement": false, - "text-rotation-alignment": "map" - }, - "paint": { - "text-color": "rgba(0,136,208, 1)", - "text-opacity": [ - "step", - ["zoom"], - 0, - 12, - [ - "case", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 100 - ], - 0 - ], - 0.75, - 0 - ], - 16, - [ - "case", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 20 - ], - 0 - ], - 0.75, - 0 - ] - ], - "text-halo-blur": 0.5, - "text-halo-color": "rgba(238, 238, 238, .8)", - "text-halo-width": 2 - }, - "filter": [ - "all", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 20 - ], - 0 - ], - [ - "!=", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 100 - ], - 0 - ], - [ - "match", - ["get","class"], - ["ice","water"], - true, - false - ] - ] - }, - { - "id": "label_contour_line_20_brown", - "type": "symbol", - "metadata": { - "sotlas-map-option": "contours" - }, - "source": "swissmaptiles", - "source-layer": "contour_line", - "minzoom": 16.0, - "layout": { - "text-font": ["Frutiger Neue Italic"], - "text-size": 12, - "text-field": "{ele} ", - "visibility": "visible", - "text-justify": "center", - "text-padding": [ - "interpolate", - ["linear"], - ["zoom"], - 14, - 0, - 15, - 12, - 16, - 80 - ], - "symbol-spacing": 550, - "symbol-z-order": "auto", - "text-max-angle": 40, - "text-transform": "none", - "symbol-placement": "line", - "text-keep-upright": true, - "symbol-avoid-edges": true, - "text-allow-overlap": false, - "text-letter-spacing": 0.1, - "text-pitch-alignment": "map", - "text-ignore-placement": false, - "text-rotation-alignment": "map" - }, - "paint": { - "text-color": "rgba(185,132,58, 1)", - "text-opacity": [ - "step", - ["zoom"], - 0, - 12, - [ - "case", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 100 - ], - 0 - ], - 0.75, - 0 - ], - 16, - [ - "case", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 20 - ], - 0 - ], - 0.75, - 0 - ] - ], - "text-halo-blur": 0.5, - "text-halo-color": "rgba(238, 238, 238, .8)", - "text-halo-width": 2 - }, - "filter": [ - "all", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 20 - ], - 0 - ], - [ - "!=", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 100 - ], - 0 - ], - [ - "match", - ["get","class"], - ["land"], - true, - false - ] - ] - }, - { - "id": "label_contour_line_100_grey", - "type": "symbol", - "metadata": { - "sotlas-map-option": "contours" - }, - "source": "swissmaptiles", - "source-layer": "contour_line", - "minzoom": 14.0, - "layout": { - "text-font": ["Frutiger Neue Italic"], - "text-size": [ - "interpolate", - ["exponential",2], - ["zoom"], - 14, - 10.5, - 16, - 14 - ], - "text-field": "{ele} ", - "visibility": "visible", - "text-justify": "center", - "text-padding": [ - "interpolate", - ["linear"], - ["zoom"], - 14, - 0, - 15, - 12, - 16, - 80 - ], - "symbol-spacing": { - "stops": [ - [14,250], - [16,450] - ] - }, - "symbol-z-order": "auto", - "text-max-angle": 35, - "text-transform": "none", - "symbol-placement": "line", - "text-keep-upright": true, - "symbol-avoid-edges": true, - "text-allow-overlap": false, - "text-letter-spacing": 0.1, - "text-pitch-alignment": "map", - "text-ignore-placement": false, - "text-rotation-alignment": "map" - }, - "paint": { - "text-color": "rgba(64,64,64, 1)", - "text-opacity": [ - "step", - ["zoom"], - 0, - 12, - [ - "case", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 100 - ], - 0 - ], - 0.75, - 0 - ], - 16, - [ - "case", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 20 - ], - 0 - ], - 0.75, - 0 - ] - ], - "text-halo-blur": 0.5, - "text-halo-color": "rgba(238, 238, 238, 0.8)", - "text-halo-width": 2 - }, - "filter": [ - "all", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 100 - ], - 0 - ], - [ - "match", - ["get","class"], - ["scree"], - true, - false - ] - ] - }, - { - "id": "label_contour_line_100_blue", - "type": "symbol", - "metadata": { - "sotlas-map-option": "contours" - }, - "source": "swissmaptiles", - "source-layer": "contour_line", - "minzoom": 14.0, - "layout": { - "text-font": ["Frutiger Neue Italic"], - "text-size": [ - "interpolate", - ["exponential",2], - ["zoom"], - 14, - 10.5, - 16, - 14 - ], - "text-field": "{ele} ", - "visibility": "visible", - "text-justify": "center", - "text-padding": [ - "interpolate", - ["linear"], - ["zoom"], - 14, - 0, - 15, - 12, - 16, - 80 - ], - "symbol-spacing": { - "stops": [ - [14,250], - [16,450] - ] - }, - "symbol-z-order": "auto", - "text-max-angle": 35, - "text-transform": "none", - "symbol-placement": "line", - "text-keep-upright": true, - "symbol-avoid-edges": true, - "text-allow-overlap": false, - "text-letter-spacing": 0.1, - "text-pitch-alignment": "map", - "text-ignore-placement": false, - "text-rotation-alignment": "map" - }, - "paint": { - "text-color": "rgba(0,136,208, 1)", - "text-opacity": [ - "step", - ["zoom"], - 0, - 12, - [ - "case", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 100 - ], - 0 - ], - 0.75, - 0 - ], - 16, - [ - "case", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 20 - ], - 0 - ], - 0.75, - 0 - ] - ], - "text-halo-blur": 0.5, - "text-halo-color": "rgba(238, 238, 238, 0.8)", - "text-halo-width": 2 - }, - "filter": [ - "all", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 100 - ], - 0 - ], - [ - "match", - ["get","class"], - ["ice","water"], - true, - false - ] - ] - }, - { - "id": "label_contour_line_100_brown", - "type": "symbol", - "metadata": { - "sotlas-map-option": "contours" - }, - "source": "swissmaptiles", - "source-layer": "contour_line", - "minzoom": 14.0, - "layout": { - "text-font": ["Frutiger Neue Italic"], - "text-size": [ - "interpolate", - ["exponential",2], - ["zoom"], - 14, - 10.5, - 16, - 14 - ], - "text-field": "{ele} ", - "visibility": "visible", - "text-justify": "center", - "text-padding": [ - "interpolate", - ["linear"], - ["zoom"], - 14, - 0, - 15, - 12, - 16, - 80 - ], - "symbol-spacing": { - "stops": [ - [14,250], - [16,450] - ] - }, - "symbol-z-order": "auto", - "text-max-angle": 35, - "text-transform": "none", - "symbol-placement": "line", - "text-keep-upright": true, - "symbol-avoid-edges": true, - "text-allow-overlap": false, - "text-letter-spacing": 0.1, - "text-pitch-alignment": "map", - "text-ignore-placement": false, - "text-rotation-alignment": "map" - }, - "paint": { - "text-color": "rgba(185,132,58, 1)", - "text-opacity": [ - "step", - ["zoom"], - 0, - 12, - [ - "case", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 100 - ], - 0 - ], - 0.75, - 0 - ], - 16, - [ - "case", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 20 - ], - 0 - ], - 0.75, - 0 - ] - ], - "text-halo-blur": 0.5, - "text-halo-color": "rgba(238, 238, 238, 0.8)", - "text-halo-width": 2 - }, - "filter": [ - "all", - [ - "==", - [ - "%", - [ - "to-number", - ["get","ele"] - ], - 100 - ], - 0 - ], - [ - "match", - ["get","class"], - ["land"], - true, - false - ] - ] - }, - { - "id": "water_outline", + "id": "park_band", "type": "line", - "source": "swissmaptiles", - "source-layer": "water", + "source": "base_v1.0.0", + "source-layer": "park", + "minzoom": 8.0, "layout": { + "line-cap": "butt", + "line-join": "miter", "visibility": "visible" }, "paint": { - "line-blur": 0.5, - "line-color": "rgba(133, 189, 224, 1)", - "line-width": 0.5, + "line-color": "hsl(97, 44%, 49%)", + "line-width": [ + "interpolate", + ["exponential",1.2], + ["zoom"], + 9, + 3, + 18, + 24 + ], + "line-offset": { + "stops": [ + [7,1], + [18,8] + ] + }, "line-opacity": [ "interpolate", - ["exponential",1.5], + ["exponential",1.9], ["zoom"], - 0, + 7, 0, 8, - 1, - 14, - 0 + 0.3 ] }, "filter": [ - "all", - ["!=","class","ocean"] - ] - }, - { - "id": "pattern_landcover_vineyard", - "type": "fill", - "source": "swissmaptiles", - "source-layer": "landcover", - "minzoom": 13.0, - "paint": { - "fill-opacity": [ - "interpolate", - ["exponential",2], - ["zoom"], - 13, - 0, - 13.1, - 0.6, - 17, - 1 - ], - "fill-pattern": "vinyard_green" - }, - "filter": [ - "all", - ["==","subclass","vineyard"] - ] - }, - { - "id": "pattern_landcover_wetlands", - "type": "fill", - "source": "swissmaptiles", - "source-layer": "landcover", - "minzoom": 13.0, - "paint": { - "fill-color": "#000000", - "fill-opacity": [ - "interpolate", - ["exponential",2], - ["zoom"], - 13, - 0, - 13.2, - 0.4, - 17, - 1 - ], - "fill-pattern": "wetland_blue", - "fill-antialias": true - }, - "filter": [ - "all", - ["==","class","wetland"] - ] - }, - { - "id": "pattern_landcover_orchard", - "type": "fill", - "source": "swissmaptiles", - "source-layer": "landcover", - "minzoom": 13.0, - "paint": { - "fill-opacity": [ - "interpolate", - ["exponential",2], - ["zoom"], - 13, - 0, - 13.2, - 0.8, - 17, - 1 - ], - "fill-pattern": "orchard_green" - }, - "filter": [ - "all", - ["==","subclass","orchard"] + "match", + ["get","name"], + ["Val Mustair - Parc Naziunal"], + false, + true ] }, { "id": "park", "type": "line", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "park", - "minzoom": 7.0, + "minzoom": 8.0, + "layout": { + "visibility": "visible" + }, "paint": { - "line-color": "rgba(171, 197, 159, 1)", + "line-blur": 0.4, + "line-color": "hsl(97, 44%, 49%)", "line-width": [ "interpolate", - ["exponential",1.5], + ["exponential",1.2], ["zoom"], 9, - 1.5, - 15, - 8, + 1, 18, - 12 + 4 ], "line-opacity": [ "interpolate", @@ -2056,41 +1820,43 @@ 7, 0, 8, - 1, - 13, - 1, - 14, - 0.6 + 1 ] }, "filter": [ - "all", - ["in","class","national_park"] + "match", + ["get","name"], + ["Val Mustair - Parc Naziunal"], + false, + true ] }, { - "id": "boundary_disputed", + "id": "boundary_dashed_band", "type": "line", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "boundary", "minzoom": 0.0, "layout": { - "line-cap": "square", + "line-cap": "butt", "line-join": "miter", "visibility": "visible" }, "paint": { - "line-blur": 1, - "line-color": { - "stops": [ - [6,"hsl(300, 55%, 80%)"], - [9,"hsl(315, 40%, 85%)"] - ] - }, - "line-width": [ + "line-blur": 0.25, + "line-color": [ "interpolate", ["linear"], ["zoom"], + 8, + "rgba(237, 196, 219, 1)", + 14, + "rgba(234, 71, 148, 1)" + ], + "line-width": [ + "interpolate", + ["exponential",1.09], + ["zoom"], 2, [ "match", @@ -2099,70 +1865,146 @@ 1, 0 ], - 3, + 6, [ "match", ["get","admin_level"], 2, - 2, - 1 + 1.5, + 0 ], - 7, + 8, [ "match", ["get","admin_level"], 2, + 4.5, + 0 + ], + 9, + [ + "match", + ["get","admin_level"], + 2, + 6, + 2 + ], + 12, + [ + "match", + ["get","admin_level"], + 2, + 10, 4, - 1.5 + 5, + 2 ], 18, [ "match", ["get","admin_level"], 2, + 24, + 4, 16, - 10 + 6 + ], + 20, + [ + "match", + ["get","admin_level"], + 2, + 40, + 4, + 32, + 12 ] ], - "line-opacity": { + "line-offset": 0, + "line-opacity": [ + "interpolate", + ["exponential",0.8], + ["zoom"], + 8, + 1, + 12, + 0.4, + 14, + 0.25 + ], + "line-dasharray": { "stops": [ - [13,1], - [14,0.7] + [ + 14, + [3,1] + ], + [ + 15, + [6,2] + ], + [ + 16, + [9,3] + ] ] - }, - "line-dasharray": [1.5,2.5] + } }, "filter": [ "all", - ["in","admin_level",2,4], - ["!=","maritime",1], - ["==","disputed",1], - ["==","$type","LineString"] + [ + "match", + ["get","admin_level"], + [2,4], + [ + "match", + ["get","maritime"], + 0, + [ + "match", + ["get","disputed"], + 1, + true, + false + ], + false + ], + [6,8], + true, + false + ], + [ + "==", + ["geometry-type"], + "LineString" + ] ] }, { - "id": "boundary", + "id": "boundary_band", "type": "line", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "boundary", "minzoom": 0.0, "layout": { - "line-cap": ["literal","round"], - "line-join": ["literal","miter"], + "line-cap": "butt", + "line-join": "miter", "visibility": "visible" }, "paint": { - "line-blur": 1, - "line-color": { - "stops": [ - [6,"hsl(300, 55%, 80%)"], - [9,"hsl(315, 40%, 85%)"] - ] - }, - "line-width": [ + "line-blur": 0.25, + "line-color": [ "interpolate", ["linear"], ["zoom"], + 8, + "rgba(237, 196, 219, 1)", + 14, + "rgba(254, 91, 168, 1)" + ], + "line-width": [ + "interpolate", + ["exponential",1.09], + ["zoom"], 2, [ "match", @@ -2171,37 +2013,79 @@ 1, 0 ], - 3, + 6, [ "match", ["get","admin_level"], 2, - 2, - 1 + 1.5, + 0 ], - 7, + 8, [ "match", ["get","admin_level"], 2, - 3, - 1 + 4.5, + 0 + ], + 9, + [ + "match", + ["get","admin_level"], + 2, + 6, + 2 + ], + 12, + [ + "match", + ["get","admin_level"], + 2, + 10, + 4, + 5, + 2 ], 18, [ "match", ["get","admin_level"], 2, + 24, + 4, 16, - 10 + 6 + ], + 20, + [ + "match", + ["get","admin_level"], + 2, + 40, + 4, + 32, + 12 ] ], - "line-opacity": { - "stops": [ - [13,1], - [14,0.8] - ] - } + "line-offset": 0, + "line-opacity": [ + "interpolate", + ["exponential",0.8], + ["zoom"], + 8, + 1, + 12, + [ + "match", + ["get","admin_level"], + 2, + 0.4, + 0.3 + ], + 14, + 0.2 + ] }, "filter": [ "all", @@ -2212,42 +2096,64 @@ ] }, { - "id": "summits_az", - "type": "fill", - "metadata": { - "sotlas-map-option": "az" - }, - "source": "az", - "source-layer": "az", - "layout": {"visibility": "none"}, - "minzoom": 12, - "paint": { - "fill-antialias": false, - "fill-color": "rgba(50, 255, 0, 0.4)", - "fill-opacity": {"stops": [[12, 0], [12.5, 0.5]]} - } - }, - { - "id": "summits_az_border", + "id": "boundary", "type": "line", - "metadata": { - "sotlas-map-option": "az" + "source": "base_v1.0.0", + "source-layer": "boundary", + "minzoom": 0.0, + "layout": { + "line-cap": ["literal","round"], + "line-join": ["literal","miter"], + "visibility": "visible" }, - "source": "az", - "source-layer": "az", - "layout": {"visibility": "none"}, - "minzoom": 12, "paint": { - "line-color": "rgba(50, 150, 0, 1)", - "line-opacity": {"stops": [[12, 0], [12.5, 0.5]]}, - "line-width": {"stops": [[12, 1], [16, 2]]}, - "line-dasharray": [1,1] - } + "line-blur": 0.4, + "line-color": "rgba(195, 85, 145, 1)", + "line-width": [ + "interpolate", + ["exponential",1.6], + ["zoom"], + 6, + [ + "match", + ["get","admin_level"], + 2, + 0.5, + 0 + ], + 11, + [ + "match", + ["get","admin_level"], + 2, + 2, + 0 + ], + 12, + [ + "match", + ["get","admin_level"], + 2, + 2, + 1 + ], + 18, + 4 + ], + "line-opacity": 0.6 + }, + "filter": [ + "all", + ["in","admin_level",2,4], + ["!=","maritime",1], + ["!=","disputed",1], + ["==","$type","LineString"] + ] }, { "id": "tunnel_public_transport", "type": "line", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 8.0, "layout": { @@ -2256,64 +2162,17 @@ "visibility": "visible" }, "paint": { - "line-blur": [ - "interpolate", - ["linear"], - ["zoom"], - 8, - [ - "match", - ["get","class"], - ["rail"], - [ - "match", - ["get","subclass"], - ["rail","narrow_gauge","rack_rail"], - [ - "match", - ["get","service"], - ["yard","siding"], - 2.5, - 0.6 - ], - 0.6 - ], - 0.6 - ], - 14, - [ - "match", - ["get","class"], - ["rail"], - [ - "match", - ["get","subclass"], - ["rail","narrow_gauge","rack_rail"], - [ - "match", - ["get","service"], - ["yard","siding"], - 2.5, - 0.6 - ], - 0.6 - ], - 0.6 - ], - 18, - 0.4 - ], - "line-color": { - "stops": [ - [7,"rgba(255, 50, 50, 1)"], - [15,"rgba(255, 80, 80, 1)"] - ] - }, + "line-blur": 0.4, + "line-color": "hsl(0,80%,60%)", "line-width": [ "interpolate", ["linear"], ["zoom"], 8, + 0.5, + 10, + 1.2, + 12, [ "match", ["get","class"], @@ -2326,18 +2185,18 @@ "match", ["get","service"], ["yard","siding"], - 0.2, - 0.75 + 0.25, + 1 ], - 0.2 + 1 ], - 0.2 + 1 ], 14, [ "match", ["get","class"], - ["rail"], + ["rail","rail_construction"], [ "match", ["get","subclass"], @@ -2346,20 +2205,18 @@ "match", ["get","service"], ["yard","siding"], - 0.1, - 1.25 + 0.25, + 1.5 ], - 1 + 1.5 ], - ["cable_car"], - 1, - 0.75 + 1.5 ], 18, [ "match", ["get","class"], - ["rail"], + ["rail","rail_construction"], [ "match", ["get","subclass"], @@ -2371,10 +2228,8 @@ 1, 2 ], - 2 + 1.5 ], - ["cable_car"], - 2, 1.5 ] ], @@ -2384,189 +2239,146 @@ ["zoom"], 8, 0, - 9, + 8.5, [ "match", ["get","class"], ["rail"], - 0.8, + 1, 0 ], 13, [ "match", ["get","subclass"], - ["rail","subway","funicular","rack_rail","narrow_gauge"], - 0.8, + ["rail","subway","funicular","narrow_gauge","rack_rail"], + [ + "match", + ["get","is_route"], + 99, + 1, + 0 + ], 0 ], 14, [ "match", - ["get","subclass"], - ["rail","narrow_gauge","funicular","rack_rail","subway"], + ["get","class"], + ["rail_construction","transit_construction"], + 0.8, [ "match", - ["get","service"], - ["yard","siding"], - 0, - 0.8 - ], - 0 + ["get","subclass"], + ["rail","narrow_gauge","funicular","subway","rack_rail"], + [ + "match", + ["get","service"], + ["yard","siding"], + 0, + 1 + ], + 0 + ] ], 14.5, - 0.8 - ], - "line-dasharray": { - "stops": [ - [ - 13, - [4,2.5] - ], - [ - 14, - [6,3.75] - ], - [ - 15, - [10,6.25] - ], - [ - 16, - [14,8.75] - ] + [ + "match", + ["get","class"], + ["rail_construction","transit_construction"], + 0.8, + 1 ] - } + ], + "line-dasharray": [ + "step", + ["zoom"], + [ + "literal", + [3,1.875] + ], + 14, + [ + "literal", + [4,2.5] + ], + 15, + [ + "literal", + [5,3.125] + ], + 16, + [ + "literal", + [6,3.75] + ] + ] }, "filter": [ "all", - ["==","brunnel","tunnel"], - ["in","class","rail","transit","cable_car","gondola"], - ["==","$type","LineString"] + [ + "==", + ["get","brunnel"], + "tunnel" + ], + [ + "in", + ["get","class"], + [ + "literal", + ["cable_car","gondola","rail","rail_construction","transit","transit_construction"] + ] + ], + [ + "==", + ["geometry-type"], + "LineString" + ] ] }, { "id": "tunnel_road", "type": "line", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "transportation", - "minzoom": 7.0, + "minzoom": 5.0, "layout": { "line-cap": "butt", "line-join": "miter", "visibility": "visible" }, "paint": { - "line-blur": [ - "interpolate", - ["linear"], - ["zoom"], - 7, - ["literal",2], - 8, - ["literal",1], - 9, - [ - "match", - ["get","class"], - ["motorway","trunk","primary"], - 0.4, - 3 - ], - 10, - [ - "match", - ["get","class"], - ["motorway","trunk","primary","secondary"], - 0.4, - 3 - ], - 11, - [ - "match", - ["get","class"], - ["motorway","trunk","primary","secondary"], - 0.4, - 3 - ], - 12, - [ - "match", - ["get","class"], - ["motorway","trunk","primary","secondary","tertiary"], - 0.4, - 3 - ], - 13, - [ - "match", - ["get","class"], - ["motorway","trunk","primary","secondary","tertiary"], - 0.4, - ["minor"], - 1, - 3 - ], - 15, - 0.4 - ], - "line-color": { - "stops": [ - [6,"rgba(170, 170, 170, 1)"], - [11,"rgba(130, 130, 130, 1)"] - ] - }, + "line-blur": 0.4, + "line-color": "rgba(115, 115, 115, 1)", "line-width": [ "interpolate", ["linear"], ["zoom"], - 8, + 7, 1, - 10, - [ - "match", - ["get","class"], - ["motorway","trunk"], - 1.2, - ["primary","secondary","tertiary","minor"], - 1, - 0 - ], - 11, - [ - "match", - ["get","class"], - ["motorway","trunk"], - 1.3, - ["primary","secondary","tertiary","minor"], - 1, - 0 - ], 13, [ "match", ["get","class"], - ["motorway","trunk"], + ["motorway","motorway_construction","trunk","trunk_construction"], 1.5, - ["primary","secondary","tertiary","minor"], - 1, - 0 + 1 ], 14, [ "match", ["get","class"], - ["motorway","trunk"], + ["motorway","motorway_construction","trunk","trunk_construction"], 2, ["primary","secondary","tertiary","minor"], 1.5, - 0 + 1 ], 15, [ "match", ["get","class"], - ["motorway","trunk"], + ["motorway","motorway_construction","trunk","trunk_construction"], 3, 2 ], @@ -2574,7 +2386,7 @@ [ "match", ["get","class"], - ["motorway","trunk"], + ["motorway","motorway_construction","trunk","trunk_construction"], 5, 2.5 ] @@ -2583,6 +2395,22 @@ "line-opacity": [ "step", ["zoom"], + [ + "match", + ["get","oneway"], + 2, + 0, + 0.5 + ], + 7, + [ + "match", + ["get","oneway"], + 2, + 0, + 0.6 + ], + 8, [ "match", ["get","oneway"], @@ -2593,38 +2421,68 @@ 12, 1 ], - "line-dasharray": { - "stops": [ - [ - 13, - [3,1.875] - ], - [ - 14, - [4,2.5] - ], - [ - 15, - [5,3.125] - ], - [ - 16, - [6,3.75] - ] + "line-dasharray": [ + "step", + ["zoom"], + [ + "literal", + [3,1.875] + ], + 14, + [ + "literal", + [4,2.5] + ], + 15, + [ + "literal", + [5,3.125] + ], + 16, + [ + "literal", + [6,3.75] ] - } + ] }, "filter": [ "all", - ["==","brunnel","tunnel"], - ["!in","class","rail","ferry","transit","cable_car","gondola","path"], - ["==","$type","LineString"] + [ + "==", + ["get","brunnel"], + "tunnel" + ], + [ + "match", + ["get","class"], + [ + "cable_car", + "ferry", + "gondola", + "path", + "path_construction", + "footway", + "footway_construction", + "rail", + "rail_construction", + "transit", + "transit_construction", + "mask_terrain" + ], + false, + true + ], + [ + "==", + ["geometry-type"], + "LineString" + ] ] }, { "id": "tunnel_road_path_footway", "type": "line", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 6.0, "layout": { @@ -2633,325 +2491,365 @@ "visibility": "visible" }, "paint": { - "line-blur": 0.4, - "line-color": "rgba(140, 140, 140, 1)", - "line-width": [ - "interpolate", - ["exponential",1.5], - ["zoom"], - 15, - 1.1, - 20, - 3 - ], - "line-offset": 0, - "line-opacity": { - "stops": [ - [14,0], - [15,1] - ] - }, - "line-dasharray": { - "stops": [ - [ - 14, - [1,0.6] - ], - [ - 15, - [1.5,0.9] - ], - [ - 16, - [2,1.2] - ], - [ - 17, - [3,1.8] - ], - [ - 18, - [6,3.6] - ] - ] - } - }, - "filter": [ - "all", - ["==","brunnel","tunnel"], - ["in","class","path","footway"], - ["==","$type","LineString"] - ] - }, - { - "id": "construct_line", - "type": "line", - "source": "swissmaptiles", - "source-layer": "construct", - "minzoom": 14.0, - "paint": { - "line-blur": 0.4, - "line-color": "hsl(220, 10%, 67%)", - "line-width": { - "stops": [ - [15,1], - [18,4] - ] - }, - "line-opacity": { - "stops": [ - [14,0], - [15,1] - ] - } - }, - "filter": [ - "all", - ["==","class","lock"] - ] - }, - { - "id": "construct", - "type": "fill", - "source": "swissmaptiles", - "source-layer": "construct", - "minzoom": 13.0, - "paint": { - "fill-color": [ - "interpolate", - ["exponential",1], - ["zoom"], - 13, - [ - "match", - ["get","class"], - "weir", - "hsl(220, 10%, 82%)", - "hsl(220, 10%, 86%)" - ], - 17, - [ - "match", - ["get","class"], - "weir", - "hsl(220, 10%, 75%)", - "dam", - "hsl(220, 10%, 82%)", - "hsl(220, 10%, 86%)" - ] - ], - "fill-opacity": [ - "interpolate", - ["exponential",1], - ["zoom"], - 12, - 0, - 13, - [ - "match", - ["get","class"], - "dam", - 1, - 0 - ], - 14, - [ - "match", - ["get","class"], - "dam", - 1, - 0 - ], - 15, - 1 - ] - }, - "filter": [ - "all", - ["!=","class","lock"] - ] - }, - { - "id": "aeroway_polygon_casing", - "type": "line", - "source": "swissmaptiles", - "source-layer": "aeroway", - "minzoom": 11.0, - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-blur": 0.4, - "line-color": "rgb(190, 190, 190)", - "line-width": { - "base": 1.5, - "stops": [ - [13,3], - [15,4], - [17,5] - ] - }, - "line-opacity": 1 - }, - "filter": [ - "all", - ["in","class","runway","taxiway","apron","runway_grass"], - ["==","$type","Polygon"] - ] - }, - { - "id": "aeroway_line_casing", - "type": "line", - "source": "swissmaptiles", - "source-layer": "aeroway", - "minzoom": 11.0, - "layout": { - "line-cap": "butt", - "line-join": "miter", - "visibility": "visible" - }, - "paint": { - "line-blur": 0.4, - "line-color": "rgba(110, 110, 110, 1)", + "line-blur": 0.25, + "line-color": "rgba(80, 80, 80, 1)", "line-width": [ "interpolate", ["exponential",2], ["zoom"], - 11.5, - 0, 12, - 2.3, + 1, + 13, + 1.25, 15, - 11.25, + 1.75, + 16, + 2, 20, - 153 + 5 + ], + "line-offset": 0, + "line-opacity": [ + "interpolate", + ["linear"], + ["zoom"], + 10, + 0, + 11, + [ + "match", + ["get","class"], + ["path","footway"], + [ + "match", + ["get","is_route"], + 11, + 1, + 0 + ], + 0 + ], + 12, + [ + "match", + ["get","class"], + ["path","footway"], + 1, + 0.5 + ] + ], + "line-dasharray": [ + "step", + ["zoom"], + [ + "literal", + [1,0.6] + ], + 15, + [ + "literal", + [1.5,0.9] + ], + 16, + [ + "literal", + [2,1.2] + ], + 17, + [ + "literal", + [3,1.8] + ], + 18, + [ + "literal", + [6,3.6] + ] + ] + }, + "filter": [ + "all", + ["==","brunnel","tunnel"], + ["in","class","path","path_construction","footway","footway_construction"], + ["==","$type","LineString"] + ] + }, + { + "id": "construct_dam", + "type": "fill", + "source": "base_v1.0.0", + "source-layer": "construct", + "minzoom": 12.0, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "rgba(212, 212, 210, 1)", + "fill-opacity": 1, + "fill-antialias": true + }, + "filter": [ + "all", + ["==","class","dam"] + ] + }, + { + "id": "construct_casing", + "type": "line", + "source": "base_v1.0.0", + "source-layer": "construct", + "minzoom": 12.0, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-blur": 0.25, + "line-color": "rgba(163, 163, 161, 1)", + "line-width": [ + "interpolate", + ["linear"], + ["zoom"], + 12, + 0.25, + 14, + 0.5, + 16, + 0.5, + 20, + 2 ], "line-opacity": 1 }, "filter": [ "all", - ["==","$type","LineString"] + ["in","class","lock","dam"] ] }, { - "id": "road_via_ferrata_trail", + "id": "road_via_ferrata", "type": "line", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "transportation", - "minzoom": 14.0, + "minzoom": 13.0, "layout": { "line-cap": "butt", "line-join": "bevel", "visibility": "visible" }, "paint": { - "line-blur": { - "stops": [ - [15,0.1], - [20,0.4] - ] - }, - "line-color": { - "stops": [ - [15,"rgba(20, 20, 20, 1)"], - [18,"rgba(90, 90, 90, 1)"] - ] - }, + "line-blur": 0.25, + "line-color": "rgba(80, 80, 80, 1)", "line-width": [ "interpolate", - ["exponential",1.5], + ["linear"], ["zoom"], - 15, - 1.1, - 20, - 3 + 14, + 0.5, + 17, + 1.5, + 22, + 5 ], - "line-opacity": { - "stops": [ - [14,0], - [15,1] - ] - }, - "line-dasharray": { - "stops": [ - [ - 15, - [0.75,2] - ], - [ - 16, - [1.125,3] - ], - [ - 17, - [1.5,4] - ], - [ - 18, - [1.875,5] - ] - ] - } + "line-opacity": 1 }, "metadata": { "maputnik:comment": "cannot be in the same layer as road_casings because dasharray doesn't support expressions" }, "filter": [ "all", - ["in","class","via_ferrata","trail"], + ["in","class","via_ferrata","via_ferrata_construction"], ["!in","brunnel","bridge","tunnel"], ["==","$type","LineString"] ] }, { - "id": "road_path_footway", + "id": "road_small_dashes", "type": "line", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "transportation", - "minzoom": 11.0, + "minzoom": 13.0, "layout": { "line-cap": "butt", "line-join": "bevel", "visibility": "visible" }, "paint": { - "line-blur": [ + "line-blur": 0.25, + "line-color": "rgba(80, 80, 80, 1)", + "line-width": [ "interpolate", ["linear"], ["zoom"], - 15, - 0.1, - 20, - 0.4 + 14, + 2, + 17, + 6, + 22, + 20 ], - "line-color": "rgba(115, 115, 115, 1)", + "line-opacity": 1, + "line-dasharray": [ + "literal", + [0.25,0.85] + ] + }, + "filter": [ + "any", + ["in","class","via_ferrata","via_ferrata_construction"], + ["in","subclass","steps"] + ] + }, + { + "id": "road_trail", + "type": "line", + "source": "base_v1.0.0", + "source-layer": "transportation", + "minzoom": 10.0, + "layout": { + "line-cap": "butt", + "line-join": "bevel", + "visibility": "visible" + }, + "paint": { + "line-blur": 0.25, + "line-color": "rgba(70, 70, 70, 1)", "line-width": [ "interpolate", - ["exponential",1.5], + ["exponential",2], ["zoom"], + 11, + 0.75, + 12, + 1, 13, - 0.5, + 1.5, 15, - 1.1, + 1.5, + 16, + 2.25, 20, - 3 + 5 ], "line-opacity": [ "interpolate", ["linear"], ["zoom"], + 10, + 0, + 11, + [ + "match", + ["get","is_route"], + 11, + 1, + 0 + ], + 12, + [ + "match", + ["get","is_route"], + 11, + 1, + [ + "match", + ["get","sac_scale"], + ["hiking","mountain_hiking","alpine_hiking"], + 1, + 0 + ] + ], + 13, + 1 + ], + "line-dasharray": [1,1.5] + }, + "metadata": { + "maputnik:comment": "cannot be in the same layer as road_casings because dasharray doesn't support expressions" + }, + "filter": [ + "any", + ["==","class","trail"] + ] + }, + { + "id": "road_footway", + "type": "line", + "source": "base_v1.0.0", + "source-layer": "transportation", + "minzoom": 10.0, + "layout": { + "line-cap": "butt", + "line-join": "bevel", + "visibility": "visible" + }, + "paint": { + "line-blur": 0.25, + "line-color": "rgba(80, 80, 80, 1)", + "line-width": [ + "interpolate", + ["exponential",2], + ["zoom"], + 11, + 0.75, + 12, + 0.75, + 13, + 1, + 15, + 1.25, + 16, + 2, + 20, + 5 + ], + "line-opacity": [ + "interpolate", + ["linear"], + ["zoom"], + 10, + 0, + 11, + [ + "match", + ["get","class"], + ["footway"], + [ + "match", + ["get","is_route"], + 11, + 1, + 0 + ], + 0 + ], 12, [ "match", ["get","class"], - ["path","track","footway"], - 0.5, - 1 + ["footway"], + [ + "match", + ["get","is_route"], + 11, + 1, + [ + "match", + ["get","sac_scale"], + ["hiking","mountain_hiking","alpine_hiking"], + 1, + 0 + ] + ], + 0 ], - 15, - 1 + 13, + [ + "match", + ["get","class"], + ["footway"], + 1, + 0.5 + ] ], "line-dasharray": [ "step", @@ -2960,20 +2858,25 @@ "literal", [6,2] ], + 15, + [ + "literal", + [7,2] + ], 16, [ "literal", - [9,3] + [8,2] ], 17, [ "literal", - [12,4] + [13,3] ], 18, [ "literal", - [15,5] + [18,4] ] ] }, @@ -2985,10 +2888,17 @@ [ "match", ["get","class"], - ["path","footway"], + ["footway","footway_construction"], true, false ], + [ + "match", + ["get","subclass"], + ["steps"], + false, + true + ], [ "match", ["get","brunnel"], @@ -3010,59 +2920,329 @@ ] }, { - "id": "road_path_pedestrian_sac", + "id": "road_footway_sac", "type": "line", - "metadata": { - "sotlas-map-option": "difficulty" - }, - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "transportation", - "minzoom": 12, - "maxzoom": 24, - "filter": [ - "all", - ["==", "$type", "LineString"], - ["has", "sac_scale"] - ], - "layout": {"visibility": "visible", "line-join": "round"}, + "minzoom": 10.0, + "layout": { + "line-cap": "butt", + "line-join": "bevel", + "visibility": "visible" + }, "paint": { + "line-blur": 0.25, "line-color": [ "match", - ["get", "sac_scale"], + ["get","sac_scale"], "hiking", - "rgba(255,220,0,0.9)", + "rgba(255, 210, 0, 1)", "mountain_hiking", - "rgba(255,0,0,0.5)", - "demanding_mountain_hiking", - "rgba(255,0,0,0.5)", + "rgba(255, 80, 80, 1)", "alpine_hiking", - "rgba(0,0,255,0.5)", - "demanding_alpine_hiking", - "rgba(0,0,255,0.5)", - "difficult_alpine_hiking", - "rgba(0,0,255,0.5)", - "rgba(0,0,0,0)" + "rgba(80, 80, 255, 1)", + "rgba(80, 80, 80, 1)" ], - "line-offset": 0, - "line-blur": 0, - "line-gap-width": 0, - "line-opacity": {"stops": [[12, 0], [12.1, 1]]}, - "line-width": {"base": 1.2, "stops": [[12, 0.5], [14, 2], [20, 12]]} - } - }, - { - "id": "hiking_trails_raster", - "type": "raster", - "maxzoom": 14, + "line-width": [ + "interpolate", + ["exponential",2], + ["zoom"], + 11, + 1, + 12, + 1, + 13, + 1.5, + 15, + 3, + 16, + 4, + 20, + 10 + ], + "line-opacity": 0.8 + }, "metadata": { "sotlas-map-option": "difficulty" }, - "source": "hiking_trails_raster", - "layout": {"visibility": "none"}, + "filter": [ + "all", + [ + "has", + "sac_scale" + ], + [ + "==", + ["geometry-type"], + "LineString" + ] + ] + }, + { + "id": "road_path", + "type": "line", + "source": "base_v1.0.0", + "source-layer": "transportation", + "minzoom": 10.0, + "layout": { + "line-cap": "butt", + "line-join": "bevel", + "visibility": "visible" + }, "paint": { - "raster-opacity": 0.6, - "raster-resampling": "linear" - } + "line-blur": 0.25, + "line-color": "rgba(80, 80, 80, 1)", + "line-width": [ + "interpolate", + ["exponential",2], + ["zoom"], + 11, + 0.75, + 12, + 0.75, + 13, + 1, + 15, + 1.25, + 16, + 2, + 20, + 5 + ], + "line-opacity": [ + "interpolate", + ["linear"], + ["zoom"], + 10, + 0, + 11, + [ + "match", + ["get","class"], + ["path"], + [ + "match", + ["get","is_route"], + 11, + 1, + 0 + ], + 0 + ], + 12, + [ + "match", + ["get","class"], + ["path"], + [ + "match", + ["get","is_route"], + 11, + 1, + [ + "match", + ["get","sac_scale"], + ["hiking","mountain_hiking","alpine_hiking"], + 1, + 0 + ] + ], + 0 + ], + 13, + [ + "match", + ["get","class"], + ["path"], + 1, + 0.5 + ] + ], + "line-dasharray": [ + "step", + ["zoom"], + [ + "literal", + [16,2] + ], + 15, + [ + "literal", + [18,2] + ], + 16, + [ + "literal", + [20,2] + ], + 17, + [ + "literal", + [30,3] + ], + 18, + [ + "literal", + [40,4] + ] + ] + }, + "metadata": { + "maputnik:comment": "cannot be in the same layer as road_casings because dasharray doesn't support expressions" + }, + "filter": [ + "all", + [ + "match", + ["get","class"], + ["path","path_construction"], + true, + false + ], + [ + "match", + ["get","subclass"], + ["steps"], + false, + true + ], + [ + "match", + ["get","brunnel"], + ["bridge","tunnel"], + [ + "match", + ["get","subclass"], + "covered_bridge", + true, + false + ], + true + ], + [ + "==", + ["geometry-type"], + "LineString" + ] + ] + }, + { + "id": "road_track", + "type": "line", + "source": "base_v1.0.0", + "source-layer": "transportation", + "minzoom": 10.0, + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-blur": 0.25, + "line-color": "rgba(95, 95, 95, 1)", + "line-width": [ + "interpolate", + ["exponential",2], + ["zoom"], + 11, + 0.75, + 12, + 0.75, + 13, + 1, + 15, + 1.25, + 16, + 2, + 20, + 5 + ], + "line-offset": 0, + "line-opacity": [ + "interpolate", + ["linear"], + ["zoom"], + 10, + 0, + 11, + [ + "match", + ["get","class"], + ["track"], + [ + "match", + ["get","is_route"], + 11, + 1, + 0 + ], + 0 + ], + 12, + [ + "match", + ["get","class"], + ["track"], + [ + "match", + ["get","is_route"], + 11, + 1, + [ + "match", + ["get","sac_scale"], + ["hiking","mountain_hiking","alpine_hiking"], + 1, + 0 + ] + ], + 0 + ], + 13, + [ + "match", + ["get","class"], + ["track"], + 1, + 0.5 + ] + ] + }, + "filter": [ + "all", + [ + "match", + ["get","class"], + ["track","track_construction"], + true, + false + ], + [ + "match", + ["get","subclass"], + ["steps"], + false, + true + ], + [ + "match", + ["get","brunnel"], + ["bridge","tunnel"], + [ + "match", + ["get","subclass"], + "covered_bridge", + true, + false + ], + true + ], + [ + "==", + ["geometry-type"], + "LineString" + ] + ] }, { "id": "skiing_trails_raster", @@ -3091,94 +3271,403 @@ } }, { - "id": "building_ln", + "id": "landcover_pt", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "landcover_pt", + "minzoom": 14.0, + "layout": { + "icon-size": [ + "interpolate", + ["exponential",1.6], + ["zoom"], + 14, + 0.2, + 18, + 1 + ], + "text-font": [], + "icon-image": "dot_green", + "visibility": "visible", + "icon-allow-overlap": false, + "icon-pitch-alignment": "map", + "icon-ignore-placement": false, + "icon-rotation-alignment": "map" + }, + "paint": { + "icon-opacity": { + "stops": [ + [14,0.4], + [18,0.6] + ] + } + } + }, + { + "id": "aeroway_line_casing", "type": "line", - "source": "swissmaptiles", - "source-layer": "building_ln", - "minzoom": 13.0, + "source": "base_v1.0.0", + "source-layer": "aeroway", + "minzoom": 11.0, + "layout": { + "line-cap": "butt", + "line-join": "miter", + "visibility": "visible" + }, "paint": { "line-blur": 0.4, + "line-color": "rgba(80, 80, 80, 1)", + "line-width": [ + "interpolate", + ["exponential",2], + ["zoom"], + 11.5, + 0, + 12, + 2.5, + 15, + 11.5, + 20, + 154 + ], + "line-opacity": 1 + }, + "filter": [ + "all", + ["==","$type","LineString"] + ] + }, + { + "id": "road_construction_casing", + "type": "line", + "source": "base_v1.0.0", + "source-layer": "transportation", + "minzoom": 13.0, + "layout": { + "line-cap": "butt", + "line-join": "bevel", + "visibility": "visible" + }, + "paint": { "line-color": [ "match", - ["get","class"], - "weir", - "rgb(20, 136, 205)", - "rgb(130, 130, 130)" + ["get","is_route"], + [5,10], + "rgba(100, 80, 60, 1)", + [6,7,8], + "rgba(90, 90, 60, 1)", + [ + "match", + ["get","class"], + ["motorway","trunk","motorway_construction","trunk_construction"], + "rgba(95, 80, 65, 1)", + "track", + "rgba(95, 95, 95, 1)", + "rgba(80, 80, 80, 1)" + ] ], - "line-width": { + "line-width": [ + "interpolate", + ["exponential",2], + ["zoom"], + 13, + [ + "match", + ["get","class"], + "motorway_construction", + [ + "match", + ["get","ramp"], + 1, + 0.5, + 0.75 + ], + "trunk_construction", + 0.75, + 0.5 + ], + 15, + [ + "match", + ["get","class"], + "motorway_construction", + [ + "match", + ["get","ramp"], + 1, + 0.75, + 1 + ], + "trunk_construction", + 1, + 0.75 + ], + 16, + [ + "match", + ["get","class"], + "motorway_construction", + [ + "match", + ["get","ramp"], + 1, + 1, + 1.5 + ], + "trunk_construction", + 1.5, + 1 + ], + 20, + [ + "match", + ["get","class"], + "motorway_construction", + [ + "match", + ["get","ramp"], + 1, + 2, + 3 + ], + "trunk_construction", + 3, + 2 + ] + ], + "line-opacity": { "stops": [ - [13,0], - [16,2], - [18,3] + [14,0.4], + [15,1] ] }, - "line-opacity": [ + "line-dasharray": [ + "step", + ["zoom"], + [ + "literal", + [6,3] + ], + 14, + [ + "literal", + [12,6] + ], + 15, + [ + "literal", + [24,12] + ], + 16, + [ + "literal", + [48,24] + ] + ], + "line-gap-width": [ + "interpolate", + ["exponential",2], + ["zoom"], + 13, + [ + "match", + ["get","class"], + "motorway_construction", + [ + "match", + ["get","ramp"], + 1, + 0.5, + 1.5 + ], + "trunk_construction", + 1.5, + "primary_construction", + 3, + "secondary_construction", + 2.5, + "tertiary_construction", + 2, + "minor_construction", + 1.75, + "service_construction", + 1.25, + 0 + ], + 15, + [ + "match", + ["get","class"], + "motorway_construction", + [ + "match", + ["get","ramp"], + 1, + 5, + 7 + ], + "trunk_construction", + [ + "match", + ["get","oneway"], + [1,2], + 7, + 8 + ], + "primary_construction", + 6, + "secondary_construction", + 5, + "tertiary_construction", + 4, + "minor_construction", + 3, + "service_construction", + 2, + 0 + ], + 16, + [ + "match", + ["get","class"], + "motorway_construction", + [ + "match", + ["get","ramp"], + 1, + 10, + 11 + ], + "trunk_construction", + [ + "match", + ["get","oneway"], + [1,2], + 11, + 13 + ], + "primary_construction", + 11, + "secondary_construction", + 10, + "tertiary_construction", + 9, + "minor_construction", + 8, + "service_construction", + 7, + 0 + ], + 20, + [ + "match", + ["get","class"], + "motorway_construction", + [ + "match", + ["get","ramp"], + 1, + 110, + 120 + ], + "trunk_construction", + [ + "match", + ["get","oneway"], + [1,2], + 120, + 130 + ], + "primary_construction", + 120, + "secondary_construction", + 115, + "tertiary_construction", + 110, + "minor_construction", + 105, + "service_construction", + 95, + 0 + ] + ] + }, + "metadata": { + "maputnik:comment": "formula for gap width:\nroad width (road_casing) - \n(2 * casing_width)" + }, + "filter": [ + "all", + [ "match", ["get","class"], - "weir", - 0.2, - 1 + [ + "footway_construction", + "minor_construction", + "motorway_construction", + "path_construction", + "primary_construction", + "secondary_construction", + "service_construction", + "tertiary_construction", + "track_construction", + "trunk_construction" + ], + true, + false + ], + [ + "!=", + ["get","brunnel"], + "tunnel" ] - } + ] + }, + { + "id": "building_fill","layer",1], - ["!in","class","rail","ferry","path","track","footway","transit","cable_car","gondola"], - ["==","$type","LineString"], - ["!=","subclass","covered_bridge"] + [ + ">", + ["get","layer"], + 1 + ], + [ + "match", + ["get","class"], + [ + "aerialway_closed", + "aerialway_transportation", + "aerialway_goods", + "aerialway", + "goods_conveyor", + "drag_lift", + "cable_car", + "car_ferry", + "ferry", + "gondola", + "path", + "footway", + "trail", + "track", + "rail", + "transit", + "via_ferrata", + "motorway_construction", + "trunk_construction", + "primary_construction", + "secondary_construction", + "tertiary_construction", + "minor_construction", + "track_construction", + "path_construction", + "footway_construction", + "service_construction", + "via_ferrata_construction", + "rail_construction", + "transit_construction", + "mask_terrain" + ], + [ + "match", + ["get","subclass"], + "covered_bridge", + true, + false + ], + true + ], + [ + "==", + ["geometry-type"], + "LineString" + ] ] }, { "id": "bridge-l2_fill", "type": "line", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "transportation", - "minzoom": 7.0, + "minzoom": 4.0, "layout": { "line-cap": "butt", "line-join": "round", @@ -5658,326 +7715,542 @@ ] }, "line-color": [ - "interpolate", - ["exponential",1], - ["zoom"], - 9, + "match", + ["get","is_route"], + [5,10], + "hsl(16,91%,80%)", + [6,7,8], + "hsl(55,91%,80%)", [ "match", ["get","class"], - ["motorway","trunk"], - "rgb(255,230,160)", - ["rail","path","track","footway"], + ["motorway","trunk","motorway_construction","trunk_construction"], + "hsl(41,93%,73%)", + [ + "rail", + "rail_construction", + "path", + "path_construction", + "footway", + "footway_construction", + "track", + "track_construction", + "trail", + "trail_construction" + ], [ "match", ["get","subclass"], - "funicular", - "rgba(243,243,246,0)", - "rgb(243,243,246)" + "covered_bridge", + "rgb(255,255,255)", + "rgb(238,238,240)" ], - "rgb(255,255,255)", - "rgb(243,243,246)", - "rgb(255,255,255)" - ], - 15, - [ - "match", - ["get","class"], - ["motorway","trunk"], - "rgb(255, 224, 138)", - ["rail","path","track","footway"], - [ - "match", - ["get","subclass"], - "funicular", - "rgba(243,243,246,0)", - "rgb(243,243,246)" - ], - "rgb(255,255,255)" + "rgba(255,255,255,1)" ] ], "line-width": [ "interpolate", ["exponential",2], ["zoom"], - 7, - ["literal",0], - 8, + 4, + 0, + 5, [ "match", ["get","ramp"], 1, 0.5, - 2 + 0.75 ], - 10, + 9, [ "match", - ["get","class"], - ["motorway"], + ["get","is_route"], + [5,6,7,8,10,99], + [ + "match", + ["get","class"], + ["motorway"], + [ + "match", + ["get","ramp"], + 1, + 1.5, + 3 + ], + ["trunk"], + 3, + 2.5 + ], [ "match", ["get","ramp"], 1, 1.5, - 2.75 - ], - ["trunk"], - 2.75, + 0 + ] + ], + 10, + [ + "match", + ["get","is_route"], + [5,6,7,8,10,99], [ "match", - ["get","is_route"], - 11, - 0, - 2 + ["get","class"], + ["motorway"], + [ + "match", + ["get","ramp"], + 1, + 1.75, + 3.5 + ], + ["trunk"], + 3.5, + "primary", + 3.5, + "secondary", + 3, + "tertiary", + 2.5, + ["minor","service"], + 2, + 0 + ], + [ + "match", + ["get","ramp"], + 1, + 1.75, + 0 ] ], 11, [ "match", - ["get","class"], - ["motorway"], + ["get","is_route"], + [5,6,7,8,10,99], [ "match", - ["get","ramp"], - 1, - 1.5, - 2.75 + ["get","class"], + ["motorway"], + [ + "match", + ["get","ramp"], + 1, + 1.75, + 4 + ], + ["trunk"], + 4, + "primary", + 3.75, + "secondary", + 3.25, + "tertiary", + 2.75, + ["minor","service"], + 2.25, + 0 ], - ["trunk"], - 2.75, + [11], [ "match", - ["get","is_route"], - 11, - 0, - 2 - ] + ["get","class"], + ["motorway","trunk"], + [ + "match", + ["get","ramp"], + 1, + 1.75, + 4 + ], + "primary", + 2.25, + "secondary", + 2.25, + "tertiary", + 2.25, + ["minor","service"], + 2, + [ + "match", + ["get","ramp"], + 1, + 1.75, + 0 + ] + ], + 0 ], 12, [ "match", - ["get","class"], - ["motorway"], + ["get","is_route"], + [5,6,7,8,10,99], [ "match", - ["get","ramp"], - 1, - 1.5, - 3.75 - ], - ["trunk"], - [ - "match", - ["get","oneway"], - 1, - 3.75, - 3.75 - ], - ["primary"], - [ - "match", - ["get","is_route"], - [5,6,7,8,9,10,99], - 3.75, + ["get","class"], + ["motorway"], + [ + "match", + ["get","ramp"], + 1, + 1.75, + 4.5 + ], + ["trunk"], + 4.5, + "primary", + 4, + "secondary", + 3.5, + "tertiary", + 3, + ["minor","service"], + 2.5, 0 ], - ["secondary"], + [11], [ "match", - ["get","is_route"], - [5,6,7,8,9,10,99], - 3.25, - 0 - ], - ["tertiary"], - [ - "match", - ["get","is_route"], - [5,6,7,8,9,10,99], + ["get","class"], + ["motorway","trunk"], + [ + "match", + ["get","ramp"], + 1, + 1.75, + 4.5 + ], + "primary", + 2.75, + "secondary", + 2.5, + "tertiary", + 2.5, + ["minor","service"], 2.25, - 0 - ], - ["minor","path","track","footway"], - [ - "match", - ["get","is_route"], - [5,6,7,8,9,10,99], - 2, - 0 + [ + "match", + ["get","ramp"], + 1, + 1.75, + 0 + ] ], 0 ], 13, [ "match", - ["get","class"], - ["motorway"], + ["get","is_route"], + [5,6,7,8,10,99], [ "match", - ["get","ramp"], - 1, + ["get","class"], + ["motorway"], + [ + "match", + ["get","ramp"], + 1, + 2, + 4.5 + ], + ["trunk"], + 4.5, + "primary", + 4.5, + "secondary", + 4, + "tertiary", + 3.5, + ["minor","service"], + 3, + 2 + ], + [ + "match", + ["get","class"], + ["motorway","trunk"], + [ + "match", + ["get","ramp"], + 1, + 2, + 4.5 + ], + "primary", + 3, + "secondary", 2.75, - 4.25 - ], - ["trunk"], - [ - "match", - ["get","oneway"], - 1, - 4.25, - 4.25 - ], - ["primary"], - 4.25, - ["secondary"], - 3.75, - ["tertiary"], - 2.75, - ["minor"], - 1.75, - 0 + "tertiary", + 2.75, + ["minor","service"], + 2.5, + 2 + ] ], 15, [ "match", - ["get","class"], - ["motorway"], + ["get","subclass"], + "funicular", + 3, [ "match", - ["get","ramp"], - 1, - 5, - 6.5 - ], - ["trunk"], - [ - "match", - ["get","oneway"], - 1, + ["get","class"], + ["motorway","motorway_construction"], + [ + "match", + ["get","ramp"], + 1, + 5.5, + 7 + ], + ["trunk","trunk_construction"], + [ + "match", + ["get","oneway"], + 1, + 7, + 12 + ], + ["primary","primary_construction"], 6.5, - 7.5 - ], - ["primary"], - 7.5, - ["secondary"], - 6.5, - ["tertiary","rail"], - 5.5, - ["minor"], - 3.5, - ["transit","track","path"], - 2.5, - 2.5 + ["secondary","secondary_construction"], + 5.5, + ["tertiary","tertiary_construction"], + 4.5, + ["minor","minor_construction","service","service_construction"], + 3.5, + ["rail","rail_construction"], + 5, + [ + "track", + "track_construction", + "path", + "path_construction", + "footway", + "footway_construction", + "transit", + "transit_construction" + ], + 2.5, + 3 + ] ], 16, [ "match", - ["get","class"], - ["motorway"], + ["get","subclass"], + "funicular", + 6, [ "match", - ["get","ramp"], - 1, - 8.5, - 10.5 - ], - ["trunk"], - [ - "match", - ["get","oneway"], - 1, - 10.5, - 13.5 - ], - ["primary"], - 13.5, - ["secondary"], - 11.5, - ["tertiary","rail"], - 9.5, - ["minor"], - 7.5, - ["transit","track","path"], - 6.5, - 6.5 + ["get","class"], + ["motorway","motorway_construction"], + [ + "match", + ["get","ramp"], + 1, + 10, + 11 + ], + ["trunk","trunk_construction"], + [ + "match", + ["get","oneway"], + 1, + 11, + 15 + ], + ["primary","primary_construction"], + 10, + ["secondary","secondary_construction"], + 9, + ["tertiary","tertiary_construction"], + 8, + ["minor","minor_construction","service","service_construction"], + 7, + ["rail","rail_construction"], + 9.5, + [ + "track", + "track_construction", + "path", + "path_construction", + "footway", + "footway_construction", + "transit", + "transit_construction" + ], + 6.5, + 6 + ] ], 20, [ "match", - ["get","class"], - ["motorway","trunk","primary","rail"], - 117, - ["secondary"], - 112, - ["tertiary"], - 107, - ["minor"], - 97, - 92 + ["get","subclass"], + "funicular", + 20, + [ + "match", + ["get","class"], + ["motorway","motorway_construction"], + [ + "match", + ["get","ramp"], + 1, + 121, + 134 + ], + ["trunk","trunk_construction"], + [ + "match", + ["get","oneway"], + 1, + 134, + 144 + ], + ["primary","primary_construction"], + 126, + ["secondary","secondary_construction"], + 121, + ["tertiary","tertiary_construction"], + 116, + ["minor","minor_construction","service","service_construction"], + 111, + ["rail","rail_construction"], + 120, + [ + "track", + "track_construction", + "path", + "path_construction", + "footway", + "footway_construction", + "transit", + "transit_construction" + ], + 80, + 101 + ] ] ], - "line-opacity": 1 + "line-opacity": [ + "match", + ["get","class"], + [ + "motorway_construction", + "trunk_construction", + "primary_construction", + "secondary_construction", + "tertiary_construction", + "minor_construction", + "track_construction", + "path_construction", + "footway_construction", + "service_construction", + "via_ferrata_construction", + "rail_construction", + "transit_construction" + ], + 0.6, + 1 + ] }, "filter": [ "all", - [">","layer",1], - ["!in","class","ferry","cable_car","gondola"], - ["==","$type","LineString"], - ["!=","subclass","covered_bridge"] + [ + ">", + ["get","layer"], + 1 + ], + [ + "match", + ["get","class"], + [ + "aerialway_closed", + "aerialway_transportation", + "aerialway_goods", + "aerialway", + "goods_conveyor", + "drag_lift", + "cable_car", + "car_ferry", + "chair_lift", + "ferry", + "gondola", + "via_ferrata", + "mask_terrain", + "transit", + "transit_construction" + ], + false, + true + ], + [ + "==", + ["geometry-type"], + "LineString" + ] ] }, { "id": "bridge-l2_road_track", "type": "line", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "transportation", - "minzoom": 14.0, + "minzoom": 11.0, "layout": { "line-cap": "butt", "line-join": "round", "visibility": "visible" }, "paint": { - "line-blur": [ - "interpolate", - ["linear"], - ["zoom"], - 14, - 3, - 15, - 0.4 - ], - "line-color": { - "stops": [ - [9,"rgba(80, 80, 80, 1)"], - [15,"rgba(90, 90, 90, 1)"] - ] - }, + "line-blur": 0.25, + "line-color": "rgba(95, 95, 95, 1)", "line-width": [ "interpolate", ["exponential",2], ["zoom"], + 10, + 0, + 11, + [ + "match", + ["get","is_route"], + [5,6,7,8,10,11,99], + 0.75, + 0 + ], + 12, + [ + "match", + ["get","is_route"], + [5,6,7,8,10,11,99], + 0.75, + 0 + ], 13, - 0.5, + 1, 15, - 1.1, + 1.25, 16, - 1.1, - 18, 2, 20, - 3 + 5 ], "line-offset": 0, "line-opacity": [ - "interpolate", - ["linear"], - ["zoom"], - 12, - 0.5, - 14, - 1 + "match", + ["get","class"], + ["track"], + 1, + 0.5 ] }, "metadata": { @@ -5985,16 +8258,34 @@ }, "filter": [ "all", - [">","layer",1], - ["==","class","track"], - ["==","$type","LineString"], - ["!=","subclass","covered_bridge"] + [ + ">", + ["get","layer"], + 1 + ], + [ + "match", + ["get","class"], + ["track","track_construction"], + true, + false + ], + [ + "!=", + ["get","subclass"], + "covered_bridge" + ], + [ + "==", + ["geometry-type"], + "LineString" + ] ] }, { - "id": "bridge-l2_road_path_footway", + "id": "bridge-l2_road_footway", "type": "line", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 11.0, "layout": { @@ -6003,57 +8294,105 @@ "visibility": "visible" }, "paint": { - "line-blur": [ - "interpolate", - ["linear"], - ["zoom"], - 15, - 0.1, - 20, - 0.4 - ], - "line-color": "rgba(115, 115, 115, 1)", + "line-blur": 0.25, + "line-color": "rgba(80, 80, 80, 1)", "line-width": [ "interpolate", - ["exponential",1.5], + ["exponential",2], ["zoom"], + 11, + 0.75, + 12, + 0.75, 13, - 0.5, + 1, 15, - 1.1, + 1.25, + 16, + 2, 20, - 3 + 5 ], "line-opacity": [ "interpolate", ["linear"], ["zoom"], + 10, + 0, + 11, + [ + "match", + ["get","class"], + ["footway"], + [ + "match", + ["get","is_route"], + 11, + 1, + 0 + ], + 0 + ], 12, - 0.5, - 14, - 1 + [ + "match", + ["get","class"], + ["footway"], + [ + "match", + ["get","is_route"], + 11, + 1, + [ + "match", + ["get","sac_scale"], + ["hiking","mountain_hiking","alpine_hiking"], + 1, + 0 + ] + ], + 0 + ], + 13, + [ + "match", + ["get","class"], + ["footway"], + 1, + 0.5 + ] ], "line-dasharray": [ "step", ["zoom"], + [ + "literal", + [5,1.5] + ], + 14, [ "literal", [6,2] ], + 15, + [ + "literal", + [7,2] + ], 16, [ "literal", - [9,3] + [8,2] ], 17, [ "literal", - [12,4] + [13,3] ], 18, [ "literal", - [15,5] + [18,4] ] ] }, @@ -6062,18 +8401,656 @@ }, "filter": [ "all", - [">","layer",1], - ["in","class","path","footway"], - ["==","$type","LineString"], - ["!=","subclass","covered_bridge"] + [ + ">", + ["get","layer"], + 1 + ], + [ + "match", + ["get","class"], + ["footway","footway_construction"], + true, + false + ], + [ + "!=", + ["get","subclass"], + "covered_bridge" + ], + [ + "==", + ["geometry-type"], + "LineString" + ] + ] + }, + { + "id": "bridge-l2_road_path", + "type": "line", + "source": "base_v1.0.0", + "source-layer": "transportation", + "minzoom": 11.0, + "layout": { + "line-cap": "butt", + "line-join": "bevel", + "visibility": "visible" + }, + "paint": { + "line-blur": 0.25, + "line-color": "rgba(80, 80, 80, 1)", + "line-width": [ + "interpolate", + ["exponential",2], + ["zoom"], + 11, + 0.75, + 12, + 0.75, + 13, + 1, + 15, + 1.25, + 16, + 2, + 20, + 5 + ], + "line-opacity": [ + "interpolate", + ["linear"], + ["zoom"], + 10, + 0, + 11, + [ + "match", + ["get","class"], + ["path"], + [ + "match", + ["get","is_route"], + 11, + 1, + 0 + ], + 0 + ], + 12, + [ + "match", + ["get","class"], + ["path"], + [ + "match", + ["get","is_route"], + 11, + 1, + [ + "match", + ["get","sac_scale"], + ["hiking","mountain_hiking","alpine_hiking"], + 1, + 0 + ] + ], + 0 + ], + 13, + [ + "match", + ["get","class"], + ["path"], + 1, + 0.5 + ] + ], + "line-dasharray": [ + "step", + ["zoom"], + [ + "literal", + [14,1.5] + ], + 14, + [ + "literal", + [16,2] + ], + 15, + [ + "literal", + [18,2] + ], + 16, + [ + "literal", + [20,2] + ], + 17, + [ + "literal", + [30,3] + ], + 18, + [ + "literal", + [40,4] + ] + ] + }, + "metadata": { + "maputnik:comment": "cannot be in the same layer as road_casings because dasharray doesn't support expressions" + }, + "filter": [ + "all", + [ + ">", + ["get","layer"], + 1 + ], + [ + "match", + ["get","class"], + ["path","path_construction"], + true, + false + ], + [ + "!=", + ["get","subclass"], + "covered_bridge" + ], + [ + "==", + ["geometry-type"], + "LineString" + ] + ] + }, + { + "id": "road_dashes", + "type": "line", + "source": "base_v1.0.0", + "source-layer": "transportation", + "minzoom": 13.0, + "layout": { + "line-cap": "butt", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-blur": 0.25, + "line-color": [ + "match", + ["get","is_route"], + [5,10], + "rgba(100, 80, 60, 1)", + [6,7,8], + "rgba(90, 90, 60, 1)", + [ + "match", + ["get","class"], + ["motorway","trunk","motorway_construction","trunk_construction"], + "rgba(95, 80, 65, 1)", + "track", + "rgba(95, 95, 95, 1)", + "rgba(80, 80, 80, 1)" + ] + ], + "line-width": [ + "interpolate", + ["exponential",2], + ["zoom"], + 4, + 0, + 5, + [ + "match", + ["get","ramp"], + 1, + 0.5, + 0.75 + ], + 9, + [ + "match", + ["get","is_route"], + [5,6,7,8,10,99], + [ + "match", + ["get","class"], + ["motorway"], + [ + "match", + ["get","ramp"], + 1, + 1.5, + 3 + ], + ["trunk"], + 3, + 2.5 + ], + [ + "match", + ["get","ramp"], + 1, + 1.5, + 0 + ] + ], + 10, + [ + "match", + ["get","is_route"], + [5,6,7,8,10,99], + [ + "match", + ["get","class"], + ["motorway"], + [ + "match", + ["get","ramp"], + 1, + 1.75, + 3.5 + ], + ["trunk"], + 3.5, + "primary", + 3.5, + "secondary", + 3, + "tertiary", + 2.5, + ["minor","service"], + 2, + 0 + ], + [ + "match", + ["get","ramp"], + 1, + 1.75, + 0 + ] + ], + 11, + [ + "match", + ["get","is_route"], + [5,6,7,8,10,99], + [ + "match", + ["get","class"], + ["motorway"], + [ + "match", + ["get","ramp"], + 1, + 1.75, + 4 + ], + ["trunk"], + 4, + "primary", + 3.75, + "secondary", + 3.25, + "tertiary", + 2.75, + ["minor","service"], + 2.25, + 0 + ], + [11], + [ + "match", + ["get","class"], + ["motorway","trunk"], + [ + "match", + ["get","ramp"], + 1, + 1.75, + 4 + ], + "primary", + 2.25, + "secondary", + 2.25, + "tertiary", + 2.25, + ["minor","service"], + 2, + [ + "match", + ["get","ramp"], + 1, + 1.75, + 0 + ] + ], + 0 + ], + 12, + [ + "match", + ["get","is_route"], + [5,6,7,8,10,99], + [ + "match", + ["get","class"], + ["motorway"], + [ + "match", + ["get","ramp"], + 1, + 1.75, + 4.5 + ], + ["trunk"], + 4.5, + "primary", + 4, + "secondary", + 3.5, + "tertiary", + 3, + ["minor","service"], + 2.5, + 0 + ], + [11], + [ + "match", + ["get","class"], + ["motorway","trunk"], + [ + "match", + ["get","ramp"], + 1, + 1.75, + 4.5 + ], + "primary", + 2.75, + "secondary", + 2.5, + "tertiary", + 2.5, + ["minor","service"], + 2.25, + [ + "match", + ["get","ramp"], + 1, + 1.75, + 0 + ] + ], + 0 + ], + 13, + [ + "match", + ["get","is_route"], + [5,6,7,8,10,99], + [ + "match", + ["get","class"], + ["motorway"], + [ + "match", + ["get","ramp"], + 1, + 2, + 4.5 + ], + ["trunk"], + 4.5, + "primary", + 4.5, + "secondary", + 4, + "tertiary", + 3.5, + ["minor","service"], + 3, + 2 + ], + [ + "match", + ["get","class"], + ["motorway","trunk"], + [ + "match", + ["get","ramp"], + 1, + 2, + 4.5 + ], + "primary", + 3, + "secondary", + 2.75, + "tertiary", + 2.75, + ["minor","service"], + 2.5, + 2 + ] + ], + 15, + [ + "match", + ["get","subclass"], + "funicular", + 3, + [ + "match", + ["get","class"], + ["motorway","motorway_construction"], + [ + "match", + ["get","ramp"], + 1, + 5.5, + 7 + ], + ["trunk","trunk_construction"], + [ + "match", + ["get","oneway"], + 1, + 7, + 12 + ], + ["primary","primary_construction"], + 6.5, + ["secondary","secondary_construction"], + 5.5, + ["tertiary","tertiary_construction"], + 4.5, + ["minor","minor_construction","service","service_construction"], + 3.5, + ["rail","rail_construction"], + 5, + [ + "track", + "track_construction", + "path", + "path_construction", + "footway", + "footway_construction", + "transit", + "transit_construction" + ], + 2.5, + 3 + ] + ], + 16, + [ + "match", + ["get","subclass"], + "funicular", + 6, + [ + "match", + ["get","class"], + ["motorway","motorway_construction"], + [ + "match", + ["get","ramp"], + 1, + 10, + 11 + ], + ["trunk","trunk_construction"], + [ + "match", + ["get","oneway"], + 1, + 11, + 15 + ], + ["primary","primary_construction"], + 10, + ["secondary","secondary_construction"], + 9, + ["tertiary","tertiary_construction"], + 8, + ["minor","minor_construction","service","service_construction"], + 7, + ["rail","rail_construction"], + 9.5, + [ + "track", + "track_construction", + "path", + "path_construction", + "footway", + "footway_construction", + "transit", + "transit_construction" + ], + 6.5, + 6 + ] + ], + 20, + [ + "match", + ["get","subclass"], + "funicular", + 20, + [ + "match", + ["get","class"], + ["motorway","motorway_construction"], + [ + "match", + ["get","ramp"], + 1, + 121, + 134 + ], + ["trunk","trunk_construction"], + [ + "match", + ["get","oneway"], + 1, + 134, + 144 + ], + ["primary","primary_construction"], + 126, + ["secondary","secondary_construction"], + 121, + ["tertiary","tertiary_construction"], + 116, + ["minor","minor_construction","service","service_construction"], + 111, + ["rail","rail_construction"], + 120, + [ + "track", + "track_construction", + "path", + "path_construction", + "footway", + "footway_construction", + "transit", + "transit_construction" + ], + 80, + 101 + ] + ] + ], + "line-offset": 0, + "line-dasharray": [ + "step", + ["zoom"], + [ + "literal", + [0.1,1.1] + ], + 14, + [ + "literal", + [0.08,1.13] + ], + 18, + [ + "literal", + [0.05,1.13] + ] + ] + }, + "filter": [ + "all", + [ + "match", + ["get","subclass"], + ["avalanche_protector","avalanche_protector_bridge","covered_bridge"], + true, + false + ], + [ + "!=", + ["get","brunnel"], + "tunnel" + ], + [ + "match", + ["get","class"], + [ + "minor_construction", + "motorway_construction", + "primary_construction", + "secondary_construction", + "tertiary_construction", + "trunk_construction", + "service_construction", + "mask_terrain", + "track", + "path", + "footway" + ], + false, + true + ] ] }, { "id": "bridge-l2_public_transport", "type": "line", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "transportation", - "minzoom": 10.0, + "minzoom": 8.0, "layout": { "line-cap": "round", "visibility": "visible" @@ -6083,60 +9060,21 @@ "interpolate", ["linear"], ["zoom"], - 8, - [ - "match", - ["get","class"], - ["rail"], - [ - "match", - ["get","subclass"], - ["rail"], - [ - "match", - ["get","service"], - ["yard","siding"], - 2.5, - 0.6 - ], - 0.6 - ], - 0.6 - ], 14, - [ - "match", - ["get","class"], - ["rail"], - [ - "match", - ["get","subclass"], - ["rail"], - [ - "match", - ["get","service"], - ["yard","siding"], - 2.5, - 0.6 - ], - 0.6 - ], - 0.6 - ], + 0.6, 18, - 0.4 + 0.25 ], - "line-color": { - "stops": [ - [7,"rgba(255, 50, 50, 1)"], - [15,"rgba(255, 80, 80, 1)"] - ] - }, + "line-color": "hsl(0,80%,60%)", "line-width": [ "interpolate", ["linear"], ["zoom"], 8, + 0.5, + 10, + 1.2, + 12, [ "match", ["get","class"], @@ -6149,18 +9087,24 @@ "match", ["get","service"], ["yard","siding"], - 0.2, - 0.5 + 0.25, + [ + "match", + ["get","is_route"], + 99, + 1, + 0.25 + ] ], - 0.2 + 1 ], - 0.2 + 1 ], 14, [ "match", ["get","class"], - ["rail"], + ["rail","rail_construction"], [ "match", ["get","subclass"], @@ -6169,20 +9113,24 @@ "match", ["get","service"], ["yard","siding"], - 0.1, - 1 + 0.25, + [ + "match", + ["get","is_route"], + 99, + 1.5, + 0.25 + ] ], - 1 + 1.5 ], - ["cable_car"], - 1, - 0.75 + 1.5 ], 18, [ "match", ["get","class"], - ["rail"], + ["rail","rail_construction"], [ "match", ["get","subclass"], @@ -6191,13 +9139,11 @@ "match", ["get","service"], ["yard","siding"], - 1.5, + 1, 2 ], - 2 + 1.5 ], - ["cable_car"], - 2, 1.5 ] ], @@ -6207,12 +9153,18 @@ ["zoom"], 8, 0, - 9, + 8.5, [ "match", ["get","class"], ["rail"], - 1, + [ + "match", + ["get","service"], + "siding", + 0, + 1 + ], 0 ], 12, @@ -6235,11 +9187,13 @@ [ "match", ["get","class"], + ["rail_construction"], + 0.3, ["rail"], [ "match", ["get","subclass"], - ["rail","narrow_gauge","rack_rail","funicular"], + ["rail","narrow_gauge","funicular","rack_rail"], [ "match", ["get","service"], @@ -6252,55 +9206,1643 @@ 0 ], 14.5, - 1 + [ + "match", + ["get","class"], + ["rail_construction","transit_construction"], + 0.3, + 1 + ] ] }, "filter": [ "all", - [">","layer",1], - ["in","class","rail","transit","cable_car","gondola"], - ["==","$type","LineString"], - ["!=","subclass","covered_bridge"] + [ + ">", + ["get","layer"], + 1 + ], + [ + "match", + ["get","class"], + ["rail","rail_construction","transit","transit_construction"], + true, + false + ], + [ + "!=", + ["get","subclass"], + "covered_bridge" + ], + [ + "==", + ["geometry-type"], + "LineString" + ] + ] + }, + { + "id": "building_ln_power_line", + "type": "line", + "source": "base_v1.0.0", + "source-layer": "building_ln", + "minzoom": 13.0, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-blur": 0.4, + "line-color": "hsl(203, 69%, 68%)", + "line-width": 1.2, + "line-opacity": 1, + "line-dasharray": [16,3,1.8,3] + }, + "filter": [ + "==", + ["get","class"], + "power_line" + ] + }, + { + "id": "housenumber", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "housenumber", + "minzoom": 17.0, + "layout": { + "text-font": ["Frutiger Neue Regular"], + "text-size": { + "stops": [ + [17,11], + [18,13] + ] + }, + "text-field": ["get","housenumber"], + "visibility": "visible" + }, + "paint": { + "text-color": "rgba(90, 90, 90, 1)" + } + }, + { + "id": "transportation_dashes", + "type": "line", + "source": "base_v1.0.0", + "source-layer": "transportation", + "minzoom": 13.0, + "layout": { + "line-cap": "butt", + "line-join": "bevel", + "visibility": "visible" + }, + "paint": { + "line-blur": 0.25, + "line-color": [ + "match", + ["get","class"], + "drag_lift", + "hsl(35, 46%, 58%)", + "rgba(95, 95, 95, 1)" + ], + "line-width": [ + "interpolate", + ["linear"], + ["zoom"], + 10, + 4, + 17, + 8, + 22, + 30 + ], + "line-opacity": 1, + "line-dasharray": [ + "step", + ["zoom"], + [ + "literal", + [0.1,2] + ], + 17, + [ + "literal", + [0.1,4] + ], + 18, + [ + "literal", + [0.1,8] + ] + ] + }, + "filter": [ + "match", + ["get","class"], + ["drag_lift","goods_conveyor"], + true, + false + ] + }, + { + "id": "aerialway", + "type": "line", + "source": "base_v1.0.0", + "source-layer": "transportation", + "minzoom": 10.0, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-blur": 0.4, + "line-color": [ + "match", + ["get","class"], + ["aerialway_closed","aerialway_transportation","aerialway_goods","goods_conveyor"], + "rgba(95, 95, 95, 1)", + "drag_lift", + "hsl(35, 46%, 58%)", + "hsl(0,80%,60%)" + ], + "line-width": [ + "interpolate", + ["linear"], + ["zoom"], + 10, + 0.75, + 14, + 1, + 18, + 1.5 + ], + "line-opacity": 1 + }, + "filter": [ + "match", + ["get","class"], + [ + "aerialway_closed", + "aerialway_goods", + "aerialway_transportation", + "cable_car", + "chair_lift", + "drag_lift", + "gondola", + "goods_conveyor" + ], + true, + false + ] + }, + { + "id": "contour_line_pt_20", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "contour_line_pt", + "minzoom": 16.0, + "metadata": { + "sotlas-map-option": "contours" + }, + "layout": { + "text-font": ["Frutiger Neue Italic"], + "text-size": 12, + "text-field": "{ele} ", + "visibility": "visible", + "icon-rotate": 0, + "text-rotate": ["get","direction"], + "text-padding": 2, + "symbol-spacing": 50, + "text-max-angle": 40, + "text-keep-upright": true, + "text-letter-spacing": 0.1, + "text-rotation-alignment": "map" + }, + "paint": { + "text-color": [ + "match", + ["get","class"], + ["land"], + "hsl(35, 40%, 50%)", + ["scree"], + "rgba(90, 90, 90, 1)", + "water", + "hsl(203, 40%, 50%)", + "ice", + "hsl(203, 30%, 45%)", + "rgba(90, 90, 90, 1)" + ], + "icon-opacity": 0.8, + "text-halo-blur": 0.25, + "text-halo-color": [ + "match", + ["get","class"], + ["ice","water"], + "rgba(215, 243, 255, 1)", + "rgba(238, 238, 238, 0.9)" + ], + "text-halo-width": 1 + }, + "filter": [ + "all", + [ + "==", + [ + "%", + [ + "to-number", + ["get","ele"] + ], + 20 + ], + 0 + ], + [ + "!=", + [ + "%", + [ + "to-number", + ["get","ele"] + ], + 100 + ], + 0 + ], + [ + "match", + ["get","class"], + ["land","scree","water","ice"], + true, + false + ] + ] + }, + { + "id": "contour_line_pt_100", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "contour_line_pt", + "minzoom": 13.0, + "metadata": { + "sotlas-map-option": "contours" + }, + "layout": { + "text-font": ["Frutiger Neue Italic"], + "text-size": [ + "interpolate", + ["exponential",2], + ["zoom"], + 13, + 10, + 14, + 10.5, + 16, + 14 + ], + "text-field": "{ele} ", + "visibility": "visible", + "icon-rotate": 0, + "text-rotate": ["get","direction"], + "text-padding": { + "stops": [ + [13,10], + [16,2] + ] + }, + "symbol-spacing": 250, + "text-max-angle": 35, + "icon-keep-upright": true, + "text-keep-upright": true, + "symbol-avoid-edges": true, + "text-letter-spacing": 0.1, + "text-rotation-alignment": "map" + }, + "paint": { + "text-color": [ + "match", + ["get","class"], + ["land"], + "hsl(35, 40%, 50%)", + ["scree"], + "rgba(90, 90, 90, 1)", + "water", + "hsl(203, 40%, 50%)", + "ice", + "hsl(203, 30%, 45%)", + "rgba(90, 90, 90, 1)" + ], + "icon-opacity": 0.8, + "text-halo-blur": 0.25, + "text-halo-color": [ + "match", + ["get","class"], + ["ice","water"], + "rgba(215, 243, 255, 1)", + "rgba(238, 238, 238, 0.9)" + ], + "text-halo-width": 1 + }, + "filter": [ + "all", + [ + "==", + [ + "%", + [ + "to-number", + ["get","ele"] + ], + 100 + ], + 0 + ], + [ + "match", + ["get","class"], + ["scree","land","ice","water"], + true, + false + ] + ] + }, + { + "id": "boundary_canton_r_label", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "boundary", + "minzoom": 13.0, + "layout": { + "text-font": ["Frutiger Neue Condensed Regular"], + "text-size": [ + "interpolate", + ["linear"], + ["zoom"], + 14, + [ + "match", + ["get","admin_level"], + [2,4], + 11, + 10 + ], + 18, + [ + "match", + ["get","admin_level"], + [2,4], + 14, + 12 + ] + ], + "text-field": [ + "match", + ["get","admin_level"], + 2, + ["get","adm2_r"], + 4, + ["get","adm4_r"], + [6,8], + ["get","adm8_r"], + "" + ], + "visibility": "visible", + "text-offset": [0,-0.8], + "text-justify": "center", + "text-padding": 0.01, + "symbol-spacing": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + 200, + 18, + 400 + ], + "text-max-angle": 30, + "text-transform": [ + "match", + ["get","admin_level"], + [2,4], + "uppercase", + "none" + ], + "symbol-placement": "line", + "icon-keep-upright": false, + "text-keep-upright": true, + "text-allow-overlap": false, + "text-letter-spacing": 0.3, + "text-pitch-alignment": "auto", + "text-ignore-placement": true, + "text-rotation-alignment": "auto" + }, + "paint": { + "text-color": "hsl(327, 48%, 55%)", + "text-opacity": [ + "step", + ["zoom"], + [ + "match", + ["get","admin_level"], + [2,4], + 1, + 0 + ], + 15, + 1 + ], + "text-halo-blur": 0.25, + "text-halo-color": "rgba(242, 242, 242,1)", + "text-halo-width": 0.5, + "text-translate-anchor": "viewport" + }, + "filter": [ + "all", + [ + "match", + ["get","admin_level"], + [2,4,6,8], + true, + false + ] + ] + }, + { + "id": "boundary_canton_l_label", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "boundary", + "minzoom": 13.0, + "layout": { + "text-font": ["Frutiger Neue Condensed Regular"], + "text-size": [ + "interpolate", + ["linear"], + ["zoom"], + 14, + [ + "match", + ["get","admin_level"], + [2,4], + 11, + 10 + ], + 18, + [ + "match", + ["get","admin_level"], + [2,4], + 14, + 12 + ] + ], + "text-field": [ + "match", + ["get","admin_level"], + 2, + ["get","adm2_l"], + 4, + ["get","adm4_l"], + [6,8], + ["get","adm8_l"], + "" + ], + "visibility": "visible", + "text-offset": [0,0.8], + "text-justify": "center", + "text-padding": 0.01, + "symbol-spacing": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + 200, + 18, + 400 + ], + "text-max-angle": 30, + "text-transform": [ + "match", + ["get","admin_level"], + [2,4], + "uppercase", + "none" + ], + "symbol-placement": "line", + "icon-keep-upright": false, + "text-keep-upright": true, + "text-allow-overlap": false, + "text-letter-spacing": 0.3, + "text-pitch-alignment": "auto", + "text-ignore-placement": true, + "text-rotation-alignment": "auto" + }, + "paint": { + "text-color": "hsl(327, 48%, 55%)", + "text-opacity": [ + "step", + ["zoom"], + [ + "match", + ["get","admin_level"], + [2,4], + 1, + 0 + ], + 15, + 1 + ], + "text-halo-blur": 0.25, + "text-halo-color": "rgba(242, 242, 242,1)", + "text-halo-width": 0.5, + "text-translate-anchor": "viewport" + }, + "filter": [ + "all", + [ + "match", + ["get","admin_level"], + [2,4,6,8], + true, + false + ] + ] + }, + { + "id": "area_name_field", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "area_name", + "minzoom": 14.0, + "layout": { + "text-font": ["Frutiger Neue Italic"], + "text-size": [ + "interpolate", + ["exponential",1.25], + ["zoom"], + 13, + 12, + 18, + 18 + ], + "text-field": "{name:latin}", + "visibility": "visible", + "text-padding": 40, + "symbol-spacing": 250, + "symbol-z-order": "auto", + "text-max-width": 99999, + "symbol-placement": "point", + "text-keep-upright": true, + "symbol-avoid-edges": true, + "text-allow-overlap": false, + "text-letter-spacing": 0.02, + "text-pitch-alignment": "viewport", + "text-ignore-placement": false, + "text-rotation-alignment": "viewport" + }, + "paint": { + "text-color": "rgba(42, 42, 42, 1)", + "text-halo-blur": 0.25, + "text-halo-color": "rgba(242, 242, 242, 0.9)", + "text-halo-width": 0.5 + }, + "filter": [ + "all", + [ + "==", + ["get","subclass"], + "field" + ], + [ + "==", + ["geometry-type"], + "Point" + ] + ] + }, + { + "id": "poi_rank4_rotation_flat", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "poi", + "minzoom": 12.0, + "layout": { + "icon-size": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + [ + "match", + ["get","subclass"], + ["stone_1","stone_2","stone_3","stone_4","stone_5"], + 0.3, + ["aerialway_closed_pylon","aerialway_transportation_pylon","goods_pylon"], + 0.4, + ["antenna","bollard","water_tower","water_tank","wayside_shrine","cross","spring","surveying_pyramid"], + 0.5, + ["chimney","transformer","waterfall","gondola_pylon","chair_lift_pylon"], + 0.6, + ["communications_tower","wind_turbine","cable_car_pylon"], + 0.7, + "direction", + 1, + 0.3 + ], + 18, + [ + "match", + ["get","subclass"], + ["aerialway_closed_pylon","aerialway_transportation_pylon","goods_pylon"], + 0.5, + [ + "antenna", + "stone_1", + "stone_2", + "stone_3", + "stone_4", + "stone_5", + "water_tower", + "wayside_shrine", + "cross", + "spring", + "surveying_pyramid", + "chimney", + "gondola_pylon", + "chair_lift_pylon" + ], + 0.8, + ["bollard","communications_tower","water_tank","transformer","direction","waterfall","wind_turbine","cable_car_pylon"], + 1, + 0.5 + ] + ], + "text-font": ["Frutiger Neue Condensed Regular"], + "text-size": [ + "interpolate", + ["exponential",1.25], + ["zoom"], + 7, + 9, + 13, + 11, + 18, + 16 + ], + "icon-image": [ + "match", + ["get","subclass"], + "bollard", + "dot_red", + "stone_1", + "rock_1", + "stone_2", + "rock_2", + "stone_3", + "rock_3", + "stone_4", + "rock_4", + "stone_5", + "rock_5", + "water_tower", + "water_tower", + "antenna", + "antenna", + ["wayside_shrine","cross"], + "cross", + "spring", + "spring", + "surveying_pyramid", + "surveying_pyramid", + "water_tank", + "watertank", + "chimney", + "circle_crossed", + "communications_tower", + "communications_tower_black_LK", + "transformer", + "arrow", + "direction", + "arrow_blue", + "waterfall", + "waterfall_LK", + "wind_turbine", + "windturbine_sig", + ["aerialway_closed_pylon","aerialway_transportation_pylon","goods_pylon"], + "circle_black", + ["cable_car_pylon","gondola_pylon","chair_lift_pylon"], + "circle_red", + "" + ], + "text-field": ["get","name:latin"], + "visibility": "visible", + "icon-offset": [0,0], + "icon-rotate": [ + "to-number", + ["get","direction"] + ], + "text-anchor": [ + "match", + ["get","subclass"], + [ + "stone_1", + "stone_2", + "stone_3", + "stone_4", + "stone_5", + "shooting", + "water_tower", + "antenna", + "wayside_shrine", + "water_well", + "cross", + "communications_tower", + "spring", + "surveying_pyramid", + "water_tank", + "survey_point", + "transformer", + "waterfall", + "wind_turbine", + "aerialway_closed_pylon", + "aerialway_transportation_pylon", + "goods_pylon", + "cable_car_pylon", + "gondola_pylon", + "chair_lift_pylon" + ], + "left", + "center" + ], + "text-offset": [0.6,0.1], + "text-justify": "left", + "text-padding": 1, + "icon-optional": false, + "text-optional": true, + "text-max-width": 10, + "icon-allow-overlap": false, + "icon-ignore-placement": false, + "icon-rotation-alignment": "map" + }, + "paint": { + "text-color": [ + "match", + ["get","subclass"], + "spring", + "rgba(11, 105, 164, 1)", + ["cable_car_pylon","gondola_pylon","chair_lift_pylon"], + "rgba(255, 255, 255, 0.8)", + "rgba(42, 42, 42, 1)" + ], + "icon-opacity": [ + "step", + ["zoom"], + 0, + 12, + [ + "match", + ["get","subclass"], + ["bollard","water_tower","surveying_pyramid","waterfall","wind_turbine"], + 1, + [ + "match", + ["get","class"], + "stone", + 1, + 0 + ] + ], + 13, + [ + "match", + ["get","subclass"], + [ + "bollard", + "communications_tower", + "water_tower", + "surveying_pyramid", + "spring", + "water_well", + "waterfall", + "wind_turbine", + "aerialway_closed_pylon", + "aerialway_transportation_pylon", + "goods_pylon", + "cable_car_pylon", + "gondola_pylon", + "chair_lift_pylon" + ], + 1, + [ + "match", + ["get","class"], + "stone", + 1, + 0 + ] + ], + 14, + 1 + ], + "text-opacity": [ + "step", + ["zoom"], + 1, + 13, + [ + "match", + ["get","class"], + "pitch", + 1, + [ + "match", + ["get","subclass"], + [ + "bollard", + "communications_tower", + "water_tower", + "antenna", + "wayside_shrine", + "cross", + "spring", + "surveying_pyramid", + "water_tank", + "wind_turbine" + ], + 1, + 0 + ] + ], + 14, + [ + "match", + ["get","class"], + "stone", + 1, + [ + "match", + ["get","subclass"], + [ + "bollard", + "communications_tower", + "chimney", + "water_tower", + "antenna", + "wayside_shrine", + "cross", + "spring", + "surveying_pyramid", + "water_tank", + "wind_turbine" + ], + 1, + 0 + ] + ], + 15, + [ + "match", + ["get","class"], + "stone", + 1, + [ + "match", + ["get","subclass"], + [ + "bollard", + "communications_tower", + "chimney", + "shooting", + "water_tower", + "antenna", + "wayside_shrine", + "cross", + "spring", + "surveying_pyramid", + "water_tank", + "wind_turbine" + ], + 1, + 0 + ] + ], + 16, + 1 + ], + "text-halo-blur": 0.25, + "text-halo-color": "rgba(242, 242, 242, 0.9)", + "text-halo-width": 1 + }, + "filter": [ + "any", + [ + "match", + ["get","subclass"], + [ + "bollard", + "chimney", + "communications_tower", + "direction", + "shooting", + "water_tower", + "antenna_area", + "wayside_shrine", + "water_well", + "cross", + "spring", + "surveying_pyramid", + "water_tank", + "wind_turbine", + "transformer", + "aerialway_closed_pylon", + "aerialway_transportation_pylon", + "goods_pylon", + "cable_car_pylon", + "gondola_pylon", + "chair_lift_pylon" + ], + true, + false + ], + [ + "match", + ["get","subclass"], + "waterfall", + [ + "case", + [ + "!", + ["has","name"] + ], + true, + false + ], + false + ], + [ + "match", + ["get","class"], + ["stone"], + true, + false + ] + ] + }, + { + "id": "poi_rank3", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "poi", + "minzoom": 12.0, + "layout": { + "icon-size": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + [ + "match", + ["get","subclass"], + "boundary_stone", + 0.6, + 0.3 + ], + 18, + [ + "match", + ["get","subclass"], + "boundary_stone", + 1, + "tower", + 0.6, + 0.5 + ] + ], + "text-font": ["Frutiger Neue Condensed Regular"], + "text-size": [ + "interpolate", + ["exponential",1.25], + ["zoom"], + 7, + 9, + 13, + 11, + 18, + [ + "match", + ["get","subclass"], + "boundary_stone", + 14, + 16 + ] + ], + "icon-image": [ + "match", + ["get","subclass"], + "boundary_stone", + "dot_magenta", + "firepit", + "firepit", + "marina", + "marina", + "parking_public", + "parking", + "parking_facility", + "parking_facility", + "tower", + "circle_black", + "viewpoint", + "viewpoint", + "letterbox", + "letter_box", + "recycling", + "recycling", + "" + ], + "text-field": ["get","name:latin"], + "visibility": "visible", + "icon-offset": [0,0], + "icon-rotate": 0, + "text-anchor": [ + "match", + ["get","subclass"], + ["boundary_stone"], + "bottom-left", + ["parking_facility","parking_public","viewpoint","letterbox","marina","tower"], + "left", + "center" + ], + "text-offset": [ + "match", + ["get","subclass"], + ["boundary_stone"], + [ + "literal", + [0.3,0.1] + ], + [ + "literal", + [0.8,0.1] + ] + ], + "text-justify": "left", + "text-padding": 1, + "icon-optional": false, + "text-optional": true, + "text-max-width": 10, + "icon-allow-overlap": false, + "icon-pitch-alignment": "viewport", + "icon-ignore-placement": false, + "icon-rotation-alignment": "viewport" + }, + "paint": { + "text-color": [ + "match", + ["get","subclass"], + "boundary_stone", + "hsl(327, 48%, 55%)", + ["parking_facility","parking_public"], + "rgba(34, 39, 105, 1)", + ["weir","marina"], + "rgba(11, 105, 164, 1)", + "letterbox", + "rgba(177, 123, 8, 1)", + ["firepit","picnic_site","viewpoint","recycling"], + "rgba(70, 121, 39, 1)", + "rgba(42, 42, 42, 1)" + ], + "icon-opacity": [ + "step", + ["zoom"], + 0, + 14, + [ + "match", + ["get","subclass"], + "letterbox", + 0, + 1 + ], + 15, + 1 + ], + "text-opacity": [ + "step", + ["zoom"], + 1, + 13, + [ + "match", + ["get","subclass"], + ["boundary_stone","weir","letterbox","tower"], + 0, + 1 + ], + 15, + 1 + ], + "text-halo-blur": 0.25, + "text-halo-color": "rgba(242, 242, 242, 0.9)", + "text-halo-width": 1 + }, + "filter": [ + "any", + [ + "match", + ["get","subclass"], + [ + "boundary_stone", + "driving_centre", + "incineration_plant", + "firepit", + "marina", + "parking_facility", + "parking_public", + "tower", + "viewpoint", + "wastewater_plant", + "weir" + ], + true, + false + ] + ] + }, + { + "id": "transportation_label", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "transportation_name", + "minzoom": 13.0, + "layout": { + "text-font": ["Frutiger Neue Condensed Regular"], + "text-size": [ + "interpolate", + ["exponential",1.5], + ["zoom"], + 14, + [ + "match", + ["get","class"], + ["motorway","trunk","motorway_construction","trunk_construction"], + 12, + 11 + ], + 18, + [ + "match", + ["get","class"], + ["motorway","trunk","motorway_construction","trunk_construction"], + 18, + 16 + ] + ], + "text-field": "{name:latin}", + "visibility": "visible", + "text-anchor": "center", + "text-offset": [0,0], + "text-padding": 0.01, + "symbol-spacing": [ + "interpolate", + ["linear"], + ["zoom"], + 15, + 200, + 18, + 800 + ], + "symbol-z-order": "auto", + "text-max-angle": 60, + "text-transform": "none", + "symbol-placement": "line", + "text-keep-upright": true, + "symbol-avoid-edges": true, + "text-letter-spacing": 0.05, + "text-pitch-alignment": "map", + "text-rotation-alignment": "map" + }, + "paint": { + "text-color": [ + "match", + ["get","class"], + ["rail","transit","rail_construction","transit_construction","cable_car","gondola","chair_lift"], + "rgba(234, 64, 64, 1)", + "drag_lift", + "hsl(35, 86%, 38%)", + ["ferry","car_ferry"], + "rgba(0, 136, 208, 1)", + "rgba(60, 60, 60, 1)" + ], + "text-opacity": [ + "step", + ["zoom"], + [ + "match", + ["get","class"], + ["track","path","footway","trail"], + 0, + 1 + ], + 14, + 1 + ], + "text-halo-blur": 0.25, + "text-halo-color": [ + "match", + ["get","class"], + [ + "rail", + "transit", + "rail_construction", + "transit_construction", + "cable_car", + "gondola", + "chair_lift", + "motorway", + "trunk", + "drag_lift" + ], + "rgba(255, 255, 255, 0.8)", + ["ferry","car_ferry"], + "rgba(183, 226, 252, 1)", + "rgba(255, 255, 255, 0.9)" + ], + "text-halo-width": 1 + }, + "filter": [ + "all", + [ + "match", + ["get","is_route"], + [5,6,7,8,9,10], + [ + "match", + ["get","brunnel"], + ["tunnel"], + true, + false + ], + true + ], + [ + "match", + ["get","class"], + ["via_ferrata"], + false, + true + ], + [ + "==", + ["geometry-type"], + "LineString" + ] + ] + }, + { + "id": "transportation_label_orange_halo", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "transportation_name", + "minzoom": 13.0, + "layout": { + "text-font": ["Frutiger Neue Condensed Regular"], + "text-size": [ + "interpolate", + ["exponential",1.5], + ["zoom"], + 14, + [ + "match", + ["get","class"], + ["motorway","trunk","motorway_construction","trunk_construction"], + 11, + 10.5 + ], + 18, + [ + "match", + ["get","class"], + ["motorway","trunk","motorway_construction","trunk_construction"], + 18, + 16 + ] + ], + "text-field": "{name:latin}", + "visibility": "visible", + "text-anchor": "center", + "text-offset": [0,0], + "text-padding": 0.01, + "symbol-spacing": [ + "interpolate", + ["linear"], + ["zoom"], + 15, + 200, + 18, + 400 + ], + "symbol-z-order": "auto", + "text-max-angle": 60, + "text-transform": "none", + "symbol-placement": "line", + "text-keep-upright": true, + "symbol-avoid-edges": true, + "text-letter-spacing": 0.05, + "text-pitch-alignment": "map", + "text-rotation-alignment": "map" + }, + "paint": { + "text-color": "rgba(75, 60, 45, 1)", + "text-halo-blur": 0.25, + "text-halo-color": "rgba(250, 210, 122, 0.8)", + "text-halo-width": 1 + }, + "filter": [ + "all", + [ + "==", + ["get","is_route"], + 99 + ], + [ + "match", + ["get","class"], + [ + "aerialway_closed", + "aerialway_goods", + "aerialway_transportation", + "cable_car", + "chair_lift", + "drag_lift", + "gondola", + "goods_conveyor", + "rail", + "transit", + "rail_construction", + "transit_construction" + ], + false, + true + ], + [ + "match", + ["get","brunnel"], + ["tunnel"], + false, + true + ], + [ + "==", + ["geometry-type"], + "LineString" + ] + ] + }, + { + "id": "transportation_label_yellow_halo", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "transportation_name", + "minzoom": 13.0, + "layout": { + "text-font": ["Frutiger Neue Condensed Regular"], + "text-size": [ + "interpolate", + ["exponential",1.5], + ["zoom"], + 14, + [ + "match", + ["get","class"], + ["motorway","trunk","motorway_construction","trunk_construction"], + 11, + 10.5 + ], + 18, + [ + "match", + ["get","class"], + ["motorway","trunk","motorway_construction","trunk_construction"], + 18, + 16 + ] + ], + "text-field": "{name:latin}", + "visibility": "visible", + "text-anchor": "center", + "text-offset": [0,0], + "text-padding": 0.01, + "symbol-spacing": [ + "interpolate", + ["linear"], + ["zoom"], + 15, + 200, + 18, + 400 + ], + "symbol-z-order": "auto", + "text-max-angle": 60, + "text-transform": "none", + "symbol-placement": "line", + "text-keep-upright": true, + "symbol-avoid-edges": true, + "text-letter-spacing": 0.05, + "text-pitch-alignment": "map", + "text-rotation-alignment": "map" + }, + "paint": { + "text-color": "rgba(70, 70, 40, 1)", + "text-halo-blur": 0.25, + "text-halo-color": "rgba(250, 243, 158, 0.8)", + "text-halo-width": 1 + }, + "filter": [ + "all", + [ + "match", + ["get","is_route"], + [6,7,8], + true, + false + ], + [ + "match", + ["get","brunnel"], + ["tunnel"], + false, + true + ], + [ + "==", + ["geometry-type"], + "LineString" + ] + ] + }, + { + "id": "transportation_label_red_halo", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "transportation_name", + "minzoom": 13.0, + "layout": { + "text-font": ["Frutiger Neue Condensed Regular"], + "text-size": [ + "interpolate", + ["exponential",1.5], + ["zoom"], + 14, + [ + "match", + ["get","class"], + ["motorway","trunk","motorway_construction","trunk_construction"], + 11, + 10.5 + ], + 18, + [ + "match", + ["get","class"], + ["motorway","trunk","motorway_construction","trunk_construction"], + 18, + 16 + ] + ], + "text-field": "{name:latin}", + "visibility": "visible", + "text-anchor": "center", + "text-offset": [0,0], + "text-padding": 0.01, + "symbol-spacing": [ + "interpolate", + ["linear"], + ["zoom"], + 15, + 200, + 18, + 400 + ], + "symbol-z-order": "auto", + "text-max-angle": 60, + "text-transform": "none", + "symbol-placement": "line", + "text-keep-upright": true, + "symbol-avoid-edges": true, + "text-letter-spacing": 0.05, + "text-pitch-alignment": "map", + "text-rotation-alignment": "map" + }, + "paint": { + "text-color": "rgba(80, 60, 40, 1)", + "text-halo-blur": 0.25, + "text-halo-color": "rgba(250, 182, 158, 0.8)", + "text-halo-width": 1 + }, + "filter": [ + "all", + [ + "match", + ["get","is_route"], + [5,10], + true, + false + ], + [ + "match", + ["get","brunnel"], + ["tunnel"], + false, + true + ], + [ + "==", + ["geometry-type"], + "LineString" + ] ] }, { "id": "spot_elevation", "type": "symbol", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "spot_elevation", - "minzoom": 14.0, + "minzoom": 13.0, "layout": { - "icon-size": 1, + "icon-size": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + [ + "match", + ["get","class"], + "doline", + 0.5, + "terrain_spot_elevation", + 0.7, + "spot_elevation", + 0.7, + 0.85 + ], + 16, + [ + "match", + ["get","class"], + "doline", + 1, + "terrain_spot_elevation", + 0.9, + "spot_elevation", + 0.9, + 0.9 + ] + ], "text-font": ["Frutiger Neue Regular"], "text-size": [ "interpolate", ["linear"], ["zoom"], 14, - 10.5, - 18, - 13 + 11, + 16, + 14 ], "icon-image": [ "match", ["get","class"], - ["spot_elevation","terrain_spot_elevation"], - "dot_dark_grey_3", + "spot_elevation", + "dot_black", + "terrain_spot_elevation", + "dot_black", + "doline", + "doline", "" ], - "text-field": ["get","ele"], + "text-field": [ + "match", + ["get","class"], + "doline", + "", + ["get","ele"] + ], "visibility": "visible", "icon-offset": [0,0], - "icon-rotate": 0, + "icon-rotate": 45, "text-anchor": "center", "icon-padding": 30, + "text-padding": 1, "icon-optional": false, "text-optional": false, "symbol-placement": "point", "text-line-height": 0.9, "text-keep-upright": false, + "icon-allow-overlap": false, "text-allow-overlap": false, - "text-radial-offset": 0.3, + "text-radial-offset": { + "stops": [ + [14,0.3], + [16,0.5] + ] + }, "text-variable-anchor": [ "literal", ["bottom-left","top-left","bottom-right","top-right"] @@ -6309,30 +10851,2169 @@ }, "paint": { "icon-color": "#000000", - "text-color": "rgba(80, 80, 80, 1)", - "icon-opacity": 0.8, + "text-color": "rgba(42, 42, 42, 1)", + "icon-opacity": [ + "match", + ["get","class"], + ["sinkhole","doline"], + 0.7, + 0.8 + ], "text-opacity": ["literal",1], - "text-halo-blur": 1, - "text-halo-color": "rgba(242, 242, 242, 0.6)", + "text-halo-blur": 0.25, + "text-halo-color": "rgba(242, 242, 242, 0.9)", + "text-halo-width": 0.5 + }, + "filter": [ + "all", + ["!in","class","lake_elevation","sinkhole","sinkhole_rock","sinkhole_scree","sinkhole_water","sinkhole_ice"] + ] + }, + { + "id": "poi_rank2", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "poi", + "minzoom": 10.0, + "layout": { + "icon-size": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + [ + "match", + ["get","subclass"], + "survey_point", + 0.7, + 0.3 + ], + 18, + [ + "match", + ["get","subclass"], + "survey_point", + 0.9, + 0.5 + ] + ], + "text-font": ["Frutiger Neue Condensed Regular"], + "text-size": [ + "interpolate", + ["exponential",1.25], + ["zoom"], + 7, + 9, + 13, + 11, + 18, + 16 + ], + "icon-image": [ + "match", + ["get","subclass"], + "border_control", + "customs", + [ + "attraction", + "historic_mill", + "historic_mine", + "historic_fortification", + "historic_casino", + "historic_administrative", + "historic_courthouse", + "historic_police_fire_dep" + ], + "museum", + "embassy", + "embassy", + "government", + "government", + "tram_stop", + "tram", + "bus_stop", + "bus", + "funicular_stop", + "funicular", + "subway_stop", + "subway", + "cable_car_station", + "cable_car", + "gondola_station", + "gondola", + "chair_lift_station", + "chair_lift", + "aerialway_station", + "gondola", + "elevator", + "elevator", + "ferry_terminal", + "ferry_terminal", + ["alpine_hut","naturefriend_house"], + "hotel", + "inn", + "restaurant", + "wilderness_hut", + "wilderness_hut", + "church_tower", + "church", + "observatory", + "observatory", + "car_shuttle", + "car_shuttle", + "ferry", + "small_ferry", + "car_ferry", + "car_ferry", + "ruins", + "ruins", + ["monument","historic_execution_site"], + "monument", + "cave", + "cave", + "cemetery", + "cemetery", + "waterfall", + [ + "case", + ["has","name"], + "waterfall", + "waterfall_LK" + ], + "fairground", + "fairground", + "park", + "park", + "horse_racing", + "horse_racing", + "swimming_pool", + "swimming_pool", + "kindergarten", + "kindergarten", + "school", + "school", + "college", + "university", + "university", + "university", + "prison", + "prison", + "water_well", + "water_well", + "historic_archive", + "archive", + "historic_library", + "library", + "survey_point", + [ + "match", + ["get","name"], + "Repère Pierre du Niton, 373.6", + "rock_spot_elevation", + "dot_black" + ], + [ + "match", + ["get","class"], + "monastery", + "monastery", + "place_of_worship", + "church", + "" + ] + ], + "text-field": ["get","name:latin"], + "visibility": "visible", + "icon-offset": [0,0], + "icon-rotate": 0, + "text-anchor": [ + "match", + ["get","class"], + ["government","monastery","place_of_worship","historic"], + "left", + [ + "match", + ["get","subclass"], + [ + "border_control", + "attraction", + "tram_stop", + "bus_stop", + "funicular_stop", + "subway_stop", + "cable_car_station", + "gondola_station", + "chair_lift_station", + "aerialway_station", + "elevator", + "ferry", + "car_ferry", + "building", + "car_shuttle", + "observatory", + "alpine_hut", + "inn", + "naturefriend_house", + "wilderness_hut", + "church_tower", + "ruins", + "monument", + "cave", + "cemetery", + "waterfall", + "fairground", + "park", + "horse_racing", + "swimming_pool", + "survey_point", + "kindergarten", + "school", + "college", + "university", + "prison", + "water_well" + ], + "left", + "ferry_terminal", + [ + "case", + [ + "<", + 315, + ["get","direction"] + ], + "top", + [ + "<", + 225, + ["get","direction"] + ], + "left", + [ + "<", + 135, + ["get","direction"] + ], + "bottom", + [ + "<", + 45, + ["get","direction"] + ], + "right", + [ + ">", + 45, + ["get","direction"] + ], + "top", + "left" + ], + "center" + ] + ], + "text-offset": [ + "match", + ["get","subclass"], + ["ferry_terminal"], + [ + "case", + [ + "<", + 315, + ["get","direction"] + ], + [ + "literal", + [0,0.9] + ], + [ + "<", + 225, + ["get","direction"] + ], + [ + "literal", + [0.9,0] + ], + [ + "<", + 135, + ["get","direction"] + ], + [ + "literal", + [0,-0.8] + ], + [ + "<", + 45, + ["get","direction"] + ], + [ + "literal", + [-0.9,0] + ], + [ + ">", + 45, + ["get","direction"] + ], + [ + "literal", + [0,0.9] + ], + [ + "literal", + [0,-0.9] + ] + ], + [ + "literal", + [0.8,0.1] + ] + ], + "text-justify": "left", + "text-padding": 1, + "icon-optional": false, + "text-optional": true, + "text-max-width": 10, + "icon-allow-overlap": false, + "text-letter-spacing": [ + "match", + ["get","class"], + ["park"], + 0.05, + 0 + ], + "icon-ignore-placement": false + }, + "paint": { + "text-color": [ + "match", + ["get","class"], + ["monastery","place_of_worship"], + "rgba(136, 85, 13, 1)", + ["prison","border_control","embassy","government"], + "rgba(46,52,70,1)", + "pitch", + "rgba(70, 121, 39, 1)", + [ + "match", + ["get","subclass"], + [ + "tram_stop", + "bus_stop", + "subway_stop", + "funicular_stop", + "cable_car_station", + "gondola_station", + "chair_lift_station", + "aerialway_station", + "car_shuttle", + "ferry", + "ferry_terminal", + "car_ferry", + "elevator" + ], + "rgba(34, 39, 105, 1)", + ["weir","waterfall","swimming_pool","water_well"], + "rgba(11, 105, 164,1)", + ["cemetery","park","horse_racing"], + "rgba(70, 121, 39, 1)", + ["alpine_hut","inn","naturefriend_house"], + "rgba(177, 123, 8, 1)", + "wilderness_hut", + "rgba(72, 34, 72, 1)", + [ + "church_tower", + "ruins", + "monument", + "attraction", + "observatory", + "historic_execution_site", + "historic_mill", + "historic_mine", + "historic_fortification", + "historic_casino", + "historic_courthouse", + "historic_police_fire_dep", + "historic_administrative" + ], + "rgba(136, 85, 13, 1)", + "fairground", + "rgba(128, 39, 88, 1)", + ["kindergarten","school","college","university"], + "rgba(5, 100, 82, 1)", + ["cave"], + "rgba(27, 36, 62, 1)", + ["historic_archive","historic_library"], + "rgba(46,52,70,1)", + "rgba(42, 42, 42, 1)" + ] + ], + "icon-opacity": [ + "step", + ["zoom"], + 0, + 1, + [ + "match", + ["get","class"], + ["government","monastery"], + 0, + [ + "match", + ["get","subclass"], + "ruins", + 0, + 1 + ] + ], + 13, + [ + "match", + ["get","subclass"], + ["church_tower","attraction","government","embassy"], + 0, + [ + "match", + ["get","class"], + "place_of_worship", + [ + "case", + ["has","name"], + 1, + 0 + ], + 1 + ] + ], + 14, + 1 + ], + "text-opacity": [ + "step", + ["zoom"], + 1, + 12, + [ + "match", + ["get","subclass"], + [ + "observation_tower", + "sports_centre", + "dam", + "cave", + "waterfall", + "antenna_area", + "power_plant", + "cemetery", + "fairground", + "park", + "university", + "horse_racing" + ], + 1, + 0 + ], + 13, + [ + "match", + ["get","class"], + ["monastery","place_of_worship"], + 1, + [ + "match", + ["get","subclass"], + [ + "funicular_stop", + "observation_tower", + "alpine_hut", + "inn", + "naturefriend_house", + "wilderness_hut", + "sports_centre", + "ruins", + "dam", + "cave", + "waterfall", + "antenna_area", + "power_plant", + "cemetery", + "fairground", + "park", + "university", + "horse_racing", + "survey_point" + ], + 1, + 0 + ] + ], + 14, + [ + "match", + ["get","class"], + ["monastery","place_of_worship"], + 1, + [ + "match", + ["get","subclass"], + [ + "church_tower", + "funicular_stop", + "cable_car_station", + "gondola_station", + "chair_lift_station", + "aerialway_station", + "observation_tower", + "observatory", + "alpine_hut", + "inn", + "naturefriend_house", + "wilderness_hut", + "sports_centre", + "ruins", + "dam", + "cave", + "waterfall", + "antenna_area", + "power_plant", + "cemetery", + "fairground", + "park", + "university", + "horse_racing", + "survey_point", + "via_ferrata", + "via_ferrata_construction", + "building", + "military", + "water_well" + ], + 1, + 0 + ] + ], + 15, + [ + "match", + ["get","class"], + ["monastery","place_of_worship"], + 1, + [ + "match", + ["get","subclass"], + [ + "border_control", + "car_shuttle", + "tram_stop", + "subway_stop", + "funicular_stop", + "ferry", + "ferry_terminal", + "cable_car_station", + "gondola_station", + "chair_lift_station", + "aerialway_station", + "elevator", + "observation_tower", + "alpine_hut", + "inn", + "naturefriend_house", + "wilderness_hut", + "sports_centre", + "church_tower", + "ruins", + "building", + "dam", + "cave", + "waterfall", + "antenna_area", + "power_plant", + "cemetery", + "attraction", + "fairground", + "park", + "allotments", + "university", + "horse_racing", + "swimming_pool", + "survey_point", + "via_ferrata", + "via_ferrata_construction", + "monument", + "prison", + "water_well" + ], + 1, + 0 + ] + ], + 16, + 1 + ], + "text-halo-blur": 0.25, + "text-halo-color": "rgba(242, 242, 242, 0.9)", + "text-halo-width": 1 + }, + "filter": [ + "any", + [ + "match", + ["get","subclass"], + "waterfall", + [ + "case", + ["has","name"], + true, + false + ], + false + ], + [ + "match", + ["get","subclass"], + [ + "border_control", + "tram_stop", + "bus_stop", + "funicular_stop", + "subway_stop", + "cable_car_station", + "gondola_station", + "chair_lift_station", + "aerialway_station", + "ferry_terminal", + "ferry", + "car_ferry", + "elevator", + "car_shuttle", + "observatory", + "alpine_hut", + "inn", + "naturefriend_house", + "wilderness_hut", + "sports_centre", + "ruins", + "building", + "dam", + "solar", + "monument", + "cave", + "antenna_area", + "power_plant", + "cemetery", + "attraction", + "prison", + "fairground", + "park", + "allotments", + "horse_racing", + "swimming_pool", + "survey_point", + "via_ferrata", + "via_ferrata_construction", + "military", + "kindergarten", + "school", + "college", + "university", + "water_well", + "historic_administrative", + "historic_police_fire_dep", + "historic_courthouse", + "historic_execution_site", + "historic_casino", + "historic_mill", + "historic_mine", + "historic_fortification", + "historic_archive", + "historic_library", + "government", + "embassy" + ], + true, + [ + "match", + ["get","class"], + ["government","place_of_worship","monastery","pitch"], + true, + false + ] + ] + ] + }, + { + "id": "peak_other", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "mountain_peak", + "minzoom": 12.0, + "maxzoom": 22.0, + "layout": { + "icon-size": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + 0.2, + 18, + 0.5 + ], + "text-font": ["Frutiger Neue Italic"], + "text-size": [ + "interpolate", + ["exponential",1.125], + ["zoom"], + 7, + [ + "match", + ["get","class"], + "saddle", + 11, + 10 + ], + 13, + [ + "match", + ["get","class"], + "saddle", + 13, + 12 + ], + 18, + [ + "match", + ["get","class"], + "saddle", + 20, + 19 + ] + ], + "icon-image": [ + "match", + ["get","class"], + "saddle", + "saddle", + "mountain" + ], + "text-field": [ + "format", + ["get","name:latin"], + "\n", + ["get","ele"], + { + "font-scale": 0.75 + } + ], + "visibility": "visible", + "icon-anchor": "center", + "icon-offset": [0,0], + "text-anchor": "bottom", + "text-offset": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + [ + "literal", + [0,0] + ], + 18, + [ + "literal", + [0,-0.2] + ] + ], + "icon-padding": 0, + "text-justify": "auto", + "text-padding": 1, + "icon-optional": false, + "text-optional": false, + "symbol-z-order": ["literal","source"], + "text-max-width": 8, + "symbol-placement": "point", + "text-line-height": 1.15, + "icon-allow-overlap": false, + "text-allow-overlap": false, + "text-letter-spacing": 0.025, + "icon-pitch-alignment": "auto", + "icon-ignore-placement": false, + "text-ignore-placement": false, + "icon-rotation-alignment": "auto" + }, + "paint": { + "icon-color": "rgba(0, 0, 0, 1)", + "text-color": "rgba(27, 36, 62, 1)", + "icon-opacity": 1, + "text-opacity": 1, + "icon-halo-blur": 0, + "text-halo-blur": 0.25, + "icon-halo-color": "rgba(255, 255, 255, 1)", + "icon-halo-width": 0, + "text-halo-color": "rgba(242, 242, 242, 0.9)", + "text-halo-width": 0.5 + }, + "filter": [ + "all", + ["in","class","rocky_knoll","saddle"], + ["==","$type","Point"] + ] + }, + { + "id": "area_name_glacier_line_label", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "area_name", + "minzoom": 12.0, + "layout": { + "text-font": ["Frutiger Neue Italic"], + "text-size": [ + "interpolate", + ["linear"], + ["zoom"], + 12, + [ + "match", + ["get","size"], + [10,9], + 16, + [8,7,6,5], + 14, + [4,3,2], + 12, + 10 + ], + 16, + [ + "match", + ["get","size"], + [10,9], + 22, + [8,7,6,5], + 18, + [4,3,2], + 14, + 12 + ] + ], + "text-field": "{name:latin}", + "visibility": "visible", + "symbol-z-order": "auto", + "text-max-width": 99999, + "symbol-placement": "line-center", + "text-keep-upright": true, + "symbol-avoid-edges": true, + "text-allow-overlap": false, + "text-letter-spacing": { + "stops": [ + [10,0.15], + [12,0.3] + ] + }, + "text-pitch-alignment": "map", + "text-ignore-placement": false, + "text-rotation-alignment": "map" + }, + "paint": { + "text-color": "hsl(203, 60%, 46%)", + "text-halo-blur": 0.25, + "text-halo-color": "rgba(242, 242, 242, 0.9)", + "text-halo-width": 0.5 + }, + "filter": [ + "all", + [ + "==", + ["get","subclass"], + "glacier" + ], + [ + "==", + ["geometry-type"], + "LineString" + ] + ] + }, + { + "id": "area_name_point_label", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "area_name", + "minzoom": 10.0, + "layout": { + "icon-size": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + 0.2, + 18, + 0.5 + ], + "text-font": ["Frutiger Neue Italic"], + "text-size": [ + "interpolate", + ["exponential",1.125], + ["zoom"], + 7, + 11, + 13, + [ + "match", + ["get","subclass"], + "massif", + 16, + 11 + ], + 18, + [ + "match", + ["get","subclass"], + "massif", + 24, + 16 + ] + ], + "icon-image": [ + "match", + ["get","subclass"], + "massif", + "massif", + "" + ], + "text-field": "{name:latin}", + "visibility": "visible", + "text-anchor": [ + "match", + ["get","subclass"], + "massif", + "bottom", + "center" + ], + "text-offset": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + [ + "literal", + [0,-0.2] + ], + 18, + [ + "match", + ["get","subclass"], + "massif", + [ + "literal", + [0,-0.4] + ], + [ + "literal", + [0,0] + ] + ] + ], + "text-rotate": ["get","direction"], + "text-padding": 1, + "symbol-z-order": "auto", + "text-max-width": 99999, + "symbol-placement": "point", + "text-keep-upright": true, + "symbol-avoid-edges": true, + "text-allow-overlap": false, + "text-letter-spacing": [ + "interpolate", + ["linear"], + ["zoom"], + 10, + [ + "case", + [ + "!", + ["has","direction"] + ], + 0.09, + [ + "==", + "valley", + ["get","subclass"] + ], + 0.8, + 0.3 + ], + 16, + [ + "case", + [ + "!", + ["has","direction"] + ], + 0.09, + [ + "==", + "valley", + ["get","subclass"] + ], + 0.8, + 0.3 + ] + ], + "text-pitch-alignment": "map", + "text-ignore-placement": false, + "text-rotation-alignment": "map" + }, + "paint": { + "text-color": [ + "match", + ["get","subclass"], + "massif", + "rgba(44, 51, 72, 1)", + "rgba(42, 42, 42, 1)" + ], + "text-halo-blur": 0.25, + "text-halo-color": "rgba(242, 242, 242, 0.9)", + "text-halo-width": 0.5 + }, + "filter": [ + "all", + [ + "match", + ["get","subclass"], + ["gorge","valley","hillchain","ridge","massif"], + true, + false + ], + [ + "==", + ["geometry-type"], + "Point" + ] + ] + }, + { + "id": "place_hamlet_isolated_dwelling", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "place", + "minzoom": 7.0, + "maxzoom": 18.0, + "layout": { + "icon-size": [ + "interpolate", + ["linear"], + ["zoom"], + 7, + 0.35, + 14, + 0.65 + ], + "text-font": ["Frutiger Neue Condensed Regular"], + "text-size": [ + "interpolate", + ["exponential",1.25], + ["zoom"], + 7, + [ + "case", + [ + "!", + ["has","population"] + ], + 8, + [ + "case", + [ + "<=", + 50, + ["get","population"] + ], + 10, + 9 + ] + ], + 13, + [ + "case", + [ + "!", + ["has","population"] + ], + 14, + [ + "case", + [ + "<=", + 50, + ["get","population"] + ], + 16, + 15 + ] + ], + 18, + [ + "case", + [ + "!", + ["has","population"] + ], + 18, + [ + "case", + [ + "<=", + 50, + ["get","population"] + ], + 20, + 19 + ] + ] + ], + "icon-image": "circle_black", + "text-field": ["get","name:latin"], + "visibility": "visible", + "text-anchor": ["literal","bottom-left"], + "text-offset": [0,0], + "text-justify": "auto", + "text-padding": [ + "interpolate", + ["linear"], + ["zoom"], + 10, + 2, + 13, + 2, + 14, + 0 + ], + "icon-optional": false, + "symbol-z-order": ["literal","auto"], + "text-max-width": 8, + "text-transform": "none", + "symbol-sort-key": [ + "to-number", + ["get","rank"] + ], + "text-radial-offset": 0.3, + "text-letter-spacing": 0.025 + }, + "paint": { + "text-color": "rgba(42, 42, 42, 1)", + "icon-opacity": [ + "step", + ["zoom"], + 0, + 10, + [ + "case", + [ + ">", + 28, + ["get","rank"] + ], + 1, + 0 + ], + 11, + [ + "case", + [ + ">", + 30, + ["get","rank"] + ], + 1, + 0 + ], + 12, + 0 + ], + "text-opacity": [ + "step", + ["zoom"], + 0, + 10, + [ + "case", + [ + ">", + 28, + ["get","rank"] + ], + 1, + 0 + ], + 11, + [ + "case", + [ + ">", + 30, + ["get","rank"] + ], + 1, + 0 + ], + 12, + [ + "case", + [ + ">", + 31, + ["get","rank"] + ], + 1, + 0 + ], + 13, + [ + "case", + [ + ">", + 32, + ["get","rank"] + ], + 1, + 0 + ], + 14, + 1 + ], + "text-halo-blur": 0.25, + "text-halo-color": "rgba(242, 242, 242, 1)", "text-halo-width": [ "interpolate", ["linear"], ["zoom"], 12, - 1.5, - 18, - 3 + 0.5, + 14, + 1 ] }, "filter": [ "all", - ["!in","class","doline","lake_elevation","sinkhole","sinkhole_rock","sinkhole_scree","sinkhole_water","sinkhole_ice"] + ["in","class","hamlet","isolated_dwelling"] + ] + }, + { + "id": "place_other", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "place", + "minzoom": 7.0, + "maxzoom": 18.0, + "layout": { + "icon-size": 1, + "text-font": ["Frutiger Neue Condensed Regular"], + "text-size": [ + "interpolate", + ["exponential",1.25], + ["zoom"], + 7, + [ + "case", + [ + "!", + ["has","population"] + ], + 11, + [ + "case", + [ + "<=", + 50000, + ["get","population"] + ], + 16, + [ + "<=", + 10000, + ["get","population"] + ], + 14, + [ + "<=", + 2000, + ["get","population"] + ], + 13, + [ + "<=", + 500, + ["get","population"] + ], + 12, + 11 + ] + ], + 13, + [ + "case", + [ + "!", + ["has","population"] + ], + 14, + [ + "case", + [ + "<=", + 50000, + ["get","population"] + ], + 22, + [ + "<=", + 10000, + ["get","population"] + ], + 18, + [ + "<=", + 2000, + ["get","population"] + ], + 16, + [ + "<=", + 500, + ["get","population"] + ], + 15, + 14 + ] + ], + 18, + [ + "case", + [ + "!", + ["has","population"] + ], + 18, + [ + "case", + [ + "<=", + 50000, + ["get","population"] + ], + 30, + [ + "<=", + 10000, + ["get","population"] + ], + 24, + [ + "<=", + 2000, + ["get","population"] + ], + 20, + [ + "<=", + 500, + ["get","population"] + ], + 19, + 18 + ] + ] + ], + "text-field": ["get","name:latin"], + "visibility": "visible", + "text-anchor": "center", + "text-offset": [ + "match", + ["get","class"], + "island", + [ + "literal", + [0,0] + ], + [ + "literal", + [0.3,0.2] + ] + ], + "text-justify": "auto", + "text-padding": 2, + "icon-optional": false, + "symbol-z-order": ["literal","auto"], + "text-max-width": 10, + "text-transform": "none", + "symbol-sort-key": [ + "to-number", + ["get","rank"] + ], + "text-letter-spacing": 0.025 + }, + "paint": { + "text-color": "rgba(42, 42, 42, 1)", + "icon-opacity": 1, + "text-opacity": [ + "step", + ["zoom"], + 0, + 11, + [ + "case", + [ + ">", + 18, + ["get","rank"] + ], + 1, + 0 + ], + 13, + 1 + ], + "text-halo-blur": 0.25, + "text-halo-color": "rgba(242, 242, 242, 1)", + "text-halo-width": [ + "interpolate", + ["linear"], + ["zoom"], + 12, + 0.5, + 14, + 1 + ] + }, + "filter": [ + "all", + ["!in","class","continent","country","state","city","town","village","hamlet","isolated_dwelling"] + ] + }, + { + "id": "poi_rank1", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "poi", + "minzoom": 12.0, + "layout": { + "icon-size": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + [ + "match", + ["get","subclass"], + "doline", + 0.8, + "railway_station", + 0.4, + 0.3 + ], + 18, + [ + "match", + ["get","subclass"], + "doline", + 1, + "railway_station", + 0.6, + 0.5 + ] + ], + "text-font": ["Frutiger Neue Condensed Regular"], + "text-size": [ + "interpolate", + ["exponential",1.25], + ["zoom"], + 7, + 9, + 13, + [ + "match", + ["get","subclass"], + ["doline","railway_station"], + 13, + 11 + ], + 18, + [ + "match", + ["get","subclass"], + ["doline","railway_station"], + 18, + 16 + ] + ], + "icon-image": [ + "match", + ["get","subclass"], + ["camp_site","caravan_site"], + "camping", + "castle", + "castle", + "doline", + "doline", + ["golf","golf_course"], + "golf", + "historic_government", + "museum", + "hospital", + "hospital", + "observation_tower", + "observation_tower", + "railway_station", + "railway", + "stadium", + "stadium", + "zoo", + "zoo", + [ + "match", + ["get","class"], + "monastery", + "monastery", + "place_of_worship", + "church", + "" + ] + ], + "text-field": ["get","name:latin"], + "visibility": "visible", + "icon-offset": [0,0], + "text-anchor": "left", + "text-offset": [0.8,0.1], + "text-justify": "left", + "text-padding": 1, + "text-optional": false, + "text-max-width": 10, + "symbol-avoid-edges": true + }, + "paint": { + "text-color": [ + "match", + ["get","subclass"], + "railway_station", + "rgba(34, 39, 105, 1)", + ["castle","historic_government"], + "rgba(136, 85, 13, 1)", + "stadium", + "rgba(128, 39, 88, 1)", + ["camp_site","caravan_site","golf","golf_course","observation_tower","zoo"], + "rgba(70, 121, 39, 1)", + "hospital", + "rgba(11, 105, 164,1)", + "doline", + "rgba(159, 116, 57, 1)", + [ + "match", + ["get","class"], + ["monastery","place_of_worship"], + "rgba(136, 85, 13, 1)", + "rgba(42, 42, 42, 1)" + ] + ], + "icon-opacity": [ + "step", + ["zoom"], + 0, + 1, + [ + "match", + ["get","subclass"], + ["hospital","historic_government"], + 0, + 1 + ], + 13, + [ + "match", + ["get","subclass"], + "doline", + 0.7, + 1 + ] + ], + "text-opacity": [ + "step", + ["zoom"], + 0, + 12, + [ + "match", + ["get","subclass"], + ["hospital","stadium","historic_government"], + 0, + 1 + ], + 13, + [ + "match", + ["get","subclass"], + ["hospital","stadium"], + 0, + 1 + ], + 14, + 1 + ], + "text-halo-blur": 0.25, + "text-halo-color": "rgba(242, 242, 242, 0.9)", + "text-halo-width": 1 + }, + "filter": [ + "any", + [ + "match", + ["get","subclass"], + [ + "camp_site", + "castle", + "doline", + "golf", + "golf_course", + "historic_government", + "hospital", + "observation_tower", + "railway_station", + "stadium", + "zoo" + ], + true, + [ + "match", + ["get","class"], + ["place_of_worship","monastery"], + [ + "case", + ["has","name"], + true, + false + ], + false + ] + ] + ] + }, + { + "id": "peak_rank5+", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "mountain_peak", + "minzoom": 12.0, + "maxzoom": 22.0, + "layout": { + "icon-size": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + 0.2, + 18, + 0.5 + ], + "text-font": ["Frutiger Neue Italic"], + "text-size": [ + "interpolate", + ["exponential",1.25], + ["zoom"], + 7, + [ + "match", + ["get","class"], + ["alpine_peak","main_peak","peak"], + 11, + 10 + ], + 13, + [ + "match", + ["get","class"], + "alpine_peak", + 15, + "main_peak", + 14, + "peak", + 13, + 12 + ], + 18, + [ + "match", + ["get","class"], + "alpine_peak", + 22, + "main_peak", + 21, + "peak", + 20, + 19 + ] + ], + "icon-image": [ + "match", + ["get","class"], + ["alpine_peak","main_peak","peak"], + "mountain", + ["main_hill","hill"], + "hill", + "mountain" + ], + "text-field": [ + "format", + ["get","name:latin"], + "\n", + ["get","ele"], + { + "font-scale": 0.75 + } + ], + "visibility": "visible", + "icon-anchor": "center", + "icon-offset": [0,0], + "text-anchor": "bottom", + "text-offset": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + [ + "literal", + [0,0] + ], + 18, + [ + "literal", + [0,-0.2] + ] + ], + "icon-padding": 0, + "text-justify": "center", + "text-padding": 1, + "icon-optional": false, + "text-optional": false, + "symbol-z-order": ["literal","source"], + "text-max-width": 8, + "symbol-placement": "point", + "text-line-height": 1.15, + "icon-allow-overlap": false, + "text-allow-overlap": false, + "text-letter-spacing": 0.025, + "icon-pitch-alignment": "auto", + "icon-ignore-placement": false, + "text-ignore-placement": false, + "icon-rotation-alignment": "auto" + }, + "paint": { + "icon-color": "rgba(0, 0, 0, 1)", + "text-color": "rgba(27, 36, 62, 1)", + "icon-opacity": 1, + "text-opacity": 1, + "icon-halo-blur": 0, + "text-halo-blur": 0.25, + "icon-halo-color": "rgba(255, 255, 255, 1)", + "icon-halo-width": 0, + "text-halo-color": "rgba(242, 242, 242, 0.9)", + "text-halo-width": 0.5 + }, + "filter": [ + "all", + [">=","rank",5], + ["!in","class","rocky_knoll","saddle","mountain_pass"], + ["==","$type","Point"] + ] + }, + { + "id": "peak_rank4", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "mountain_peak", + "minzoom": 10.0, + "maxzoom": 22.0, + "layout": { + "icon-size": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + 0.2, + 18, + 0.5 + ], + "text-font": ["Frutiger Neue Italic"], + "text-size": [ + "interpolate", + ["exponential",1.25], + ["zoom"], + 7, + [ + "match", + ["get","class"], + ["alpine_peak","main_peak","peak"], + 11, + 10 + ], + 13, + [ + "match", + ["get","class"], + "alpine_peak", + 15, + "main_peak", + 14, + "peak", + 13, + 12 + ], + 18, + [ + "match", + ["get","class"], + "alpine_peak", + 22, + "main_peak", + 21, + "peak", + 20, + 19 + ] + ], + "icon-image": [ + "match", + ["get","class"], + ["alpine_peak","main_peak","peak"], + "mountain", + ["main_hill","hill"], + "hill", + "mountain" + ], + "text-field": [ + "format", + ["get","name:latin"], + "\n", + ["get","ele"], + { + "font-scale": 0.75 + } + ], + "visibility": "visible", + "icon-anchor": "center", + "icon-offset": [0,0], + "text-anchor": "bottom", + "text-offset": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + [ + "literal", + [0,0] + ], + 18, + [ + "literal", + [0,-0.2] + ] + ], + "icon-padding": 0, + "text-justify": "center", + "text-padding": 1, + "icon-optional": false, + "text-optional": false, + "symbol-z-order": ["literal","source"], + "text-max-width": 8, + "symbol-placement": "point", + "text-line-height": 1.15, + "icon-allow-overlap": false, + "text-allow-overlap": false, + "text-letter-spacing": 0.025, + "icon-pitch-alignment": "auto", + "icon-ignore-placement": false, + "text-ignore-placement": false, + "icon-rotation-alignment": "auto" + }, + "paint": { + "icon-color": "rgba(0, 0, 0, 1)", + "text-color": "rgba(27, 36, 62, 1)", + "icon-opacity": 1, + "text-opacity": 1, + "icon-halo-blur": 0, + "text-halo-blur": 0.25, + "icon-halo-color": "rgba(255, 255, 255, 1)", + "icon-halo-width": 0.5, + "text-halo-color": "rgba(242, 242, 242, 0.9)", + "text-halo-width": 0.5 + }, + "filter": [ + "all", + ["==","rank",4], + ["!in","class","rocky_knoll","saddle","mountain_pass"], + ["==","$type","Point"] + ] + }, + { + "id": "peak_rank3", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "mountain_peak", + "minzoom": 9.0, + "maxzoom": 22.0, + "layout": { + "icon-size": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + 0.2, + 18, + 0.5 + ], + "text-font": ["Frutiger Neue Italic"], + "text-size": [ + "interpolate", + ["exponential",1.25], + ["zoom"], + 7, + [ + "match", + ["get","class"], + ["alpine_peak","main_peak","peak"], + 11, + 10 + ], + 13, + [ + "match", + ["get","class"], + "alpine_peak", + 15, + "main_peak", + 14, + "peak", + 13, + 12 + ], + 18, + [ + "match", + ["get","class"], + "alpine_peak", + 22, + "main_peak", + 21, + "peak", + 20, + 19 + ] + ], + "icon-image": [ + "match", + ["get","class"], + ["alpine_peak","main_peak","peak"], + "mountain", + ["main_hill","hill"], + "hill", + "mountain" + ], + "text-field": [ + "format", + ["get","name:latin"], + "\n", + ["get","ele"], + { + "font-scale": 0.75 + } + ], + "visibility": "visible", + "icon-anchor": "center", + "icon-offset": [0,0], + "text-anchor": "bottom", + "text-offset": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + [ + "literal", + [0,0] + ], + 18, + [ + "literal", + [0,-0.2] + ] + ], + "icon-padding": 0, + "text-justify": "center", + "text-padding": 1, + "icon-optional": false, + "text-optional": false, + "symbol-z-order": ["literal","source"], + "text-max-width": 8, + "symbol-placement": "point", + "text-line-height": 1.15, + "icon-allow-overlap": false, + "text-allow-overlap": false, + "text-letter-spacing": 0.025, + "icon-pitch-alignment": "auto", + "icon-ignore-placement": false, + "text-ignore-placement": false, + "icon-rotation-alignment": "auto" + }, + "paint": { + "icon-color": "rgba(0, 0, 0, 1)", + "text-color": "rgba(27, 36, 62, 1)", + "icon-opacity": 1, + "text-opacity": 1, + "icon-halo-blur": 0, + "text-halo-blur": 0.25, + "icon-halo-color": "rgba(255, 255, 255, 1)", + "icon-halo-width": 0, + "text-halo-color": "rgba(242, 242, 242, 0.9)", + "text-halo-width": 0.5 + }, + "filter": [ + "all", + ["==","rank",3], + ["!in","class","rocky_knoll","saddle","mountain_pass"], + ["==","$type","Point"] + ] + }, + { + "id": "peak_rank2", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "mountain_peak", + "minzoom": 9.0, + "maxzoom": 22.0, + "layout": { + "icon-size": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + 0.2, + 18, + 0.5 + ], + "text-font": ["Frutiger Neue Italic"], + "text-size": [ + "interpolate", + ["exponential",1.25], + ["zoom"], + 7, + [ + "match", + ["get","class"], + ["alpine_peak","main_peak","peak"], + 11, + 10 + ], + 13, + [ + "match", + ["get","class"], + "alpine_peak", + 15, + "main_peak", + 14, + "peak", + 13, + 12 + ], + 18, + [ + "match", + ["get","class"], + "alpine_peak", + 22, + "main_peak", + 21, + "peak", + 20, + 19 + ] + ], + "icon-image": [ + "match", + ["get","class"], + ["alpine_peak","main_peak","peak"], + "mountain", + ["main_hill","hill"], + "hill", + "mountain" + ], + "text-field": [ + "format", + ["get","name:latin"], + "\n", + ["get","ele"], + { + "font-scale": 0.75 + } + ], + "visibility": "visible", + "icon-anchor": "center", + "icon-offset": [0,0], + "text-anchor": "bottom", + "text-offset": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + [ + "literal", + [0,0] + ], + 18, + [ + "literal", + [0,-0.2] + ] + ], + "icon-padding": 0, + "text-justify": "center", + "text-padding": 1, + "icon-optional": false, + "text-optional": false, + "symbol-z-order": ["literal","source"], + "text-max-width": 8, + "symbol-placement": "point", + "text-line-height": 1.15, + "icon-allow-overlap": false, + "text-allow-overlap": false, + "text-letter-spacing": 0.025, + "icon-pitch-alignment": "auto", + "icon-ignore-placement": false, + "text-ignore-placement": false, + "icon-rotation-alignment": "auto" + }, + "paint": { + "icon-color": "rgba(0, 0, 0, 1)", + "text-color": "rgba(27, 36, 62, 1)", + "icon-opacity": 1, + "text-opacity": 1, + "icon-halo-blur": 0, + "text-halo-blur": 0.25, + "icon-halo-color": "rgba(255, 255, 255, 1)", + "text-halo-color": "rgba(242, 242, 242, 0.9)", + "text-halo-width": 0.5 + }, + "filter": [ + "all", + ["==","rank",2], + ["!in","class","rocky_knoll","saddle","mountain_pass"], + ["==","$type","Point"] ] }, { "id": "waterway_line_label", "type": "symbol", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "waterway", "minzoom": 9.0, "layout": { @@ -6342,7 +13023,63 @@ ["exponential",1.5], ["zoom"], 10, - 10.5, + [ + "match", + [ + "to-string", + ["get","width"] + ], + ["9","10"], + 14, + ["7","8"], + 14, + ["5","6"], + 13, + "4", + 12, + "3", + 12, + "2", + 12, + "1", + 12, + [ + "match", + ["get","class"], + ["river","canal"], + 14, + 12 + ] + ], + 13, + [ + "match", + [ + "to-string", + ["get","width"] + ], + ["9","10"], + 15, + ["7","8"], + 15, + ["5","6"], + 14, + "4", + 13, + "3", + 12, + "2", + 12, + "1", + 12, + [ + "match", + ["get","class"], + ["river","canal"], + 16, + 12 + ] + ], 16, [ "match", @@ -6361,9 +13098,9 @@ "3", 14, "2", - 13, + 14, "1", - 12, + 14, [ "match", ["get","class"], @@ -6374,222 +13111,335 @@ ] ], "text-field": ["get","name:latin"], - "text-padding": 0, - "symbol-spacing": 650, + "visibility": "visible", + "text-padding": 1, + "symbol-spacing": 350, "symbol-z-order": "auto", + "text-max-angle": 60, "text-max-width": 9999, + "symbol-sort-key": [ + "-", + 20, + ["get","width"] + ], "symbol-placement": "line", "text-keep-upright": true, "text-allow-overlap": false, - "text-letter-spacing": [ - "interpolate", - ["linear"], - ["zoom"], - 8, - 0.1, - 12, - [ - "match", - ["get","class"], - ["river"], - 0.4, - 0.2 - ] - ], + "text-letter-spacing": 0.1, "text-pitch-alignment": "map", "text-ignore-placement": false, "text-rotation-alignment": "map" }, "paint": { - "text-color": "rgb(20, 136, 205)", - "text-halo-blur": 1, - "text-halo-color": "rgba(242, 242, 242, 0.6)", - "text-halo-width": 2 + "text-color": [ + "match", + ["get","intermittent"], + 1, + "rgba(42, 42, 42, 1)", + "hsl(203, 60%, 46%)" + ], + "text-opacity": [ + "step", + ["zoom"], + [ + "match", + ["get","width"], + [7,8,9,10], + 1, + 0 + ], + 13, + 1 + ], + "text-halo-blur": 0.25, + "text-halo-color": "rgba(215, 243, 255, 0.9)", + "text-halo-width": 0.5 }, "filter": [ "all", - ["==","$type","LineString"], - ["!=","intermittent",1] + [ + "!=", + ["get","intermittent"], + 1 + ], + [ + "==", + ["geometry-type"], + "LineString" + ] ] }, { - "id": "transportation_label", + "id": "poi_motorway_no_offset", "type": "symbol", - "source": "swissmaptiles", - "source-layer": "transportation_name", - "minzoom": 13.0, + "source": "base_v1.0.0", + "source-layer": "poi", "layout": { "text-font": ["Frutiger Neue Condensed Regular"], - "text-size": [ - "interpolate", - ["exponential",1.5], - ["zoom"], - 14, - [ - "match", - ["get","class"], - ["motorway","trunk"], - 11, - 10.5 - ], - 18, - [ - "match", - ["get","class"], - ["motorway","trunk"], - 18, - 16 - ] + "text-size": 10.5, + "icon-image": [ + "match", + ["get","subclass"], + ["shop","fuel","toilets","rest_stop"], + "motorway_rest_area", + "border_control", + "box_white_black", + "" ], - "text-field": "{name:latin}", + "text-field": ["get","name:latin"], "visibility": "visible", - "text-anchor": "center", - "text-offset": [0,0], - "text-padding": 2, - "symbol-spacing": [ - "interpolate", - ["linear"], - ["zoom"], - 15, - 200, - 18, - 400 - ], - "symbol-z-order": "auto", - "text-max-angle": 40, - "text-transform": "none", - "symbol-placement": "line", - "text-keep-upright": true, - "symbol-avoid-edges": true, - "text-letter-spacing": 0.1, - "text-pitch-alignment": "map", - "text-rotation-alignment": "map" + "icon-offset": [0,-1.8], + "icon-text-fit": "width", + "text-max-width": 999, + "text-letter-spacing": 0.03, + "icon-text-fit-padding": [0,4,0,4] }, "paint": { "text-color": [ "match", - ["get","class"], - ["rail","transit","cable_car","gondola","chair_lift"], - "rgba(255, 50, 50, 1)", - "rgba(60, 60, 70, 1)" + ["get","subclass"], + "border_control", + "rgba(42, 42, 42, 1)", + "rgba(75, 60, 45, 1)" + ] + }, + "filter": [ + "all", + ["in","subclass","shop","fuel","toilets","rest_stop"], + ["has","name"] + ] + }, + { + "id": "poi_motorway", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "poi", + "minzoom": 14.0, + "layout": { + "text-font": ["Frutiger Neue Condensed Regular"], + "text-size": 10, + "icon-image": [ + "match", + ["get","subclass"], + "exit", + "exit", + "junction", + "junction", + "restaurant", + "motorway_restaurant", + "motorway_rest_area" ], - "text-halo-blur": 0.2, - "text-halo-color": [ + "text-field": ["get","name:latin"], + "visibility": "visible", + "icon-offset": [0,-1.8], + "icon-text-fit": "width", + "text-max-width": 999, + "text-letter-spacing": 0.03, + "icon-text-fit-padding": [0,4,0,16] + }, + "paint": { + "text-color": "rgba(65, 50, 35, 1)" + }, + "filter": [ + "all", + ["in","subclass","exit","junction","restaurant"], + ["has","name"] + ] + }, + { + "id": "aerodrome_label", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "aerodrome_label", + "minzoom": 10.0, + "layout": { + "icon-size": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + 0.35, + 16, + 0.5 + ], + "text-font": ["Frutiger Neue Condensed Regular"], + "text-size": [ + "interpolate", + ["exponential",1.25], + ["zoom"], + 13, + 14, + 18, + 20 + ], + "icon-image": [ "match", ["get","class"], - ["rail","transit","cable_car","gondola","chair_lift","motorway","trunk"], - "rgba(255, 255, 255, 0.6)", - "rgba(255, 255, 255, 0.8)" + "international", + "airplane_large", + "regional", + "airplane_medium", + "other", + "airplane_small", + "helipad", + "heliport", + "" ], + "text-field": ["get","name:latin"], + "visibility": "visible", + "icon-anchor": "center", + "icon-offset": [0,0], + "text-anchor": "left", + "text-offset": [0.7,0.1], + "text-justify": "center", + "text-padding": 2, + "icon-text-fit": "none", + "text-transform": [ + "match", + ["get","class"], + "international", + ["literal","uppercase"], + "regional", + ["literal","none"], + ["literal","none"] + ], + "symbol-placement": "point", + "text-letter-spacing": [ + "match", + ["get","class"], + "international", + 0.03, + "regional", + 0.02, + 0.02 + ], + "icon-text-fit-padding": [0,0,0,0] + }, + "paint": { + "text-color": "rgba(34, 39, 105, 1)", + "icon-opacity": [ + "step", + ["zoom"], + [ + "match", + ["get","class"], + "international", + 1, + 0 + ], + 11, + [ + "match", + ["get","class"], + ["international","regional"], + 1, + 0 + ], + 12, + 1 + ], + "text-opacity": [ + "step", + ["zoom"], + [ + "match", + ["get","class"], + "international", + 1, + 0 + ], + 11, + [ + "match", + ["get","class"], + ["international","regional"], + 1, + 0 + ], + 12, + 1 + ], + "text-halo-blur": 0.25, + "text-halo-color": "rgba(255, 255, 255, 1)", "text-halo-width": [ "interpolate", ["linear"], ["zoom"], + 12, + 0.5, 14, - [ - "match", - ["get","class"], - ["rail","transit","cable_car","gondola","chair_lift"], - 1, - 1.5 - ], - 20, - 3 + 1 ] }, - "filter": [ - "all", - ["==","$type","LineString"] - ] + "filter": ["all"] }, { - "id": "aerialway", - "type": "line", - "source": "swissmaptiles", - "source-layer": "transportation", - "minzoom": 12.0, + "id": "place_country_exclave", + "type": "symbol", + "source": "base_v1.0.0", + "source-layer": "place", + "minzoom": 11.0, + "maxzoom": 22.0, "layout": { - "visibility": "visible" + "text-font": ["Frutiger Neue Condensed Regular"], + "text-size": [ + "interpolate", + ["linear"], + ["zoom"], + 7, + 14, + 18, + 24 + ], + "text-field": "{name:latin}", + "visibility": "visible", + "text-max-width": 10, + "text-transform": "uppercase", + "text-letter-spacing": 0.12 }, "paint": { - "line-blur": 0.25, - "line-color": { - "stops": [ - [7,"rgba(255, 50, 50, 1)"], - [15,"rgba(255, 80, 80, 1)"] - ] - }, - "line-width": [ - "interpolate", - ["linear"], - ["zoom"], - 8, - 0.2, - 14, - [ - "match", - ["get","class"], - ["cable_car"], - 1, - 0.75 - ], - 18, - [ - "match", - ["get","class"], - ["cable_car"], - 2, - 1.5 - ] - ], - "line-opacity": [ - "interpolate", - ["linear"], - ["zoom"], - 12, - 0, - 13, - [ - "match", - ["get","class"], - ["cable_car","gondola"], - 1, - 0 - ], - 14, - [ - "match", - ["get","class"], - ["cable_car","gondola","chair_lift"], - 1, - 0 - ] - ] + "text-color": "hsl(327, 48%, 55%)", + "text-opacity": 1, + "text-halo-blur": 0.25, + "text-halo-color": "rgba(255, 255, 255, 0.8)", + "text-halo-width": 0.5 }, "filter": [ "all", - ["in","class","cable_car","gondola","chair_lift"] + ["==","class","country"], + ["in","iso_a2","DE","IT"] ] }, { "id": "road_number", "type": "symbol", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "transportation_name", "minzoom": 11.0, "layout": { "icon-size": 1, - "text-font": ["Frutiger Neue Condensed Bold"], - "text-size": 10.5, - "icon-image": "box_white_grey_casing_{ref_length}", + "text-font": ["Frutiger Neue Condensed Regular"], + "text-size": 10, + "icon-image": [ + "match", + ["get","is_route"], + 99, + "box_orange_black", + [5,10], + "box_red_black", + [6,7,8], + "box_yellow_black", + "box_white_black" + ], "text-field": ["get","ref"], "visibility": "visible", - "icon-offset": [0,-1.3], + "icon-offset": [0,-1.5], "text-anchor": "center", "icon-padding": 2, "text-justify": "center", + "text-padding": 1, "icon-optional": false, - "icon-text-fit": "none", + "icon-text-fit": "both", "text-optional": false, "symbol-spacing": [ "step", @@ -6606,15 +13456,26 @@ "text-keep-upright": true, "icon-allow-overlap": false, "symbol-avoid-edges": false, - "text-letter-spacing": 0, + "text-letter-spacing": 0.03, "icon-pitch-alignment": "viewport", "text-pitch-alignment": "viewport", "icon-ignore-placement": false, + "icon-text-fit-padding": [1,3,1,3], "icon-rotation-alignment": "viewport", "text-rotation-alignment": "viewport" }, "paint": { - "text-color": "rgba(64, 64, 64, 1)", + "text-color": [ + "match", + ["get","is_route"], + [5,10], + "rgba(70, 50, 30, 1)", + [6,7,8], + "rgba(60, 60, 30, 1)", + 99, + "rgba(65, 50, 35, 1)", + "rgba(42, 42, 42, 1)" + ], "icon-opacity": 1, "text-opacity": 1, "text-halo-blur": 0, @@ -6623,1305 +13484,139 @@ }, "filter": [ "all", - ["in","class","motorway","trunk","primary"], + ["in","class","motorway","trunk","primary","secondary","tertiary","minor"], ["has","ref"], - ["<=","ref_length",12], + ["!=","ref_length",0], ["==","$type","LineString"] ] }, { - "id": "area_name_glacier_point_label", + "id": "place_village", "type": "symbol", - "source": "swissmaptiles", - "source-layer": "area_name", - "minzoom": 14.0, + "source": "base_v1.0.0", + "source-layer": "place", + "minzoom": 8.0, + "maxzoom": 17.0, "layout": { - "text-font": ["Frutiger Neue Italic"], - "text-size": [ + "icon-size": [ "interpolate", ["linear"], ["zoom"], - 10, - 11, - 16, - 20 + 7, + 0.35, + 14, + 0.65 ], - "text-field": "{name:latin}", - "symbol-spacing": { - "stops": [ - [12,250], - [14,550] - ] - }, - "symbol-z-order": "auto", - "text-max-width": 99999, - "symbol-placement": "point", - "text-keep-upright": true, - "symbol-avoid-edges": true, - "text-allow-overlap": false, - "text-letter-spacing": 0.15, - "text-pitch-alignment": "map", - "text-ignore-placement": false, - "text-rotation-alignment": "map" - }, - "paint": { - "text-color": "rgba(55, 146, 201, 1)", - "text-halo-blur": 1, - "text-halo-color": "rgba(242, 242, 242, 0.6)", - "text-halo-width": 1 - }, - "filter": [ - "all", - ["==","$type","Point"], - ["in","subclass","glacier"] - ] - }, - { - "id": "area_name_glacier_line_label", - "type": "symbol", - "source": "swissmaptiles", - "source-layer": "area_name", - "minzoom": 12.0, - "layout": { - "text-font": ["Frutiger Neue Italic"], - "text-size": [ - "interpolate", - ["linear"], - ["zoom"], - 10, - 11, - 16, - 20 - ], - "text-field": "{name:latin}", - "symbol-spacing": { - "stops": [ - [12,250], - [14,550] - ] - }, - "symbol-z-order": "auto", - "text-max-width": 99999, - "symbol-placement": "line-center", - "text-keep-upright": true, - "symbol-avoid-edges": true, - "text-allow-overlap": false, - "text-letter-spacing": { - "stops": [ - [10,0.15], - [12,0.3] - ] - }, - "text-pitch-alignment": "map", - "text-ignore-placement": false, - "text-rotation-alignment": "map" - }, - "paint": { - "text-color": "rgba(55, 146, 201, 1)", - "text-halo-blur": 1, - "text-halo-color": "rgba(242, 242, 242, 0.6)", - "text-halo-width": 1 - }, - "filter": [ - "all", - ["==","$type","LineString"], - ["in","subclass","glacier"] - ] - }, - { - "id": "poi_rank3", - "type": "symbol", - "source": "swissmaptiles", - "source-layer": "poi", - "minzoom": 15.0, - "layout": { - "icon-size": 1, "text-font": ["Frutiger Neue Condensed Regular"], "text-size": [ "interpolate", - ["linear"], + ["exponential",1.25], ["zoom"], - 14, - 12, - 18, - 18 - ], - "icon-image": [ - "match", - ["get","subclass"], - ["tram_stop","bus_stop","halt","aerialway_station","elevator","subway_entrance"], - "dot_red", - "waterfall", - "waterfall_blue", - "observation_tower", - "observation_tower_grey", - ["survey_point","surveying_pyramid"], - "dot_dark_grey_4", - "" - ], - "text-field": ["get","name:latin"], - "visibility": "visible", - "icon-rotate": [ - "to-number", - ["get","direction"] - ], - "text-anchor": [ - "match", - ["get","subclass"], - ["halt","tram_stop","bus_stop","aerialway_station","elevator","subway_entrance","survey_point","surveying_pyramid"], - "bottom-left", - ["waterfall","observation_tower"], - "left", - "center" - ], - "text-offset": [ - "match", - ["get","subclass"], - "observation_tower", + 7, [ - "literal", - [0.5,0.2] + "case", + [ + "<=", + 2000, + ["get","population"] + ], + 13, + [ + "<=", + 1000, + ["get","population"] + ], + 12, + 11 ], - "waterfall", - [ - "literal", - [0.5,0.1] - ], - [ - "literal", - [0.4,0.1] - ] - ], - "text-justify": "left", - "text-padding": 2, - "icon-optional": false, - "text-optional": true, - "text-max-width": 10, - "icon-allow-overlap": false, - "icon-ignore-placement": false, - "icon-rotation-alignment": "map" - }, - "paint": { - "text-color": [ - "match", - ["get","subclass"], - ["halt","tram_stop","bus_stop","aerialway_station","elevator","subway_entrance"], - "rgba(255, 50, 50, 1)", - "waterfall", - "rgba(20, 136, 205, 1)", - "rgba(48, 48, 48, 1)" - ], - "icon-opacity": [ - "case", - ["has","name"], - 1, - 0 - ], - "text-opacity": [ - "step", - ["zoom"], - 0, - 15, - [ - "match", - ["get","class"], - "college", - 0, - 1 - ], - 16, - 1 - ], - "text-halo-blur": 1, - "text-halo-color": "rgba(242, 242, 242, 0.6)", - "text-halo-width": [ - "interpolate", - ["linear"], - ["zoom"], - 14, - 1, - 17, - 2 - ] - }, - "filter": [ - "all", - [ - "match", - ["get","class"], - [ - "allottments", - "antenna_area", - "attraction", - "aerialway", - "bus", - "building", - "cave", - "driving_centre", - "elevator", - "entrance", - "garden", - "place_of_worship", - "railway", - "survey_point", - "tower", - "wastewater_plant", - "waterfall" - ], - true, - false - ], - [ - "match", - ["get","subclass"], - [ - "aerialway_station", - "allottments", - "antenna_area", - "attraction", - "bus_stop", - "cave", - "building", - "elevator", - "garden", - "halt", - "observation_tower", - "observatory", - "subway_entrance", - "survey_point", - "surveying_pyramid", - "tower", - "tram_stop", - "wastewater_plant", - "waterfall", - "" - ], - true, - false - ] - ] - }, - { - "id": "poi_rank2", - "type": "symbol", - "source": "swissmaptiles", - "source-layer": "poi", - "minzoom": 13.0, - "layout": { - "icon-size": 1, - "text-font": ["Frutiger Neue Condensed Regular"], - "text-size": [ - "interpolate", - ["linear"], - ["zoom"], - 14, - 12, - 18, - 18 - ], - "icon-image": [ - "step", - ["zoom"], - [ - "match", - ["get","subclass"], - "church_tower", - "dot_circle_dark_grey_8", - ["golf_course","golf"], - "golf_grey", - ["ferry","ferry_terminal"], - "dot_blue", - "funicular_stop", - "dot_red", - "wind_turbine", - "windturbine_grey", - "communications_tower", - "communications_tower_grey", - "" - ], - 15, - [ - "match", - ["get","subclass"], - ["camp_site","caravan_site"], - "camping_grey", - "church_tower", - "dot_circle_dark_grey_10", - ["golf_course","golf"], - "golf_grey", - ["ferry","ferry_terminal"], - "dot_blue", - "funicular_stop", - "dot_red", - "wind_turbine", - "windturbine_grey", - "communications_tower", - "communications_tower_grey", - "" - ], - 16, - [ - "match", - ["get","subclass"], - ["camp_site","caravan_site"], - "camping_grey", - "church_tower", - "dot_circle_dark_grey_12", - ["golf_course","golf"], - "golf_grey", - ["ferry","ferry_terminal"], - "dot_blue", - "funicular_stop", - "dot_red", - "hospital", - "hospital_grey", - "wind_turbine", - "windturbine_grey", - "communications_tower", - "communications_tower_grey", - "" - ] - ], - "text-field": ["get","name:latin"], - "visibility": "visible", - "icon-offset": [0,0], - "text-anchor": [ - "match", - ["get","class"], - ["monastery"], - "left", - [ - "match", - ["get","subclass"], - ["caravan_site","camp_site","church_tower","golf_course","golf","hospital","communications_tower"], - "left", - ["ferry","ferry_terminal","funicular_stop"], - "bottom-left", - "center" - ] - ], - "text-offset": [ - "match", - ["get","subclass"], - ["ferry","ferry_terminal","funicular_stop"], - [ - "literal", - [0.4,0.1] - ], - [ - "literal", - [0.8,0.1] - ] - ], - "text-justify": "left", - "icon-optional": false, - "text-optional": true, - "text-max-width": 10, - "icon-allow-overlap": false, - "text-letter-spacing": [ - "match", - ["get","class"], - ["park"], - 0.05, - 0 - ], - "icon-ignore-placement": false - }, - "paint": { - "text-color": [ - "match", - ["get","subclass"], - ["ferry","ferry_terminal"], - "rgba(20, 136, 205, 1)", - "funicular_stop", - "rgba(255, 50, 50, 1)", - "weir", - "rgba(20, 136, 205, 1)", - "rgba(48, 48, 48, 1)" - ], - "icon-opacity": [ - "step", - ["zoom"], - 0, 13, - [ - "match", - ["get","subclass"], - "wind_turbine", - 0, - 0 - ], - 14, - [ - "match", - ["get","class"], - ["place_of_worship"], - 1, - [ - "match", - ["get","subclass"], - [ - "wind_turbine", - "caravan_site", - "camp_site", - "ferry", - "ferry_terminal", - "funicular_stop", - "golf_course", - "golf", - "cemetery", - "stadium", - "park" - ], - 1, - 0 - ] - ], - 15, - 1 - ], - "text-opacity": [ - "step", - ["zoom"], - 0, - 14, - [ - "match", - ["get","class"], - ["ferry","ferry_terminal","funicular","golf","golf_course","cemetery","ruins","stadium","park","pitch"], - 1, - 0 - ], - 15, - [ - "match", - ["get","class"], - [ - "campsite", - "ferry", - "ferry_terminal", - "funicular", - "golf", - "golf_course", - "cemetery", - "stadium", - "park", - "pitch", - "place_of_worship", - "sports_centre", - "zoo" - ], - 1, - 0 - ], - 16, - [ - "match", - ["get","class"], - [ - "campsite", - "ferry", - "ferry_terminal", - "funicular", - "golf", - "golf_course", - "cemetery", - "stadium", - "park", - "pitch", - "place_of_worship", - "sports_centre", - "zoo" - ], - 1, - 0 - ], - 17, - 1 - ], - "text-halo-blur": 1, - "text-halo-color": "rgba(242, 242, 242, 0.6)", - "text-halo-width": [ - "interpolate", - ["linear"], - ["zoom"], - 14, - 1, - 17, - 2 - ] - }, - "filter": [ - "any", - [ - "match", - ["get","class"], - [ - "cemetery", - "dam", - "ferry_terminal", - "funicular", - "attraction", - "fuel", - "golf", - "golf_course", - "horse_racing", - "military", - "monastery", - "park", - "pitch", - "prison", - "ruins", - "sports_centre", - "stadium", - "swimming_pool", - "power", - "weir", - "zoo" - ], - true, - false - ], - [ - "match", - ["get","subclass"], - ["church_tower","camp_site","communications_tower"], - true, - false - ] - ] - }, - { - "id": "peaks_other", - "type": "symbol", - "source": "swissmaptiles", - "source-layer": "mountain_peak", - "minzoom": 15.0, - "maxzoom": 24.0, - "layout": { - "icon-size": 1, - "text-font": ["Frutiger Neue Italic"], - "text-size": [ - "interpolate", - ["linear"], - ["zoom"], - 10, [ "case", - [ - "<=", - 4000, - ["get","ele"] - ], - 14, - [ - "<=", - 3000, - ["get","ele"] - ], - 13, - [ - "<=", - 2000, - ["get","ele"] - ], - 12, - 11 - ], - 18, - [ - "case", - [ - "<=", - 4000, - ["get","ele"] - ], - 23, - [ - "<=", - 3000, - ["get","ele"] - ], - 22, - [ - "<=", - 2000, - ["get","ele"] - ], - 21, - 20 - ] - ], - "icon-image": "dot_dark_grey_3", - "text-field": [ - "format", - ["get","name:latin"], - {}, - "\n", - {}, - ["get","ele"], - { - "font-scale": 0.75 - } - ], - "visibility": "visible", - "icon-anchor": "center", - "icon-offset": [0,0], - "text-anchor": "center", - "text-offset": [0,0], - "icon-padding": 0, - "text-justify": "auto", - "text-padding": 2, - "icon-optional": false, - "text-optional": false, - "symbol-z-order": ["literal","auto"], - "text-max-width": 8, - "symbol-placement": "point", - "text-line-height": 1.15, - "icon-allow-overlap": false, - "text-allow-overlap": false, - "text-radial-offset": 0.3, - "text-letter-spacing": 0.025, - "icon-pitch-alignment": "auto", - "text-variable-anchor": [ - "literal", - ["bottom-left","top-left","bottom-right","top-right"] - ], - "icon-ignore-placement": false, - "text-ignore-placement": false, - "icon-rotation-alignment": "auto" - }, - "paint": { - "icon-color": "rgba(0, 0, 0, 1)", - "text-color": "rgba(48, 48, 48, 1)", - "icon-opacity": 1, - "text-opacity": 1, - "icon-halo-blur": 0, - "text-halo-blur": 1, - "icon-halo-color": "rgba(255, 255, 255, 1)", - "icon-halo-width": 0, - "text-halo-color": "rgba(242, 242, 242, 0.6)", - "text-halo-width": [ - "interpolate", - ["linear"], - ["zoom"], - 12, - 1.5, - 18, - 3 - ] - }, - "filter": [ - "match", - ["get","class"], - ["rocky_knoll","saddle"], - true, - false - ] - }, - { - "id": "peaks_rank5", - "type": "symbol", - "source": "swissmaptiles", - "source-layer": "mountain_peak", - "minzoom": 13.0, - "maxzoom": 24.0, - "layout": { - "icon-size": 1, - "text-font": ["Frutiger Neue Italic"], - "text-size": [ - "interpolate", - ["linear"], - ["zoom"], - 10, - [ - "case", - [ - "<=", - 4000, - ["get","ele"] - ], - 14, - [ - "<=", - 3000, - ["get","ele"] - ], - 13, - [ - "<=", - 2000, - ["get","ele"] - ], - 12, - 11 - ], - 18, - [ - "case", - [ - "<=", - 4000, - ["get","ele"] - ], - 23, - [ - "<=", - 3000, - ["get","ele"] - ], - 22, - [ - "<=", - 2000, - ["get","ele"] - ], - 21, - 20 - ] - ], - "icon-image": [ - "step", - ["zoom"], - "", - 10, - "dot_dark_grey_4", - 14, - "dot_dark_grey_6", - 18, - "dot_dark_grey_8" - ], - "text-field": [ - "format", - ["get","name:latin"], - {}, - "\n", - {}, - ["get","ele"], - { - "font-scale": 0.75 - } - ], - "visibility": "visible", - "icon-anchor": "center", - "icon-offset": [0,0], - "text-anchor": "bottom", - "text-offset": [0,0], - "icon-padding": 0, - "text-justify": "auto", - "text-padding": 2, - "icon-optional": false, - "text-optional": false, - "symbol-z-order": ["literal","auto"], - "text-max-width": 8, - "symbol-placement": "point", - "text-line-height": 1.15, - "icon-allow-overlap": false, - "text-allow-overlap": false, - "text-radial-offset": 0.3, - "text-letter-spacing": 0.025, - "icon-pitch-alignment": "auto", - "icon-ignore-placement": false, - "text-ignore-placement": false, - "icon-rotation-alignment": "auto" - }, - "paint": { - "icon-color": "rgba(0, 0, 0, 1)", - "text-color": "rgba(48, 48, 48, 1)", - "icon-opacity": 1, - "text-opacity": 1, - "icon-halo-blur": 0, - "text-halo-blur": 1, - "icon-halo-color": "rgba(255, 255, 255, 1)", - "icon-halo-width": 0, - "text-halo-color": "rgba(242, 242, 242, 0.6)", - "text-halo-width": [ - "interpolate", - ["linear"], - ["zoom"], - 12, - 1.5, - 18, - 3 - ] - }, - "filter": [ - "all", - [">=","rank",5], - ["!in","class","rocky_knoll","saddle","mountain_pass"] - ] - }, - { - "id": "peaks_rank4", - "type": "symbol", - "source": "swissmaptiles", - "source-layer": "mountain_peak", - "minzoom": 12.0, - "maxzoom": 24.0, - "layout": { - "icon-size": 1, - "text-font": ["Frutiger Neue Italic"], - "text-size": [ - "interpolate", - ["linear"], - ["zoom"], - 10, - [ - "case", - [ - "<=", - 4000, - ["get","ele"] - ], - 14, - [ - "<=", - 3000, - ["get","ele"] - ], - 13, - [ - "<=", - 2000, - ["get","ele"] - ], - 12, - 11 - ], - 18, - [ - "case", - [ - "<=", - 4000, - ["get","ele"] - ], - 23, - [ - "<=", - 3000, - ["get","ele"] - ], - 22, - [ - "<=", - 2000, - ["get","ele"] - ], - 21, - 20 - ] - ], - "icon-image": [ - "step", - ["zoom"], - "", - 10, - "dot_dark_grey_4", - 14, - "dot_dark_grey_6", - 18, - "dot_dark_grey_8" - ], - "text-field": [ - "format", - ["get","name:latin"], - {}, - "\n", - {}, - ["get","ele"], - { - "font-scale": 0.75 - } - ], - "visibility": "visible", - "icon-anchor": "center", - "icon-offset": [0,0], - "text-anchor": "bottom", - "text-offset": [0,0], - "icon-padding": 0, - "text-justify": "auto", - "text-padding": 2, - "icon-optional": false, - "text-optional": false, - "symbol-z-order": ["literal","auto"], - "text-max-width": 8, - "symbol-placement": "point", - "text-line-height": 1.15, - "icon-allow-overlap": false, - "text-allow-overlap": false, - "text-radial-offset": 0.3, - "text-letter-spacing": 0.025, - "icon-pitch-alignment": "auto", - "icon-ignore-placement": false, - "text-ignore-placement": false, - "icon-rotation-alignment": "auto" - }, - "paint": { - "icon-color": "rgba(0, 0, 0, 1)", - "text-color": "rgba(48, 48, 48, 1)", - "icon-opacity": 1, - "text-opacity": 1, - "icon-halo-blur": 0, - "text-halo-blur": 1, - "icon-halo-color": "rgba(255, 255, 255, 1)", - "icon-halo-width": 0, - "text-halo-color": "rgba(242, 242, 242, 0.6)", - "text-halo-width": [ - "interpolate", - ["linear"], - ["zoom"], - 12, - 1.5, - 18, - 3 - ] - }, - "filter": [ - "all", - ["==","rank",4], - ["!in","class","rocky_knoll","saddle","mountain_pass"] - ] - }, - { - "id": "peaks_rank3", - "type": "symbol", - "source": "swissmaptiles", - "source-layer": "mountain_peak", - "minzoom": 11.0, - "maxzoom": 24.0, - "layout": { - "icon-size": 1, - "text-font": ["Frutiger Neue Italic"], - "text-size": [ - "interpolate", - ["linear"], - ["zoom"], - 10, - [ - "case", - [ - "<=", - 4000, - ["get","ele"] - ], - 14, - [ - "<=", - 3000, - ["get","ele"] - ], - 13, - [ - "<=", - 2000, - ["get","ele"] - ], - 12, - 11 - ], - 18, - [ - "case", - [ - "<=", - 4000, - ["get","ele"] - ], - 23, - [ - "<=", - 3000, - ["get","ele"] - ], - 22, - [ - "<=", - 2000, - ["get","ele"] - ], - 21, - 20 - ] - ], - "icon-image": [ - "step", - ["zoom"], - "", - 10, - "dot_dark_grey_4", - 14, - "dot_dark_grey_6", - 18, - "dot_dark_grey_8" - ], - "text-field": [ - "format", - ["get","name:latin"], - {}, - "\n", - {}, - ["get","ele"], - { - "font-scale": 0.75 - } - ], - "visibility": "visible", - "icon-anchor": "center", - "icon-offset": [0,0], - "text-anchor": "bottom", - "text-offset": [0,0], - "icon-padding": 0, - "text-justify": "auto", - "text-padding": 2, - "icon-optional": false, - "text-optional": false, - "symbol-z-order": ["literal","auto"], - "text-max-width": 8, - "symbol-placement": "point", - "text-line-height": 1.15, - "icon-allow-overlap": false, - "text-allow-overlap": false, - "text-radial-offset": 0.3, - "text-letter-spacing": 0.025, - "icon-pitch-alignment": "auto", - "icon-ignore-placement": false, - "text-ignore-placement": false, - "icon-rotation-alignment": "auto" - }, - "paint": { - "icon-color": "rgba(0, 0, 0, 1)", - "text-color": "rgba(48, 48, 48, 1)", - "icon-opacity": 1, - "text-opacity": 1, - "icon-halo-blur": 0, - "text-halo-blur": 1, - "icon-halo-color": "rgba(255, 255, 255, 1)", - "icon-halo-width": 0, - "text-halo-color": "rgba(242, 242, 242, 0.6)", - "text-halo-width": [ - "interpolate", - ["linear"], - ["zoom"], - 12, - 1.5, - 18, - 3 - ] - }, - "filter": [ - "all", - ["==","rank",3], - ["!in","class","rocky_knoll","saddle","mountain_pass"] - ] - }, - { - "id": "peaks_rank2", - "type": "symbol", - "source": "swissmaptiles", - "source-layer": "mountain_peak", - "minzoom": 10.0, - "maxzoom": 24.0, - "layout": { - "icon-size": 1, - "text-font": ["Frutiger Neue Italic"], - "text-size": [ - "interpolate", - ["linear"], - ["zoom"], - 10, - [ - "case", - [ - "<=", - 4000, - ["get","ele"] - ], - 14, - [ - "<=", - 3000, - ["get","ele"] - ], - 13, - [ - "<=", - 2000, - ["get","ele"] - ], - 12, - 11 - ], - 18, - [ - "case", - [ - "<=", - 4000, - ["get","ele"] - ], - 23, - [ - "<=", - 3000, - ["get","ele"] - ], - 22, - [ - "<=", - 2000, - ["get","ele"] - ], - 21, - 20 - ] - ], - "icon-image": [ - "step", - ["zoom"], - "", - 10, - "dot_dark_grey_4", - 14, - "dot_dark_grey_6", - 18, - "dot_dark_grey_8" - ], - "text-field": [ - "format", - ["get","name:latin"], - {}, - "\n", - {}, - ["get","ele"], - { - "font-scale": 0.75 - } - ], - "visibility": "visible", - "icon-anchor": "center", - "icon-offset": [0,0], - "text-anchor": "bottom", - "text-offset": [0,0], - "icon-padding": 0, - "text-justify": "auto", - "text-padding": 2, - "icon-optional": false, - "text-optional": false, - "symbol-z-order": ["literal","auto"], - "text-max-width": 8, - "symbol-placement": "point", - "text-line-height": 1.15, - "icon-allow-overlap": false, - "text-allow-overlap": false, - "text-radial-offset": 0.3, - "text-letter-spacing": 0.025, - "icon-pitch-alignment": "auto", - "icon-ignore-placement": false, - "text-ignore-placement": false, - "icon-rotation-alignment": "auto" - }, - "paint": { - "icon-color": "rgba(0, 0, 0, 1)", - "text-color": "rgba(48, 48, 48, 1)", - "icon-opacity": 1, - "text-opacity": 1, - "icon-halo-blur": 0, - "text-halo-blur": 1, - "icon-halo-color": "rgba(255, 255, 255, 1)", - "icon-halo-width": 0, - "text-halo-color": "rgba(242, 242, 242, 0.6)", - "text-halo-width": [ - "interpolate", - ["linear"], - ["zoom"], - 12, - 1.5, - 18, - 3 - ] - }, - "filter": [ - "all", - ["==","rank",2], - ["!in","class","rocky_knoll","saddle","mountain_pass"] - ] - }, - { - "id": "place_other", - "type": "symbol", - "source": "swissmaptiles", - "source-layer": "place", - "minzoom": 14.0, - "maxzoom": 24.0, - "layout": { - "icon-size": 1, - "text-font": ["Frutiger Neue Condensed Medium"], - "text-size": [ - "interpolate", - ["cubic-bezier",0.5,0.1,0.7,1], - ["zoom"], - 4, - [ - "case", - [ - "<=", - 5000, - ["get","population"] - ], - 8, [ "<=", 2000, ["get","population"] ], - 6, - 4 - ], - 16, - [ - "case", + 19, [ "<=", - 5000, + 1000, ["get","population"] ], - 22, + 18, + 17 + ], + 18, + [ + "case", [ "<=", 2000, ["get","population"] ], - 20, - 18 + 26, + [ + "<=", + 1000, + ["get","population"] + ], + 24, + 22 ] ], + "icon-image": "circle_black", "text-field": ["get","name:latin"], "visibility": "visible", "text-anchor": "center", - "text-offset": [ - "literal", - [0.3,0.2] - ], + "text-offset": [0,0], "text-justify": "auto", - "text-padding": 20, + "text-padding": 1, "icon-optional": false, + "text-optional": false, "symbol-z-order": ["literal","auto"], - "text-max-width": 10, + "text-max-width": 8, "text-transform": "none", "symbol-sort-key": [ "to-number", ["get","rank"] ], - "text-letter-spacing": 0.025 + "text-allow-overlap": false, + "text-radial-offset": 0.25, + "text-letter-spacing": 0.01, + "text-variable-anchor": [ + "literal", + ["bottom-left","top-left","bottom-right","top-right","left","right","bottom","top"] + ] }, "paint": { - "text-color": "rgba(64, 64, 64, 1)", + "text-color": "rgba(42, 42, 42, 1)", "icon-opacity": [ "step", ["zoom"], - 0, - 11, + 1, + 6, + [ + "case", + [ + ">", + 12, + ["get","rank"] + ], + 1, + 0 + ], + 7, + [ + "case", + [ + ">", + 14, + ["get","rank"] + ], + 1, + 0 + ], + 8, [ "case", [ @@ -7932,396 +13627,105 @@ 1, 0 ], - 13, - 1, - 14, - 0 - ], - "text-opacity": 1, - "text-halo-blur": 1, - "text-halo-color": "rgba(242, 242, 242, 0.6)", - "text-halo-width": [ - "interpolate", - ["cubic-bezier",0,0.75,0.25,1], - ["zoom"], - 12, - 1, - 16, - 2 - ] - }, - "filter": [ - "all", - ["!in","class","continent","country","state","city","town","village","hamlet","isolated_dwelling"] - ] - }, - { - "id": "poi_rank1", - "type": "symbol", - "source": "swissmaptiles", - "source-layer": "poi", - "minzoom": 14.0, - "layout": { - "icon-size": 1, - "text-font": ["Frutiger Neue Condensed Regular"], - "text-size": [ - "interpolate", - ["linear"], - ["zoom"], - 13, - 13, - 18, - 20 - ], - "icon-image": [ - "match", - ["get","subclass"], - "railway_station", - "square_red", - "castle", - "castle_grey", - "" - ], - "text-field": ["get","name:latin"], - "visibility": "visible", - "text-anchor": [ - "match", - ["get","subclass"], - ["castle"], - "left", - "railway_station", - "bottom-left", - "center" - ], - "text-offset": [ - "match", - ["get","subclass"], - "railway_station", - [ - "literal", - [0.5,0.15] - ], - [ - "literal", - [0.8,0.15] - ] - ], - "text-justify": "left", - "text-padding": 10, - "text-optional": false, - "text-max-width": 10, - "symbol-avoid-edges": true - }, - "paint": { - "text-color": [ - "match", - ["get","subclass"], - "railway_station", - "rgba(255, 50, 50, 1)", - "rgba(48, 48, 48, 1)" - ], - "text-opacity": 1, - "text-halo-blur": 1, - "text-halo-color": "rgba(242, 242, 242, 0.6)", - "text-halo-width": [ - "interpolate", - ["linear"], - ["zoom"], - 14, - 1, - 17, - 2 - ] - }, - "filter": [ - "all", - ["in","subclass","castle","railway_station"], - ["in","class","castle","railway"] - ] - }, - { - "id": "place_hamlet_isolated_dwelling", - "type": "symbol", - "source": "swissmaptiles", - "source-layer": "place", - "minzoom": 11.0, - "maxzoom": 24.0, - "layout": { - "icon-size": 1, - "text-font": ["Frutiger Neue Condensed Medium"], - "text-size": [ - "interpolate", - ["cubic-bezier",0.5,0.1,0.7,1], - ["zoom"], - 4, + 9, [ "case", [ - "<=", - 50, - ["get","population"] + ">", + 20, + ["get","rank"] ], - 6, - 4 + 1, + 0 ], - 16, - [ - "case", - [ - "<=", - 50, - ["get","population"] - ], - 20, - 18 - ] - ], - "icon-image": [ - "step", - ["zoom"], - "circle_dark_grey_4", - 12, - "circle_dark_grey_6" - ], - "text-field": ["get","name:latin"], - "visibility": "visible", - "text-anchor": ["literal","bottom-left"], - "text-offset": [ - "literal", - [0.3,0.2] - ], - "text-justify": "auto", - "text-padding": [ - "interpolate", - ["linear"], - ["zoom"], 10, - 2, - 13, - 2, - 14, - 0 - ], - "icon-optional": false, - "symbol-z-order": ["literal","auto"], - "text-max-width": 10, - "text-transform": "none", - "symbol-sort-key": [ - "to-number", - ["get","rank"] - ], - "text-letter-spacing": 0.025 - }, - "paint": { - "text-color": "rgba(64, 64, 64, 1)", - "icon-opacity": [ - "step", - ["zoom"], - 0, + [ + "case", + [ + ">", + 28, + ["get","rank"] + ], + 1, + 0 + ], 11, - [ - "case", - [ - ">", - 30, - ["get","rank"] - ], - 1, - 0 - ], - 13, - [ - "case", - [ - ">", - 31, - ["get","rank"] - ], - 1, - 0 - ], - 14, + 1, + 12, 0 ], "text-opacity": [ "step", ["zoom"], - 0, + 1, + 6, + [ + "case", + [ + ">", + 12, + ["get","rank"] + ], + 1, + 0 + ], + 7, + [ + "case", + [ + ">", + 14, + ["get","rank"] + ], + 1, + 0 + ], + 8, + [ + "case", + [ + ">", + 18, + ["get","rank"] + ], + 1, + 0 + ], + 9, + [ + "case", + [ + ">", + 20, + ["get","rank"] + ], + 1, + 0 + ], + 10, + [ + "case", + [ + ">", + 28, + ["get","rank"] + ], + 1, + 0 + ], 11, - [ - "case", - [ - ">", - 30, - ["get","rank"] - ], - 1, - 0 - ], - 13, - [ - "case", - [ - ">", - 31, - ["get","rank"] - ], - 1, - 0 - ], - 14, 1 ], - "text-halo-blur": 1, - "text-halo-color": "rgba(242, 242, 242, 0.6)", + "text-halo-blur": 0.25, + "text-halo-color": "rgba(242, 242, 242,1)", "text-halo-width": [ - "interpolate", - ["cubic-bezier",0,0.75,0.25,1], - ["zoom"], - 12, - 1, - 16, - 2 - ] - }, - "filter": [ - "all", - ["in","class","hamlet","isolated_dwelling"] - ] - }, - { - "id": "place_country_exclave", - "type": "symbol", - "source": "swissmaptiles", - "source-layer": "place", - "minzoom": 11.0, - "maxzoom": 24.0, - "layout": { - "text-font": ["Frutiger Neue Condensed Regular"], - "text-size": [ "interpolate", ["linear"], ["zoom"], - 1, - 11, - 7, + 12, + 0.5, 14, - 11, - 16, - 18, - 24 - ], - "text-field": "{name:latin}", - "visibility": "visible", - "text-max-width": 10, - "text-transform": "uppercase", - "text-letter-spacing": 0.12 - }, - "paint": { - "text-color": "rgba(145, 70, 145, 0.9)", - "text-opacity": 1, - "text-halo-blur": 1, - "text-halo-color": "rgba(255, 255, 255, 0.8)", - "text-halo-width": 1 - }, - "filter": [ - "all", - ["in","class","country"], - ["in","iso_a2","DE","IT"] - ] - }, - { - "id": "place_village", - "type": "symbol", - "source": "swissmaptiles", - "source-layer": "place", - "minzoom": 7.0, - "maxzoom": 18.0, - "layout": { - "icon-size": 1, - "text-font": ["Frutiger Neue Condensed Medium"], - "text-size": [ - "interpolate", - ["cubic-bezier",0.5,0.1,0.7,1], - ["zoom"], - 4, - 11, - 10, - [ - "case", - [ - "<=", - 3000, - ["get","population"] - ], - 16, - 14 - ], - 16, - [ - "case", - [ - "<=", - 3000, - ["get","population"] - ], - 28, - 24 - ] - ], - "icon-image": [ - "step", - ["zoom"], - "circle_dark_grey_4", - 6, - "circle_dark_grey_4", - 8, - "circle_dark_grey_6", - 10, - "circle_dark_grey_8", - 12, - "circle_dark_grey_10" - ], - "text-field": ["get","name:latin"], - "visibility": "visible", - "text-anchor": ["literal","bottom-left"], - "text-offset": [ - "literal", - [0.4,0.2] - ], - "text-justify": "auto", - "text-padding": 10, - "icon-optional": false, - "text-optional": false, - "symbol-z-order": ["literal","auto"], - "text-max-width": 10, - "text-transform": "none", - "symbol-sort-key": [ - "to-number", - ["get","rank"] - ], - "text-letter-spacing": 0.025 - }, - "paint": { - "text-color": "rgba(64, 64, 64, 1)", - "icon-opacity": [ - "step", - ["zoom"], - 1, - 13, - 0 - ], - "text-opacity": 1, - "text-halo-blur": 1, - "text-halo-color": "rgba(242, 242, 242, 0.6)", - "text-halo-width": [ - "interpolate", - ["cubic-bezier",0,0.75,0.25,1], - ["zoom"], - 12, - 1, - 16, - 2 + 1 ] }, "filter": [ @@ -8330,177 +13734,73 @@ ] }, { - "id": "aerodrome_label", + "id": "peak_rank1", "type": "symbol", - "source": "swissmaptiles", - "source-layer": "aerodrome_label", - "minzoom": 11.0, + "source": "base_v1.0.0", + "source-layer": "mountain_peak", + "minzoom": 8.0, + "maxzoom": 22.0, "layout": { "icon-size": [ "interpolate", ["linear"], ["zoom"], - 11, - 0.7, - 14, - 1 + 13, + 0.2, + 18, + 0.5 ], - "text-font": ["Frutiger Neue Condensed Regular"], - "text-size": [ - "interpolate", - ["linear"], - ["zoom"], - 11, - [ - "match", - ["get","class"], - "international", - 16, - "regional", - 16, - 12 - ], - 14, - [ - "match", - ["get","class"], - "international", - 20, - "regional", - 18, - 16 - ] - ], - "icon-image": [ - "match", - ["get","class"], - "international", - "airplane_large_grey", - "regional", - "airplane_medium_grey", - "other", - "airplane_small_grey", - "helipad", - "helicopter_grey", - "" - ], - "text-field": ["get","name:latin"], - "icon-anchor": "center", - "text-anchor": "left", - "text-offset": [ - "match", - ["get","class"], - "helipad", - [ - "literal", - [0.9,0.2] - ], - [ - "literal", - [0.9,0] - ] - ], - "text-justify": "center", - "text-padding": 2, - "text-transform": "none" - }, - "paint": { - "text-color": "rgba(64, 64, 64, 1)", - "icon-opacity": ["literal",1], - "text-opacity": 1, - "text-halo-blur": 1, - "text-halo-color": "rgba(242, 242, 242, 0.8)", - "text-halo-width": [ - "interpolate", - ["linear"], - ["zoom"], - 14, - 1, - 17, - 2 - ] - }, - "filter": [ - "all", - ["!=","class","helipad"] - ] - }, - { - "id": "peaks_rank1", - "type": "symbol", - "source": "swissmaptiles", - "source-layer": "mountain_peak", - "minzoom": 9.0, - "maxzoom": 24.0, - "layout": { - "icon-size": 1, "text-font": ["Frutiger Neue Italic"], "text-size": [ "interpolate", - ["linear"], + ["exponential",1.25], ["zoom"], - 10, + 7, [ - "case", - [ - "<=", - 4000, - ["get","ele"] - ], + "match", + ["get","class"], + ["alpine_peak","main_peak","peak"], + 11, + 10 + ], + 13, + [ + "match", + ["get","class"], + "alpine_peak", + 15, + "main_peak", 14, - [ - "<=", - 3000, - ["get","ele"] - ], + "peak", 13, - [ - "<=", - 2000, - ["get","ele"] - ], - 12, - 11 + 12 ], 18, [ - "case", - [ - "<=", - 4000, - ["get","ele"] - ], - 23, - [ - "<=", - 3000, - ["get","ele"] - ], + "match", + ["get","class"], + "alpine_peak", 22, - [ - "<=", - 2000, - ["get","ele"] - ], + "main_peak", 21, - 20 + "peak", + 20, + 19 ] ], "icon-image": [ - "step", - ["zoom"], - "dot_dark_grey_4", - 14, - "dot_dark_grey_6", - 18, - "dot_dark_grey_8" + "match", + ["get","class"], + ["alpine_peak","main_peak","peak"], + "mountain", + ["main_hill","hill"], + "hill", + "mountain" ], "text-field": [ "format", ["get","name:latin"], - {}, "\n", - {}, ["get","ele"], { "font-scale": 0.75 @@ -8510,101 +13810,78 @@ "icon-anchor": "center", "icon-offset": [0,0], "text-anchor": "bottom", + "text-offset": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + [ + "literal", + [0,0] + ], + 18, + [ + "literal", + [0,-0.2] + ] + ], "icon-padding": 2, - "text-justify": "auto", - "text-padding": 10, + "text-justify": "center", + "text-padding": 1, "icon-optional": false, "text-optional": false, - "symbol-z-order": ["literal","auto"], + "symbol-z-order": ["literal","source"], "text-max-width": 8, "symbol-placement": "point", "text-line-height": 1.15, "icon-allow-overlap": false, "text-allow-overlap": false, - "text-radial-offset": 0.3, - "text-letter-spacing": 0.025, + "text-letter-spacing": 0.03, "icon-pitch-alignment": "auto", "icon-ignore-placement": false, "text-ignore-placement": false, "icon-rotation-alignment": "auto" }, "paint": { - "icon-color": "rgba(0, 0, 0, 1)", - "text-color": "rgba(48, 48, 48, 1)", - "icon-opacity": [ - "step", - ["zoom"], - 0, - 9, - [ - "case", - [ - "<=", - 3200, - ["get","ele"] - ], - 1, - 0 - ], - 10, - 1 - ], - "text-opacity": [ - "step", - ["zoom"], - 0, - 9, - [ - "case", - [ - "<=", - 3200, - ["get","ele"] - ], - 1, - 0 - ], - 10, - 1 - ], + "text-color": "rgba(27, 36, 62, 1)", + "icon-opacity": 1, + "text-opacity": 1, "icon-halo-blur": 0, - "text-halo-blur": 1, - "icon-halo-color": "rgba(255, 255, 255, 1)", + "text-halo-blur": 0.25, "icon-halo-width": 0, - "text-halo-color": "rgba(242, 242, 242, 0.6)", - "text-halo-width": [ - "interpolate", - ["linear"], - ["zoom"], - 10, - 1.5, - 18, - 3 - ] + "text-halo-color": "rgba(242, 242, 242, 0.9)", + "text-halo-width": 0.5 }, "filter": [ "all", ["==","rank",1], - ["!in","class","rocky_knoll","saddle","mountain_pass"] + ["!in","class","rocky_knoll","saddle","mountain_pass"], + ["==","$type","Point"] ] }, { "id": "place_town", "type": "symbol", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "place", "minzoom": 6.0, - "maxzoom": 16.0, + "maxzoom": 15.0, "layout": { - "icon-size": 1, - "text-font": ["Frutiger Neue Condensed Bold"], + "icon-size": [ + "interpolate", + ["linear"], + ["zoom"], + 2, + 0.4, + 14, + 0.7 + ], + "text-font": ["Frutiger Neue Condensed Medium"], "text-size": [ "interpolate", - ["cubic-bezier",0.5,0.1,0.7,1], + ["exponential",1.25], ["zoom"], - 4, - 11, - 16, + 7, [ "case", [ @@ -8612,63 +13889,134 @@ 30000, ["get","population"] ], - 32, - 28 + 15, + 14 + ], + 13, + [ + "case", + [ + "<=", + 30000, + ["get","population"] + ], + 26, + 22 + ], + 18, + [ + "case", + [ + "<=", + 30000, + ["get","population"] + ], + 40, + 30 ] ], - "icon-image": [ - "step", - ["zoom"], - "circle_dark_grey_4", - 6, - "circle_dark_grey_6", - 8, - "circle_dark_grey_8", - 10, - "circle_dark_grey_10", - 12, - "circle_dark_grey_12" - ], + "icon-image": "circle_black", "text-field": ["get","name:latin"], "visibility": "visible", - "text-anchor": ["literal","bottom-left"], - "text-offset": [ - "literal", - [0.35,0.1] - ], + "text-anchor": "bottom-left", + "text-offset": [0,0], "text-justify": "auto", - "text-padding": 10, + "text-padding": 2, "icon-optional": false, + "text-optional": false, "symbol-z-order": ["literal","auto"], "text-max-width": 10, - "text-transform": "uppercase", + "text-transform": "none", "symbol-sort-key": [ "to-number", ["get","rank"] ], "symbol-placement": "point", - "text-letter-spacing": 0.025 + "icon-allow-overlap": false, + "symbol-avoid-edges": false, + "text-allow-overlap": false, + "text-radial-offset": 0.25, + "text-letter-spacing": 0.025, + "text-ignore-placement": false }, "paint": { - "text-color": "rgba(64, 64, 64, 1)", + "text-color": "rgba(42, 42, 42, 1)", "icon-opacity": [ "step", ["zoom"], + 0, + 6, + [ + "match", + ["get","name"], + ["Sion","Bellinzona","Chur"], + 1, + 0 + ], + 7, + [ + "match", + ["get","capital"], + [2,4], + 1, + [ + "case", + [ + ">", + 10, + ["get","rank"] + ], + 1, + 0 + ] + ], + 8, 1, 12, 0 ], - "text-opacity": 1, - "text-halo-blur": 1, - "text-halo-color": "rgba(242, 242, 242, 0.6)", + "text-opacity": [ + "step", + ["zoom"], + 0, + 6, + [ + "match", + ["get","name"], + ["Sion","Bellinzona","Chur"], + 1, + 0 + ], + 7, + [ + "match", + ["get","capital"], + [2,4], + 1, + [ + "case", + [ + ">", + 10, + ["get","rank"] + ], + 1, + 0 + ] + ], + 8, + 1 + ], + "text-halo-blur": 0.25, + "text-halo-color": "rgba(242, 242, 242, 1)", "text-halo-width": [ "interpolate", - ["cubic-bezier",0,0.75,0.25,1], + ["linear"], ["zoom"], 12, - 1, - 16, - 3 + 0.5, + 14, + 1 ] }, "filter": [ @@ -8679,10 +14027,10 @@ { "id": "water_name_point_label", "type": "symbol", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "water_name", "minzoom": 7.0, - "maxzoom": 24.0, + "maxzoom": 22.0, "layout": { "text-font": ["Frutiger Neue Italic"], "text-size": [ @@ -8694,73 +14042,33 @@ "match", ["get","size"], [10,9], - 12, - [8,7], - 10, - 10 + 13, + 11 ], 10, [ "match", ["get","size"], [10,9], - 22, - [8,7,6], - 18, - [5,4], - 16, - [3], - 14, - [2], - 12, - [1], - 10, - 10 - ], - 12, - [ - "match", - ["get","size"], - [10,9], - 24, - [8,7], - 22, - [6,5,4,3], 20, - [2], - 16, - [1], - 12, - 12 - ], - 14, - [ - "match", - ["get","size"], - [10,9], - 28, - [8,7], - 26, - [6,5,4,3], - 24, - [2], - 22, - [1], + [8,7,6], + 17, + [5,4,3], 14, - 12 + 11 ], - 15, + 16, [ "match", ["get","size"], [10,9], - 30, - [8,7], + 32, + [8,7,6], 28, - [6,5,4,3], - 26, - [2], + [5,4,3], 24, + [2], + 21, [1], 18, 18 @@ -8768,6 +14076,7 @@ ], "text-field": "{name:latin}", "visibility": "visible", + "text-anchor": "center", "text-rotate": ["get","direction"], "text-padding": 2, "symbol-spacing": 250, @@ -8777,44 +14086,24 @@ "text-keep-upright": true, "text-allow-overlap": false, "text-letter-spacing": [ - "interpolate", - ["linear"], - ["zoom"], - 7, - [ - "match", - ["get","size"], - [10,9,8], - 0.1, - [7,6], - 0.04, - [5,4,3], - 0.02, - [2], - 0.01, - 0.05 - ], - 16, - [ - "match", - ["get","size"], - [10,9,8], - 0.7, - [7,6], - 0.5, - [5,4,3], - 0.3, - [2], - 0.2, - 0.1 - ] + "match", + ["get","size"], + [10,9,8,7], + 0.1, + [6,5], + 0.08, + [4,3], + 0.07, + [2,1], + 0.05, + 0.02 ], "text-pitch-alignment": "map", "text-ignore-placement": false, - "text-rotation-alignment": "viewport" + "text-rotation-alignment": "map" }, "paint": { - "text-color": "rgba(20, 136, 205, 1)", + "text-color": "hsl(203, 60%, 46%)", "text-opacity": [ "step", ["zoom"], @@ -8823,7 +14112,7 @@ [ "match", ["get","size"], - [10,9,8], + [10,9,8,7], 1, 0 ], @@ -8839,7 +14128,7 @@ [ "match", ["get","size"], - [10,9,8,7,6,4,3], + [10,9,8,7,6,5,4,3], 1, 0 ], @@ -8852,42 +14141,60 @@ 0 ], 12, - [ - "match", - ["get","size"], - [10,9,8,7,6,5,4,3,2,1], - 1, - 1 - ] + 1 ], "text-halo-blur": 0.25, - "text-halo-color": "rgba(242, 242, 242, 0.6)", - "text-halo-width": 1 + "text-halo-color": "rgba(215, 243, 255, 1)", + "text-halo-width": 0.5 }, "filter": [ "all", - ["==","$type","Point"], - ["==","class","lake"] + [ + "==", + ["get","class"], + "lake" + ], + [ + "==", + ["geometry-type"], + "Point" + ] ] }, { "id": "park_label", "type": "symbol", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "park", "minzoom": 8.0, "layout": { - "text-font": ["Frutiger Neue Regular"], + "icon-size": [ + "interpolate", + ["linear"], + ["zoom"], + 13, + 0.35, + 18, + 0.5 + ], + "text-font": ["Frutiger Neue Medium"], "text-size": [ "interpolate", - ["cubic-bezier",0.5,0.1,0.7,1], + ["linear"], ["zoom"], - 8, - 14, + 7, + 12, + 13, 16, - 28 + 18, + 26 ], + "icon-image": "national_park", "text-field": "{name:latin}", + "visibility": "visible", + "text-anchor": "left", + "text-offset": [0.6,0.1], + "text-justify": "left", "text-padding": [ "interpolate", ["linear"], @@ -8900,137 +14207,126 @@ "symbol-z-order": ["literal","auto"] }, "paint": { - "text-color": "rgba(70, 130, 25, 0.9)", - "text-halo-blur": 1, - "text-halo-color": "rgba(255, 255, 255, 0.8)", - "text-halo-width": 1 + "text-color": "rgba(70, 121, 39, 1)", + "text-halo-blur": 0.25, + "text-halo-color": "rgba(255, 255, 255, 0.9)", + "text-halo-width": 0.5 }, "filter": [ "all", - ["in","class","national_park"], - ["==","$type","Point"] - ] - }, - { - "id": "area_name_massif_label", - "type": "symbol", - "source": "swissmaptiles", - "source-layer": "area_name", - "minzoom": 11.0, - "layout": { - "text-font": ["Frutiger Neue Regular"], - "text-size": [ - "interpolate", - ["linear"], - ["zoom"], - 10, - 14, - 16, - 23 + [ + "==", + ["geometry-type"], + "Point" ], - "text-field": "{name:latin}", - "symbol-spacing": { - "stops": [ - [12,250], - [14,550] - ] - }, - "symbol-z-order": "auto", - "text-max-width": 99999, - "symbol-placement": "point", - "text-keep-upright": true, - "symbol-avoid-edges": true, - "text-allow-overlap": false, - "text-letter-spacing": 0.07, - "text-pitch-alignment": "viewport", - "text-ignore-placement": false, - "text-rotation-alignment": "viewport" - }, - "paint": { - "text-color": "rgba(48, 48, 48, 1)", - "text-halo-blur": 1, - "text-halo-color": "rgba(242, 242, 242, 0.6)", - "text-halo-width": 1 - }, - "filter": [ - "all", - ["==","$type","Point"], - ["in","subclass","massif"] + [ + "match", + ["get","name"], + ["Val Mustair - Parc Naziunal"], + false, + true + ] ] }, { "id": "place_city", "type": "symbol", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "place", "minzoom": 2.0, "maxzoom": 14.0, "layout": { - "icon-size": 1, - "text-font": ["Frutiger Neue Condensed Bold"], + "icon-size": [ + "interpolate", + ["linear"], + ["zoom"], + 2, + 0.4, + 14, + 0.7 + ], + "text-font": ["Frutiger Neue Condensed Medium"], "text-size": [ "interpolate", - ["cubic-bezier",0.5,0.1,0.7,1], + ["exponential",1.25], ["zoom"], 1, - 11, - 4, - 12, - 16, - 48 - ], - "icon-image": [ - "step", - ["zoom"], - "dot_circle_dark_grey_6", - 6, - "dot_circle_dark_grey_8", - 8, - "circle_circle_dark_grey_10", 10, - "circle_circle_dark_grey_12", - 12, - "circle_circle_dark_grey_12" + 7, + [ + "case", + [ + "<=", + 100000, + ["get","population"] + ], + 18, + 16 + ], + 13, + [ + "case", + [ + "<=", + 100000, + ["get","population"] + ], + 34, + 30 + ], + 18, + [ + "case", + [ + "<=", + 100000, + ["get","population"] + ], + 60, + 50 + ] ], + "icon-image": "circle_black", "text-field": ["get","name:latin"], "visibility": "visible", + "icon-anchor": "center", "text-anchor": "bottom-left", - "text-offset": [ - "literal", - [0.35,0.1] - ], + "text-offset": [0,0], "text-justify": "auto", - "text-padding": 10, + "text-padding": 1, "icon-optional": false, + "icon-text-fit": "none", "symbol-z-order": ["literal","auto"], "text-max-width": 10, - "text-transform": "uppercase", + "text-transform": "none", "symbol-sort-key": [ "to-number", ["get","rank"] ], - "text-letter-spacing": 0.025 + "text-keep-upright": false, + "text-radial-offset": 0.15, + "text-letter-spacing": 0.029 }, "paint": { - "text-color": "rgba(64, 64, 64, 1)", + "text-color": "rgba(42, 42, 42, 1)", "icon-opacity": [ "step", ["zoom"], 1, - 11, + 12, 0 ], "text-opacity": 1, - "text-halo-blur": 1, - "text-halo-color": "rgba(242, 242, 242, 0.6)", + "text-halo-blur": 0.25, + "text-halo-color": "rgba(242, 242, 242,1)", "text-halo-width": [ "interpolate", - ["cubic-bezier",0,0.75,0.25,1], + ["linear"], ["zoom"], 12, - 1, - 16, - 3 + 0.5, + 14, + 1 ] }, "filter": [ @@ -9041,7 +14337,7 @@ { "id": "place_country_LI", "type": "symbol", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "place", "minzoom": 0.0, "maxzoom": 7.0, @@ -9052,41 +14348,36 @@ ["linear"], ["zoom"], 1, - 12, - 6, + 11, + 5, + 14, + 7, 16 ], "text-field": "{name:latin}", "visibility": "visible", + "text-padding": 0, "text-max-width": 10, "text-transform": "uppercase", "text-letter-spacing": 0.12 }, "paint": { - "text-color": "rgba(145, 70, 145, 0.9)", - "text-opacity": [ - "interpolate", - ["linear"], - ["zoom"], - 6, - 1, - 7, - 0 - ], - "text-halo-blur": 1, + "text-color": "hsl(327, 48%, 55%)", + "text-opacity": 1, + "text-halo-blur": 0.25, "text-halo-color": "rgba(255, 255, 255, 0.8)", "text-halo-width": 1 }, "filter": [ "all", - ["in","class","country"], - ["in","iso_a2","LI"] + ["==","class","country"], + ["==","iso_a2","LI"] ] }, { "id": "place_country_CH", "type": "symbol", - "source": "swissmaptiles", + "source": "base_v1.0.0", "source-layer": "place", "minzoom": 0.0, "maxzoom": 7.0, @@ -9097,38 +14388,72 @@ ["linear"], ["zoom"], 1, - 12, - 6, + 11, + 5, + 14, + 7, 16 ], "text-field": "{name:latin}", "visibility": "visible", + "text-padding": 0, "text-max-width": 10, "text-transform": "uppercase", "text-letter-spacing": 0.12 }, "paint": { - "text-color": "rgba(145, 70, 145, 0.9)", + "text-color": "hsl(327, 48%, 55%)", "text-opacity": [ - "interpolate", - ["linear"], + "step", ["zoom"], - 6, 1, 7, 0 ], - "text-halo-blur": 1, + "text-halo-blur": 0.25, "text-halo-color": "rgba(255, 255, 255, 0.8)", "text-halo-width": 1 }, "filter": [ "all", - ["in","class","country"], - ["in","iso_a2","CH"] + ["==","class","country"], + ["==","iso_a2","CH"] ] }, + { + "id": "summits_az", + "type": "fill", + "metadata": { + "sotlas-map-option": "az" + }, + "source": "az", + "source-layer": "az", + "layout": {"visibility": "none"}, + "minzoom": 12, + "paint": { + "fill-antialias": false, + "fill-color": "rgba(50, 255, 0, 0.4)", + "fill-opacity": {"stops": [[12, 0], [12.5, 0.5]]} + } + }, + { + "id": "summits_az_border", + "type": "line", + "metadata": { + "sotlas-map-option": "az" + }, + "source": "az", + "source-layer": "az", + "layout": {"visibility": "none"}, + "minzoom": 12, + "paint": { + "line-color": "rgba(50, 150, 0, 1)", + "line-opacity": {"stops": [[12, 0], [12.5, 0.5]]}, + "line-width": {"stops": [[12, 1], [16, 2]]}, + "line-dasharray": [1,1] + } + }, { "id": "summits_selected", "type": "circle", @@ -9393,5 +14718,209 @@ } } ], - "id": "b484873e-ac8c-45d6-a562-5402ab0f4985" -} + "metadata": { + "maptiler:template": { + "groups": [ + { + "id": "-NuEtjWb4eThMRy994qtv", + "icon": "variant2", + "name": "label", + "layers": [ + "place_country_CH", + "place_country_LI", + "place_city", + "place_village", + "place_hamlet_isolated_dwelling", + "place_town", + "place_other", + "park_label", + "area_name_point_label", + "area_name_glacier_line_label", + "area_name_field" + ] + }, + { + "id": "hQiiRk8WU1E01M6hB4MSZ", + "icon": "poi", + "name": "poi", + "layers": ["poi_rank1","poi_motorway","poi_rank2","poi_rank3","poi_rank4_rotation_flat","poi_motorway_no_offset"] + }, + { + "id": "BlFw2Xhj3jRXCYAmLq5FO", + "icon": "terrain", + "name": "mountain_peak", + "layers": ["peak_rank2","peak_rank1","peak_rank3","peak_rank4","peak_rank5+","peak_other"] + }, + { + "id": "e6wN05kBEesxrAJsEdcia", + "icon": "builtUp", + "name": "infrastructure", + "layers": [ + "construct_dam", + "building_ln_offset", + "housenumber", + "building_ln_power_line", + "building_ln", + "construct_solar_panel_casing", + "building_fill", + "construct_platform", + "building_ln_dry_wall", + "building_ln_shooting_trajectory", + "construct_casing", + "construct_solar_panel", + "building_casing", + "building_fill