From e8184dcd972cccf9943c8f4be288ff3ec8f7368f Mon Sep 17 00:00:00 2001 From: keke Date: Sat, 15 Aug 2026 16:15:01 -0300 Subject: [PATCH] Soft-merge CCDS cartography repository git-subtree-dir: convergence/ccds-cartographie git-subtree-mainline: ecf53e28235024a7d46e7bd444912d7740992572 git-subtree-split: 8d8b640139ad864a6922243ad588f634c6996d48 --- .../.gitea/ISSUE_TEMPLATE/01-style-carto.md | 27 + convergence/ccds-cartographie/README.md | 32 + convergence/ccds-cartographie/assets/.gitkeep | 1 + .../public/openmaptiles-positron/sprite.json | 16 + .../public/openmaptiles-positron/sprite.png | Bin 0 -> 529 bytes .../openmaptiles-positron/sprite@2x.json | 16 + .../openmaptiles-positron/sprite@2x.png | Bin 0 -> 921 bytes convergence/ccds-cartographie/data/.gitkeep | 1 + convergence/ccds-cartographie/docs/.gitkeep | 1 + .../docs/architecture-carto.md | 20 + .../ccds-cartographie/docs/pipeline-style.md | 22 + .../docs/procedure-retouche-et-publication.md | 22 + .../docs/public-vs-admin-dense.md | 49 + .../docs/regles-visuelles.md | 24 + .../ccds-cartographie/maputnik/.gitkeep | 1 + .../ccds-cartographie/maputnik/README.md | 9 + convergence/ccds-cartographie/styles/.gitkeep | 1 + .../openmaptiles-positron-admin/style.json | 2375 +++++++++++++++++ .../public/openmaptiles-positron/style.json | 2375 +++++++++++++++++ 19 files changed, 4992 insertions(+) create mode 100644 convergence/ccds-cartographie/.gitea/ISSUE_TEMPLATE/01-style-carto.md create mode 100644 convergence/ccds-cartographie/README.md create mode 100644 convergence/ccds-cartographie/assets/.gitkeep create mode 100644 convergence/ccds-cartographie/assets/public/openmaptiles-positron/sprite.json create mode 100644 convergence/ccds-cartographie/assets/public/openmaptiles-positron/sprite.png create mode 100644 convergence/ccds-cartographie/assets/public/openmaptiles-positron/sprite@2x.json create mode 100644 convergence/ccds-cartographie/assets/public/openmaptiles-positron/sprite@2x.png create mode 100644 convergence/ccds-cartographie/data/.gitkeep create mode 100644 convergence/ccds-cartographie/docs/.gitkeep create mode 100644 convergence/ccds-cartographie/docs/architecture-carto.md create mode 100644 convergence/ccds-cartographie/docs/pipeline-style.md create mode 100644 convergence/ccds-cartographie/docs/procedure-retouche-et-publication.md create mode 100644 convergence/ccds-cartographie/docs/public-vs-admin-dense.md create mode 100644 convergence/ccds-cartographie/docs/regles-visuelles.md create mode 100644 convergence/ccds-cartographie/maputnik/.gitkeep create mode 100644 convergence/ccds-cartographie/maputnik/README.md create mode 100644 convergence/ccds-cartographie/styles/.gitkeep create mode 100644 convergence/ccds-cartographie/styles/admin/openmaptiles-positron-admin/style.json create mode 100644 convergence/ccds-cartographie/styles/public/openmaptiles-positron/style.json diff --git a/convergence/ccds-cartographie/.gitea/ISSUE_TEMPLATE/01-style-carto.md b/convergence/ccds-cartographie/.gitea/ISSUE_TEMPLATE/01-style-carto.md new file mode 100644 index 0000000..ef14f46 --- /dev/null +++ b/convergence/ccds-cartographie/.gitea/ISSUE_TEMPLATE/01-style-carto.md @@ -0,0 +1,27 @@ +--- +name: Style cartographique +about: Proposer une retouche de style, de lisibilité ou de hiérarchie cartographique +title: "[Carto] " +labels: [] +assignees: [] +--- + +## Zone ou vue concernée + +- carte publique +- carte admin +- logistique +- référentiel + +## Problème observé + +## Ajustement souhaité + +## Zoom ou contexte à tester + +## Critères visuels + +- [ ] +- [ ] +- [ ] + diff --git a/convergence/ccds-cartographie/README.md b/convergence/ccds-cartographie/README.md new file mode 100644 index 0000000..014eff2 --- /dev/null +++ b/convergence/ccds-cartographie/README.md @@ -0,0 +1,32 @@ +# CCDS Cartographie + +Depot dedie a la cartographie auto-hebergee et a son habillage. + +## Perimetre + +- styles OpenMapTiles / MapLibre +- presets publics et admin +- exports et versions Maputnik +- couches territoriales ou metier +- documentation de rendu et de publication + +## Structure + +- `styles/` : styles JSON publies +- `maputnik/` : sources de travail et variantes +- `assets/` : sprites, glyphes ou ressources visuelles +- `data/` : notes sur tuiles, perimetres et sources +- `docs/` : architecture, pipeline, regles visuelles et publication + +## Priorites + +1. versionner le style public +2. versionner le style admin dense +3. documenter le pipeline OpenMapTiles -> Maputnik -> portail +4. garder un historique clair des retouches visuelles + +## Variantes attendues + +- une variante publique, plus accueillante et plus descriptive ; +- une variante admin dense, plus sobre et plus metier ; +- une documentation courte pour retoucher puis republier sans friction. diff --git a/convergence/ccds-cartographie/assets/.gitkeep b/convergence/ccds-cartographie/assets/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/convergence/ccds-cartographie/assets/.gitkeep @@ -0,0 +1 @@ + diff --git a/convergence/ccds-cartographie/assets/public/openmaptiles-positron/sprite.json b/convergence/ccds-cartographie/assets/public/openmaptiles-positron/sprite.json new file mode 100644 index 0000000..2d20beb --- /dev/null +++ b/convergence/ccds-cartographie/assets/public/openmaptiles-positron/sprite.json @@ -0,0 +1,16 @@ +{ + "circle-11": { + "height": 17, + "pixelRatio": 1, + "width": 17, + "x": 0, + "y": 0 + }, + "star-11": { + "height": 17, + "pixelRatio": 1, + "width": 17, + "x": 17, + "y": 0 + } +} \ No newline at end of file diff --git a/convergence/ccds-cartographie/assets/public/openmaptiles-positron/sprite.png b/convergence/ccds-cartographie/assets/public/openmaptiles-positron/sprite.png new file mode 100644 index 0000000000000000000000000000000000000000..35398342435808247b8a8b53be62d35c9a803fdd GIT binary patch literal 529 zcmV+s0`C2ZP)W3Ri;GwJ`ue_eadG(vqCtF+I7prpv*yj4R|GWU@18w-VqU*~ z%}bOG!Z0v2jMLK64uJILvol9eEJ*z|*=kD(Q16drT4x}Ed zLqHPH=)ma^p!{2027LYcReH;oEeS-J@eZU8q#mn7KnW9+Ch!>ok_V~7Y5>GBGWZ;W z6d=F!1f$H@VfTS7%_;4-yB-g36jp`dKLVZ(-`sHmuGAaRg9NF71PP*So2i*(89)2CN=baeCp^_jzpc8~`^ zrEGI^^JI`bsOTr?5J~{BkP-wr99Uo}uUfT=8Ch=s{{1XKaTSm}NF7ZbGUNdOz={fQ T5D+`700000NkvXXu0mjf5={7) literal 0 HcmV?d00001 diff --git a/convergence/ccds-cartographie/assets/public/openmaptiles-positron/sprite@2x.json b/convergence/ccds-cartographie/assets/public/openmaptiles-positron/sprite@2x.json new file mode 100644 index 0000000..498b044 --- /dev/null +++ b/convergence/ccds-cartographie/assets/public/openmaptiles-positron/sprite@2x.json @@ -0,0 +1,16 @@ +{ + "circle-11": { + "height": 34, + "pixelRatio": 2, + "width": 34, + "x": 0, + "y": 0 + }, + "star-11": { + "height": 34, + "pixelRatio": 2, + "width": 34, + "x": 34, + "y": 0 + } +} \ No newline at end of file diff --git a/convergence/ccds-cartographie/assets/public/openmaptiles-positron/sprite@2x.png b/convergence/ccds-cartographie/assets/public/openmaptiles-positron/sprite@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..1939a3b759c23d6f9bda5f1496861ace5a5bfad9 GIT binary patch literal 921 zcmV;K17`e*P)6(!-EQ~ML=DL0a_4A8ZV~Z)T9GBmm=!$Z zH@riiN!iosbnZfk&CSjC*=#m|=W4Zj#c<-?-QBY%CntC4!=LeL3~T6vz8GV)O~kbf z&Ojhgip64S$xG};^4bm$4=)n&Jb&=c&d!^Sjg398*IRcwoxjlVjNkB1Cd@p>8f90j z)w&6u?d|QT!{PYj@pziWV$lPSHH=ph1EH~+PN!dmLZJf4M>X_8UrCfDql_a@cnA(! zhzxTl5{VD^jY8?3a6-u?|9J*Izs3rT6N4N2VhnqV=1sZo_qklIF7x_)zRJ*A~|iy1MC@E#E^@^o`SiwaMx4h!91H7=YPHbr6n^ zk8krKQ7t#0gD_SPx9QvNAkcAqPOFDRqtVaOQGQOBAZ8!Tlt?C%XZU98_xsCg`O#P6 zU&b7|L^1Q|u0*|Fzcwmd+-`SgT-aa^U4l&0=hylM1#VG zy@K--5;l7g_oYkTPvK$1Ftdax4;Q6Z&{qCHUTK$?4d~eskH| z-H0MH&ArHiD7<2pUe74|^WyPAE|bZ;L>Niq7Dd`-3Y3K+rB@6?rBb", + "rank", + 3 + ] + ] + ], + "layout": { + "icon-image": { + "base": 1, + "stops": [ + [ + 0, + "circle-11" + ], + [ + 8, + "" + ] + ] + }, + "icon-size": 0.4, + "text-anchor": { + "base": 1, + "stops": [ + [ + 0, + "left" + ], + [ + 8, + "center" + ] + ] + }, + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": [ + "Noto Sans Regular" + ], + "text-justify": "left", + "text-offset": [ + 0.5, + 0.2 + ], + "text-size": 11, + "visibility": "visible", + "text-letter-spacing": 0.015 + }, + "paint": { + "icon-opacity": 0.7, + "text-color": "#344556", + "text-halo-blur": 1, + "text-halo-color": "#fcfbf8", + "text-halo-width": 1.4 + }, + "minzoom": 5.8 + }, + { + "id": "place_capital", + "type": "symbol", + "metadata": { + "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f" + }, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 12, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "all", + [ + "==", + "capital", + 2 + ], + [ + "==", + "class", + "city" + ] + ] + ], + "layout": { + "icon-image": { + "base": 1, + "stops": [ + [ + 0, + "star-11" + ], + [ + 8, + "" + ] + ] + }, + "icon-size": 1, + "text-anchor": { + "base": 1, + "stops": [ + [ + 0, + "left" + ], + [ + 8, + "center" + ] + ] + }, + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": [ + "Noto Sans Regular" + ], + "text-justify": "left", + "text-offset": [ + 0.5, + 0.2 + ], + "text-size": 13.5, + "visibility": "visible", + "text-letter-spacing": 0.015 + }, + "paint": { + "icon-opacity": 0.7, + "text-color": "#2a3b4a", + "text-halo-blur": 1, + "text-halo-color": "#fcfbf8", + "text-halo-width": 1.4 + }, + "minzoom": 4 + }, + { + "id": "place_city_large", + "type": "symbol", + "metadata": { + "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f" + }, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 12, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "all", + [ + "!=", + "capital", + 2 + ], + [ + "<=", + "rank", + 3 + ], + [ + "==", + "class", + "city" + ] + ] + ], + "layout": { + "icon-image": { + "base": 1, + "stops": [ + [ + 0, + "circle-11" + ], + [ + 8, + "" + ] + ] + }, + "icon-size": 0.4, + "text-anchor": { + "base": 1, + "stops": [ + [ + 0, + "left" + ], + [ + 8, + "center" + ] + ] + }, + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": [ + "Noto Sans Regular" + ], + "text-justify": "left", + "text-offset": [ + 0.5, + 0.2 + ], + "text-size": 12.5, + "visibility": "visible", + "text-letter-spacing": 0.015 + }, + "paint": { + "icon-opacity": 0.7, + "text-color": "#2f4051", + "text-halo-blur": 1, + "text-halo-color": "#fcfbf8", + "text-halo-width": 1.4 + }, + "minzoom": 4.8 + }, + { + "id": "place_state", + "type": "symbol", + "metadata": { + "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f" + }, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 12, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "class", + "state" + ] + ], + "layout": { + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": [ + "Noto Sans Regular" + ], + "text-size": 10, + "text-transform": "uppercase", + "visibility": "visible", + "text-letter-spacing": 0.04 + }, + "paint": { + "text-color": "#627181", + "text-halo-blur": 1, + "text-halo-color": "#fcfbf8", + "text-halo-width": 1.4 + }, + "minzoom": 3.8 + }, + { + "id": "place_country_other", + "type": "symbol", + "metadata": { + "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f" + }, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 8, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "class", + "country" + ], + [ + "!has", + "iso_a2" + ] + ], + "layout": { + "text-field": "{name:latin}", + "text-font": [ + "Noto Sans Italic" + ], + "text-size": { + "base": 1, + "stops": [ + [ + 0, + 9 + ], + [ + 6, + 11 + ] + ] + }, + "text-transform": "uppercase", + "visibility": "visible" + }, + "paint": { + "text-color": { + "base": 1, + "stops": [ + [ + 3, + "#8ea0af" + ], + [ + 4, + "#7a8b9a" + ] + ] + }, + "text-halo-color": "rgba(248,246,239,0.85)", + "text-halo-width": 1.4 + } + }, + { + "id": "place_country_minor", + "type": "symbol", + "metadata": { + "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f" + }, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 8, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "class", + "country" + ], + [ + ">=", + "rank", + 2 + ], + [ + "has", + "iso_a2" + ] + ], + "layout": { + "text-field": "{name:latin}", + "text-font": [ + "Noto Sans Regular" + ], + "text-size": { + "base": 1, + "stops": [ + [ + 0, + 10 + ], + [ + 6, + 12 + ] + ] + }, + "text-transform": "uppercase", + "visibility": "visible" + }, + "paint": { + "text-color": { + "base": 1, + "stops": [ + [ + 3, + "#8799aa" + ], + [ + 4, + "#718495" + ] + ] + }, + "text-halo-color": "rgba(248,246,239,0.85)", + "text-halo-width": 1.4 + } + }, + { + "id": "place_country_major", + "type": "symbol", + "metadata": { + "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f" + }, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 6, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "<=", + "rank", + 1 + ], + [ + "==", + "class", + "country" + ], + [ + "has", + "iso_a2" + ] + ], + "layout": { + "text-anchor": "center", + "text-field": "{name:latin}", + "text-font": [ + "Noto Sans Regular" + ], + "text-size": { + "base": 1.4, + "stops": [ + [ + 0, + 10 + ], + [ + 3, + 12 + ], + [ + 4, + 14 + ] + ] + }, + "text-transform": "uppercase", + "visibility": "visible" + }, + "paint": { + "text-color": { + "base": 1, + "stops": [ + [ + 3, + "#708497" + ], + [ + 4, + "#5d7184" + ] + ] + }, + "text-halo-color": "rgba(248,246,239,0.9)", + "text-halo-width": 1.4 + } + } + ], + "id": "positron" +} diff --git a/convergence/ccds-cartographie/styles/public/openmaptiles-positron/style.json b/convergence/ccds-cartographie/styles/public/openmaptiles-positron/style.json new file mode 100644 index 0000000..c354f48 --- /dev/null +++ b/convergence/ccds-cartographie/styles/public/openmaptiles-positron/style.json @@ -0,0 +1,2375 @@ +{ + "version": 8, + "name": "OSM Bright CCDS Premium", + "metadata": { + "mapbox:autocomposite": false, + "mapbox:groups": { + "101da9f13b64a08fa4b6ac1168e89e5f": { + "collapsed": false, + "name": "Places" + }, + "a14c9607bc7954ba1df7205bf660433f": { + "name": "Boundaries" + }, + "b6371a3f2f5a9932464fa3867530a2e5": { + "collapsed": false, + "name": "Transportation" + } + }, + "mapbox:type": "template", + "openmaptiles:mapbox:owner": "openmaptiles", + "openmaptiles:mapbox:source:url": "mapbox://openmaptiles.4qljc88t", + "openmaptiles:version": "3.x" + }, + "sources": { + "openmaptiles": { + "type": "vector", + "url": "https://www.portail-association973.com/data/openmaptiles.json" + } + }, + "sprite": "https://www.portail-association973.com/map-styles/openmaptiles-positron/sprite", + "glyphs": "https://www.portail-association973.com/fonts/{fontstack}/{range}.pbf", + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "#f3f1ea" + } + }, + { + "id": "park", + "type": "fill", + "source": "openmaptiles", + "source-layer": "park", + "filter": [ + "==", + "$type", + "Polygon" + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "#dde9d9" + } + }, + { + "id": "water", + "type": "fill", + "source": "openmaptiles", + "source-layer": "water", + "filter": [ + "all", + [ + "==", + "$type", + "Polygon" + ], + [ + "!=", + "brunnel", + "tunnel" + ] + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-antialias": true, + "fill-color": "#bfd9e6" + } + }, + { + "id": "landcover_ice_shelf", + "type": "fill", + "source": "openmaptiles", + "source-layer": "landcover", + "maxzoom": 8, + "filter": [ + "all", + [ + "==", + "$type", + "Polygon" + ], + [ + "==", + "subclass", + "ice_shelf" + ] + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "hsl(0, 0%, 98%)", + "fill-opacity": 0.7 + } + }, + { + "id": "landcover_glacier", + "type": "fill", + "source": "openmaptiles", + "source-layer": "landcover", + "maxzoom": 8, + "filter": [ + "all", + [ + "==", + "$type", + "Polygon" + ], + [ + "==", + "subclass", + "glacier" + ] + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "hsl(0, 0%, 98%)", + "fill-opacity": { + "base": 1, + "stops": [ + [ + 0, + 1 + ], + [ + 8, + 0.5 + ] + ] + } + } + }, + { + "id": "landuse_residential", + "type": "fill", + "source": "openmaptiles", + "source-layer": "landuse", + "maxzoom": 16, + "filter": [ + "all", + [ + "==", + "$type", + "Polygon" + ], + [ + "==", + "class", + "residential" + ] + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "#ebe7de", + "fill-opacity": { + "base": 0.6, + "stops": [ + [ + 8, + 0.8 + ], + [ + 9, + 0.6 + ] + ] + } + } + }, + { + "id": "landcover_wood", + "type": "fill", + "source": "openmaptiles", + "source-layer": "landcover", + "minzoom": 10, + "filter": [ + "all", + [ + "==", + "$type", + "Polygon" + ], + [ + "==", + "class", + "wood" + ] + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "#d4e2cf", + "fill-opacity": { + "base": 1, + "stops": [ + [ + 8, + 0 + ], + [ + 12, + 1 + ] + ] + } + } + }, + { + "id": "waterway", + "type": "line", + "source": "openmaptiles", + "source-layer": "waterway", + "filter": [ + "==", + "$type", + "LineString" + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "#86b7cd" + } + }, + { + "id": "water_name", + "type": "symbol", + "source": "openmaptiles", + "source-layer": "water_name", + "filter": [ + "==", + "$type", + "LineString" + ], + "layout": { + "symbol-placement": "line", + "symbol-spacing": 470, + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": [ + "Noto Sans Italic" + ], + "text-rotation-alignment": "map", + "text-size": 12.5 + }, + "paint": { + "text-color": "#557f98", + "text-halo-blur": 1, + "text-halo-color": "#f3f1ea", + "text-halo-width": 1.5 + }, + "minzoom": 7 + }, + { + "id": "building", + "type": "fill", + "source": "openmaptiles", + "source-layer": "building", + "minzoom": 12, + "paint": { + "fill-antialias": true, + "fill-color": "#e7e1d7", + "fill-outline-color": "#d7cec2" + } + }, + { + "id": "tunnel_motorway_casing", + "type": "line", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 6, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "all", + [ + "==", + "brunnel", + "tunnel" + ], + [ + "==", + "class", + "motorway" + ] + ] + ], + "layout": { + "line-cap": "butt", + "line-join": "miter", + "visibility": "visible" + }, + "paint": { + "line-color": "rgb(213, 213, 213)", + "line-opacity": 1, + "line-width": { + "base": 1.4, + "stops": [ + [ + 5.8, + 0 + ], + [ + 6, + 3 + ], + [ + 20, + 40 + ] + ] + } + } + }, + { + "id": "tunnel_motorway_inner", + "type": "line", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 6, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "all", + [ + "==", + "brunnel", + "tunnel" + ], + [ + "==", + "class", + "motorway" + ] + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "rgb(234,234,234)", + "line-width": { + "base": 1.4, + "stops": [ + [ + 4, + 2 + ], + [ + 6, + 1.3 + ], + [ + 20, + 30 + ] + ] + } + } + }, + { + "id": "aeroway-taxiway", + "type": "line", + "metadata": { + "mapbox:group": "1444849345966.4436" + }, + "source": "openmaptiles", + "source-layer": "aeroway", + "minzoom": 12, + "filter": [ + "all", + [ + "in", + "class", + "taxiway" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "hsl(0, 0%, 88%)", + "line-opacity": 1, + "line-width": { + "base": 1.55, + "stops": [ + [ + 13, + 1.8 + ], + [ + 20, + 20 + ] + ] + } + } + }, + { + "id": "aeroway-runway-casing", + "type": "line", + "metadata": { + "mapbox:group": "1444849345966.4436" + }, + "source": "openmaptiles", + "source-layer": "aeroway", + "minzoom": 11, + "filter": [ + "all", + [ + "in", + "class", + "runway" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "hsl(0, 0%, 88%)", + "line-opacity": 1, + "line-width": { + "base": 1.5, + "stops": [ + [ + 11, + 6 + ], + [ + 17, + 55 + ] + ] + } + } + }, + { + "id": "aeroway-area", + "type": "fill", + "metadata": { + "mapbox:group": "1444849345966.4436" + }, + "source": "openmaptiles", + "source-layer": "aeroway", + "minzoom": 4, + "filter": [ + "all", + [ + "==", + "$type", + "Polygon" + ], + [ + "in", + "class", + "runway", + "taxiway" + ] + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "rgba(255, 255, 255, 1)", + "fill-opacity": { + "base": 1, + "stops": [ + [ + 13, + 0 + ], + [ + 14, + 1 + ] + ] + } + } + }, + { + "id": "aeroway-runway", + "type": "line", + "metadata": { + "mapbox:group": "1444849345966.4436" + }, + "source": "openmaptiles", + "source-layer": "aeroway", + "minzoom": 11, + "filter": [ + "all", + [ + "in", + "class", + "runway" + ], + [ + "==", + "$type", + "LineString" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(255, 255, 255, 1)", + "line-opacity": 1, + "line-width": { + "base": 1.5, + "stops": [ + [ + 11, + 4 + ], + [ + 17, + 50 + ] + ] + } + } + }, + { + "id": "road_area_pier", + "type": "fill", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "$type", + "Polygon" + ], + [ + "==", + "class", + "pier" + ] + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-antialias": true, + "fill-color": "#f3f1ea" + } + }, + { + "id": "road_pier", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "class", + "pier" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round" + }, + "paint": { + "line-color": "#f3f1ea", + "line-width": { + "base": 1.2, + "stops": [ + [ + 15, + 1 + ], + [ + 17, + 4 + ] + ] + } + } + }, + { + "id": "highway_path", + "type": "line", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "==", + "class", + "path" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#ddd8cd", + "line-opacity": 0.9, + "line-width": { + "base": 1.2, + "stops": [ + [ + 13, + 1 + ], + [ + 20, + 10 + ] + ] + } + } + }, + { + "id": "highway_minor", + "type": "line", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 8, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "class", + "minor", + "service", + "track" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#ebe4d8", + "line-opacity": 0.9, + "line-width": { + "base": 1.55, + "stops": [ + [ + 13, + 1.8 + ], + [ + 20, + 20 + ] + ] + } + } + }, + { + "id": "highway_major_casing", + "type": "line", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 11, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "class", + "primary", + "secondary", + "tertiary", + "trunk" + ] + ], + "layout": { + "line-cap": "butt", + "line-join": "miter", + "visibility": "visible" + }, + "paint": { + "line-color": "#cdbfaa", + "line-dasharray": [ + 12, + 0 + ], + "line-width": { + "base": 1.3, + "stops": [ + [ + 10, + 3 + ], + [ + 20, + 23 + ] + ] + } + } + }, + { + "id": "highway_major_inner", + "type": "line", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 11, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "class", + "primary", + "secondary", + "tertiary", + "trunk" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#fff9f0", + "line-width": { + "base": 1.3, + "stops": [ + [ + 10, + 2 + ], + [ + 20, + 20 + ] + ] + } + } + }, + { + "id": "highway_major_subtle", + "type": "line", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "maxzoom": 11, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "class", + "primary", + "secondary", + "tertiary", + "trunk" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(201, 188, 168, 0.45)", + "line-width": 2 + } + }, + { + "id": "highway_motorway_casing", + "type": "line", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 6, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "all", + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "==", + "class", + "motorway" + ] + ] + ], + "layout": { + "line-cap": "butt", + "line-join": "miter", + "visibility": "visible" + }, + "paint": { + "line-color": "#b8956e", + "line-dasharray": [ + 2, + 0 + ], + "line-opacity": 1, + "line-width": { + "base": 1.4, + "stops": [ + [ + 5.8, + 0 + ], + [ + 6, + 3 + ], + [ + 20, + 40 + ] + ] + } + } + }, + { + "id": "highway_motorway_inner", + "type": "line", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 6, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "all", + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "==", + "class", + "motorway" + ] + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": { + "base": 1, + "stops": [ + [ + 5.8, + "rgba(184, 149, 110, 0.45)" + ], + [ + 6, + "#f6ead6" + ] + ] + }, + "line-width": { + "base": 1.4, + "stops": [ + [ + 4, + 2 + ], + [ + 6, + 1.3 + ], + [ + 20, + 30 + ] + ] + } + } + }, + { + "id": "highway_motorway_subtle", + "type": "line", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "maxzoom": 6, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "==", + "class", + "motorway" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(184, 149, 110, 0.35)", + "line-width": { + "base": 1.4, + "stops": [ + [ + 4, + 2 + ], + [ + 6, + 1.3 + ] + ] + } + } + }, + { + "id": "railway_transit", + "type": "line", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 16, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "all", + [ + "==", + "class", + "transit" + ], + [ + "!in", + "brunnel", + "tunnel" + ] + ] + ], + "layout": { + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#cdc8c1", + "line-width": 3 + } + }, + { + "id": "railway_transit_dashline", + "type": "line", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 16, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "all", + [ + "==", + "class", + "transit" + ], + [ + "!in", + "brunnel", + "tunnel" + ] + ] + ], + "layout": { + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#fafafa", + "line-dasharray": [ + 3, + 3 + ], + "line-width": 2 + } + }, + { + "id": "railway_service", + "type": "line", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 16, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "all", + [ + "==", + "class", + "rail" + ], + [ + "has", + "service" + ] + ] + ], + "layout": { + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#d7d2ca", + "line-width": 3 + } + }, + { + "id": "railway_service_dashline", + "type": "line", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 16, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "==", + "class", + "rail" + ], + [ + "has", + "service" + ] + ], + "layout": { + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#fafafa", + "line-dasharray": [ + 3, + 3 + ], + "line-width": 2 + } + }, + { + "id": "railway", + "type": "line", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 13, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "all", + [ + "!has", + "service" + ], + [ + "==", + "class", + "rail" + ] + ] + ], + "layout": { + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#cac6bf", + "line-width": { + "base": 1.3, + "stops": [ + [ + 16, + 3 + ], + [ + 20, + 7 + ] + ] + } + } + }, + { + "id": "railway_dashline", + "type": "line", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 13, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "all", + [ + "!has", + "service" + ], + [ + "==", + "class", + "rail" + ] + ] + ], + "layout": { + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#fafafa", + "line-dasharray": [ + 3, + 3 + ], + "line-width": { + "base": 1.3, + "stops": [ + [ + 16, + 2 + ], + [ + 20, + 6 + ] + ] + } + } + }, + { + "id": "highway_motorway_bridge_casing", + "type": "line", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 6, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "all", + [ + "==", + "brunnel", + "bridge" + ], + [ + "==", + "class", + "motorway" + ] + ] + ], + "layout": { + "line-cap": "butt", + "line-join": "miter", + "visibility": "visible" + }, + "paint": { + "line-color": "#b8956e", + "line-dasharray": [ + 2, + 0 + ], + "line-opacity": 1, + "line-width": { + "base": 1.4, + "stops": [ + [ + 5.8, + 0 + ], + [ + 6, + 5 + ], + [ + 20, + 45 + ] + ] + } + } + }, + { + "id": "highway_motorway_bridge_inner", + "type": "line", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 6, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "all", + [ + "==", + "brunnel", + "bridge" + ], + [ + "==", + "class", + "motorway" + ] + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": { + "base": 1, + "stops": [ + [ + 5.8, + "rgba(184, 149, 110, 0.45)" + ], + [ + 6, + "#f6ead6" + ] + ] + }, + "line-width": { + "base": 1.4, + "stops": [ + [ + 4, + 2 + ], + [ + 6, + 1.3 + ], + [ + 20, + 30 + ] + ] + } + } + }, + { + "id": "highway_name_other", + "type": "symbol", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation_name", + "filter": [ + "all", + [ + "!=", + "class", + "motorway" + ], + [ + "==", + "$type", + "LineString" + ] + ], + "layout": { + "symbol-placement": "line", + "symbol-spacing": 300, + "text-field": "{name:latin} {name:nonlatin}", + "text-font": [ + "Noto Sans Regular" + ], + "text-max-angle": 30, + "text-pitch-alignment": "viewport", + "text-rotation-alignment": "map", + "text-size": 10.7, + "visibility": "visible", + "text-letter-spacing": 0.03 + }, + "paint": { + "text-color": "#756858", + "text-halo-blur": 1, + "text-halo-color": "#fbfaf6", + "text-halo-width": 1.5, + "text-translate": [ + 0, + 0 + ] + }, + "minzoom": 9 + }, + { + "id": "highway_name_motorway", + "type": "symbol", + "metadata": { + "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5" + }, + "source": "openmaptiles", + "source-layer": "transportation_name", + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "==", + "class", + "motorway" + ] + ], + "layout": { + "symbol-placement": "line", + "symbol-spacing": 380, + "text-field": "{ref}", + "text-font": [ + "Noto Sans Regular" + ], + "text-pitch-alignment": "viewport", + "text-rotation-alignment": "viewport", + "text-size": 10.5, + "visibility": "visible" + }, + "paint": { + "text-color": "#6d5a49", + "text-halo-blur": 1, + "text-halo-color": "#fbfaf6", + "text-halo-width": 1.4, + "text-translate": [ + 0, + 2 + ] + }, + "minzoom": 8.5 + }, + { + "id": "boundary_state", + "type": "line", + "metadata": { + "mapbox:group": "a14c9607bc7954ba1df7205bf660433f" + }, + "source": "openmaptiles", + "source-layer": "boundary", + "filter": [ + "==", + "admin_level", + 4 + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-blur": 0.4, + "line-color": "#c7b8bb", + "line-dasharray": [ + 2, + 2 + ], + "line-opacity": 1, + "line-width": { + "base": 1.3, + "stops": [ + [ + 3, + 1 + ], + [ + 22, + 15 + ] + ] + } + } + }, + { + "id": "boundary_country_z0-4", + "type": "line", + "metadata": { + "mapbox:group": "a14c9607bc7954ba1df7205bf660433f" + }, + "source": "openmaptiles", + "source-layer": "boundary", + "maxzoom": 5, + "filter": [ + "all", + [ + "==", + "admin_level", + 2 + ], + [ + "!has", + "claimed_by" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round" + }, + "paint": { + "line-blur": { + "base": 1, + "stops": [ + [ + 0, + 0.4 + ], + [ + 22, + 4 + ] + ] + }, + "line-color": "#c7b8bb", + "line-opacity": 1, + "line-width": { + "base": 1.1, + "stops": [ + [ + 3, + 1 + ], + [ + 22, + 20 + ] + ] + } + } + }, + { + "id": "boundary_country_z5-", + "type": "line", + "metadata": { + "mapbox:group": "a14c9607bc7954ba1df7205bf660433f" + }, + "source": "openmaptiles", + "source-layer": "boundary", + "minzoom": 5, + "filter": [ + "==", + "admin_level", + 2 + ], + "layout": { + "line-cap": "round", + "line-join": "round" + }, + "paint": { + "line-blur": { + "base": 1, + "stops": [ + [ + 0, + 0.4 + ], + [ + 22, + 4 + ] + ] + }, + "line-color": "#c7b8bb", + "line-opacity": 1, + "line-width": { + "base": 1.1, + "stops": [ + [ + 3, + 1 + ], + [ + 22, + 20 + ] + ] + } + } + }, + { + "id": "place_other", + "type": "symbol", + "metadata": { + "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f" + }, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 14, + "filter": [ + "all", + [ + "in", + "class", + "continent", + "hamlet", + "neighbourhood", + "isolated_dwelling" + ], + [ + "==", + "$type", + "Point" + ] + ], + "layout": { + "text-anchor": "center", + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": [ + "Noto Sans Regular" + ], + "text-justify": "center", + "text-offset": [ + 0.5, + 0 + ], + "text-size": 10.5, + "text-transform": "uppercase", + "visibility": "visible", + "text-letter-spacing": 0.08 + }, + "paint": { + "text-color": "#435160", + "text-halo-blur": 1, + "text-halo-color": "#f8f6ef", + "text-halo-width": 1.6 + } + }, + { + "id": "place_suburb", + "type": "symbol", + "metadata": { + "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f" + }, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 15, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "class", + "suburb" + ] + ], + "layout": { + "text-anchor": "center", + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": [ + "Noto Sans Regular" + ], + "text-justify": "center", + "text-offset": [ + 0.5, + 0 + ], + "text-size": 10.5, + "text-transform": "uppercase", + "visibility": "visible", + "text-letter-spacing": 0.08 + }, + "paint": { + "text-color": "#435160", + "text-halo-blur": 1, + "text-halo-color": "#f8f6ef", + "text-halo-width": 1.6 + } + }, + { + "id": "place_village", + "type": "symbol", + "metadata": { + "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f" + }, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "class", + "village" + ] + ], + "layout": { + "icon-size": 0.4, + "text-anchor": "left", + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": [ + "Noto Sans Regular" + ], + "text-justify": "left", + "text-offset": [ + 0.5, + 0.2 + ], + "text-size": 10.5, + "visibility": "visible", + "text-letter-spacing": 0.02 + }, + "paint": { + "icon-opacity": 0.7, + "text-color": "#435160", + "text-halo-blur": 1, + "text-halo-color": "#f8f6ef", + "text-halo-width": 1.5 + }, + "minzoom": 6.8 + }, + { + "id": "place_town", + "type": "symbol", + "metadata": { + "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f" + }, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 15, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "class", + "town" + ] + ], + "layout": { + "icon-image": { + "base": 1, + "stops": [ + [ + 0, + "circle-11" + ], + [ + 8, + "" + ] + ] + }, + "icon-size": 0.4, + "text-anchor": { + "base": 1, + "stops": [ + [ + 0, + "left" + ], + [ + 8, + "center" + ] + ] + }, + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": [ + "Noto Sans Regular" + ], + "text-justify": "left", + "text-offset": [ + 0.5, + 0.2 + ], + "text-size": 11, + "visibility": "visible", + "text-letter-spacing": 0.015 + }, + "paint": { + "icon-opacity": 0.7, + "text-color": "#435160", + "text-halo-blur": 1, + "text-halo-color": "#f8f6ef", + "text-halo-width": 1.5 + }, + "minzoom": 5.8 + }, + { + "id": "place_city", + "type": "symbol", + "metadata": { + "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f" + }, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "all", + [ + "!=", + "capital", + 2 + ], + [ + "==", + "class", + "city" + ], + [ + ">", + "rank", + 3 + ] + ] + ], + "layout": { + "icon-image": { + "base": 1, + "stops": [ + [ + 0, + "circle-11" + ], + [ + 8, + "" + ] + ] + }, + "icon-size": 0.4, + "text-anchor": { + "base": 1, + "stops": [ + [ + 0, + "left" + ], + [ + 8, + "center" + ] + ] + }, + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": [ + "Noto Sans Regular" + ], + "text-justify": "left", + "text-offset": [ + 0.5, + 0.2 + ], + "text-size": 12.5, + "visibility": "visible", + "text-letter-spacing": 0.01 + }, + "paint": { + "icon-opacity": 0.7, + "text-color": "#334454", + "text-halo-blur": 1, + "text-halo-color": "#f8f6ef", + "text-halo-width": 1.5 + }, + "minzoom": 5.2 + }, + { + "id": "place_capital", + "type": "symbol", + "metadata": { + "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f" + }, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 12, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "all", + [ + "==", + "capital", + 2 + ], + [ + "==", + "class", + "city" + ] + ] + ], + "layout": { + "icon-image": { + "base": 1, + "stops": [ + [ + 0, + "star-11" + ], + [ + 8, + "" + ] + ] + }, + "icon-size": 1, + "text-anchor": { + "base": 1, + "stops": [ + [ + 0, + "left" + ], + [ + 8, + "center" + ] + ] + }, + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": [ + "Noto Sans Regular" + ], + "text-justify": "left", + "text-offset": [ + 0.5, + 0.2 + ], + "text-size": 15.5, + "visibility": "visible", + "text-letter-spacing": 0.01 + }, + "paint": { + "icon-opacity": 0.7, + "text-color": "#273a4a", + "text-halo-blur": 1, + "text-halo-color": "#f8f6ef", + "text-halo-width": 1.5 + }, + "minzoom": 3.5 + }, + { + "id": "place_city_large", + "type": "symbol", + "metadata": { + "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f" + }, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 12, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "all", + [ + "!=", + "capital", + 2 + ], + [ + "<=", + "rank", + 3 + ], + [ + "==", + "class", + "city" + ] + ] + ], + "layout": { + "icon-image": { + "base": 1, + "stops": [ + [ + 0, + "circle-11" + ], + [ + 8, + "" + ] + ] + }, + "icon-size": 0.4, + "text-anchor": { + "base": 1, + "stops": [ + [ + 0, + "left" + ], + [ + 8, + "center" + ] + ] + }, + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": [ + "Noto Sans Regular" + ], + "text-justify": "left", + "text-offset": [ + 0.5, + 0.2 + ], + "text-size": 14.5, + "visibility": "visible", + "text-letter-spacing": 0.01 + }, + "paint": { + "icon-opacity": 0.7, + "text-color": "#2e4051", + "text-halo-blur": 1, + "text-halo-color": "#f8f6ef", + "text-halo-width": 1.5 + }, + "minzoom": 4.2 + }, + { + "id": "place_state", + "type": "symbol", + "metadata": { + "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f" + }, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 12, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "class", + "state" + ] + ], + "layout": { + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": [ + "Noto Sans Regular" + ], + "text-size": 10.8, + "text-transform": "uppercase", + "visibility": "visible", + "text-letter-spacing": 0.03 + }, + "paint": { + "text-color": "#526273", + "text-halo-blur": 1, + "text-halo-color": "#f8f6ef", + "text-halo-width": 1.5 + }, + "minzoom": 3.2 + }, + { + "id": "place_country_other", + "type": "symbol", + "metadata": { + "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f" + }, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 8, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "class", + "country" + ], + [ + "!has", + "iso_a2" + ] + ], + "layout": { + "text-field": "{name:latin}", + "text-font": [ + "Noto Sans Italic" + ], + "text-size": { + "base": 1, + "stops": [ + [ + 0, + 9 + ], + [ + 6, + 11 + ] + ] + }, + "text-transform": "uppercase", + "visibility": "visible" + }, + "paint": { + "text-color": { + "base": 1, + "stops": [ + [ + 3, + "#8092a1" + ], + [ + 4, + "#6d7d8d" + ] + ] + }, + "text-halo-color": "rgba(248,246,239,0.85)", + "text-halo-width": 1.4 + } + }, + { + "id": "place_country_minor", + "type": "symbol", + "metadata": { + "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f" + }, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 8, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "class", + "country" + ], + [ + ">=", + "rank", + 2 + ], + [ + "has", + "iso_a2" + ] + ], + "layout": { + "text-field": "{name:latin}", + "text-font": [ + "Noto Sans Regular" + ], + "text-size": { + "base": 1, + "stops": [ + [ + 0, + 10 + ], + [ + 6, + 12 + ] + ] + }, + "text-transform": "uppercase", + "visibility": "visible" + }, + "paint": { + "text-color": { + "base": 1, + "stops": [ + [ + 3, + "#7b8d9d" + ], + [ + 4, + "#67798a" + ] + ] + }, + "text-halo-color": "rgba(248,246,239,0.85)", + "text-halo-width": 1.4 + } + }, + { + "id": "place_country_major", + "type": "symbol", + "metadata": { + "mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f" + }, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 6, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "<=", + "rank", + 1 + ], + [ + "==", + "class", + "country" + ], + [ + "has", + "iso_a2" + ] + ], + "layout": { + "text-anchor": "center", + "text-field": "{name:latin}", + "text-font": [ + "Noto Sans Regular" + ], + "text-size": { + "base": 1.4, + "stops": [ + [ + 0, + 10 + ], + [ + 3, + 12 + ], + [ + 4, + 14 + ] + ] + }, + "text-transform": "uppercase", + "visibility": "visible" + }, + "paint": { + "text-color": { + "base": 1, + "stops": [ + [ + 3, + "#667a8f" + ], + [ + 4, + "#52667c" + ] + ] + }, + "text-halo-color": "rgba(248,246,239,0.9)", + "text-halo-width": 1.4 + } + } + ], + "id": "positron" +}