diff --git a/build/scripts/release/geoportal-extensions-itowns-2.2.0.tgz b/build/scripts/release/geoportal-extensions-itowns-2.2.0.tgz new file mode 100644 index 000000000..836f2cc78 Binary files /dev/null and b/build/scripts/release/geoportal-extensions-itowns-2.2.0.tgz differ diff --git a/build/scripts/release/geoportal-extensions-itowns-2.2.4.tgz b/build/scripts/release/geoportal-extensions-itowns-2.2.4.tgz index 5afddf8b1..23ecf9efd 100644 Binary files a/build/scripts/release/geoportal-extensions-itowns-2.2.4.tgz and b/build/scripts/release/geoportal-extensions-itowns-2.2.4.tgz differ diff --git a/build/scripts/release/package-itowns.json b/build/scripts/release/package-itowns.json index b3b1b558b..42c9cda50 100644 --- a/build/scripts/release/package-itowns.json +++ b/build/scripts/release/package-itowns.json @@ -1,45 +1,45 @@ { - "peerDependencies" : {}, - "bugs" : {}, - "repository" : { - "url" : "https://github.com/IGNF/geoportal-extensions.git", - "type" : "git" - }, - "license" : "CECILL-B", - "author" : "IGNF", - "bundleDependencies" : [], - "directories" : {}, - "homepage" : "https://geoservices.ign.fr/documentation/utilisation_web/extension-itowns.html", - "description" : "French Geoportal Extensions for iTowns", - "devDependencies" : {}, - "version" : "2.2.4", "module" : "src/Itowns/index.js", - "name" : "geoportal-extensions-itowns", + "date" : "29/11/2019", "keywords" : [ "geoportail", "plugin", "javascript", "Itowns" ], + "version" : "2.2.4", + "license" : "CECILL-B", + "directories" : {}, + "peerDependencies" : {}, + "description" : "French Geoportal Extensions for iTowns", "scripts" : {}, + "devDependencies" : {}, + "repository" : { + "type" : "git", + "url" : "https://github.com/IGNF/geoportal-extensions.git" + }, + "bugs" : {}, + "homepage" : "https://geoservices.ign.fr/documentation/utilisation_web/extension-itowns.html", + "name" : "geoportal-extensions-itowns", + "bundleDependencies" : [], + "dependencies" : { + "loglevel" : "~1.6.1", + "xmldom" : "^0.1.27", + "itowns" : "2.16.0", + "three.meshline" : "~1.2.0", + "geoportal-access-lib" : "^2.1.6", + "sortablejs" : "1.8.4", + "request" : "^2.83.0", + "three" : "~0.109.0", + "proj4" : "2.5.0" + }, "main" : "dist/GpPluginItowns-src.js", + "author" : "IGNF", "files" : [ "dist/", "src/", "LICENCE.md", "README.md", "package.json" - ], - "dependencies" : { - "request" : "^2.83.0", - "geoportal-access-lib" : "^2.1.6", - "proj4" : "2.5.0", - "three.meshline" : "~1.2.0", - "sortablejs" : "1.8.4", - "three" : "~0.109.0", - "loglevel" : "~1.6.1", - "xmldom" : "^0.1.27", - "itowns" : "2.15.3" - }, - "date" : "16/10/2019" + ] } diff --git a/package.json b/package.json index d51107381..7c70483be 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "dependencies": { "eventbusjs": "^0.2.0", "geoportal-access-lib": "^2.1.6", - "itowns": "2.15.3", + "itowns": "2.16.0", "leaflet": "1.5.1", "leaflet-draw": "1.0.4", "loglevel": "~1.6.1", diff --git a/samples-src/pages/itowns/LayerSwitcher/pages-itowns-layerswitcher-amd-gpLayers.html b/samples-src/pages/itowns/LayerSwitcher/pages-itowns-layerswitcher-amd-gpLayers.html index 197cede2f..2e94a77af 100644 --- a/samples-src/pages/itowns/LayerSwitcher/pages-itowns-layerswitcher-amd-gpLayers.html +++ b/samples-src/pages/itowns/LayerSwitcher/pages-itowns-layerswitcher-amd-gpLayers.html @@ -49,7 +49,7 @@

Ajout d'un contrôle de gestion des couches : LayerSwitcher

layer: "ELEVATION.ELEVATIONGRIDCOVERAGE", ssl: true })); - + // Couche WMTS Geoportail globeView.addLayer(new Gp.itownsExtended.layer.GeoportalWMTS({ layer: "ORTHOIMAGERY.ORTHOPHOTOS", diff --git a/samples-src/pages/itowns/LayerSwitcher/pages-itowns-layerswitcher-amd-vectorTile.html b/samples-src/pages/itowns/LayerSwitcher/pages-itowns-layerswitcher-amd-vectorTile.html new file mode 100644 index 000000000..f70e4b5e8 --- /dev/null +++ b/samples-src/pages/itowns/LayerSwitcher/pages-itowns-layerswitcher-amd-vectorTile.html @@ -0,0 +1,121 @@ +{{#extend "layout-itowns-sample-amd"}} {{#content "head"}} +Sample itowns LayerSwitcher +{{/content}} {{#content "style"}} + +{{/content}} {{#content "body"}} +

Ajout d'un contrôle de gestion des couches : LayerSwitcher

+ +
+{{/content}} {{#content "js"}} + {{/content}} {{/extend}} \ No newline at end of file diff --git a/samples-src/pages/itowns/Layers/pages-itowns-gpLayers-amd-vectorTiles.html b/samples-src/pages/itowns/Layers/pages-itowns-gpLayers-amd-vectorTiles.html new file mode 100644 index 000000000..a2eb9a408 --- /dev/null +++ b/samples-src/pages/itowns/Layers/pages-itowns-gpLayers-amd-vectorTiles.html @@ -0,0 +1,107 @@ +{{#extend "layout-itowns-sample-amd"}} {{#content "head"}} +Sample itowns LayerSwitcher +{{/content}} {{#content "style"}} + +{{/content}} {{#content "body"}} +

Ajout d'un contrôle de gestion des couches : LayerSwitcher

+ +
+{{/content}} {{#content "js"}} + {{/content}} {{/extend}} \ No newline at end of file diff --git a/samples-src/resources/itowns/enseignement.json b/samples-src/resources/itowns/enseignement.json new file mode 100644 index 000000000..7a7dc01ba --- /dev/null +++ b/samples-src/resources/itowns/enseignement.json @@ -0,0 +1,14 @@ +{ + "name": "Enseignement", + "description": "PAI science et enseignement", + "minzoom": 6, + "maxzoom": 16, + "crs": "EPSG:3857", + "center": [2.463684,48.776024], + "bounds": [2.307129,48.687334,2.620239,48.864715], + "format": "pbf", + "tiles":["https://vectortiles.ign.fr/rok4server/1.0.0/Enseignement/{z}/{x}/{y}.pbf"], + "vector_layers": [ + {"id":"Enseignement","geometry":"POINT","maxzoom":"16","minzoom":"6","filedsCount":"10","fields":{"designat_1":{"attribute":"designat_1","count":"62","type":"character varying(80)"},"adresse_po":{"attribute":"adresse_po","count":"61278","type":"character varying(80)"},"nom_d_usag":{"attribute":"nom_d_usag","count":"51253","type":"character varying(200)"},"identifi_1":{"attribute":"identifi_1","count":"78306","type":"character varying(200)"},"ogc_fid":{"attribute":"ogc_fid","count":"100541","type":"integer","min":221885,"max":322425},"insee_comm":{"attribute":"insee_comm","count":"23885","type":"character varying(80)"},"cleabs":{"attribute":"cleabs","count":"100541","type":"character varying(80)"},"nature":{"attribute":"nature","count":"9","type":"character varying(80)","values":["Collège","Autre","Science","Enseignement primaire","Université","Lycée","Enseignement secondaire","Enseignement supérieur"]},"designatio":{"attribute":"designatio","count":"2115","type":"character varying(80)"},"statut":{"attribute":"statut","count":"1","type":"character varying"}}} + ] +} diff --git a/samples-src/resources/itowns/planign.json b/samples-src/resources/itowns/planign.json new file mode 100644 index 000000000..4dea8f93f --- /dev/null +++ b/samples-src/resources/itowns/planign.json @@ -0,0 +1,7200 @@ +{ + "version": 8, + "name": "Style pyramide ecran", + "glyphs": "mapbox://fonts/mapbox/{fontstack}/{range}.pbf", + "sprite": "https://vectortiles.ign.fr/demonstrateur/sprite/pictos_macarte", + "sprite": "https://vectortiles.ign.fr/demonstrateur/sprite/PlanIgn", + "sources": { + "plan_ign": { + "type": "vector", + "url": "https://vectortiles.ign.fr/rok4server/1.0.0/PLAN.IGN/metadata.json" + } + }, + "transition": { + "duration": 300, + "delay": 0 + }, + "layers": [ + { + "id": "bckgrd", + "type": "background", + "paint": { + "background-color": "#FFFFFF" + } + }, + { + "id": "orographie : relief - 0m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","HYPSO_0"], + "paint": { + "fill-color": "#D6E5BA", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 100m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","HYPSO_100"], + "paint": { + "fill-color": "#F7F2DA", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 200m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","HYPSO_200"], + "paint": { + "fill-color": "#EBDEBF", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 1000m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","HYPSO_1000"], + "paint": { + "fill-color": "#DABE97", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 3000m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","HYPSO_3000"], + "paint": { + "fill-color": "#B28773", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 4000m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","HYPSO_4000"], + "paint": { + "fill-color": "#9E6A54", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 5000m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","HYPSO_5000"], + "paint": { + "fill-color": "#773A2B", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - glacier", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","GLACIER"], + "paint": { + "fill-color": "#FFFFFF", + "fill-opacity": 0.7 + } + }, + { + "id": "ocs - vegetation - zone boiséee, foret fermee, peupleraie", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "ZONE_BOISEE", + "ZONE_FORET_FERMEE_FEUIL", + "ZONE_FORET_FERMEE_CONI", + "ZONE_FORET_FERMEE_MIXTE", + "ZONE_PEUPLERAIE" + ], + "paint": { + "fill-color": "#DBE8CE" + } + }, + { + "id": "ocs - vegetation - forêt ouverte", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "ZONE_FORET_OUVERTE" + ], + "paint": { + "fill-color": "#EDF2D9" + } + }, + { + "id": "ocs - vegetation - lande ligneuse", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","ZONE_LANDE_LIGNEUSE"], + "paint": { + "fill-color": "#F2EECD" + } + }, + { + "id": "ocs - vegetation - vigne", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","ZONE_VIGNE"], + "paint": { + "fill-color": "#FFEDD9" + } + }, + { + "id": "ocs - vegetation - verger", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","ZONE_VERGER"], + "paint": { + "fill-color": "#FAE2C5" + } + }, + { + "id": "ocs - vegetation - canne à sucre, bananeraie", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","ZONE_CANNE_BANANE"], + "paint": { + "fill-color": "#E9D8E8" + } + }, + { + "id": "ocs - vegetation - mangrovre", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","ZONE_MANGROVE"], + "paint": { + "fill-color": "#ADF7F5" + } + }, + { + "id": "ocs - vegetation - marais", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","ZONE_MARAIS"], + "paint": { + "fill-pattern": "Marais" + } + }, + { + "id": "ocs - vegetation - marais salant", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","ZONE_MARAIS_SALANT"], + "paint": { + "fill-pattern": "MaraisSalant" + } + }, + { + "id": "ocs - Zone", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","ZONE_ROCHEUSE"], + "paint": { + "fill-color": "#d0d0d0", + "fill-opacity": 0.3 + } + }, + { + "id": "ocs - Zone sable sec", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","ZONE_SABLE_SEC"], + "paint": { + "fill-pattern": "Sable" + } + }, + { + "id": "ocs - Zone sable humide", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "ZONE_SABLE_HUMIDE", + "FOND_CUVETTE_HUMIDE" + ], + "paint": { + "fill-pattern": "SableHumide" + } + }, + { + "id": "ocs - Zone graviers galets secs", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","GRAVIERS_GALETS_SEC"], + "paint": { + "fill-pattern": "GravierSec" + } + }, + { + "id": "ocs - Zone graviers galets humides", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","GRAVIERS_GALETS_HUM"], + "paint": { + "fill-pattern": "Gravier" + } + }, + { + "id": "ocs - Zone rocher hydro", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","ZONE_ROCHER_HYDRO"], + "paint": { + "fill-pattern": "RocherHydro" + } + }, + { + "id": "ocs - Zone glacier", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","ZONE_GLACIER"], + "paint": { + "fill-pattern": "Glacier", + "fill-opacity": 0.6 + } + }, + { + "id": "zone batie", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zone_surf", + "minzoom": 7, + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","ZONE_BATI"], + "paint": { + "fill-color": "#E8E2D1", + "fill-opacity": {"stops": [[12, 1], [13, 0.9], [14, 0.5]]} + } + }, + { + "id": "zone d'ativité", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zone_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","ZONE_INDUS_ACTI"], + "paint": { + "fill-color": "#D9D9D9" + } + }, + { + "id": "oro - courbe et cuvette maitresse", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom":16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "CNV_MAITRESSE", + "CUVETTE_MAITRESSE" + ], + "paint": { + "line-color": "#D9C8A9", + "line-width": { + "stops": [[13, 1.7], [15, 2]] + } + } + }, + { + "id": "oro - courbe et cuvette normale", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom":16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "CNV_NORMALE", + "CUVETTE_NORMALE" + ], + "paint": { + "line-color": "#D9C8A9", + "line-width": { + "stops": [[13, 1], [15, 1.2]] + } + } + }, + { + "id": "oro - courbe et cuvette intercalaire", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom":16, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "CNV_INTERCALAIRE", + "CUVETTE_INTERCAL", + "CNV_SS_INTERCALAIRE" + ], + "paint": { + "line-color": "#D9C8A9", + "line-width": { + "stops": [[13, 0.7], [15, 0.9]] + }, + "line-dasharray": [20,7] + } + }, + { + "id": "oro - courbe et cuvette glacier maitresse", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom":16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "CNV_GLACIER_MAITRESSE", + "CUV_GLACIER_MAITRESSE" + ], + "paint": { + "line-color": "#A4BFD9", + "line-width": { + "stops": [[13, 1.7], [15, 2]] + } + } + }, + { + "id": "oro - courbe et cuvette glacier normale", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom":16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "CNV_GLACIER_NORMALE", + "CUV_GLACIER_NORMALE" + ], + "paint": { + "line-color": "#A4BFD9", + "line-width": { + "stops": [[13, 1], [15, 1.2]] + } + } + }, + { + "id": "oro - courbe et cuvette glacier intercalaire", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom":16, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "CNV_GLACIER_INTERCAL", + "CUV_GLACIER_INTERCAL" + ], + "paint": { + "line-color": "#A4BFD9", + "line-width": { + "stops": [[13, 0.7], [15, 0.9]] + }, + "line-dasharray": [20,7] + } + }, + { + "id": "oro - courbe et cuvette rocher maitresse", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom":16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "CNV_ROCHER_MAITRESSE", + "CUV_ROCHER_MAITRESSE" + ], + "paint": { + "line-color": "#AAAAAA", + "line-width": { + "stops": [[13, 1.7], [15, 2]] + } + } + }, + { + "id": "oro - courbe et cuvette rocher normale", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom":16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "CNV_ROCHER_NORMALE", + "CUV_ROCHER_NORMALE" + ], + "paint": { + "line-color": "#AAAAAA", + "line-width": { + "stops": [[13, 1], [15, 1.2]] + } + } + }, + { + "id": "oro - courbe et cuvette rocher intercalaire", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom":16, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "CNV_ROCHER_INTERCAL", + "CUV_ROCHER_INTERCAL" + ], + "paint": { + "line-color": "#AAAAAA", + "line-width": { + "stops": [[13, 0.7], [15, 0.9]] + }, + "line-dasharray": [20,7] + } + }, + { + "id": "oro - courbe et cuvette bathymetrique", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom":16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "CNV_BATHYMETRIQUE", + "CUV_BATHYMETRIQUE" + ], + "paint": { + "line-color": "#0000FF", + "line-width": 1 + } + }, + { + "id": "oro lin - talus", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_lin", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","TALUS"], + "paint": { + "line-color": "#D9C8A9", + "line-width": 1 + } + }, + { + "id": "oro lin - talus - trait perpendiculaire", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_lin", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","TALUS"], + "paint": { + "line-color": "#D9C8A9", + "line-width": { + "stops": [[14, 7], [16, 9]] + }, + "line-dasharray": [0.1,1], + "line-translate": [0,4] + } + }, + { + "id": "toponyme - cote de courbe normale", + "type": "symbol", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom":16, + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 10, + "text-anchor": "center", + "text-rotation-alignment":"map", + "text-pitch-alignment": "viewport", + "text-keep-upright": false, + "text-max-angle": 20, + "text-max-width": 100, + "text-font": ["Source Sans Pro Italic"] + }, + "filter": ["all", + ["!=","texte","0"], + ["==","hors_zone","true"], + ["in","symbo", + "CNV_MAITRESSE", + "CUVETTE_MAITRESSE" + ] + ], + "paint": { + "text-color": "#604A2F", + "text-halo-width": 0.5, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - cote de courbe rocher", + "type": "symbol", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom":16, + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 10, + "text-anchor": "center", + "text-rotation-alignment":"map", + "text-pitch-alignment": "viewport", + "text-keep-upright": false, + "text-max-angle": 20, + "text-max-width": 100, + "text-font": ["Source Sans Pro Italic"] + }, + "filter": ["all", + ["!=","texte","0"], + ["==","hors_zone","true"], + ["in","symbo", + "CNV_ROCHER_MAITRESSE", + "CUV_ROCHER_MAITRESSE" + ] + ], + "paint": { + "text-color": "#333333", + "text-halo-width": 0.5, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - cote de courbe glacier", + "type": "symbol", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom":16, + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 10, + "text-anchor": "center", + "text-rotation-alignment":"map", + "text-pitch-alignment": "viewport", + "text-keep-upright": false, + "text-max-angle": 20, + "text-max-width": 100, + "text-font": ["Source Sans Pro Italic"] + }, + "filter": ["all", + ["!=","texte","0"], + ["==","hors_zone","true"], + ["in","symbo", + "CNV_GLACIER_MAITRESSE", + "CUV_GLACIER_MAITRESSE" + ] + ], + "paint": { + "text-color": "#A4BFD9", + "text-halo-width": 0.5, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "hydro surfacique", + "type": "fill", + "source": "plan_ign", + "source-layer": "hydro_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "SURFACE_D_EAU", + "BASSIN", + "ZONE_MARINE" + ], + "paint": { + "fill-color": "#AAD5E9" + } + }, + { + "id": "hydro surfacique temporaire", + "type": "fill", + "source": "plan_ign", + "source-layer": "hydro_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","SURFACE_D_EAU_TEMP"], + "paint": { + "fill-color": "rgba(168, 203, 220, 0.5)" + } + }, + { + "id": "Limite - cloture", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "CLOTURE", + "TRANCHEE", + "LAYON" + ], + "paint": { + "line-color": "#000000", + "line-width": 0.2, + "line-dasharray": [0.5, 1] + } + }, + { + "id": "Zone Règlementee - Enceinte militaire", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "LIM_ZONE_REGLEMENTEE", + "LIM_ENCEINTE_MILI", + "LIM_CHAMP_TIR" + ], + "paint": { + "line-color": "#ACA29E", + "line-width": { + "stops": [[13, 2], [17, 4]] + }, + "line-dasharray": [2, 1, 2] + } + }, + { + "id": "limite zone naturelle", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","LIM_ZONE_NATURELLE"], + "paint": { + "line-color": "#FFC2CB", + "line-width": { + "stops": [[13, 2], [17, 4]] + }, + "line-dasharray": [2, 1] + } + }, + { + "id": "limite zone naturelle - Parc naturel", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","LIM_PARC_NATUREL"], + "paint": { + "line-color": "#42A266", + "line-width": { + "stops": [[13, 2], [17, 4]] + }, + "line-dasharray": [2, 1] + } + }, + { + "id": "limite zone naturelle - Parc marin", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","LIM_PARC_NATUREL_MARIN"], + "paint": { + "line-color": "#2A81A2", + "line-width": { + "stops": [[13, 2], [17, 4]] + }, + "line-dasharray": [2, 1] + } + }, + { + "id": "Ferre souterrain - voie normale", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "VF_1_SOU", + "VF_2_SOU", + "VF_ELEC_1_SOU", + "VF_FERRO_ROUTIER_SOU" + ], + "paint": { + "line-color": "#B4B4B4", + "line-width": { + "stops": [[13, 0.8], [17, 2.5]] + } + } + }, + { + "id": "Ferre souterrain - trait perpendic épais", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "VF_1_SOU", + "VF_2_SOU", + "VF_ELEC_1_SOU", + "VF_FERRO_ROUTIER_SOU" + ], + "paint": { + "line-color": "#B4B4B4", + "line-width": { + "stops": [[10, 3.5], [17, 14.7]] + }, + "line-dasharray": [0.1,10] + } + }, + { + "id": "Ferre souterrain - voie etroite", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "VF_ETROITE_1_SOU", + "VF_ETROITE_SOU" + ], + "paint": { + "line-color": "#B4B4B4", + "line-width": { + "stops": [[10, 0.3], [17, 1.8]] + } + } + }, + { + "id": "Ferre souterrain - trait perpendic fin", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "VF_ETROITE_1_SOU", + "VF_ETROITE_SOU" + ], + "paint": { + "line-color": "#B4B4B4", + "line-width": { + "stops": [[10, 3.5], [17, 14.7]] + }, + "line-dasharray": [0.1,10] + } + }, + { + "id": "bati surfacique fonctionnel", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BATI_TOURI_SURF", + "BATI_SUP_ROUTIER" + ], + "paint": { + "fill-color": "#EFA5E4" + } + }, + { + "id": "bati surfacique mairie - Zoom 14,15", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","MAIRIE"], + "paint": { + "fill-color": "#CC6674" + } + }, + { + "id": "bati surfacique mairie - Zoom 16,17,18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","MAIRIE"], + "paint": { + "fill-color": { + "stops": [[15, "#CC7A85"], [16, "#CC8F97"]] + }, + "fill-outline-color": "#C3172F" + } + }, + { + "id": "bati surfacique fonctionnel industriel ou commercial - Zoom 14,15", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BATI_COMMERCIAL", + "BATI_INDUSTRIEL", + "HANGAR", + "HANGAR_COMMERCIAL", + "HANGAR_INDUSTRIEL" + ], + "paint": { + "fill-color": "#C8C8C8" + } + }, + { + "id": "bati surfacique fonctionnel industriel ou commercial - Zoom 16,17,18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BATI_COMMERCIAL", + "BATI_INDUSTRIEL", + "HANGAR", + "HANGAR_COMMERCIAL", + "HANGAR_INDUSTRIEL" + ], + "paint": { + "fill-color": { + "stops": [[15, "#D1D1D1"], [16, "#E6E6E6"]] + }, + "fill-outline-color": "#B8B8B8" + } + }, + { + "id": "bati surfacique fonctionnel public ou sportif - Zoom 14,15", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BATI_SPORTIF", + "BATI_PUBLIC", + "HANGAR_PUBLIC", + "BATI_GARE", + "BATI_GARE_VOYAGEURS", + "BATI_GARE_NON_VOYAGEURS" + ], + "paint": { + "fill-color": "#B9B6D6" + } + }, + { + "id": "bati surfacique fonctionnel public ou sportif - Zoom 16,17,18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BATI_SPORTIF", + "BATI_PUBLIC", + "HANGAR_PUBLIC", + "BATI_GARE", + "BATI_GARE_VOYAGEURS", + "BATI_GARE_NON_VOYAGEURS" + ], + "paint": { + "fill-color": { + "stops": [[15, "#CFC5DE"], [16, "#E4DAF3"]] + }, + "fill-outline-color": "#A6A1D6" + } + }, + { + "id": "bati surfacique remarquable - Zoom 14,15", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","BATI_REMARQUABLE"], + "paint": { + "fill-color": "#C9BAAD" + } + }, + { + "id": "bati surfacique remarquable - Zoom 16,17,18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","BATI_REMARQUABLE"], + "paint": { + "fill-color": { + "stops": [[15, "#D6B6D8"], [16, "#D9D3C3"]] + }, + "fill-outline-color": "#C3AA8E" + } + }, + { + "id": "bati surfacique quelconque - Zoom 15", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 14, + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","BATI"], + "paint": { + "fill-color": "#D6C6B8" + } + }, + { + "id": "bati surfacique quelconque - Zoom 16,17,18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","BATI"], + "paint": { + "fill-color": { + "stops": [[15, "#E6E0CF"], [16, "#F1EBD9"]] + }, + "fill-outline-color": "#C3AA8E" + } + }, + { + "id": "cimetiere surfacique 1", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "CIMETIERE_SURF", + "CIM_MUSULMAN", + "CIM_ISRAELITE", + "CIMETIERE_MILI_SURF" + ], + "paint": { + "fill-color": "#F0F0F0", + "fill-opacity": 0.5, + "fill-outline-color": "#828282" + } + }, + { + "id": "cimetiere surfacique 2", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "CIMETIERE_SURF", + "CIM_MUSULMAN", + "CIM_ISRAELITE", + "CIMETIERE_MILI_SURF" + ], + "paint": { + "fill-pattern": "Cimetiere" + } + }, + { + "id": "bati hydro surfacique - Autre", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "ECLUSE_SURF", + "RESERVOIR_EAU_SURF" + ], + "paint": { + "fill-color": "#ADCCD9", + "fill-outline-color": "#336699" + } + }, + { + "id": "bati hydro surfacique - Pecherie", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","PECHERIE_SURF"], + "paint": { + "fill-color": "#BFE2F0", + "fill-outline-color": "#509FEF" + } + }, + { + "id": "bati hydro surfacique - Barrage", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","BARRAGE_SURF"], + "paint": { + "fill-color": "#FFFFFF", + "fill-outline-color": "#464646" + } + }, + { + "id": "bati hydro surfacique - Chateau d'eau", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","CHATEAU_EAU_SURF"], + "paint": { + "fill-color": "#1466B2" + } + }, + { + "id": "bati infra surfacique - Silo", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","SILO_SURF"], + "paint": { + "fill-color": "#D6DEE9", + "fill-outline-color": "#a6a6a6" + } + }, + { + "id": "bati infra surfacique - Reservoir indus", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","RESERVOIR_INDUS_SURF"], + "paint": { + "fill-color": "#A9BCCC", + "fill-outline-color": "#646464" + } + }, + { + "id": "bati infra surfacique - Serre", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo","SERRE_SURF"], + "paint": { + "fill-color": "#C1D4D8", + "fill-outline-color": "#8C8C8C" + } + }, + { + "id": "bati infra surfacique - poste electrique", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo","POSTE_ELEC_SURF"], + "paint": { + "fill-color": "#7993B6", + "fill-opacity": 0.3, + "fill-outline-color": "#000000" + } + }, + { + "id": "bati religieux surfacique - Zoom 14,15", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "CHAPELLE_SURF", + "EGLISE_SURF", + "SYNAGOGUE_SURF", + "MOSQUEE_SURF", + "AUTRE_CULTE_SURF" + ], + "paint": { + "fill-color": "#F7CBCB" + } + }, + { + "id": "bati religieux surfacique - Zoom 16,17,18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "CHAPELLE_SURF", + "EGLISE_SURF", + "SYNAGOGUE_SURF", + "MOSQUEE_SURF", + "AUTRE_CULTE_SURF" + ], + "paint": { + "fill-color": "#f7e1e1", + "fill-outline-color": "#f7b7b7" + } + }, + { + "id": "bati remarquable surfacique", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "FORTIF_SURF", + "CHATEAU_SURF", + "TOUR_MOULIN_SURF", + "ARENE_THEATRE", + "ARC_TRIOMPHE", + "MONUMENT_SURF" + ], + "paint": { + "fill-color": "#9B9B9B", + "fill-outline-color": "#6E6E6E" + } + }, + { + "id": "bati sportif surfacique fond", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "TENNIS_SURF", + "SPORT_INDIF_SURF", + "FOOT_SURF", + "MULTI_SPORTS_SURF", + "MULTI_SPORT_SURF", + "PISTE_SPORT_SURF", + "NATATION_SURF" + ], + "paint": { + "fill-color": "#FFFFFF", + "fill-outline-color": "#FFFFFF" + } + }, + { + "id": "bati sportif surfacique", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "TENNIS_SURF", + "SPORT_INDIF_SURF", + "FOOT_SURF", + "MULTI_SPORTS_SURF", + "MULTI_SPORT_SURF", + "PISTE_SPORT_SURF", + "NATATION_SURF" + ], + "paint": { + "line-color": "#bcd9ab", + "line-width": 2 + } + }, + { + "id": "bati transport surfacique - piste", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "PISTE_DUR", + "PISTE_HERBE" + ], + "paint": { + "fill-color": "#DCDCDC", + "fill-outline-color": "#808080" + + } + }, + { + "id": "bati transport surfacique - bati peage", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","BATI_PEAGE"], + "paint": { + "fill-color": "#DCDCDC", + "fill-outline-color": "#808080" + + } + }, + { + "id": "bati ZAI - Autres", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zai", + "minzoom":15, + "layout": { + "visibility": "visible" + }, + "filter": ["in","nature", + "Lycée", + "Université", + "Capitainerie", + "Gendarmerie", + "Siège d'EPCI", + "Musée", + "Collège", + "Maison de retraite", + "Etablissement thermal", + "Autre service déconcentré de l'Etat", + "Etablissement pénitentiaire", + "Divers public ou administratif", + "Autre établissement d'enseignement", + "Maison du parc", + "Palais de justice", + "Enseignement primaire", + "Office de tourisme", + "Hôpital", + "Police", + "Piscine", + "Enseignement supérieur", + "Poste", + "Caserne", + "Etablissement hospitalier", + "Etablissement extraterritorial", + "Science", + "Structure d'accueil pour personnes handicapées", + "Administration centrale de l'Etat", + "Caserne de pompiers" + ], + "paint": { + "fill-color": "#e3bfe2", + "fill-opacity": 0.5, + "fill-outline-color": "#e39fe1" + } + }, + { + "id": "bati ZAI - Commandement", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zai", + "minzoom":15, + "layout": { + "visibility": "visible" + }, + "filter": ["in","nature", + "Mairie", + "Hôtel de département", + "Hôtel de région", + "Préfecture de région", + "Préfecture", + "Sous-préfecture" + ], + "paint": { + "fill-color": "#FF0000", + "fill-opacity": 0.5, + "fill-outline-color": "#B40000" + } + }, + { + "id": "construction linéaire - mur", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","MUR"], + "paint": { + "line-color": "#8C8C8C", + "line-width": 0.3 + } + }, + { + "id": "construction linéaire - autre", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "RUINE_LIN", + "MUR_SOUTENEMENT" + ], + "paint": { + "line-color": "#646464", + "line-width": 0.5 + } + }, + { + "id": "construction hydrographique linéaire - Barrage", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","BARRAGE_LIN"], + "paint": { + "line-color": "#646464", + "line-width": {"stops": [[13, 1.5], [17, 5]]} + } + }, + { + "id": "construction hydrographique linéaire - Quai", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "QUAI", + "DIGUE" + ], + "paint": { + "line-color": "#828282", + "line-width": {"stops": [[14, 1], [17, 2.5]]} + } + }, + { + "id": "construction hydrographique linéaire - Pecherie", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","PECHERIE_LIN"], + "paint": { + "line-color": "#0066cc", + "line-width": {"stops": [[14, 1], [17, 2.5]]} + } + }, + { + "id": "réseau hydro - cours d'eau souterrain", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sou", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","COURS_D_EAU_SOU"], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [[7, 1.5], [12, 1.5], [17, 6.5]] + }, + "line-dasharray": [2,2] + } + }, + { + "id": "réseau hydro - filet interieur - aqueduc souterrain", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sou", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","AQUEDUC_SOU"], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [[12, 1.4], [17, 5.9]] + }, + "line-dasharray": [2,2] + } + }, + { + "id": "réseau hydro - carre - aqueduc souterrain", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sou", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","AQUEDUC_SOU"], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [[12, 3.5], [17, 14.7]] + }, + "line-dasharray": [1,5] + } + }, + { + "id": "Chemin souterrain - piste cyclable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","PISTE_CYCLABLE_SOU"], + "paint": { + "line-color": "#9b5ccc", + "line-width": { + "stops": [[14, 1.1], [15, 1.7], [16, 2], [17, 3.5]] + }, + "line-dasharray": [6,2] + } + }, + { + "id": "Chemin souterrain - filet exterieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","ESCALIER_SOU"], + "paint": { + "line-color": "#b3989a", + "line-width": { + "stops": [[14, 1.75], [15, 3], [16, 4.2], [17, 9.5]] + } + } + }, + { + "id": "Chemin souterrain - filet interieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","ESCALIER_SOU"], + "paint": { + "line-color": "#ffffff", + "line-width": { + "stops": [[14, 1], [15, 1.9], [16, 2.7], [17, 5.8]] + }, + "line-dasharray": [1,0.2] + } + }, + { + "id": "Chemin souterrain - sentier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","SENTIER_SOU"], + "paint": { + "line-color": "#b3989a", + "line-width": { + "stops": [[14, 1], [15, 1.2], [16, 1.4], [17, 2]] + }, + "line-dasharray": [4,3] + } + }, + { + "id": "Chemin souterrain - chemin", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","CHEMIN_SOU"], + "paint": { + "line-color": "#b3989a", + "line-width": { + "stops": [[14, 1], [15, 1.2], [16, 1.4], [17, 2]] + } + } + }, + { + "id": "Chemin souterrain - filet extérieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","NON_REVETUE_CARRO_SOU"], + "paint": { + "line-color": "#AFAFAF", + "line-width": { + "stops": [[14, 3.2], [15, 5.4], [16, 7.7], [17, 16.8]] + }, + "line-dasharray": [2,2] + } + }, + { + "id": "Routier souterrain - filet extérieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_AUTO_PEAGE_3_SOU", + "BRET_AUTO_PEAGE_2_SOU", + "BRET_AUTO_PEAGE_1_SOU", + "BRET_AUTO_LIBRE_3_SOU", + "BRET_AUTO_LIBRE_2_SOU", + "BRET_AUTO_LIBRE_1_SOU" + ], + "paint": { + "line-color": "rgba(222, 70, 14, 0.5)", + "line-width": { + "stops": [[12, 2.5], [14, 3.7], [15, 6.8], [16, 8.4], [17, 14]] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","NON_CLASSEE_RESTREINT_SOU"], + "paint": { + "line-color": "#C2CFF2", + "line-width": { + "stops": [[14, 3.2], [15, 5.4], [16, 7.7], [17, 16.8]] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "NON_CLASSEE_4_SOU", + "NON_CLASSEE_SOU" + ], + "paint": { + "line-color": "#AFAFAF", + "line-width": { + "stops": [[14, 3.2], [15, 5.4], [16, 7.7], [17, 16.8]] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_LOCALE_SOU", + "LOCALE_4_SOU", + "LOCALE_3_SOU", + "LOCALE_2_SOU", + "LOCALE_1_SOU" + ], + "paint": { + "line-color": "rgba(130, 130, 130, 0.5)", + "line-width": { + "stops": [[9, 2], [14, 3.5], [15, 6], [16, 8.4], [17, 18.3]] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","LOCALE_CONSTR_SOU"], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [[9, 2], [14, 3.5], [15, 6], [16, 8.4], [17, 18.3]] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_REGIONALE_SOU", + "REGIONALE_4_SOU", + "REGIONALE_3_SOU", + "REGIONALE_2_SOU", + "REGIONALE_1_SOU" + ], + "paint": { + "line-color": "rgba(130, 130, 130, 0.5)", + "line-width": { + "stops": [[6, 1.5], [9, 2.3], [14, 5], [15, 8.1], [16, 11.2], [17, 22]] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","REGIONALE_CONSTR_SOU"], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [[6, 1.5], [9, 2.3], [14, 5], [15, 8.1], [16, 11.2], [17, 22]] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 7, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_PRINCIPALE_SOU", + "PRINCIPALE_4_SOU", + "PRINCIPALE_3_SOU", + "PRINCIPALE_2_SOU", + "PRINCIPALE_1_SOU" + ], + "paint": { + "line-color": "rgba(222, 70, 14, 0.5)", + "line-width": { + "stops": [[6, 1.8], [9, 2.7], [14, 5.9], [15, 9], [16, 12.2], [17, 22.5]] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","PRINCIPALE_CONSTR_SOU"], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [[6, 1.8], [9, 2.7], [14, 5.9], [15, 9], [16, 12.2], [17, 22.5]] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 7, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "AUTOROU_PEAGE_SOU", + "AUTOROU_LIBRE_SOU" + ], + "paint": { + "line-color": "rgba(222, 70, 14, 0.5)", + "line-width": { + "stops": [[6, 2.5], [9, 3.5], [14, 7.5], [15, 11], [16, 15], [17, 26]] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","AUTOROU_CONSTR_SOU"], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [[6, 2.5], [9, 3.5], [14, 7.5], [15, 11], [16, 15], [17, 26]] + } + } + }, + { + "id": "Chemin souterrain - filet interieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","NON_REVETUE_CARRO_SOU"], + "paint": { + "line-color": "#DCDCDC", + "line-width": { + "stops": [[14, 2.3], [15, 4.1], [16, 6.3], [17, 13.5]] + } + } + }, + { + "id": "Routier souterrain - filet interieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_AUTO_PEAGE_3_SOU", + "BRET_AUTO_PEAGE_2_SOU", + "BRET_AUTO_PEAGE_1_SOU", + "BRET_AUTO_LIBRE_3_SOU", + "BRET_AUTO_LIBRE_2_SOU", + "BRET_AUTO_LIBRE_1_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [[12, 1.5], [14, 2.6], [15, 5.2], [16, 6.7], [17, 10.8]] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","NON_CLASSEE_RESTREINT_SOU"], + "paint": { + "line-color": "#EDF1FF", + "line-width": { + "stops": [[14, 2.3], [15, 4.1], [16, 6.3], [17, 13.5]] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "NON_CLASSEE_4_SOU", + "NON_CLASSEE_SOU" + ], + "paint": { + "line-color": "#DCDCDC", + "line-width": { + "stops": [[14, 2.3], [15, 4.1], [16, 6.3], [17, 13.5]] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_LOCALE_SOU", + "LOCALE_4_SOU", + "LOCALE_3_SOU", + "LOCALE_2_SOU", + "LOCALE_1_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [[9, 1.3], [14, 2.3], [15, 4.1], [16, 6.1], [17, 13.1]] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","LOCALE_CONSTR_SOU"], + "paint": { + "line-color": { + "stops": [[12, "#FFFFFF"], [13, "#FDF28B"], [17, "#FCF6BD"]] + }, + "line-width": { + "stops": [[9, 1.3], [14, 2.3], [15, 4.1], [16, 6.1], [17, 13.1]] + }, + "line-dasharray": [2, 2] + + } + }, + { + "id": "Routier souterrain - filet interieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_REGIONALE_SOU", + "REGIONALE_4_SOU", + "REGIONALE_3_SOU", + "REGIONALE_2_SOU", + "REGIONALE_1_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [[6, 1.4], [9, 1.5], [14, 3.2], [15, 5.8], [16, 8.3], [17, 16.2]] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","REGIONALE_CONSTR_SOU"], + "paint": { + "line-color": { + "stops": [[9, "#FFFFFF"], [10, "#FDF28B"], [17, "#FCF6BD"]] + }, + "line-width": { + "stops": [[4, 0.4], [6, 1.5], [9, 2.3], [14, 5], [15, 8.1], [16, 11.2], [17, 22]] + }, + "line-dasharray": [2,2] + } + }, + { + "id": "Routier souterrain - filet interieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_PRINCIPALE_SOU", + "PRINCIPALE_4_SOU", + "PRINCIPALE_3_SOU", + "PRINCIPALE_2_SOU", + "PRINCIPALE_1_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [[4, 0.5], [6, 1.8], [9, 2.1], [14, 4.4], [15, 7.3], [16, 10], [17, 18.5]] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","PRINCIPALE_CONSTR_SOU"], + "paint": { + "line-color": {"stops": [[9, "#F3C66D"], [17, "#F2DDB3"]]}, + "line-width": { + "stops": [[4, 0.5], [6, 1.8], [9, 2.7], [14, 5.9], [15, 9], [16, 12.2], [17, 22.5]] + }, + "line-dasharray": [2,2] + } + }, + { + "id": "Routier souterrain - filet interieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "AUTOROU_PEAGE_SOU", + "AUTOROU_LIBRE_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [[4, 0.7], [6, 2.5], [9, 2.7], [14, 5.8], [15, 9], [16, 12], [17, 20.8]] + } + } + }, + { + "id": "Routier souterrain - axe central - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "AUTOROU_PEAGE_SOU", + "AUTOROU_LIBRE_SOU" + ], + "paint": { + "line-color": "#ffffff", + "line-width": { + "stops": [[9, 0.6], [14, 0.7], [15, 1], [16, 1.2], [17, 2.1]] + } + } + }, + { + "id": "Routier souterrain - filet interieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","AUTOROU_CONSTR_SOU"], + "paint": { + "line-color": {"stops": [[9, "#F2BA59"], [17, "#F2C261"]]}, + "line-width": { + "stops": [[4, 0.7], [6, 2.5], [9, 3.5], [14, 7.5], [15, 11], [16, 15], [17, 26]] + }, + "line-dasharray": [2,2] + } + }, + { + "id": "Routier souterrain - axe central - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","AUTOROU_CONSTR_SOU"], + "paint": { + "line-color": "#808080", + "line-width": { + "stops": [[9, 0.6], [14, 0.7], [15, 1], [16, 1.2], [17, 2.1]] + } + } + }, + { + "id": "Ferre souterrain - voie service", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "VF_SERVICE_SOU", + "VF_NON_EXPLOITEE_SOU" + ], + "paint": { + "line-color": "#B4B4B4", + "line-width": { + "stops": [[10, 0.3], [17, 1.8]] + }, + "line-dasharray": [5,2,1,2] + } + }, + { + "id": "Ferre souterrain - funic/urbain", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "FUNI_CREMAILLERE_SOU", + "TRANSPORT_URBAIN_SOU" + ], + "paint": { + "line-color": "#B4B4B4", + "line-width": { + "stops": [[10, 0.3], [17, 1.8]] + } + } + }, + { + "id": "Ferre souterrain - 2 trait perpendic - funic/urbain", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "FUNI_CREMAILLERE_SOU", + "TRANSPORT_URBAIN_SOU" + ], + "paint": { + "line-color": "#B4B4B4", + "line-width": { + "stops": [[10, 3.5], [17, 17]] + }, + "line-dasharray": [0.1,0.2,0.1,10] + } + }, + { + "id": "réseau hydro - cours d'eau temporaire", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo","COURS_D_EAU_TEMP","COURS_D_EAU_TEMP_MOY"], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [[12, 1.5], [17, 4]] + }, + "line-dasharray": [6,2] + } + }, + { + "id": "réseau hydro - cours d'eau", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "minzoom": 3, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","COURS_D_EAU"], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [[4, 0.3], [7, 1.5], [12, 1.5], [17, 6.5]] + } + } + }, + { + "id": "réseau hydro - canal", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","CANAL"], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [[12, 1.4], [17, 5.9]] + } + } + }, + { + "id": "réseau hydro - filet interieur - aqueduc", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","AQUEDUC_AU_SOL"], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [[12, 1.4], [17, 5.9]] + } + } + }, + { + "id": "réseau hydro - carre - aqueduc", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","AQUEDUC_AU_SOL"], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [[12, 3.5], [17, 14.7]] + }, + "line-dasharray": [1,5] + } + }, + { + "id": "réseau hydro - cours d'eau moyen ", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "COURS_D_EAU_MOY", + "COURS_D_EAU_MOYEN" + ], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [[7, 2], [12, 2.5]] + } + } + }, + { + "id": "réseau hydro - cours d'eau large ", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "COURS_D_EAU_LAR", + "COURS_D_EAU_LARGE" + ], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [[7, 3], [11, 5]] + } + } + }, + { + "id": "Chemin a niveau - piste cyclable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","PISTE_CYCLABLE"], + "paint": { + "line-color": "#9b5ccc", + "line-width": { + "stops": [[14, 1.1], [15, 1.7], [16, 2], [17, 3.5]] + }, + "line-dasharray": [6,2] + } + }, + { + "id": "Chemin a niveau - filet exterieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","ESCALIER"], + "paint": { + "line-color": "#8c7274", + "line-width": { + "stops": [[14, 1.75], [15, 3], [16, 4.2], [17, 9.5]] + } + } + }, + { + "id": "Chemin a niveau - filet interieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","ESCALIER"], + "paint": { + "line-color": "#ffffff", + "line-width": { + "stops": [[14, 1], [15, 1.9], [16, 2.7], [17, 5.8]] + }, + "line-dasharray": [1,0.2] + } + }, + { + "id": "Chemin a niveau - Rue pietonne", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","RUE_PIETONNE"], + "paint": { + "line-color": "#8c7274", + "line-width": { + "stops": [[14, 1], [15, 1.2], [16, 1.4], [17, 2]] + }, + "line-dasharray": [1,3] + } + }, + { + "id": "Chemin a niveau - sentier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","SENTIER"], + "paint": { + "line-color": "#8c7274", + "line-width": { + "stops": [[14, 1], [15, 1.2], [16, 1.4], [17, 2]] + }, + "line-dasharray": [4,3] + } + }, + { + "id": "Chemin a niveau - chemin", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","CHEMIN"], + "paint": { + "line-color": "#8c7274", + "line-width": { + "stops": [[14, 1], [15, 1.2], [16, 1.4], [17, 2]] + } + } + }, + { + "id": "Chemin a niveau - filet extérieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","NON_REVETUE_CARRO"], + "paint": { + "line-color": "#969696", + "line-width": { + "stops": [[14, 3.2], [15, 5.4], [16, 7.7], [17, 16.8]] + }, + "line-dasharray": [2,2] + } + }, + { + "id": "Chemin a niveau - filet interieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","NON_REVETUE_CARRO"], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [[14, 2.3], [15, 4.1], [16, 6.3], [17, 13.5]] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_AUTO_PEAGE_3", + "BRET_AUTO_PEAGE_2", + "BRET_AUTO_PEAGE_1", + "BRET_AUTO_LIBRE_3", + "BRET_AUTO_LIBRE_2", + "BRET_AUTO_LIBRE_1" + ], + "paint": { + "line-color": {"stops": [[9, "#DE460E"], [17, "#F18800"]]}, + "line-width": { + "stops": [[12, 2.5], [14, 3.7], [15, 6.8], [16, 8.4], [17, 14]] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","NON_CLASSEE_RESTREINT"], + "paint": { + "line-color": "#9FB1E3", + "line-width": { + "stops": [[14, 3.2], [15, 5.4], [16, 7.7], [17, 16.8]] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "NON_CLASSEE_4", + "NON_CLASSEE" + ], + "paint": { + "line-color": "#969696", + "line-width": { + "stops": [[14, 3.2], [15, 5.4], [16, 7.7], [17, 16.8]] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_LOCALE", + "LOCALE_4", + "LOCALE_3", + "LOCALE_2", + "LOCALE_1" + ], + "paint": { + "line-color": { + "stops": [[12, "#8C8C8C"], [13, "#B4B4B4"]] + }, + "line-width": { + "stops": [[9, 2], [14, 3.5], [15, 6], [16, 8.4], [17, 18.3]] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","LOCALE_CONSTR"], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [[9, 2], [14, 3.5], [15, 6], [16, 8.4], [17, 18.3]] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_REGIONALE", + "REGIONALE_4", + "REGIONALE_3", + "REGIONALE_2", + "REGIONALE_1" + ], + "paint": { + "line-color": { + "stops": [[9, "#828282"], [10, "#B4B4B4"]] + }, + "line-width": { + "stops": [[6, 1.5], [9, 2.3], [14, 5], [15, 8.1], [16, 11.2], [17, 22]] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","REGIONALE_CONSTR"], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [[6, 1.5], [9, 2.3], [14, 5], [15, 8.1], [16, 11.2], [17, 22]] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_PRINCIPALE", + "PRINCIPALE_4", + "PRINCIPALE_3", + "PRINCIPALE_2", + "PRINCIPALE_1" + ], + "paint": { + "line-color": "#E2A52A", + "line-width": { + "stops": [[6, 1.8], [9, 2.7], [14, 5.9], [15, 9], [16, 12.2], [17, 22.5]] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","PRINCIPALE_CONSTR"], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [[6, 1.8], [9, 2.7], [14, 5.9], [15, 9], [16, 12.2], [17, 22.5]] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "AUTOROU_PEAGE", + "AUTOROU_LIBRE" + ], + "paint": { + "line-color": {"stops": [[9, "#DE460E"], [17, "#F18800"]]}, + "line-width": { + "stops": [[6, 2.5], [9, 3.5], [14, 7.5], [15, 11], [16, 15], [17, 26]] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","AUTOROU_CONSTR"], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [[6, 2.5], [9, 3.5], [14, 7.5], [15, 11], [16, 15], [17, 26]] + } + } + }, + { + "id": "Routier a niveau - filet interieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_AUTO_PEAGE_3", + "BRET_AUTO_PEAGE_2", + "BRET_AUTO_PEAGE_1", + "BRET_AUTO_LIBRE_3", + "BRET_AUTO_LIBRE_2", + "BRET_AUTO_LIBRE_1" + ], + "paint": { + "line-color": {"stops": [[9, "#F18800"], [17, "#F2B230"]]}, + "line-width": { + "stops": [[12, 1.5], [14, 2.6], [15, 5.2], [16, 6.7], [17, 10.8]] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","NON_CLASSEE_RESTREINT"], + "paint": { + "line-color": "#E8EDFF", + "line-width": { + "stops": [[14, 2.3], [15, 4.1], [16, 6.3], [17, 13.5]] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "NON_CLASSEE_4", + "NON_CLASSEE" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [[14, 2.3], [15, 4.1], [16, 6.3], [17, 13.5]] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_LOCALE", + "LOCALE_4", + "LOCALE_3", + "LOCALE_2", + "LOCALE_1" + ], + "paint": { + "line-color": { + "stops": [[12, "#FFFFFF"], [13, "#FDF28B"], [17, "#FCF6BD"]] + }, + "line-width": { + "stops": [[9, 1.3], [14, 2.3], [15, 4.1], [16, 6.1], [17, 13.1]] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","LOCALE_CONSTR"], + "paint": { + "line-color": { + "stops": [[12, "#FFFFFF"], [13, "#FDF28B"], [17, "#FCF6BD"]] + }, + "line-width": { + "stops": [[9, 1.3], [14, 2.3], [15, 4.1], [16, 6.1], [17, 13.1]] + }, + "line-dasharray": [2, 2] + } + }, + { + "id": "Routier a niveau - filet interieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_REGIONALE", + "REGIONALE_4", + "REGIONALE_3", + "REGIONALE_2", + "REGIONALE_1" + ], + "paint": { + "line-color": { + "stops": [[9, "#FFFFFF"], [10, "#FDF28B"], [17, "#FCF6BD"]] + }, + "line-width": { + "stops": [[4, 1.1], [6, 1.4], [9, 1.5], [14, 3.2], [15, 5.8], [16, 8.3], [17, 16.2]] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","REGIONALE_CONSTR"], + "paint": { + "line-color": { + "stops": [[9, "#FFFFFF"], [10, "#FDF28B"], [17, "#FCF6BD"]] + }, + "line-width": { + "stops": [[4, 0.4], [6, 1.5], [9, 2.3], [14, 5], [15, 8.1], [16, 11.2], [17, 22]] + }, + "line-dasharray": [2,2] + } + }, + { + "id": "Routier a niveau - filet interieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_PRINCIPALE", + "PRINCIPALE_4", + "PRINCIPALE_3", + "PRINCIPALE_2", + "PRINCIPALE_1" + ], + "paint": { + "line-color": {"stops": [[9, "#F3C66D"], [17, "#F2DDB3"]]}, + "line-width": { + "stops": [[4, 0.5], [6, 1.8], [9, 2.1], [14, 4.4], [15, 7.3], [16, 10], [17, 18.5]] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","PRINCIPALE_CONSTR"], + "paint": { + "line-color": {"stops": [[9, "#F3C66D"], [17, "#F2DDB3"]]}, + "line-width": { + "stops": [[4, 0.5], [6, 1.8], [9, 2.7], [14, 5.9], [15, 9], [16, 12.2], [17, 22.5]] + }, + "line-dasharray": [2,2] + } + }, + { + "id": "Routier a niveau - filet interieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "AUTOROU_PEAGE", + "AUTOROU_LIBRE" + ], + "paint": { + "line-color": {"stops": [[9, "#F18800"], [17, "#F2B230"]]}, + "line-width": { + "stops": [[4, 0.7], [6, 2.5], [9, 2.7], [14, 5.8], [15, 9], [16, 12], [17, 20.8]] + } + } + }, + { + "id": "Routier a niveau - axe central - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "AUTOROU_PEAGE", + "AUTOROU_LIBRE" + ], + "paint": { + "line-color": "#ffffff", + "line-width": { + "stops": [[9, 0.6], [14, 0.7], [15, 1], [16, 1.2], [17, 2.1]] + } + } + }, + { + "id": "Routier a niveau - filet interieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","AUTOROU_CONSTR"], + "paint": { + "line-color": {"stops": [[9, "#F18800"], [17, "#F2B230"]]}, + "line-width": { + "stops": [[4, 0.7], [6, 2.5], [9, 3.5], [14, 7.5], [15, 11], [16, 15], [17, 26]] + }, + "line-dasharray": [2,2] + } + }, + { + "id": "Routier a niveau - axe centrale - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","AUTOROU_CONSTR"], + "paint": { + "line-color": "#808080", + "line-width": { + "stops": [[9, 0.6], [14, 0.7], [15, 1], [16, 1.2], [17, 2.1]] + } + } + }, + { + "id": "Ferre a niveau - voie normale", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "VF_1", + "VF_2", + "VF_3", + "VF_4", + "VF_ELEC_1", + "VF_ELEC_2", + "VF_ELEC_3", + "VF_ELEC_4" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [[10, 0.8], [17, 2.5]] + } + } + }, + { + "id": "Ferre a niveau - trait perpendic épais", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "VF_1", + "VF_2", + "VF_3", + "VF_4", + "VF_ELEC_1", + "VF_ELEC_2", + "VF_ELEC_3", + "VF_ELEC_4" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [[10, 3.5], [17, 14.7]] + }, + "line-dasharray": [0.1,10] + } + }, + { + "id": "Ferre a niveau - voie etroite", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "VF_ETROITE_1", + "VF_ETROITE_2", + "VF_ETROITE" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [[10, 0.3], [17, 1.8]] + } + } + }, + { + "id": "Ferre a niveau - trait perpendic fin", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "VF_ETROITE_1", + "VF_ETROITE_2", + "VF_ETROITE", + "VF_EN_CONSTR" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [[10, 3.5], [17, 14.7]] + }, + "line-dasharray": [0.1,10] + } + }, + { + "id": "Ferre a niveau - voie service", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "VF_SERVICE", + "VF_NON_EXPLOITEE" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [[10, 0.3], [17, 1.8]] + }, + "line-dasharray": [5,2,1,2] + } + }, + { + "id": "Ferre a niveau - voie en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","VF_EN_CONSTR"], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [[10, 0.3], [17, 1.8]] + }, + "line-dasharray": [2,2] + } + }, + { + "id": "Ferre a niveau - funic/urbain", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "FUNI_CREMAILLERE", + "TRANSPORT_URBAIN" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [[10, 0.3], [17, 1.8]] + } + } + }, + { + "id": "Ferre a niveau - 2 trait perpendic - funic/urbain", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "FUNI_CREMAILLERE", + "TRANSPORT_URBAIN" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [[10, 3.5], [17, 17]] + }, + "line-dasharray": [0.1,0.2,0.1,10] + } + }, + { + "id": "liaison routiere - Bac", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "BAC_AUTO", + "BAC_PIETON" + ], + "paint": { + "line-color": "#2F80C1", + "line-width": { + "stops": [[8, 1], [13, 2.5]] + } + } + }, + { + "id": "liaison routiere - Liaison Maritime", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "minzoom": 8, + "maxzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","LIAISON_MARITIME"], + "paint": { + "line-color": "#5792C2", + "line-width": { + "stops": [[8, 1], [13, 2.5]] + } + } + }, + { + "id": "liaison routiere - Viaduc", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","VIADUC"], + "paint": { + "line-color": "#1C6D96", + "line-width": 3 + } + }, + { + "id": "liaison routiere - Gue route", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","GUE_ROUTE"], + "paint": { + "line-color": { + "stops": [[13, "#BEBEBE"], [17, "#646464"]] + }, + "line-width": { + "stops": [[14, 2.3], [15, 4.1], [16, 6.3], [17, 13.5]] + } + } + }, + { + "id": "liaison routiere - Gue chemin", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","GUE_CHEMIN"], + "paint": { + "line-color": { + "stops": [[13, "#BEBEBE"], [17, "#646464"]] + }, + "line-width": { + "stops": [[14, 1.6], [15, 2.9], [16, 4.4], [17, 9.5]] + } + } + }, + { + "id": "liaison routiere - filet extérieur - Pont passerelle", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "PONT_PASSERELLE", + "PONT_LIN" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [[14, 2.2], [15, 3.8], [16, 5.4], [17, 11.8]] + } + } + }, + { + "id": "liaison routiere - filet intérieur - Pont passerelle", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "PONT_PASSERELLE", + "PONT_LIN" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [[14, 0.7], [15, 1.1], [16, 1.7], [17, 3.8]] + } + } + }, + { + "id": "Routier surfacique", + "type": "fill", + "source": "plan_ign", + "source-layer": "routier_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "SURF_ROUT_PRINC", + "SURF_ROUTE_REG", + "SURF_ROUT_LOC", + "SURF_ROUT_NON_CLA"], + "paint": { + "fill-color": "#FFFFFF", + "fill-outline-color": "#000000" + } + }, + { + "id": "Routier surfacique - Dalle de protection", + "type": "fill", + "source": "plan_ign", + "source-layer": "routier_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","DALLE_DE_PROTECTION"], + "paint": { + "fill-opacity": 0.5, + "fill-color": "#FFFFFF", + "fill-outline-color": "#000000" + } + }, + { + "id": "Routier surfacique - Péage surfacique", + "type": "fill", + "source": "plan_ign", + "source-layer": "routier_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","SURF_PEAGE"], + "paint": { + "fill-color": "#F2DAAA", + "fill-outline-color": "#E2A52A" + } + }, + { + "id": "réseau hydro - canal superieur", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sup", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","CANAL_SUP"], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [[12, 1.4], [17, 5.9]] + } + } + }, + { + "id": "réseau hydro - filet interieur - aqueduc superieur", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sup", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","AQUEDUC_SUP"], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [[12, 1.4], [17, 5.9]] + } + } + }, + { + "id": "réseau hydro - carre - aqueduc superieur", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","AQUEDUC_SUP"], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [[12, 3.5], [17, 14.7]] + }, + "line-dasharray": [1,5] + } + }, + { + "id": "Chemin superieur - piste cyclable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","PISTE_CYCLABLE_SUP"], + "paint": { + "line-color": "#9b5ccc", + "line-width": { + "stops": [[14, 1.1], [15, 1.7], [16, 2], [17, 3.5]] + }, + "line-dasharray": [6,2] + } + }, + { + "id": "Chemin superieur - filet exterieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","ESCALIER_SUP"], + "paint": { + "line-color": "#8c7274", + "line-width": { + "stops": [[14, 1.75], [15, 3], [16, 4.2], [17, 9.5]] + } + } + }, + { + "id": "Chemin superieur - filet interieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","ESCALIER_SUP"], + "paint": { + "line-color": "#ffffff", + "line-width": { + "stops": [[14, 1], [15, 1.9], [16, 2.7], [17, 5.8]] + }, + "line-dasharray": [1,0.2] + } + }, + { + "id": "Chemin superieur - Rue pietonne", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","RUE_PIETONNE_SUP"], + "paint": { + "line-color": "#8c7274", + "line-width": { + "stops": [[14, 1], [15, 1.2], [16, 1.4], [17, 2]] + }, + "line-dasharray": [1,3] + } + }, + { + "id": "Chemin superieur - sentier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","SENTIER_SUP"], + "paint": { + "line-color": "#8c7274", + "line-width": { + "stops": [[14, 1], [15, 1.2], [16, 1.4], [17, 2]] + }, + "line-dasharray": [4,3] + } + }, + { + "id": "Chemin superieur - chemin", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","CHEMIN_SUP"], + "paint": { + "line-color": "#8c7274", + "line-width": { + "stops": [[14, 1], [15, 1.2], [16, 1.4], [17, 2]] + } + } + }, + { + "id": "Chemin superieur - filet extérieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","NON_REVETUE_CARRO_SUP"], + "paint": { + "line-color": "#969696", + "line-width": { + "stops": [[14, 3.2], [15, 5.4], [16, 7.7], [17, 16.8]] + }, + "line-dasharray": [2,2] + } + }, + { + "id": "Routier superieur - filet extérieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_AUTO_PEAGE_3_SUP", + "BRET_AUTO_PEAGE_2_SUP", + "BRET_AUTO_PEAGE_1_SUP", + "BRET_AUTO_LIBRE_3_SUP", + "BRET_AUTO_LIBRE_2_SUP", + "BRET_AUTO_LIBRE_1_SUP" + ], + "paint": { + "line-color": {"stops": [[9, "#DE460E"], [17, "#F18800"]]}, + "line-width": { + "stops": [[12, 2.5], [14, 3.7], [15, 6.8], [16, 8.4], [17, 14]] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","NON_CLASSEE_RESTREINT_SUP"], + "paint": { + "line-color": "#9FB1E3", + "line-width": { + "stops": [[14, 3.2], [15, 5.4], [16, 7.7], [17, 16.8]] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "NON_CLASSEE_4_SUP", + "NON_CLASSEE_SUP" + ], + "paint": { + "line-color": "#969696", + "line-width": { + "stops": [[14, 3.2], [15, 5.4], [16, 7.7], [17, 16.8]] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_LOCALE_SUP", + "LOCALE_4_SUP", + "LOCALE_3_SUP", + "LOCALE_2_SUP", + "LOCALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [[12, "#8C8C8C"], [13, "#B4B4B4"]] + }, + "line-width": { + "stops": [[9, 2], [14, 3.5], [15, 6], [16, 8.4], [17, 18.3]] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","LOCALE_CONSTR_SUP"], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [[9, 2], [14, 3.5], [15, 6], [16, 8.4], [17, 18.3]] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_REGIONALE_SUP", + "REGIONALE_4_SUP", + "REGIONALE_3_SUP", + "REGIONALE_2_SUP", + "REGIONALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [[9, "#828282"], [10, "#B4B4B4"]] + }, + "line-width": { + "stops": [[6, 1.5], [9, 2.3], [14, 5], [15, 8.1], [16, 11.2], [17, 22]] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","REGIONALE_CONSTR_SUP"], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [[6, 1.5], [9, 2.3], [14, 5], [15, 8.1], [16, 11.2], [17, 22]] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_PRINCIPALE_SUP", + "PRINCIPALE_4_SUP", + "PRINCIPALE_3_SUP", + "PRINCIPALE_2_SUP", + "PRINCIPALE_1_SUP" + ], + "paint": { + "line-color": "#E2A52A", + "line-width": { + "stops": [[6, 1.8], [9, 2.7], [14, 5.9], [15, 9], [16, 12.2], [17, 22.5]] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","PRINCIPALE_CONSTR_SUP"], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [[6, 1.8], [9, 2.7], [14, 5.9], [15, 9], [16, 12.2], [17, 22.5]] + } + } + }, + { + "id": "Routier superieur - filet extérieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "AUTOROU_PEAGE_SUP", + "AUTOROU_LIBRE_SUP" + ], + "paint": { + "line-color": {"stops": [[9, "#DE460E"], [17, "#F18800"]]}, + "line-width": { + "stops": [[6, 2.5], [9, 3.5], [14, 7.5], [15, 11], [16, 15], [17, 26]] + } + } + }, + { + "id": "Routier superieur - filet extérieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","AUTOROU_CONSTR_SUP"], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [[6, 2.5], [9, 3.5], [14, 7.5], [15, 11], [16, 15], [17, 26]] + } + } + }, + { + "id": "Chemin superieur - filet interieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","NON_REVETUE_CARRO_SUP"], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [[14, 2.3], [15, 4.1], [16, 6.3], [17, 13.5]] + } + } + }, + { + "id": "Routier superieur - filet interieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_AUTO_PEAGE_3_SUP", + "BRET_AUTO_PEAGE_2_SUP", + "BRET_AUTO_PEAGE_1_SUP", + "BRET_AUTO_LIBRE_3_SUP", + "BRET_AUTO_LIBRE_2_SUP", + "BRET_AUTO_LIBRE_1_SUP" + ], + "paint": { + "line-color": {"stops": [[9, "#F18800"], [17, "#F2B230"]]}, + "line-width": { + "stops": [[12, 1.5], [14, 2.6], [15, 5.2], [16, 6.7], [17, 10.8]] + } + } + }, + { + "id": "Routier superieur - filet interieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","NON_CLASSEE_RESTREINT_SUP"], + "paint": { + "line-color": "#E8EDFF", + "line-width": { + "stops": [[14, 2.3], [15, 4.1], [16, 6.3], [17, 13.5]] + } + } + }, + { + "id": "Routier superieur - filet interieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "NON_CLASSEE_4_SUP", + "NON_CLASSEE_SUP" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [[14, 2.3], [15, 4.1], [16, 6.3], [17, 13.5]] + } + } + }, + { + "id": "Routier superieur - filet interieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_LOCALE_SUP", + "LOCALE_4_SUP", + "LOCALE_3_SUP", + "LOCALE_2_SUP", + "LOCALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [[12, "#FFFFFF"], [13, "#FDF28B"], [17, "#FCF6BD"]] + }, + "line-width": { + "stops": [[9, 1.3], [14, 2.3], [15, 4.1], [16, 6.1], [17, 13.1]] + } + } + }, + { + "id": "Routier superieur - filet interieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","LOCALE_CONSTR_SUP"], + "paint": { + "line-color": { + "stops": [[12, "#FFFFFF"], [13, "#FDF28B"], [17, "#FCF6BD"]] + }, + "line-width": { + "stops": [[9, 1.3], [14, 2.3], [15, 4.1], [16, 6.1], [17, 13.1]] + }, + "line-dasharray": [2, 2] + } + }, + { + "id": "Routier superieur - filet interieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_REGIONALE_SUP", + "REGIONALE_4_SUP", + "REGIONALE_3_SUP", + "REGIONALE_2_SUP", + "REGIONALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [[9, "#FFFFFF"], [10, "#FDF28B"], [17, "#FCF6BD"]] + }, + "line-width": { + "stops": [[4, 0.3], [6, 1.4], [9, 1.5], [14, 3.2], [15, 5.8], [16, 8.3], [17, 16.2]] + } + } + }, + { + "id": "Routier superieur - filet interieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","REGIONALE_CONSTR_SUP"], + "paint": { + "line-color": { + "stops": [[9, "#FFFFFF"], [10, "#FDF28B"], [17, "#FCF6BD"]] + }, + "line-width": { + "stops": [[4, 0.4], [6, 1.5], [9, 2.3], [14, 5], [15, 8.1], [16, 11.2], [17, 22]] + }, + "line-dasharray": [2,2] + } + }, + { + "id": "Routier superieur - filet interieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_PRINCIPALE_SUP", + "PRINCIPALE_4_SUP", + "PRINCIPALE_3_SUP", + "PRINCIPALE_2_SUP", + "PRINCIPALE_1_SUP" + ], + "paint": { + "line-color": {"stops": [[9, "#F3C66D"], [17, "#F2DDB3"]]}, + "line-width": { + "stops": [[4, 0.5], [6, 1.8], [9, 2.1], [14, 4.4], [15, 7.3], [16, 10], [17, 18.5]] + } + } + }, + { + "id": "Routier superieur - filet interieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","PRINCIPALE_CONSTR_SUP"], + "paint": { + "line-color": {"stops": [[9, "#F3C66D"], [17, "#F2DDB3"]]}, + "line-width": { + "stops": [[4, 0.5], [6, 1.8], [9, 2.7], [14, 5.9], [15, 9], [16, 12.2], [17, 22.5]] + }, + "line-dasharray": [2,2] + } + }, + { + "id": "Routier superieur - filet interieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "AUTOROU_PEAGE_SUP", + "AUTOROU_LIBRE_SUP" + ], + "paint": { + "line-color": {"stops": [[9, "#F18800"], [17, "#F2B230"]]}, + "line-width": { + "stops": [[4, 0.7], [6, 2.5], [9, 2.7], [14, 5.8], [15, 9], [16, 12], [17, 20.8]] + } + } + }, + { + "id": "Routier superieur - axe central - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "AUTOROU_PEAGE_SUP", + "AUTOROU_LIBRE_SUP" + ], + "paint": { + "line-color": "#ffffff", + "line-width": { + "stops": [[9, 0.6], [14, 0.7], [15, 1], [16, 1.2], [17, 2.1]] + } + } + }, + { + "id": "Routier superieur - filet interieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","AUTOROU_CONSTR_SUP"], + "paint": { + "line-color": {"stops": [[9, "#F18800"], [17, "#F2B230"]]}, + "line-width": { + "stops": [[4, 0.7], [6, 2.5], [9, 3.5], [14, 7.5], [15, 11], [16, 15], [17, 26]] + }, + "line-dasharray": [2,2] + } + }, + { + "id": "Routier superieur - axe centrale - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","AUTOROU_CONSTR_SUP"], + "paint": { + "line-color": "#808080", + "line-width": { + "stops": [[9, 0.6], [14, 0.7], [15, 1], [16, 1.2], [17, 2.1]] + } + } + }, + { + "id": "Ferre superieur - voie normale", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "VF_1_SUP", + "VF_2_SUP", + "VF_ELEC_1_SUP" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [[13, 0.8], [17, 2.5]] + } + } + }, + { + "id": "Ferre superieur - trait perpendic épais", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "VF_1_SUP", + "VF_2_SUP", + "VF_ELEC_1_SUP" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [[10, 3.5], [17, 14.7]] + }, + "line-dasharray": [0.1,10] + } + }, + { + "id": "Ferre superieur - voie etroite", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "VF_ETROITE_1_SUP", + "VF_ETROITE_SUP" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [[10, 0.3], [17, 1.8]] + } + } + }, + { + "id": "Ferre superieur - trait perpendic fin", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "VF_ETROITE_1_SUP", + "VF_ETROITE_SUP" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [[10, 3.5], [17, 14.7]] + }, + "line-dasharray": [0.1,10] + } + }, + { + "id": "Ferre superieur - voie service", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "VF_SERVICE_SUP", + "VF_NON_EXPLOITEE_SUP" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [[10, 0.3], [17, 1.8]] + }, + "line-dasharray": [5,2,1,2] + } + }, + { + "id": "Ferre superieur - voie en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","VF_EN_CONSTR_SUP"], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [[10, 0.3], [17, 1.8]] + }, + "line-dasharray": [2,2] + } + }, + { + "id": "Ferre superieur - funic/urbain", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "FUNI_CREMAILLERE_SUP", + "TRANSPORT_URBAIN_SUP" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [[10, 0.3], [17, 1.8]] + } + } + }, + { + "id": "Ferre superieur - 2 trait perpendic - funic/urbain", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "FUNI_CREMAILLERE_SUP", + "TRANSPORT_URBAIN_SUP" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [[10, 3.5], [17, 17]] + }, + "line-dasharray": [0.1,0.2,0.1,10] + } + }, + { + "id": "limite admin - limite de commune", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "LIM_COMMUNE", + "LIM_CANTON", + "LIM_ARRONDISSEMENT" + ], + "paint": { + "line-color": "rgba(126, 119, 184, 0.5)", + "line-width": { + "stops": [[13, 3], [17, 5.5]] + }, + "line-dasharray": [4, 2, 1, 1, 1, 1, 1, 2] + } + }, + { + "id": "limite admin - limite de département bandeau", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 8, + "maxzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","LIM_DEPARTEMENT"], + "paint": { + "line-color": "rgba(178, 175, 219, 0.4)", + "line-width": { + "stops": [[9, 4.1], [12, 6]] + } + } + }, + { + "id": "limite admin - limite de département tiret", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","LIM_DEPARTEMENT"], + "paint": { + "line-color": "rgba(126, 119, 184, 0.5)", + "line-width": { + "stops": [[13, 3], [17, 5.5]] + }, + "line-dasharray": [4, 2, 1, 1, 1, 2] + } + }, + { + "id": "limite admin - limite de région bandeau", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 7, + "maxzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","LIM_REGION"], + "paint": { + "line-color": "rgba(178, 175, 219, 0.5)", + "line-width": { + "stops": [[9, 4.5], [12, 6.7]] + } + } + }, + { + "id": "limite admin - limite de région tiret", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","LIM_REGION"], + "paint": { + "line-color": "rgba(126, 119, 184, 0.5)", + "line-width": { + "stops": [[13, 3], [17, 5.5]] + }, + "line-dasharray": [4, 2, 1, 2] + } + }, + { + "id": "limite etat 1", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 2, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "LIM_ETAT", + "LIM_ETAT_ETRANGER" + ], + "paint": { + "line-color": "rgba(178, 175, 219, 0.6)", + "line-width": { + "stops": [[2, 2], [3, 3.5], [9, 5], [14, 13], [15, 20], [16, 24], [17, 42]] + } + } + }, + { + "id": "limite etat 2", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 7, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "LIM_ETAT", + "LIM_ETAT_ETRANGER" + ], + "paint": { + "line-color": "#9F9CB8", + "line-width": { + "stops": [[9, 1.5], [14, 3.5], [15, 5.5], [16, 6.5], [17, 11]] + }, + "line-dasharray": [4, 2] + } + }, + { + "id": "limite cote", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 6, + "maxzoom":10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo","LIM_COTE"], + "paint": { + "line-color": "#82A3B2", + "line-width": 1 + } + }, + { + "id": "ligne electrique", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","LIGNE_ELECTRIQUE"], + "paint": { + "line-color": "#808080", + "line-width": { + "stops": [[13, 1], [17, 2]] + } + } + }, + { + "id": "autre construction linéaire", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "CABLE", + "REMONTEE_MEC", + "HYDROCARBURES", + "CONDUITE_MATIERES_P", + "SPORT_MONTAGNE_LIN", + "PISTE_AERO_LIN" + ], + "paint": { + "line-color": "#808080", + "line-width": 1 + } + }, + { + "id": "autre construction linéaire - trait perpend cable", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","CABLE"], + "paint": { + "line-color": "#808080", + "line-width": 5, + "line-dasharray": [0.5,10] + } + }, + { + "id": "autre construction linéaire - trait perpend 1 remont", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","REMONTEE_MEC"], + "paint": { + "line-color": "#808080", + "line-width": 5, + "line-dasharray": [1,10] + } + }, + { + "id": "autre construction linéaire - trait perpend 2 remont", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","REMONTEE_MEC"], + "paint": { + "line-color": "#ffffff", + "line-width": 5, + "line-dasharray": [0.4,10.6] + } + }, + { + "id": "autre construction linéaire - trait perpend carbur", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["in","symbo", + "HYDROCARBURES", + "CONDUITE_MATIERES_P" + ], + "paint": { + "line-color": "#808080", + "line-width": 5, + "line-dasharray": [1,10] + } + }, + { + "id": "routier ponctuel - peage ponctuel", + "type": "circle", + "source": "plan_ign", + "source-layer": "routier_ponc", + "minzoom": 9, + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","PEAGE_PONC"], + "paint": { + "circle-radius": { + "stops": [[9, 3.5], [12, 6.5]] + }, + "circle-color": "#E2A52A", + "circle-stroke-width": 1, + "circle-stroke-color": "#808080" + } + }, + { + "id": "hydro ponctuel", + "type": "circle", + "source": "plan_ign", + "source-layer": "hydro_ponc", + "minzoom": 14, + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "FONTAINE", + "POINT_D_EAU", + "SOURCE", + "SOURCE_CAPTEE", + "PERTE", + "RESURGENCE", + "CASCADE" + ], + "paint": { + "circle-radius": { + "stops": [[14, 3], [17, 7]] + }, + "circle-color": "#FFFFFF", + "circle-opacity": 1, + "circle-stroke-width": { + "stops": [[14, 2], [17, 5]] + }, + "circle-stroke-color": "#1466B2" + } + }, + { + "id": "point coté", + "type": "symbol", + "source": "plan_ign", + "source-layer": "oro_ponc", + "minzoom": 11, + "filter": ["in","symbo", + "POINT_COTE", + "POINT_COTE_TOPO", + "POINT_COTE_RESEAU", + "POINT_RBF" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.10, + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [0.2, 0.4], + "text-padding": 2, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "bati ponctuel : Hopital", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Hopital", + "icon-size": 0.33 + }, + "filter": ["==","symbo","HOPITAL_PONC"], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel hydrographique", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Pompage", + "icon-size": { "stops": [[13, 0.2], [17, 0.6]] }, + "icon-allow-overlap": true + }, + "filter": ["in","symbo", + "CITERNE", + "LAVOIR", + "USINE_TRAIT_DES_EAUX", + "STATION_DE_POMPAGE" + ] + }, + { + "id": "bati ponctuel hydrographique - Phare", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 13, + "layout": { + "visibility": "visible", + "icon-image": "Phare", + "icon-size": { "stops": [[13, 0.7], [17, 1.3]] } + }, + "filter": ["==","symbo","PHARE"], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel hydrographique - Amer-Feu", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 13, + "layout": { + "visibility": "visible", + "icon-image": "Feu", + "icon-size": { "stops": [[13, 0.7], [17, 1.3]] } + }, + "filter": ["in","symbo", + "AMER", + "FEU", + "FEU_PONC" + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel hydrographique - Balise", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 13, + "layout": { + "visibility": "visible", + "icon-image": "Balise", + "icon-size": { "stops": [[13, 0.7], [17, 1.3]] } + }, + "filter": ["==","symbo","BALISE"], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel hydrographique - Ecluse", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 12, + "layout": { + "visibility": "visible", + "icon-image": "Ecluse", + "icon-size": 0.2 + }, + "filter": ["==","symbo","ECLUSE_PONC"] + }, + { + "id": "bati ponctuel hydrographique - Barrage", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 12, + "layout": { + "visibility": "visible", + "icon-image": "Barrage", + "icon-size": 0.25 + }, + "filter": ["==","symbo","BARRAGE_PONC"] + }, + { + "id": "bati ponctuel hydrographique - Chateau d'eau", + "type": "circle", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","CHATEAU_EAU_PONC"], + "paint": { + "circle-radius": { + "stops": [[14, 3], [17, 8]] + }, + "circle-color": "#1466B2" + } + }, + { + "id": "bati ponctuel hydrographique - Réservoir d'eau", + "type": "circle", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","RESERVOIR_EAU_PONC"], + "paint": { + "circle-radius": { + "stops": [[14, 3], [17, 8]] + }, + "circle-color": "#AAD5E9", + "circle-opacity": 1, + "circle-stroke-width": { + "stops": [[14, 2], [17, 5]] + }, + "circle-stroke-color": "#1466B2" + } + }, + { + "id": "bati ponctuel infrastructure - Constr spé", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "ConstrSpeciale", + "icon-size": { "stops": [[13, 0.22], [17, 0.5]] } + }, + "filter": ["in","symbo", + "ANTENNE", + "CONSTR_SPE_TECHNIQUE", + "CONSTR_INDIF_PONC" + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel infrastructure - Silo", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Silo", + "icon-size": { "stops": [[13, 0.22], [17, 0.5]] } + }, + "filter": ["==","symbo","SILO_PONC"], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel infrastructure - Eolienne", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Eolienne", + "icon-size": { "stops": [[13, 0.4], [17, 1.2]] } + }, + "filter": ["==","symbo","EOLIENNE"], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel infrastructure - Reservoir", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Reservoir", + "icon-size": { "stops": [[13, 0.26], [17, 0.5]] } + }, + "filter": ["==","symbo","RESERVOIR_PONC"], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel infrastructure - pylone électrique", + "type": "circle", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","PYLONE_ELEC"], + "paint": { + "circle-radius" : { + "stops": [[13, 1], [17, 2]] + }, + "circle-color" : "#000000" + } + }, + { + "id": "bati ponctuel transport aerien - Aeroport", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Aeroport", + "icon-size": 0.5 + }, + "filter": ["==","symbo","AEROPORT_PONC"], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel transport aerien - Aerodrome", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Aerodrome", + "icon-size": 0.4 + }, + "filter": ["==","symbo","AERODROME_PONC"], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel transport ferroviaire", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Gare", + "icon-size" : 0.33 + }, + "filter": ["==","symbo","GARE_VOYAGEURS"], + "paint": { + "icon-color": "#787878" + } + }, + { + "id": "toponyme - bornes postales haute - chemins", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "filter": ["in","symbo", + "CHEMIN", + "CHEMIN_SOU", + "CHEMIN_SUP", + "PISTE_CYCLABLE", + "PISTE_CYCLABLE_SOU", + "PISTE_CYCLABLE_SUP", + "RUE_PIETONNE", + "RUE_PIETONNE_SOU", + "RUE_PIETONNE_SUP", + "SENTIER", + "SENTIER_SOU", + "SENTIER_SUP", + "ESCALIER", + "ESCALIER_SUP"], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654f", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales haute - non revetue, non classee", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "filter": ["in","symbo", + "NON_CLASSEE", + "NON_CLASSEE_4", + "NON_CLASSEE_4_SUP", + "NON_CLASSEE_RESTREINT", + "NON_CLASSEE_RESTREINT_SUP", + "NON_CLASSEE_SOU", + "NON_CLASSEE_SUP", + "NON_REVETUE_CARRO", + "NON_REVETUE_CARRO_SUP"], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1.3 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654f", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales haute - locales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "filter": ["in","symbo", + "LOCALE_1", + "LOCALE_1_SOU", + "LOCALE_1_SUP", + "LOCALE_2", + "LOCALE_2_SOU", + "LOCALE_2_SUP", + "LOCALE_3", + "LOCALE_3_SOU", + "LOCALE_3_SUP", + "LOCALE_4", + "LOCALE_4_SOU", + "LOCALE_4_SUP", + "LOCALE_CONSTR", + "LOCALE_CONSTR_SUP"], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1.4 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654f", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales haute - regionales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "filter": ["in","symbo", + "REGIONALE_1", + "REGIONALE_1_SOU", + "REGIONALE_1_SUP", + "REGIONALE_2", + "REGIONALE_2_SOU", + "REGIONALE_2_SUP", + "REGIONALE_3", + "REGIONALE_3_SOU", + "REGIONALE_3_SUP", + "REGIONALE_4", + "REGIONALE_4_SUP", + "REGIONALE_CONSTR"], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1.5 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654f", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales haute - principales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "filter": ["in","symbo", + "PRINCIPALE_1", + "PRINCIPALE_1_SUP", + "PRINCIPALE_2", + "PRINCIPALE_2_SOU", + "PRINCIPALE_2_SUP", + "PRINCIPALE_3", + "PRINCIPALE_3_SOU", + "PRINCIPALE_3_SUP", + "PRINCIPALE_4", + "PRINCIPALE_4_SUP", + "PRINCIPALE_CONSTR"], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1.6 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654f", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - chemins", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "filter": ["in","symbo", + "CHEMIN", + "CHEMIN_SOU", + "CHEMIN_SUP", + "PISTE_CYCLABLEF", + "PISTE_CYCLABLE_SOU", + "PISTE_CYCLABLE_SUP", + "RUE_PIETONNE", + "SENTIER", + "SENTIER_SOU", + "SENTIER_SUP", + "ESCALIER", + "ESCALIER_SUP"], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654f", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - non revetue, non classee", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "filter": ["in","symbo", + "NON_CLASSEE", + "NON_CLASSEE_4", + "NON_CLASSEE_4_SUP", + "NON_CLASSEE_SOU", + "NON_CLASSEE_SUP", + "NON_REVETUE_CARRO", + "NON_REVETUE_CARRO_SUP"], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1.3 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654f", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - locales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "filter": ["in","symbo", + "LOCALE_1", + "LOCALE_1_SOU", + "LOCALE_1_SUP", + "LOCALE_2", + "LOCALE_2_SOU", + "LOCALE_2_SUP", + "LOCALE_3", + "LOCALE_3_SOU", + "LOCALE_3_SUP", + "LOCALE_4", + "LOCALE_4_SOU", + "LOCALE_4_SUP", + "LOCALE_CONSTR"], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1.4 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654f", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - regionales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "filter": ["in","symbo", + "REGIONALE_1", + "REGIONALE_1_SOU", + "REGIONALE_1_SUP", + "REGIONALE_2", + "REGIONALE_2_SOU", + "REGIONALE_2_SUP", + "REGIONALE_3", + "REGIONALE_3_SOU", + "REGIONALE_3_SUP", + "REGIONALE_4", + "REGIONALE_4_SUP", + "REGIONALE_CONSTR"], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1.5 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654f", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - principales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "filter": ["in","symbo", + "PRINCIPALE_1", + "PRINCIPALE_1_SUP", + "PRINCIPALE_2", + "PRINCIPALE_2_SOU", + "PRINCIPALE_2_SUP", + "PRINCIPALE_3", + "PRINCIPALE_3_SOU", + "PRINCIPALE_3_SUP", + "PRINCIPALE_4", + "PRINCIPALE_4_SUP", + "PRINCIPALE_CONSTR"], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1.6 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654f", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - courbe rocher maitresse", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": ["==","txt_typo","ORO-COURBE_ROCHER"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 30, + "text-rotate": { "type": "identity", "property": "rotation" }, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#333333", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - courbe galcier maitresse", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": ["==","txt_typo","ORO-COURBE_GLACIER"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 30, + "text-rotate": { "type": "identity", "property": "rotation" }, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#A4BFD9", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - courbe maitresse", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": ["==","txt_typo","ORO-COURBE"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 30, + "text-rotate": { "type": "identity", "property": "rotation" }, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#604A2F", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - liaison maritime", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_liaison_lin", + "minzoom": 8, + "maxzoom": 18, + "filter": ["in","txt_typo", + "LIAISON_MARITIME", + "BAC_LIAISON_MARITIME" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#5792C2", + "text-halo-width": 5, + "text-halo-color": "#AAD5E9" + } + }, + { + "id": "toponyme bati station de métro + bati ponctuel metro", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom":14, + "filter": ["==","txt_typo","TYPO_E_GE"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 3, + "text-anchor": "bottom-left", + "text-font": ["Source Sans Pro"], + "icon-image": "Metro", + "icon-size": { "stops": [[15, 0.33], [17, 0.6]] } + }, + "paint": { + "text-color": "#000000", + "icon-color": "#646464" + } + }, + { + "id": "toponyme bati ponc autre", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom":15, + "filter": ["in","txt_typo", + "BAT-ACTIVITE", + "BARRAGE_PONC", + "BAT-DEPT_COM", + "BAT-FORTIF", + "BAT-VILLAGE_DETRUIT", + "PHARE", + "CHATEAU_EAU_PONC"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro"] + }, + "paint": { + "text-color": "#532a2a" + } + }, + { + "id": "toponyme - hydro ponc 5", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "filter": ["in","txt_typo", + "TYPO_D_9", + "TYPO_D_10", + "TYPO_E_1_cyan" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": true, + "text-padding": 5, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - limite militaire ponc 3 et 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "filter": ["in","txt_typo", + "LIMI-MILI-3", + "LIMI-MILI-4" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": false, + "text-padding": 2, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#0d2000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - limite parc ponc 3 et 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "filter": ["in","txt_typo", + "LIMI-PARC-3", + "LIMI-PARC-4" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 2, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#287b00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme numéro de route - départementale", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_numero_lin", + "minzoom":12, + "maxzoom":16, + "filter": ["==","txt_typo","Départementale"], + "layout": { + "visibility": "visible", + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 2, + "text-anchor": "center", + "text-font": ["Source Sans Pro Semibold"], + "text-rotation-alignment": "viewport" + }, + "paint": { + "text-color": "#4D4D4D", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme numéro de route - nationale", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_numero_lin", + "minzoom":12, + "maxzoom":16, + "filter": ["==","txt_typo","Nationale"], + "layout": { + "visibility": "visible", + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": false, + "text-padding": 0, + "text-anchor": "center", + "text-font": ["Source Sans Pro Semibold"], + "icon-image": "Ecluse", + "icon-rotation-alignment": "viewport", + "text-rotation-alignment": "viewport", + "icon-text-fit": "both", + "icon-size": 0 + }, + "paint": { + "text-color": "#4D4D4D", + "icon-color": "#646464", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 5 + } + }, + { + "id": "toponyme numéro de route - autoroute", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_numero_lin", + "minzoom":12, + "maxzoom":16, + "filter": ["==","txt_typo","Autoroute"], + "layout": { + "visibility": "visible", + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 0, + "text-anchor": "center", + "text-font": ["Source Sans Pro Semibold"], + "icon-image": "Ecluse", + "icon-rotation-alignment": "viewport", + "text-rotation-alignment": "viewport", + "icon-text-fit": "both", + "icon-size": 0 + }, + "paint": { + "text-color": "#4D4D4D", + "icon-color": "#646464", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 6 + } + }, + { + "id": "toponyme - odonyme abrégé", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_odonyme_lin", + "minzoom": 15, + "maxzoom":17, + "layout": { + "symbol-placement": "line", + "text-field": "{nom_gauche}", + "text-size": 10, + "text-anchor": "center", + "text-max-angle": 30, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 1)" + } + }, + { + "id": "toponyme - odonyme desabrégé", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_odonyme_lin", + "minzoom": 17, + "layout": { + "symbol-placement": "line", + "text-field": "{nom_desabrege}", + "text-size": 10, + "text-anchor": "center", + "text-max-angle": 30, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 1)" + } + }, + { + "id": "toponyme - lieu dit non habité 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": ["all", + ["==","symbo","LIEU-DIT_NON_HABITE"], + ["in","txt_typo", + "TYPO_B_10", + "TYPO_B_11" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - bois", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": ["all", + ["==","symbo","BOIS"], + ["in","txt_typo", + "TYPO_B_10", + "TYPO_B_11" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#287b00", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - oro lineaire 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": ["in","txt_typo", + "ORO-SOMMET-3", + "ORO-GORGE-2" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 10, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#532A2A", + "text-halo-width": 1, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - oro ponc 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": ["in","txt_typo", + "ORO-SOMMET-3", + "ORO-GORGE-2", + "GROTTE", + "TYPO_C_9", + "TYPO_C_10" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#532a2a", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - hydro ponc 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "filter": ["in","txt_typo", + "lac - etang - bassin", + "HYD-SURF-4", + "HYD-SURF-4-T", + "HYD-SURF-5", + "HYD-SURF-5-T", + "TYPO_D_8", + "SOURCE" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": true, + "text-padding": 5, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 1 + } + }, + { + "id": "toponyme ville quartier ", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 11, + "maxzoom": 16, + "filter": ["in","txt_typo", + "BAT-QUARTIER", + "BAT-QUARTIER-T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 9.5, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme ville autre n0 ", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 12, + "filter": ["==","txt_typo","TYPO_A_10"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 9.5, + "text-allow-overlap": false, + "text-anchor": "center", + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - lieu dit non habité", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": ["all", + ["==","symbo","LIEU-DIT_NON_HABITE"], + ["in","txt_typo", + "TYPO_B_7", + "TYPO_B_8", + "TYPO_B_9" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - bois 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": ["all", + ["==","symbo","BOIS"], + ["in","txt_typo", + "TYPO_B_7", + "TYPO_B_8", + "TYPO_B_9" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#287b00", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme ville hameau ", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 11, + "maxzoom": 13, + "filter": ["in","txt_typo", + "BAT-HAMEAU", + "BAT-HAMEAU-T", + "hameau" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.17, + "text-field": "{texte}", + "text-size": 9.5, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [0.30, 0.10], + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme ville importance 5", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 9, + "filter": ["in","txt_typo", + "commune 5", + "BAT-COMMUNE-5", + "BAT-COMMUNE-5-T", + "BAT-CHEF_LIEU_COM", + "BAT-CHEF_LIEU_COM-T", + "BAT-ANCIENNE_COM", + "BAT-ANCIENNE_COM-T", + "Commune très petite" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.21, + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [0.30, 0.10], + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - ocs lineaire 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_lin", + "filter": ["==","txt_typo","OCS-FORET-3"], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 12, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#287b00", + "text-halo-width": 1, + "text-halo-color": "hsla(0, 0%, 100%, 0.5)" + } + }, + { + "id": "toponyme - lieu dit non habité 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": ["all", + ["==","symbo","LIEU-DIT_NON_HABITE"], + ["==","txt_typo","TYPO_B_5"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - bois 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": ["all", + ["==","symbo","BOIS"], + ["==","txt_typo","TYPO_B_5"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#287b00", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - ocs ponc 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": ["==","txt_typo","OCS-FORET-3"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#287b00", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - oro lineaire 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": ["in","txt_typo", + "ORO-ILE-3", + "ORO-RELIEF-3", + "ORO-RELIEF-3-T", + "ORO-RELIEF-4", + "ORO-RELIEF-4-T", + "ORO-CAP-2", + "ORO-CAP-3", + "ORO-SOMMET-3", + "ORO-COL-2", + "ORO-GORGE-1" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 12, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#532A2A", + "text-halo-width": 1, + "text-halo-color": "hsla(0, 0%, 100%, 0.5)" + } + }, + { + "id": "toponyme - oro ponc 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": ["in","txt_typo", + "ORO-ILE-3", + "ORO-RELIEF-3", + "ORO-RELIEF-3-T", + "ORO-RELIEF-4", + "ORO-RELIEF-4-T", + "ORO-CAP-2", + "ORO-CAP-3", + "ORO-SOMMET-2", + "ORO-COL-2", + "ORO-GORGE-1", + "TYPO_C_7", + "TYPO_C_8" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#532a2a", + "text-halo-color": "#FFFFFF", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - hydro lineaire 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": ["in","txt_typo", + "HYD-LIN-3", + "HYD-LIN-4", + "HYD-LIN-5", + "petite rivière", + "canal", + "HYD-SURF-3", + "HYD-SURF-3-T", + "HYD-SURF-4", + "HYD-SURF-4-T", + "HYD-SURF-5", + "HYD-SURF-5-T", + "TYPO_D_4", + "TYPO_D_5" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 12, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 1, + "text-halo-color": "hsla(0, 0%, 100%, 0.5)" + } + }, + { + "id": "toponyme - hydro ponc 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "filter": ["in","txt_typo", + "petit golfe", + "grande baie", + "baie", + "HYD-SURF-3", + "TYPO_D_5", + "TYPO_D_6", + "TYPO_D_7" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": true, + "text-padding": 10, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc zai zoom 16", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom":15, + "maxzoom":16, + "filter": ["==","txt_typo","zai"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme bati ponc zai zoom 17 et 18", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom":16, + "filter": ["==","txt_typo","zai"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme ville importance 4 n0", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 7, + "filter": ["in","txt_typo", + "TYPO_A_8", + "TYPO_A_9" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": false, + "text-anchor": "center", + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme ville importance 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 7, + "filter": ["in","txt_typo", + "commune 4", + "BAT-COMMUNE-4", + "BAT-COMMUNE-4-T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.21, + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [0.30, 0.10], + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - limite militaire ponc 1 et 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "filter": ["in","txt_typo", + "LIMI-MILI-1", + "LIMI-MILI-2" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 5, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#0d2000", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - limite parc marin", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "filter": ["==","txt_typo","LIM_PARC_NATUREL_MARIN"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 10, + "text-transform": "uppercase", + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#2A81A2", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - limite parc ponc 1 et 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "filter": ["in","txt_typo", + "LIMI-PARC-1", + "LIMI-PARC-2", + "LIM_PARC_NATUREL", + "RESERVE_NATURELLE_PONC" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 10, + "text-transform": "uppercase", + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#287b00", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - ocs lineaire 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_lin", + "filter": ["==","txt_typo","OCS-FORET-2"], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#287b00", + "text-halo-width": 2, + "text-halo-color": "hsla(0, 0%, 100%, 0.5)" + } + }, + { + "id": "toponyme - ocs ponc 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": ["==","txt_typo","OCS-FORET-2"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 1, + "text-anchor": "center", + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#287b00", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro lineaire 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": ["in","txt_typo", + "ORO-ILE-2", + "ORO-RELIEF-2", + "ORO-RELIEF-2-T", + "ORO-CAP-1", + "ORO-SOMMET-1" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#532A2A", + "text-halo-width": 2, + "text-halo-color": "hsla(0, 0%, 100%, 0.5)" + } + }, + { + "id": "toponyme - oro ponc 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": ["in","txt_typo", + "île", + "ORO-ILE-2", + "ORO-RELIEF-2", + "ORO-RELIEF-2-T", + "ORO-CAP-1", + "cap ou pointe", + "sommet ou col", + "ORO-SOMMET-1", + "TYPO_C_6" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#532a2a", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - hydro lineaire 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": ["in","txt_typo", + "HYD-LIN-2", + "rivière moyenne", + "HYD-SURF-2", + "HYD-SURF-2-T", + "TYPO_D_3" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 2, + "text-halo-color": "hsla(0, 0%, 100%, 0.5)" + } + }, + { + "id": "toponyme - hydro ponc 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "minzoom": 5, + "filter": ["in","txt_typo", + "moyen", + "golfe moyen", + "HYD-SURF-2", + "TYPO_D_2", + "TYPO_D_4" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": {"stops": [[5, 12], [6, 20]]}, + "text-allow-overlap": false, + "text-padding": 10, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 2 + } + }, + { + "id": "toponyme ville importance 3 n0", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 5, + "filter": ["in","txt_typo", + "TYPO_A_6", + "TYPO_A_7" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": {"stops": [[5, 10], [6, 15]]}, + "text-allow-overlap": false, + "text-anchor": "center", + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme ville importance 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 5, + "filter": ["in","txt_typo", + "commune 3", + "BAT-COMMUNE-3", + "BAT-COMMUNE-3-T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.21, + "text-field": "{texte}", + "text-size": {"stops": [[5, 10], [6, 15]]}, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [0.30, 0.10], + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro lineaire 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": ["in","txt_typo", + "ORO-ILE-1", + "ORO-RELIEF-1", + "ORO-RELIEF-1-T" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 20, + "text-anchor": "center", + "text-keep-upright": true, + "text-padding": 5, + "text-max-angle": 45, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#532A2A", + "text-halo-width": 1, + "text-halo-color": "hsla(0, 0%, 100%, 0.5)" + } + }, + { + "id": "toponyme - oro ponc monde", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "minzoom": 5, + "filter": ["in","txt_typo", + "Basin", + "Depression", + "Desert", + "Geoarea", + "Gorge", + "Isthmus", + "Lake", + "Lowland", + "Pen/cape", + "Plain", + "Plateau", + "Range/mtn", + "Tundra", + "Valley", + "Island", + "Island group" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#532a2a", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme ville importance 2 n0 - non commune?", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 4, + "maxzoom": 17, + "filter": ["==","txt_typo","TYPO_A_4"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": {"stops": [[4, 10], [6, 18]]}, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": {"stops": [[1, ["Source Sans Pro Regular"]], [7, ["Source Sans Pro Bold"]], [10, ["Source Sans Pro Regular"]]]} + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme - ocs lineaire 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_lin", + "filter": ["==","txt_typo","OCS-FORET-1"], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 18, + "text-anchor": "center", + "text-keep-upright": true, + "text-padding": 1, + "text-max-angle": 45, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#287b00", + "text-halo-width": 1, + "text-halo-color": "hsla(0, 0%, 100%, 0.5)" + } + }, + { + "id": "toponyme - ocs ponc 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": ["==","txt_typo","OCS-FORET-1"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 18, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#287b00", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro ponc 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": ["in","txt_typo", + "grande île", + "ORO-ILE-1", + "ORO-RELIEF-1", + "ORO-RELIEF-1-T", + "TYPO_C_4" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 20, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#532a2a", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - hydro lineaire glacier", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": ["in","txt_typo", + "ORO-GLACIER-1", + "ORO-GLACIER-2" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 2, + "text-halo-color": "hsla(0, 0%, 100%, 0.5)" + } + }, + { + "id": "toponyme - hydro lineaire 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": ["in","txt_typo", + "HYD-LIN-1", + "grande rivière", + "mer et océan", + "HYD-SURF-1", + "HYD-SURF-1-T", + "TYPO_D_1", + "TYPO_D_2" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 18, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 2, + "text-halo-color": "hsla(0, 0%, 100%, 0.5)" + } + }, + { + "id": "toponyme - hydro ponc 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "minzoom": 4, + "filter": ["in","txt_typo", + "mer", + "grand", + "grand golfe", + "HYD-SURF-1" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": {"stops": [[4, 16], [6, 30]]}, + "text-allow-overlap": true, + "text-padding": 10, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 4 + } + }, + { + "id": "toponyme ville importance 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 4, + "filter": ["in","txt_typo", + "commune 2", + "BAT-COMMUNE-2", + "BAT-COMMUNE-2-T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.25, + "text-field": "{texte}", + "text-size": {"stops": [[4, 10], [6, 18]]}, + "text-allow-overlap": true, + "text-anchor": "bottom-left", + "text-offset": [0.30, 0.2], + "text-padding": 1, + "text-transform": "uppercase", + "text-font": {"stops": [[1, ["Source Sans Pro Regular"]], [7, ["Source Sans Pro Bold"]], [10, ["Source Sans Pro Regular"]]]} + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme ville importance 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 3, + "filter": ["in","txt_typo", + "commune 1", + "BAT-COMMUNE-1", + "BAT-COMMUNE-1-T", + "TYPO_A_3" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.3, + "text-field": "{texte}", + "text-size": {"stops": [[3, 10], [6, 20]]}, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [0.25, -0.10], + "text-padding": 1, + "text-transform": "uppercase", + "text-font": {"stops": [[1, ["Source Sans Pro Regular"]], [7, ["Source Sans Pro Bold"]], [10, ["Source Sans Pro Regular"]]]} + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme - hydro ponc ocean", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "minzoom": 1, + "filter": ["==","txt_typo","ocean"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": {"stops": [[1, 16], [6, 30]]}, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 10, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 4 + } + }, + { + "id": "toponyme pays 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 4, + "maxzoom": 5, + "filter": ["==","txt_typo","pays 3"], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 9, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme pays 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 2, + "maxzoom": 5, + "filter": ["==","txt_typo","pays 2"], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 2, + "text-transform": "uppercase", + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme pays 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 2, + "maxzoom": 5, + "filter": ["==","txt_typo","pays 1"], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 2, + "text-transform": "uppercase", + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme continent", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "maxzoom": 3, + "filter": ["==","txt_typo","continent"], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": ["Source Sans Pro Bold"] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "hsla(0, 0%, 100%, 0.5)", + "text-halo-width": 4 + } + } + ] +} \ No newline at end of file diff --git a/samples-src/resources/itowns/vectorTile.json b/samples-src/resources/itowns/vectorTile.json new file mode 100644 index 000000000..7af60a1e5 --- /dev/null +++ b/samples-src/resources/itowns/vectorTile.json @@ -0,0 +1,1948 @@ +{ + "version": 8, + "name": "Style pyramide ecran", + "sources": { + "pyramide_proto": { + "type": "vector", + "url": "http://rok4server.ide.ign.fr/rok4/1.0.0/PYRAMIDE_ECRAN/{z}/{x}/{y}.pbf" + } + }, + "transition": { + "duration": 300, + "delay": 0 + }, + "layers": [ + { + "id": "ocs - vegetation", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": [ + "match", + ["get","symbo"], + "ZONE_BOISEE","#A7DA81", + "ZONE_FORET_OUVERTE","#A7DA81", + "ZONE_PEUPLERAIE","#A7DA81", + "ZONE_FORET_FERMEE_FEUIL","#80A664", + "ZONE_FORET_FERMEE_CONI","#80A664", + "ZONE_FORET_FERMEE_MIXTE","#80A664", + "ZONE_LANDE_LIGNEUSE","#D5D897", + "ZONE_VIGNE","#DED2EE", + "ZONE_VERGER","#BBD8CB", + "ZONE_CANNE_BANANE","#EEE3A2", + "ZONE_MARAIS","#7E8AB5", + "ZONE_MARAIS_SALANT","#7E8AB5", + "ZONE_MANGROVE","#7E8AB5", + "#A7DA81" + ] + } + }, + { + "id": "zone batie", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "bati_zone_surf", + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": [ + "match", + ["get","symbo"], + "ZONE_BATI","#C1A47D", + "ZONE_INDUS_ACTI","#808080", + "#FF0000" + ] + } + }, + { + "id": "hydro surfacique", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "hydro_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "SURFACE_D_EAU", + "BASSIN", + "ZONE_MARINE" + ], + "paint": { + "fill-color": "#2BB3E1" + } + }, + { + "id": "hydro surfacique temporaire", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "hydro_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","SURFACE_D_EAU_TEMP"], + "paint": { + "fill-color": "#93D6E6" + } + }, + { + "id": "limite admin", + "type": "line", + "source": "pyramide_proto", + "source-layer": "limite_lin", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "LIM_COMMUNE", + "LIM_CANTON", + "LIM_ARRONDISSEMENT", + "LIM_DEPARTEMENT", + "LIM_REGION" + ], + "paint": { + "line-color": "#7F6EA0", + "line-width": "3", + "line-dasharray": [1, 1], + "line-cap": "round" + } + }, + { + "id": "limite etat 1", + "type": "line", + "source": "pyramide_proto", + "source-layer": "limite_lin", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "LIM_ETAT", + "LIM_ETAT_ETRANGER" + ], + "paint": { + "line-color": "#D3C8E7", + "line-width": "10", + "line-cap": "round" + } + }, + { + "id": "limite etat 2", + "type": "line", + "source": "pyramide_proto", + "source-layer": "limite_lin", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "LIM_ETAT", + "LIM_ETAT_ETRANGER" + ], + "paint": { + "line-color": "#7F6EA0", + "line-width": "3", + "line-dasharray": [1, 1, 1, 1], + "line-cap": "round" + } + }, + { + "id": "cloture et limite militaire", + "type": "line", + "source": "pyramide_proto", + "source-layer": "limite_lin", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "CLOTURE", + "TRANCHEE", + "LAYON", + "LIM_ZONE_REGLEMENTEE", + "LIM_ENCEINTE_MILITAIRE", + "LIM_CHAMP_TIR" + ], + "paint": { + "line-color": "#000000", + "line-width": "2", + "line-dasharray": [0.5, 1], + "line-cap": "round" + } + }, + { + "id": "limite zone naturelle", + "type": "line", + "source": "pyramide_proto", + "source-layer": "limite_lin", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "LIM_FORET_DOMANIALE", + "LIM_PARC_NATUREL", + "LIM_PARC_NATUREL_MARIN", + "LIM_ZONE_PERI_PARC", + "LIM_ZONE_NATURELLE", + "LIM_PARCELLE_FOR" + ], + "paint": { + "line-color": "#257444", + "line-width": "4", + "line-dasharray": [1, 1], + "line-cap": "butt" + } + }, + { + "id": "ocs lineaire", + "type": "line", + "source": "pyramide_proto", + "source-layer": "ocs_lin", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "COULEE_EBOULIS", + "BARRE_ROCH_ISOLEE", + "CREVASSE", + "LIGNE_DESC_ZONE_ROCHEUSE" + ], + "paint": { + "line-color": "#000000", + "line-width": "1", + "line-dasharray": [5, 5], + "line-cap": "butt" + } + }, + { + "id": "bati surfacique fonctionnel", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BATI_COMMERCIAL", + "BATI_REMARQUABLE", + "BATI_TOURI_SURF", + "BATI_SUP_ROUTIER", + "BATI_INDUSTRIEL", + "BATI_SPORTIF", + "BATI_PUBLIC", + "MAIRIE", + "HANGAR", + "HANGAR_COMMERCIAL", + "HANGAR_INDUSTRIEL", + "HANGAR_PUBLIC" + ], + "paint": { + "fill-color": "#EFA5E4" + } + }, + { + "id": "bati surfacique quelqconque", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","BATI"], + "paint": { + "fill-color": "#C1A47D" + } + }, + { + "id": "cimetiere surfacique", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "CIMETIERE_SURF", + "CIM_MUSULMAN", + "CIM_ISRAELITE", + "CIMETIERE_MILI_SURF" + ], + "paint": { + "fill-color": "#BABABA" + } + }, + { + "id": "bati hydro surfacique", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "ECLUSE_SURF", + "BARRAGE_SURF", + "RESERVOIR_EAU_SURF", + "PECHERIE_SURF" + ], + "paint": { + "fill-color": "#5DAACC" + } + }, + { + "id": "bati infra surfacique", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "SERRE_SURF", + "SILO_SURF", + "RESERVOIR_INDUS_SURF", + "POSTE_ELEC_SURF" + ], + "paint": { + "fill-color": "#4C4C4C" + } + }, + { + "id": "bati religieux surfacique", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "EGLISE_SURF", + "SYNAGOGUE_SURF", + "MOSQUEE_SURF", + "AUTRE_CULTE_SURF" + ], + "paint": { + "fill-color": "#665A4C" + } + }, + { + "id": "bati remarquable surfacique", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "FORTIF_SURF", + "CHATEAU_SURF", + "TOUR_MOULIN_SURF", + "ARENE_THEATRE", + "ARC_TRIOMPHE", + "MONUMENT_SURF" + ], + "paint": { + "fill-color": "#D38A1D" + } + }, + { + "id": "bati sportif surfacique", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "TENNIS_SURF", + "SPORT_INDIF_SURF", + "FOOT_SURF", + "MULTI_SPORTS_SURF", + "PISTE_SPORT_SURF", + "NATATION_SURF" + ], + "paint": { + "fill-color": "#CFD646" + } + }, + { + "id": "bati transport surfacique", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "PISTE_DUR", + "PISTE_HERBE", + "BATI_GARE", + "BATI_PEAGE" + ], + "paint": { + "fill-color": "#808080" + } + }, + { + "id": "construction linéaire", + "type": "line", + "source": "pyramide_proto", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "RUINE_LIN", + "MUR", + "MUR_SOUTENEMENT", + "TERRASSE", + "MUR_PIERRES_SECHES" + ], + "paint": { + "line-color": "#000000", + "line-width": 1 + } + }, + { + "id": "construction hydrographique linéaire", + "type": "line", + "source": "pyramide_proto", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BARRAGE_LIN", + "PORTIQUE_PORTUAIRE", + "QUAI", + "DIGUE", + "PECHERIE_LIN", + "PECHE_AU_CARRELET" + ], + "paint": { + "line-color": "#0000FF", + "line-width": 2 + } + }, + { + "id": "autre construction linéaire", + "type": "line", + "source": "pyramide_proto", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "CABLE", + "REMONTEE_MEC", + "LIGNE_ELECTRIQUE", + "HYDROCARBURES", + "CONDUITE_MATIERES_P", + "PELOTE_BASQ_LIN", + "SPORT_MONTAGNE_LIN", + "PISTE_AERO_LIN" + ], + "paint": { + "line-color": "#808080", + "line-width": 1 + } + }, + { + "id": "bati ponctuel", + "type": "circle", + "source": "pyramide_proto", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "PREFECTURE", + "HOTEL_DE_REGION", + "ETABLISSEMENT", + "HOPITAL_PONC", + "BORNE", + "BORNE_FRONTIERE", + "MINE_SOUTERRAINE", + "STADE_PONC", + "CIMETIERE_MILI_PONC" + ], + "paint": { + "circle-radius" : 2, + "circle-color" : "#FF0000" + } + }, + { + "id": "bati ponctuel hydrographique", + "type": "circle", + "source": "pyramide_proto", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "PHARE", + "AMER", + "FEU", + "BALISE", + "ECLUSE_PONC", + "BARRAGE_PONC", + "CHATEAU_EAU_PONC", + "RESERVOIR_EAU_PONC", + "CITERNE", + "LAVOIR", + "USINE_TRAIT_DES_EAUX", + "STATION_DE_POMPAGE" + ], + "paint": { + "circle-radius" : 2, + "circle-color" : "#3DC8FF" + } + }, + { + "id": "bati ponctuel infrastructure", + "type": "circle", + "source": "pyramide_proto", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "SILO_PONC", + "ANTENNE", + "CONSTR_SPE_TECHNIQUE", + "EOLIENNE", + "RESERVOIR_PONC", + "CONSTR_INDIF_PONC", + "PYLONE_ELEC" + ], + "paint": { + "circle-radius" : 2, + "circle-color" : "#000000" + } + }, + { + "id": "bati ponctuel religieux", + "type": "circle", + "source": "pyramide_proto", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "CATHEDRALE_T", + "ABBAYE_T", + "EGLISE", + "EGLISE_T", + "CHAPELLE", + "CHAPELLE_T", + "SYNAGOGUE", + "MOSQUEE", + "AUTRE_CULTE", + "CLOCHER", + "MINARET", + "CROIX", + "CALVAIRE" + ], + "paint": { + "circle-radius": 4, + "circle-color": "#FFFFFF", + "circle-opacity": 1, + "circle-stroke-width": 1, + "circle-stroke-color": "#000000" + } + }, + { + "id": "bati ponctuel remarquable", + "type": "circle", + "source": "pyramide_proto", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "CHATEAU_OUV_T", + "CHATEAU_FER_T", + "CHATEAU_FOND_NT", + "BATI_TOURI_PONC_T", + "MAISON_DU_PARC_T", + "DOLMEN", + "HABITATION_TROGLO", + "MENHIR", + "MEGALITHE_T", + "RUINE_T", + "VESTIGE_T", + "EDIFICE_REMARQUABLE_T", + "SITE_REM_PONC_T", + "FORTIF_PONC", + "FORTIF_PONC_T", + "TOUR_MOULIN_PONC", + "MONUMENT_PONC" + ], + "paint": { + "circle-radius": 4, + "circle-color": "#FFFFFF", + "circle-stroke-width": 2, + "circle-stroke-color": "#FF4284" + } + }, + { + "id": "bati ponctuel transport", + "type": "circle", + "source": "pyramide_proto", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "AEROPORT_PONC", + "AERODROME_PONC", + "GARE_VOYAGEURS", + "GARE_NON_VOYAGEURS", + "AEROGARE" + ], + "paint": { + "circle-radius" : 2, + "circle-color" : "#000000" + } + }, + { + "id": "localité ponctuelle", + "type": "circle", + "source": "pyramide_proto", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","LOCALITE_PONC"], + "paint": { + "circle-radius": 4, + "circle-color": "#E2CFE6", + "circle-stroke-width": 2, + "circle-stroke-color": "#5A08A6" + } + }, + { + "id": "réseau hydro - cours d'eau souterrain", + "type": "line", + "source": "pyramide_proto", + "source-layer": "hydro_reseau_sou", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","COURS_D_EAU_SOU"], + "paint": { + "line-color": "#93D6E6", + "line-width": 3 + } + }, + { + "id": "réseau hydro - aqueduc souterrain", + "type": "line", + "source": "pyramide_proto", + "source-layer": "hydro_reseau_sou", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","AQUEDUC_SOU"], + "paint": { + "line-color": "#93D6E6", + "line-width": 4 + } + }, + { + "id": "Chemin souterrain - filet extérieur", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_chemin_sou", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "NON_REVETUE_CARRO_SOU", + "CHEMIN_SOU", + "ESCALIER_SOU", + "PISTE_CYCLABLE_SOU", + "SENTIER_SOU" + ], + "paint": { + "line-color": "#84785F", + "line-width": 2.5, + "line-dasharray": [2,1] + } + }, + { + "id": "Routier souterrain - filet extérieur - route locale et non classee", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_LOCALE_SOU", + "LOCALE_4_SOU", + "LOCALE_3_SOU", + "LOCALE_2_SOU", + "LOCALE_1_SOU", + "LOCALE_CONSTR_SOU", + "NON_CLASSEE_4_SOU", + "NON_CLASSEE_SOU", + "ROUTE_CONSTR_SOU" + ], + "paint": { + "line-color": "#A8A8A8", + "line-width": 4.5 + } + }, + { + "id": "Routier souterrain - filet extérieur - route regionale", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_REGIONALE_SOU", + "REGIONALE_4_SOU", + "REGIONALE_3_SOU", + "REGIONALE_2_SOU", + "REGIONALE_1_SOU", + "REGIONALE_CONSTR_SOU" + ], + "paint": { + "line-color": "#A8A8A8", + "line-width": 5 + } + }, + { + "id": "Routier souterrain - filet extérieur - route principale", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_PRINCIPALE_SOU", + "PRINCIPALE_4_SOU", + "PRINCIPALE_3_SOU", + "PRINCIPALE_2_SOU", + "PRINCIPALE_1_SOU", + "PRINCIPALE_CONSTR_SOU" + ], + "paint": { + "line-color": "#A8A8A8", + "line-width": 6 + } + }, + { + "id": "Routier souterrain - filet extérieur - bretelle autoroute", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_AUTO_PEAGE_3_SOU", + "BRET_AUTO_PEAGE_2_SOU", + "BRET_AUTO_PEAGE_1_SOU", + "BRET_AUTO_LIBRE_3_SOU", + "BRET_AUTO_LIBRE_2_SOU", + "BRET_AUTO_LIBRE_1_SOU" + ], + "paint": { + "line-color": "#A8A8A8", + "line-width": 5 + } + }, + { + "id": "Routier souterrain - filet extérieur - autoroute", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "AUTOROU_PEAGE_SOU", + "AUTOROU_LIBRE_SOU", + "AUTOROU_CONSTR_SOU" + ], + "paint": { + "line-color": "#A8A8A8", + "line-width": 7 + } + }, + { + "id": "Routier souterrain - filet interieur - route locale et non classee", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_LOCALE_SOU", + "LOCALE_4_SOU", + "LOCALE_3_SOU", + "LOCALE_2_SOU", + "LOCALE_1_SOU", + "LOCALE_CONSTR_SOU", + "NON_CLASSEE_4_SOU", + "NON_CLASSEE_SOU", + "ROUTE_CONSTR_SOU" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": 3.5 + } + }, + { + "id": "Routier souterrain - filet interieur - route regionale", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_REGIONALE_SOU", + "REGIONALE_4_SOU", + "REGIONALE_3_SOU", + "REGIONALE_2_SOU", + "REGIONALE_1_SOU", + "REGIONALE_CONSTR_SOU" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": 4 + } + }, + { + "id": "Routier souterrain - filet interieur - route principale", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_PRINCIPALE_SOU", + "PRINCIPALE_4_SOU", + "PRINCIPALE_3_SOU", + "PRINCIPALE_2_SOU", + "PRINCIPALE_1_SOU", + "PRINCIPALE_CONSTR_SOU" + ], + "paint": { + "line-color": "#FFEEA3", + "line-width": 5 + } + }, + { + "id": "Routier souterrain - filet interieur - bretelle autoroute", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_AUTO_PEAGE_3_SOU", + "BRET_AUTO_PEAGE_2_SOU", + "BRET_AUTO_PEAGE_1_SOU", + "BRET_AUTO_LIBRE_3_SOU", + "BRET_AUTO_LIBRE_2_SOU", + "BRET_AUTO_LIBRE_1_SOU", + "BRET_AUTO_PEAGE_SOU", + "BRET_AUTO_LIBRE_SOU" + ], + "paint": { + "line-color": "#F3CD79", + "line-width": 4 + } + }, + { + "id": "Routier souterrain - filet interieur - autoroute", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "AUTOROU_PEAGE_SOU", + "AUTOROU_LIBRE_SOU", + "AUTOROU_CONSTR_SOU" + ], + "paint": { + "line-color": "#F3CD79", + "line-width": 6 + } + }, + { + "id": "Routier souterrain - filet interieur - autoroute en construction", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","AUTOROU_CONSTR_SOU"], + "paint": { + "line-color": "#F3CD79", + "line-width": 6, + "line-dasharray": [2,2] + } + }, + { + "id": "Ferre souterrain - voie normale", + "type": "line", + "source": "pyramide_proto", + "source-layer": "ferre_sou", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "VF_1_SOU", + "VF_ELEC_1_SOU", + "FUNI_CREMAILLERE_SOU", + "TRANSPORT_URBAIN_SOU", + "VF_FERRO_ROUTIER_SOU" + ], + "paint": { + "line-color": "#929292", + "line-width": 2 + } + }, + { + "id": "Ferre souterrain - voie etroite", + "type": "line", + "source": "pyramide_proto", + "source-layer": "ferre_sou", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "VF_ETROITE_1_SOU", + "VF_SERVICE_SOU", + "VF_NON_EXPLOITEE_SOU" + ], + "paint": { + "line-color": "#929292", + "line-width": 1 + } + }, + { + "id": "réseau hydro - cours d'eau", + "type": "line", + "source": "pyramide_proto", + "source-layer": "hydro_reseau", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","COURS_D_EAU"], + "paint": { + "line-color": "#2BB3E1", + "line-width": 3 + } + }, + { + "id": "réseau hydro - cours d'eau temporaire", + "type": "line", + "source": "pyramide_proto", + "source-layer": "hydro_reseau", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","COURS_D_EAU_TEMP"], + "paint": { + "line-color": "#2BB3E1", + "line-width": 3, + "line-dasharray": [3,2] + } + }, + { + "id": "réseau hydro - canal/aqueduc", + "type": "line", + "source": "pyramide_proto", + "source-layer": "hydro_reseau", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo","CANAL","AQUEDUC_AU_SOL"], + "paint": { + "line-color": "#2BB3E1", + "line-width": 4 + } + }, + { + "id": "réseau hydro - cours d'eau moyen ", + "type": "line", + "source": "pyramide_proto", + "source-layer": "hydro_reseau", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","COURS_D_EAU_MOY"], + "paint": { + "line-color": "#2BB3E1", + "line-width": 5 + } + }, + { + "id": "réseau hydro - cours d'eau moyen temporaire", + "type": "line", + "source": "pyramide_proto", + "source-layer": "hydro_reseau", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","COURS_D_EAU_TEMP_MOY"], + "paint": { + "line-color": "#2BB3E1", + "line-width": 5, + "line-dasharray": [5,3] + } + }, + { + "id": "hydro - laisse", + "type": "line", + "source": "pyramide_proto", + "source-layer": "hydro_laisse", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "LAISSE_HAUTES_MERS", + "LAISSE_BASSES_MERS" + ], + "paint": { + "line-color": "#1C6D96", + "line-width": 2 + } + }, + { + "id": "Chemin a niveau - filet extérieur", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_chemin", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "NON_REVETUE_CARRO", + "CHEMIN", + "ESCALIER", + "PISTE_CYCLABLE", + "SENTIER" + ], + "paint": { + "line-color": "#84785F", + "line-width": 2.5 + } + }, + { + "id": "Routier a niveau - filet extérieur - route locale et non classee", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_LOCALE", + "LOCALE_4", + "LOCALE_3", + "LOCALE_2", + "LOCALE_1", + "LOCALE_CONSTR", + "NON_CLASSEE_4", + "NON_CLASSEE", + "ROUTE_CONSTR" + ], + "paint": { + "line-color": "#808080", + "line-width": 4.5 + } + }, + { + "id": "Routier a niveau - filet extérieur - route regionale", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_REGIONALE", + "REGIONALE_4", + "REGIONALE_3", + "REGIONALE_2", + "REGIONALE_1", + "REGIONALE_CONSTR" + ], + "paint": { + "line-color": "#808080", + "line-width": 5 + } + }, + { + "id": "Routier a niveau - filet extérieur - route principale", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_PRINCIPALE", + "PRINCIPALE_4", + "PRINCIPALE_3", + "PRINCIPALE_2", + "PRINCIPALE_1", + "PRINCIPALE_CONSTR" + ], + "paint": { + "line-color": "#808080", + "line-width": 6 + } + }, + { + "id": "Routier a niveau - filet extérieur - bretelle autoroute", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_AUTO_PEAGE_3", + "BRET_AUTO_PEAGE_2", + "BRET_AUTO_PEAGE_1", + "BRET_AUTO_LIBRE_3", + "BRET_AUTO_LIBRE_2", + "BRET_AUTO_LIBRE_1" + ], + "paint": { + "line-color": "#808080", + "line-width": 5 + } + }, + { + "id": "Routier a niveau - filet extérieur - autoroute", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "AUTOROU_PEAGE", + "AUTOROU_LIBRE", + "AUTOROU_CONSTR" + ], + "paint": { + "line-color": "#808080", + "line-width": 7 + } + }, + { + "id": "Routier a niveau - filet interieur - route locale et non classee", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_LOCALE", + "LOCALE_4", + "LOCALE_3", + "LOCALE_2", + "LOCALE_1", + "LOCALE_CONSTR", + "NON_CLASSEE_4", + "NON_CLASSEE", + "ROUTE_CONSTR" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": 3.5 + } + }, + { + "id": "Routier a niveau - filet interieur - route regionale", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_REGIONALE", + "REGIONALE_4", + "REGIONALE_3", + "REGIONALE_2", + "REGIONALE_1", + "REGIONALE_CONSTR" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": 4 + } + }, + { + "id": "Routier a niveau - filet interieur - route principale", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_PRINCIPALE", + "PRINCIPALE_4", + "PRINCIPALE_3", + "PRINCIPALE_2", + "PRINCIPALE_1", + "PRINCIPALE_CONSTR" + ], + "paint": { + "line-color": "#FFE16A", + "line-width": 5 + } + }, + { + "id": "Routier a niveau - filet interieur - bretelle autoroute", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_AUTO_PEAGE_3", + "BRET_AUTO_PEAGE_2", + "BRET_AUTO_PEAGE_1", + "BRET_AUTO_LIBRE_3", + "BRET_AUTO_LIBRE_2", + "BRET_AUTO_LIBRE_1", + "BRET_AUTO_PEAGE", + "BRET_AUTO_LIBRE" + ], + "paint": { + "line-color": "#F3AF6A", + "line-width": 4 + } + }, + { + "id": "Routier a niveau - filet interieur - autoroute", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "AUTOROU_PEAGE", + "AUTOROU_LIBRE", + "AUTOROU_CONSTR" + ], + "paint": { + "line-color": "#F3AF6A", + "line-width": 6 + } + }, + { + "id": "Routier a niveau - filet interieur - autoroute en construction", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","AUTOROU_CONSTR"], + "paint": { + "line-color": "#F3AF6A", + "line-width": 6, + "line-dasharray": [2,2] + } + }, + { + "id": "Ferre a niveau - voie normale", + "type": "line", + "source": "pyramide_proto", + "source-layer": "ferre", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "VF_1", + "VF_2", + "VF_3", + "VF_4", + "VF_ELEC_1", + "VF_ELEC_2", + "VF_ELEC_3", + "VF_ELEC_4", + "FUNI_CREMAILLERE", + "TRANSPORT_URBAIN" + ], + "paint": { + "line-color": "#585858", + "line-width": 2 + } + }, + { + "id": "Ferre a niveau - voie etroite", + "type": "line", + "source": "pyramide_proto", + "source-layer": "ferre", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "VF_ETROITE_1", + "VF_ETROITE_2", + "VF_SERVICE", + "VF_NON_EXPLOITEE" + ], + "paint": { + "line-color": "#585858", + "line-width": 1 + } + }, + { + "id": "Ferre a niveau - voie en construction", + "type": "line", + "source": "pyramide_proto", + "source-layer": "ferre", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","VF_EN_CONSTR"], + "paint": { + "line-color": "#585858", + "line-width": 2, + "line-dasharray": [2,1] + } + }, + { + "id": "liaison routiere", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_liaison", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "GUE_ROUTE", + "GUE_CHEMIN", + "BAC_AUTO", + "BAC_PIETON", + "PONT_PASSERELLE", + "VIADUC", + "LIAISON_MARITIME" + ], + "paint": { + "line-color": "#1C6D96", + "line-width": 4 + } + }, + { + "id": "Routier surfacique", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "routier_surf", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "SURF_PEAGE", + "SURF_ROUT_PRINC", + "SURF_ROUTE_REG", + "SURF_ROUT_LOC", + "SURF_ROUT_NON_CLA", + "ESCALIER_SURF", + "DALLE_DE_PROTECTION"], + "paint": { + "fill-color": "#FFFFFF", + "fill-outline-color": "#000000" + } + }, + { + "id": "réseau hydro - canal/aqueduc superieur", + "type": "line", + "source": "pyramide_proto", + "source-layer": "hydro_reseau_sup", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo","CANAL_SUP","AQUEDUC_SUP"], + "paint": { + "line-color": "#2BB3E1", + "line-width": 4 + } + }, + { + "id": "Chemin superieur - filet extérieur", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_chemin_sup", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "NON_REVETUE_CARRO_SUP", + "CHEMIN_SUP", + "ESCALIER_SUP", + "PISTE_CYCLABLE_SUP", + "SENTIER_SUP" + ], + "paint": { + "line-color": "#84785F", + "line-width": 2.5 + } + }, + { + "id": "Routier superieur - filet extérieur - route locale et non classee", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_LOCALE_SUP", + "LOCALE_4_SUP", + "LOCALE_3_SUP", + "LOCALE_2_SUP", + "LOCALE_1_SUP", + "LOCALE_CONSTR_SUP", + "NON_CLASSEE_4_SUP", + "NON_CLASSEE_SUP", + "ROUTE_CONSTR_SUP" + ], + "paint": { + "line-color": "#808080", + "line-width": 4.5 + } + }, + { + "id": "Routier superieur - filet extérieur - route regionale", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_REGIONALE_SUP", + "REGIONALE_4_SUP", + "REGIONALE_3_SUP", + "REGIONALE_2_SUP", + "REGIONALE_1_SUP", + "REGIONALE_CONSTR_SUP" + ], + "paint": { + "line-color": "#808080", + "line-width": 5 + } + }, + { + "id": "Routier superieur - filet extérieur - route principale", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_PRINCIPALE_SUP", + "PRINCIPALE_4_SUP", + "PRINCIPALE_3_SUP", + "PRINCIPALE_2_SUP", + "PRINCIPALE_1_SUP", + "PRINCIPALE_CONSTR_SUP" + ], + "paint": { + "line-color": "#808080", + "line-width": 6 + } + }, + { + "id": "Routier superieur - filet extérieur - bretelle autoroute", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_AUTO_PEAGE_3_SUP", + "BRET_AUTO_PEAGE_2_SUP", + "BRET_AUTO_PEAGE_1_SUP", + "BRET_AUTO_LIBRE_3_SUP", + "BRET_AUTO_LIBRE_2_SUP", + "BRET_AUTO_LIBRE_1_SUP" + ], + "paint": { + "line-color": "#808080", + "line-width": 5 + } + }, + { + "id": "Routier superieur - filet extérieur - autoroute", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "AUTOROU_PEAGE_SUP", + "AUTOROU_LIBRE_SUP", + "AUTOROU_CONSTR_SUP" + ], + "paint": { + "line-color": "#808080", + "line-width": 7 + } + }, + { + "id": "Routier superieur - filet interieur - route locale et non classee", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_LOCALE_SUP", + "LOCALE_4_SUP", + "LOCALE_3_SUP", + "LOCALE_2_SUP", + "LOCALE_1_SUP", + "LOCALE_CONSTR_SUP", + "NON_CLASSEE_4_SUP", + "NON_CLASSEE_SUP", + "ROUTE_CONSTR_SUP" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": 3.5 + } + }, + { + "id": "Routier superieur - filet interieur - route regionale", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_REGIONALE_SUP", + "REGIONALE_4_SUP", + "REGIONALE_3_SUP", + "REGIONALE_2_SUP", + "REGIONALE_1_SUP", + "REGIONALE_CONSTR_SUP" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": 4 + } + }, + { + "id": "Routier superieur - filet interieur - route principale", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_PRINCIPALE_SUP", + "PRINCIPALE_4_SUP", + "PRINCIPALE_3_SUP", + "PRINCIPALE_2_SUP", + "PRINCIPALE_1_SUP", + "PRINCIPALE_CONSTR_SUP" + ], + "paint": { + "line-color": "#FFE16A", + "line-width": 5 + } + }, + { + "id": "Routier superieur - filet interieur - bretelle autoroute", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "BRET_AUTO_PEAGE_3_SUP", + "BRET_AUTO_PEAGE_2_SUP", + "BRET_AUTO_PEAGE_1_SUP", + "BRET_AUTO_LIBRE_3_SUP", + "BRET_AUTO_LIBRE_2_SUP", + "BRET_AUTO_LIBRE_1_SUP", + "BRET_AUTO_PEAGE_SUP", + "BRET_AUTO_LIBRE_SUP" + ], + "paint": { + "line-color": "#F3AF6A", + "line-width": 4 + } + }, + { + "id": "Routier superieur - filet interieur - autoroute", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "AUTOROU_PEAGE_SUP", + "AUTOROU_LIBRE_SUP", + "AUTOROU_CONSTR_SUP" + ], + "paint": { + "line-color": "#F3AF6A", + "line-width": 6 + } + }, + { + "id": "Routier superieur - filet interieur - autoroute en construction", + "type": "line", + "source": "pyramide_proto", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","AUTOROU_CONSTR_SUP"], + "paint": { + "line-color": "#F3AF6A", + "line-width": 6, + "line-dasharray": [2,2] + } + }, + { + "id": "Ferre superieur - voie normale", + "type": "line", + "source": "pyramide_proto", + "source-layer": "ferre_sup", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "VF_1_SUP", + "VF_ELEC_1_SUP", + "FUNI_CREMAILLERE_SUP", + "TRANSPORT_URBAIN_SUP" + ], + "paint": { + "line-color": "#585858", + "line-width": 2 + } + }, + { + "id": "Ferre superieur - voie etroite", + "type": "line", + "source": "pyramide_proto", + "source-layer": "ferre_sup", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "VF_ETROITE_1_SUP", + "VF_SERVICE_SUP", + "VF_NON_EXPLOITEE_SUP" + ], + "paint": { + "line-color": "#585858", + "line-width": 1 + } + }, + { + "id": "Ferre superieur - voie en construction", + "type": "line", + "source": "pyramide_proto", + "source-layer": "ferre_sup", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","VF_EN_CONSTR_SUP"], + "paint": { + "line-color": "#585858", + "line-width": 2, + "line-dasharray": [2,1] + } + }, + { + "id": "routier ponctuel - peage ponctuel", + "type": "circle", + "source": "pyramide_proto", + "source-layer": "routier_ponc", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","PEAGE_PONC"], + "paint": { + "circle-radius": 4.5, + "circle-color": "#156AF2" + } + }, + { + "id": "routier ponctuel - rond-point", + "type": "circle", + "source": "pyramide_proto", + "source-layer": "routier_ponc", + "layout": { + "visibility": "visible" + }, + "filter": ["==","symbo","ROND_POINT_PONC"], + "paint": { + "circle-radius": 4.5, + "circle-color": "#FFFFFF", + "circle-stroke-width": 2, + "circle-stroke-color": "#808080" + } + }, + { + "id": "hydro ponctuel", + "type": "circle", + "source": "pyramide_proto", + "source-layer": "hydro_ponc", + "layout": { + "visibility": "visible" + }, + "filter": ["in","symbo", + "FONTAINE", + "POINT_D_EAU", + "SOURCE", + "SOURCE_CAPTEE", + "PERTE", + "RESURGENCE", + "CASCADE" + ], + "paint": { + "circle-radius": 3, + "circle-color": "#2BB3E1" + } + }, + + + + + + + + + + { + "id": "INCA:n0_routier_auto", + "type": "line", + "source": "pyramide_proto", + "source-layer": "n0_routier_auto", + "minzoom": 12, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(216, 50, 154, 1)", + "line-width": 10 + } + }, + { + "id": "INCA:n10_bati_surf", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "n10_bati_surf", + "minzoom": 12, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "rgba(128, 128, 128, 1)", + "fill-opacity": 0.3 + } + }, + { + "id": "INCA:n10_routier_route", + "type": "line", + "source": "pyramide_proto", + "source-layer": "n10_routier_route", + "minzoom": 12, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(128, 128, 128, 1)", + "line-width": 1 + } + }, + { + "id": "INCA:n10_routier_auto", + "type": "line", + "source": "pyramide_proto", + "source-layer": "n10_routier_auto", + "minzoom": 12, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(128, 128, 128, 1)", + "line-width": 3 + } + }, + { + "id": "INCA:n99_oro_relief_0", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "n99_oro_relief_0", + "minzoom": 1, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "#D6E5BA", + "fill-opacity": 1 + } + }, + { + "id": "INCA:n99_oro_relief_100", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "n99_oro_relief_100", + "minzoom": 1, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "#F7F2DA", + "fill-opacity": 1 + } + }, + { + "id": "INCA:n99_oro_relief_200", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "n99_oro_relief_200", + "minzoom": 1, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "#EBDEBF", + "fill-opacity": 1 + } + }, + { + "id": "INCA:n99_oro_relief_1000", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "n99_oro_relief_1000", + "minzoom": 1, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "#CCA37F", + "fill-opacity": 1 + } + }, + { + "id": "INCA:n99_oro_relief_3000", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "n99_oro_relief_3000", + "minzoom": 1, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "#A88575", + "fill-opacity": 1 + } + }, + { + "id": "INCA:n99_oro_relief_4000", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "n99_oro_relief_4000", + "minzoom": 1, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "#8F522B", + "fill-opacity": 1 + } + }, + { + "id": "INCA:n99_oro_relief_5000", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "n99_oro_relief_5000", + "minzoom": 1, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "#732600", + "fill-opacity": 1 + } + }, + { + "id": "INCA:n99_oro_glacier", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "n99_oro_glacier", + "minzoom": 1, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "#FFFFFF", + "fill-opacity": 1 + } + }, + { + "id": "INCA:n99_hydro_mer_ocean", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "n99_hydro_mer_ocean", + "minzoom": 1, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "#94EFEB", + "fill-opacity": 1 + } + }, + { + "id": "INCA:n99_hydro_surf", + "type": "fill", + "source": "pyramide_proto", + "source-layer": "n99_hydro_surf", + "minzoom": 1, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "#94EFEB", + "fill-opacity": 1 + } + } + ] +} diff --git a/src/Itowns/GlobeViewExtended.js b/src/Itowns/GlobeViewExtended.js index f2cee4b36..0a79c8d70 100644 --- a/src/Itowns/GlobeViewExtended.js +++ b/src/Itowns/GlobeViewExtended.js @@ -4,6 +4,7 @@ import { Coordinates as ItCoordinates, ColorLayersOrdering as ItColorLayersOrdering, FeaturesUtils as ItFeaturesUtils, + Fetcher as ItParser, MAIN_LOOP_EVENTS as IT_MAIN_LOOP_EVENTS, CONTROL_EVENTS as IT_CONTROL_EVENTS, GLOBE_VIEW_EVENTS as IT_GLOBE_VIEW_EVENTS, @@ -781,6 +782,13 @@ GlobeViewExtended.prototype.lookAt = function (target) { this.getGlobeView().camera.camera3D.lookAt(target); }; +/** + * Notifies the scene it needs to be updated + */ +GlobeViewExtended.prototype.parseMapboxStyle = function (styleUrl) { + return ItParser.json(styleUrl); +}; + /** * Notifies the scene it needs to be updated */ diff --git a/src/Itowns/Layer/VectorTileLayer.js b/src/Itowns/Layer/VectorTileLayer.js new file mode 100644 index 000000000..cfc0650b1 --- /dev/null +++ b/src/Itowns/Layer/VectorTileLayer.js @@ -0,0 +1,88 @@ +import Logger from "../../Common/Utils/LoggerByDefault"; +import Config from "../../Common/Utils/Config"; + +import { + VectorTilesSource as ItVectorTilesSource, + ColorLayer as ItColorLayer +} from "itowns"; +/* import Extent from "itowns/Core/Geographic/Extent"; +import WMSSource from "itowns/Source/WMSSource"; +import ColorLayer from "itowns/Layer/ColorLayer"; */ + +var logger = Logger.getLogger("vectorTileLayer"); + +/** + * @classdesc + * Geoportal WMTS source creation + * + * @constructor + * @alias itowns.layer.VectorTileLayer + * @param {Object} options - options for function call. + * @param {String} options.id - id to give to the layer + * @param {String} options.layer - Layer name (e.g. "PLAN.IGN") + * @param {String} [options.url] - Url to the vector Tile json style + * @param {String} [options.urlService] - Url to the pbf file. Retrieved in the style file by default. + * @param {Function} [options.filter] - Filter applied to the vector layer style. Fill/Line layer type by default. + * @param {Object} [options.attributions] - Attributions of the layer. + * @param {Object} [options.zoom] - Between which zoom levels the layer is displayed (zoom.min and zoom.max) + * @example + * var vectorTileLayer = new itowns.layer.VectorTileLayer({ + * layer : "PLAN.IGN" + * }); + */ +function VectorTileLayer (options) { + if (!(this instanceof VectorTileLayer)) { + throw new TypeError("ERROR CLASS_CONSTRUCTOR"); + } + + // check layer params + if (!options.layer) { + throw new Error("ERROR PARAM_MISSING : layer"); + } + if (typeof options.layer !== "string") { + throw new Error("ERROR WRONG TYPE : layer"); + } + + // Check if configuration is loaded + if (!Config.isConfigLoaded()) { + throw new Error("ERROR : contract key configuration has to be loaded to load Geoportal layers. See http://ignf.github.io/evolution-apigeoportail/ol3/ol3-autoconf.html"); + } + + var layerId = Config.getLayerId(options.layer, "TMS"); + + if (layerId && Config.configuration.getLayerConf(layerId)) { + var config = {}; + var tmsParams = Config.getLayerParams(options.layer, "TMS", options.apiKey); + + // si ssl = false on fait du http + // par défaut, ssl = true, on fait du https + var protocol = options.ssl === false ? "http://" : "https://"; + + config.id = layerId; + + config.source = new ItVectorTilesSource({ + style: tmsParams.url.replace(/(http|https):\/\//, protocol), + url: options.urlService, + attribution: options.attributions, + filter: options.filter || function (layer) { return ['fill', 'line'].includes(layer.type) }, + zoom: options.zoom + }); + + // FIXME wait for next itowns release to remove this + config.isValidData = function() { + return false; + }; + + return new ItColorLayer(config.id, config); + } else { + // If layer is not in Gp.Config + logger.error("ERROR layer id (layer name: " + options.layer + " / service: TMS ) was not found !?"); + } +}; + +/* + * Constructor (alias) + */ +VectorTileLayer.prototype.constructor = VectorTileLayer; + +export default VectorTileLayer; diff --git a/src/Itowns/index.js b/src/Itowns/index.js index 430b8a83b..7c3404499 100644 --- a/src/Itowns/index.js +++ b/src/Itowns/index.js @@ -46,6 +46,7 @@ import MiniGlobe from "./Controls/MiniGlobe"; import GeoportalWMTS from "./Layer/LayerWMTS"; import GeoportalWMS from "./Layer/LayerWMS"; import GeoportalElevation from "./Layer/LayerElevation"; +import VectorTileLayer from "./Layer/VectorTileLayer"; import GlobeViewExtended from "./GlobeViewExtended"; import CRS from "./CRS/CRS"; @@ -131,6 +132,7 @@ Itowns.layer = {}; Itowns.layer.GeoportalWMTS = GeoportalWMTS; Itowns.layer.GeoportalWMS = GeoportalWMS; Itowns.layer.GeoportalElevation = GeoportalElevation; +Itowns.layer.VectorTileLayer = VectorTileLayer; Itowns.CRS = CRS; Itowns.GlobeViewExtended = GlobeViewExtended;