diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 00000000..61e63309 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,16 @@ +{ + "useTabs": false, + "tabWidth": 4, + "singleQuote": true, + "trailingComma": "es5", + "printWidth": 100, + "overrides": [ + { + "files": "**/*.svelte", + "options": { + "plugins": ["prettier-plugin-svelte"], + "parser": "svelte" + } + } + ] +} diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..a5be7dbe --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,7 @@ +{ + "recommendations": [ + "esbenp.prettier-vscode", + "svelte.svelte-vscode" + ] + } + \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..acd79a3c --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,13 @@ +{ + "editor.formatOnSave": true, + "[javascript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[typescript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[svelte]": { + "editor.defaultFormatter": "svelte.svelte-vscode" + } + } + \ No newline at end of file diff --git a/gpx/.prettierignore b/gpx/.prettierignore new file mode 100644 index 00000000..483a9c42 --- /dev/null +++ b/gpx/.prettierignore @@ -0,0 +1 @@ +package-lock.json \ No newline at end of file diff --git a/gpx/package-lock.json b/gpx/package-lock.json index 4df421e0..c56134a1 100644 --- a/gpx/package-lock.json +++ b/gpx/package-lock.json @@ -16,6 +16,8 @@ "devDependencies": { "@types/geojson": "^7946.0.14", "@types/node": "^20.16.10", + "@typescript-eslint/parser": "^8.22.0", + "prettier": "^3.4.2", "typescript": "^5.6.2" } }, @@ -30,6 +32,266 @@ "node": ">=12" } }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz", + "integrity": "sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "license": "Apache-2.0", + "peer": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", + "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/config-array": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.19.2.tgz", + "integrity": "sha512-GNKqxfHG2ySmJOBSHg7LxeUx4xpuCoFjacmlCoYWEbaPXLwvfIjixRI12xCQZeULksQb23uiA8F40w5TojpV7w==", + "dev": true, + "license": "Apache-2.0", + "peer": true, + "dependencies": { + "@eslint/object-schema": "^2.1.6", + "debug": "^4.3.1", + "minimatch": "^3.1.2" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/config-array/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/@eslint/config-array/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "peer": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/@eslint/core": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.10.0.tgz", + "integrity": "sha512-gFHJ+xBOo4G3WRlR1e/3G8A6/KZAH6zcE/hkLRCZTi/B9avAG365QhFA8uOGzTMqgTghpn7/fSnscW++dpMSAw==", + "dev": true, + "license": "Apache-2.0", + "peer": true, + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.2.0.tgz", + "integrity": "sha512-grOjVNN8P3hjJn/eIETF1wwd12DdnwFDoyceUJLYYdkpbwq3nLi+4fqrTAONx7XDALqlL220wC/RHSC/QTI/0w==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^10.0.1", + "globals": "^14.0.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/@eslint/eslintrc/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "peer": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/@eslint/js": { + "version": "9.19.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.19.0.tgz", + "integrity": "sha512-rbq9/g38qjfqFLOVPvwjIvFFdNziEC5S65jmjPw5r6A//QH+W91akh9irMwjDN8zKUTak6W9EsAv4m/7Wnw0UQ==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/object-schema": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.6.tgz", + "integrity": "sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==", + "dev": true, + "license": "Apache-2.0", + "peer": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.5.tgz", + "integrity": "sha512-lB05FkqEdUg2AA0xEbUz0SnkXT1LcCTa438W4IWTUh4hdOnVbQyOJ81OrDXsJk/LSiJHubgGEFoR5EHq1NsH1A==", + "dev": true, + "license": "Apache-2.0", + "peer": true, + "dependencies": { + "@eslint/core": "^0.10.0", + "levn": "^0.4.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@humanfs/core": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", + "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==", + "dev": true, + "license": "Apache-2.0", + "peer": true, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node": { + "version": "0.16.6", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz", + "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==", + "dev": true, + "license": "Apache-2.0", + "peer": true, + "dependencies": { + "@humanfs/core": "^0.19.1", + "@humanwhocodes/retry": "^0.3.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz", + "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==", + "dev": true, + "license": "Apache-2.0", + "peer": true, + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "license": "Apache-2.0", + "peer": true, + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/retry": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.1.tgz", + "integrity": "sha512-c7hNEllBlenFTHBky65mhq8WD2kbN9Q6gk0bTk8lSBvc554jpXSkST1iePudpt7+A/AQvuHs9EMqjHDXMY1lrA==", + "dev": true, + "license": "Apache-2.0", + "peer": true, + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, "node_modules/@jridgewell/resolve-uri": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", @@ -52,6 +314,44 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/@tsconfig/node10": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz", @@ -72,12 +372,28 @@ "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==" }, + "node_modules/@types/estree": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/@types/geojson": { "version": "7946.0.14", "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.14.tgz", "integrity": "sha512-WCfD5Ht3ZesJUsONdhvm84dmzWOiOzOAqOncN0++w0lBw1o8OuDNJF2McvvCef/yBqb/HYRahp1BYtODFQ8bRg==", "dev": true }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/@types/node": { "version": "20.16.10", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.10.tgz", @@ -86,10 +402,113 @@ "undici-types": "~6.19.2" } }, + "node_modules/@typescript-eslint/parser": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.22.0.tgz", + "integrity": "sha512-MqtmbdNEdoNxTPzpWiWnqNac54h8JDAmkWtJExBVVnSrSmi9z+sZUt0LfKqk9rjqmKOIeRhO4fHHJ1nQIjduIQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/scope-manager": "8.22.0", + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/typescript-estree": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.22.0.tgz", + "integrity": "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/types": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.22.0.tgz", + "integrity": "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.22.0.tgz", + "integrity": "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^2.0.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <5.8.0" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.22.0.tgz", + "integrity": "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.22.0", + "eslint-visitor-keys": "^4.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, "node_modules/acorn": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", - "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", + "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", + "license": "MIT", "bin": { "acorn": "bin/acorn" }, @@ -97,6 +516,17 @@ "node": ">=0.4.0" } }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "license": "MIT", + "peer": true, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, "node_modules/acorn-walk": { "version": "8.3.4", "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", @@ -108,16 +538,190 @@ "node": ">=0.4.0" } }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, "node_modules/arg": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==" }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0", + "peer": true + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/create-require": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==" }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/debug": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/diff": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", @@ -126,6 +730,261 @@ "node": ">=0.3.1" } }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "9.19.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.19.0.tgz", + "integrity": "sha512-ug92j0LepKlbbEv6hD911THhoRHmbdXt2gX+VDABAW/Ir7D3nqKdv5Pf5vtlyY6HQMTEP2skXY43ueqTCWssEA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.12.1", + "@eslint/config-array": "^0.19.0", + "@eslint/core": "^0.10.0", + "@eslint/eslintrc": "^3.2.0", + "@eslint/js": "9.19.0", + "@eslint/plugin-kit": "^0.2.5", + "@humanfs/node": "^0.16.6", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.4.1", + "@types/estree": "^1.0.6", + "@types/json-schema": "^7.0.15", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.6", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^8.2.0", + "eslint-visitor-keys": "^4.2.0", + "espree": "^10.3.0", + "esquery": "^1.5.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^8.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } + } + }, + "node_modules/eslint-scope": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.2.0.tgz", + "integrity": "sha512-PHlWUfG6lvPc3yvP5A4PNyBL1W8fkDUccmI21JUu/+GKZBoH/W5u6usENXUrWFRsyoW5ACUjFGgAFQp5gUlb/A==", + "dev": true, + "license": "BSD-2-Clause", + "peer": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/eslint/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "peer": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/espree": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.3.0.tgz", + "integrity": "sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==", + "dev": true, + "license": "BSD-2-Clause", + "peer": true, + "dependencies": { + "acorn": "^8.14.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", + "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", + "dev": true, + "license": "BSD-3-Clause", + "peer": true, + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "license": "BSD-2-Clause", + "peer": true, + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "license": "BSD-2-Clause", + "peer": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "license": "BSD-2-Clause", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/fast-glob": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.8" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/fast-xml-parser": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.5.0.tgz", @@ -147,6 +1006,134 @@ "fxparser": "src/cli/cli.js" } }, + "node_modules/fastq": { + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.0.tgz", + "integrity": "sha512-7SFSRCNjBQIZH/xZR3iy5iQYR8aGBE0h3VG6/cwlbrpdciNYBMotQav8c1XI3HjHH+NikUpP53nPdlZSdWmFzA==", + "dev": true, + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/file-entry-cache": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "flat-cache": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/flatted": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.2.tgz", + "integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==", + "dev": true, + "license": "ISC", + "peer": true + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "license": "ISC", + "peer": true, + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/globals": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">= 4" + } + }, "node_modules/immer": { "version": "10.1.1", "resolved": "https://registry.npmjs.org/immer/-/immer-10.1.1.tgz", @@ -156,16 +1143,529 @@ "url": "https://opencollective.com/immer" } }, + "node_modules/import-fresh": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC", + "peer": true + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/make-error": { "version": "1.3.6", "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==" }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prettier": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/semver": { + "version": "7.7.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.0.tgz", + "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/strnum": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.0.5.tgz", "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==" }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/ts-api-utils": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.1.tgz", + "integrity": "sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + } + }, "node_modules/ts-node": { "version": "10.9.2", "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", @@ -208,6 +1708,20 @@ } } }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, "node_modules/typescript": { "version": "5.6.2", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", @@ -225,11 +1739,50 @@ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==" }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "license": "BSD-2-Clause", + "peer": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, "node_modules/v8-compile-cache-lib": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==" }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "peer": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/yn": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", @@ -237,6 +1790,20 @@ "engines": { "node": ">=6" } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } } } } diff --git a/gpx/package.json b/gpx/package.json index 340c6adf..41e17311 100644 --- a/gpx/package.json +++ b/gpx/package.json @@ -18,10 +18,14 @@ "devDependencies": { "@types/geojson": "^7946.0.14", "@types/node": "^20.16.10", + "@typescript-eslint/parser": "^8.22.0", + "prettier": "^3.4.2", "typescript": "^5.6.2" }, "scripts": { "build": "tsc", - "postinstall": "npm run build" + "postinstall": "npm run build", + "lint": "prettier --check . && eslint .", + "format": "prettier --write ." } } diff --git a/gpx/src/gpx.ts b/gpx/src/gpx.ts index 567655b9..e47bfa37 100644 --- a/gpx/src/gpx.ts +++ b/gpx/src/gpx.ts @@ -1,6 +1,20 @@ -import { ramerDouglasPeucker } from "./simplify"; -import { Coordinates, GPXFileAttributes, GPXFileType, LineStyleExtension, Link, Metadata, RouteType, TrackExtensions, TrackPointExtensions, TrackPointType, TrackSegmentType, TrackType, WaypointType } from "./types"; -import { immerable, isDraft, original, freeze } from "immer"; +import { ramerDouglasPeucker } from './simplify'; +import { + Coordinates, + GPXFileAttributes, + GPXFileType, + LineStyleExtension, + Link, + Metadata, + RouteType, + TrackExtensions, + TrackPointExtensions, + TrackPointType, + TrackSegmentType, + TrackType, + WaypointType, +} from './types'; +import { immerable, isDraft, original, freeze } from 'immer'; function cloneJSON(obj: T): T { if (obj === null || typeof obj !== 'object') { @@ -23,7 +37,11 @@ export abstract class GPXTreeElement> { abstract getSegments(): TrackSegment[]; abstract getTrackPoints(): TrackPoint[]; - abstract toGeoJSON(): GeoJSON.Feature | GeoJSON.Feature[] | GeoJSON.FeatureCollection | GeoJSON.FeatureCollection[]; + abstract toGeoJSON(): + | GeoJSON.Feature + | GeoJSON.Feature[] + | GeoJSON.FeatureCollection + | GeoJSON.FeatureCollection[]; // Producers abstract _reverse(originalNextTimestamp?: Date, newPreviousTimestamp?: Date); @@ -82,7 +100,8 @@ abstract class GPXTreeNode> extends GPXTreeElement this.children.reverse(); for (let i = 0; i < og.children.length; i++) { - let originalStartTimestamp = og.children[og.children.length - i - 1].getStartTimestamp(); + let originalStartTimestamp = + og.children[og.children.length - i - 1].getStartTimestamp(); this.children[i]._reverse(originalNextTimestamp, newPreviousTimestamp); @@ -113,18 +132,18 @@ export class GPXFile extends GPXTreeNode { trk: Track[]; rte: RouteType[]; - constructor(gpx?: GPXFileType & { _data?: any } | GPXFile) { + constructor(gpx?: (GPXFileType & { _data?: any }) | GPXFile) { super(); if (gpx) { - this.attributes = gpx.attributes + this.attributes = gpx.attributes; this.metadata = gpx.metadata ?? {}; this.metadata.author = { name: 'gpx.studio', link: { attributes: { href: 'https://gpx.studio', - } - } + }, + }, }; this.wpt = gpx.wpt ? gpx.wpt.map((waypoint) => new Waypoint(waypoint)) : []; this.trk = gpx.trk ? gpx.trk.map((track) => new Track(track)) : []; @@ -177,7 +196,9 @@ export class GPXFile extends GPXTreeNode { return this.trk[trackIndex].children[segmentIndex]; } - forEachSegment(callback: (segment: TrackSegment, trackIndex: number, segmentIndex: number) => void) { + forEachSegment( + callback: (segment: TrackSegment, trackIndex: number, segmentIndex: number) => void + ) { this.trk.forEach((track, trackIndex) => { track.children.forEach((segment, segmentIndex) => { callback(segment, trackIndex, segmentIndex); @@ -186,24 +207,41 @@ export class GPXFile extends GPXTreeNode { } getStyle(defaultColor?: string): MergedLineStyles { - return this.trk.map((track) => track.getStyle()).reduce((acc, style) => { - if (style && style["gpx_style:color"] && !acc.color.includes(style["gpx_style:color"])) { - acc.color.push(style["gpx_style:color"]); - } else if (defaultColor && !acc.color.includes(defaultColor)) { - acc.color.push(defaultColor); - } - if (style && style["gpx_style:opacity"] && !acc.opacity.includes(style["gpx_style:opacity"])) { - acc.opacity.push(style["gpx_style:opacity"]); - } - if (style && style["gpx_style:width"] && !acc.width.includes(style["gpx_style:width"])) { - acc.width.push(style["gpx_style:width"]); - } - return acc; - }, { - color: [], - opacity: [], - width: [] - }); + return this.trk + .map((track) => track.getStyle()) + .reduce( + (acc, style) => { + if ( + style && + style['gpx_style:color'] && + !acc.color.includes(style['gpx_style:color']) + ) { + acc.color.push(style['gpx_style:color']); + } else if (defaultColor && !acc.color.includes(defaultColor)) { + acc.color.push(defaultColor); + } + if ( + style && + style['gpx_style:opacity'] && + !acc.opacity.includes(style['gpx_style:opacity']) + ) { + acc.opacity.push(style['gpx_style:opacity']); + } + if ( + style && + style['gpx_style:width'] && + !acc.width.includes(style['gpx_style:width']) + ) { + acc.width.push(style['gpx_style:width']); + } + return acc; + }, + { + color: [], + opacity: [], + width: [], + } + ); } clone(): GPXFile { @@ -219,8 +257,8 @@ export class GPXFile extends GPXTreeNode { toGeoJSON(): GeoJSON.FeatureCollection { return { - type: "FeatureCollection", - features: this.children.flatMap((child) => child.toGeoJSON()) + type: 'FeatureCollection', + features: this.children.flatMap((child) => child.toGeoJSON()), }; } @@ -264,7 +302,15 @@ export class GPXFile extends GPXTreeNode { this.trk[trackIndex].replaceTrackSegments(start, end, segments); } - replaceTrackPoints(trackIndex: number, segmentIndex: number, start: number, end: number, points: TrackPoint[], speed?: number, startTime?: Date) { + replaceTrackPoints( + trackIndex: number, + segmentIndex: number, + start: number, + end: number, + points: TrackPoint[], + speed?: number, + startTime?: Date + ) { this.trk[trackIndex].replaceTrackPoints(segmentIndex, start, end, points, speed, startTime); } @@ -308,7 +354,11 @@ export class GPXFile extends GPXTreeNode { this.trk.splice(i, 1); } else { if (start > 0 || end < length - 1) { - this.trk[i].crop(Math.max(0, start), Math.min(length - 1, end), segmentIndices); + this.trk[i].crop( + Math.max(0, start), + Math.min(length - 1, end), + segmentIndices + ); } i++; } @@ -321,7 +371,15 @@ export class GPXFile extends GPXTreeNode { } } - clean(bounds: [Coordinates, Coordinates], inside: boolean, deleteTrackPoints: boolean, deleteWaypoints: boolean, trackIndices?: number[], segmentIndices?: number[], waypointIndices?: number[]) { + clean( + bounds: [Coordinates, Coordinates], + inside: boolean, + deleteTrackPoints: boolean, + deleteWaypoints: boolean, + trackIndices?: number[], + segmentIndices?: number[], + waypointIndices?: number[] + ) { if (deleteTrackPoints) { let i = 0; let trackIndex = 0; @@ -343,7 +401,11 @@ export class GPXFile extends GPXTreeNode { let og = getOriginal(this); // Read as much as possible from the original object because it is faster let wpt = og.wpt.filter((point, waypointIndex) => { if (waypointIndices === undefined || waypointIndices.includes(waypointIndex)) { - let inBounds = point.attributes.lat >= bounds[0].lat && point.attributes.lat <= bounds[1].lat && point.attributes.lon >= bounds[0].lon && point.attributes.lon <= bounds[1].lon; + let inBounds = + point.attributes.lat >= bounds[0].lat && + point.attributes.lat <= bounds[1].lat && + point.attributes.lon >= bounds[0].lon && + point.attributes.lon <= bounds[1].lon; return inBounds !== inside; } else { return true; @@ -353,7 +415,13 @@ export class GPXFile extends GPXTreeNode { } } - changeTimestamps(startTime: Date, speed: number, ratio: number, trackIndex?: number, segmentIndex?: number) { + changeTimestamps( + startTime: Date, + speed: number, + ratio: number, + trackIndex?: number, + segmentIndex?: number + ) { let lastPoint = undefined; this.trk.forEach((track, index) => { if (trackIndex === undefined || trackIndex === index) { @@ -362,7 +430,12 @@ export class GPXFile extends GPXTreeNode { }); } - createArtificialTimestamps(startTime: Date, totalTime: number, trackIndex?: number, segmentIndex?: number) { + createArtificialTimestamps( + startTime: Date, + totalTime: number, + trackIndex?: number, + segmentIndex?: number + ) { let lastPoint = undefined; this.trk.forEach((track, index) => { if (trackIndex === undefined || trackIndex === index) { @@ -371,7 +444,12 @@ export class GPXFile extends GPXTreeNode { }); } - addElevation(elevations: number[], trackIndices?: number[], segmentIndices?: number[], waypointIndices?: number[]) { + addElevation( + elevations: number[], + trackIndices?: number[], + segmentIndices?: number[], + waypointIndices?: number[] + ) { let index = 0; this.trk.forEach((track, trackIndex) => { if (trackIndices === undefined || trackIndices.includes(trackIndex)) { @@ -399,14 +477,14 @@ export class GPXFile extends GPXTreeNode { if (!this._data.style) { this._data.style = {}; } - if (style["gpx_style:color"]) { - this._data.style.color = style["gpx_style:color"].replace('#', ''); + if (style['gpx_style:color']) { + this._data.style.color = style['gpx_style:color'].replace('#', ''); } - if (style["gpx_style:opacity"]) { - this._data.style.opacity = style["gpx_style:opacity"]; + if (style['gpx_style:opacity']) { + this._data.style.opacity = style['gpx_style:opacity']; } - if (style["gpx_style:width"]) { - this._data.style.width = style["gpx_style:width"]; + if (style['gpx_style:width']) { + this._data.style.width = style['gpx_style:width']; } } @@ -416,14 +494,14 @@ export class GPXFile extends GPXTreeNode { if (trackIndices === undefined || trackIndices.includes(index)) { track.setHidden(hidden, segmentIndices); } else { - allHidden = allHidden && (track._data.hidden === true); + allHidden = allHidden && track._data.hidden === true; } }); this.wpt.forEach((waypoint) => { if (trackIndices === undefined && segmentIndices === undefined) { waypoint.setHidden(hidden); } else { - allHidden = allHidden && (waypoint._data.hidden === true); + allHidden = allHidden && waypoint._data.hidden === true; } }); @@ -440,19 +518,19 @@ export class GPXFile extends GPXTreeNode { if (waypointIndices === undefined || waypointIndices.includes(index)) { waypoint.setHidden(hidden); } else { - allHiddenWpt = allHiddenWpt && (waypoint._data.hidden === true); + allHiddenWpt = allHiddenWpt && waypoint._data.hidden === true; } }); let allHiddenTrk = true; this.trk.forEach((track) => { - allHiddenTrk = allHiddenTrk && (track._data.hidden === true); + allHiddenTrk = allHiddenTrk && track._data.hidden === true; }); this._data.hiddenWpt = allHiddenWpt; this._data.hidden = allHiddenTrk && allHiddenWpt; } -}; +} // A class that represents a Track in a GPX file export class Track extends GPXTreeNode { @@ -467,7 +545,7 @@ export class Track extends GPXTreeNode { extensions?: TrackExtensions; trkseg: TrackSegment[]; - constructor(track?: TrackType & { _data?: any } | Track) { + constructor(track?: (TrackType & { _data?: any }) | Track) { super(); if (track) { this.name = track.name; @@ -506,11 +584,11 @@ export class Track extends GPXTreeNode { getStyle(): LineStyleExtension | undefined { if (this.extensions && this.extensions['gpx_style:line']) { - if (this.extensions["gpx_style:line"]["gpx_style:color"]) { + if (this.extensions['gpx_style:line']['gpx_style:color']) { return { - ...this.extensions["gpx_style:line"], - ["gpx_style:color"]: `#${this.extensions["gpx_style:line"]["gpx_style:color"]}` - } + ...this.extensions['gpx_style:line'], + ['gpx_style:color']: `#${this.extensions['gpx_style:line']['gpx_style:color']}`, + }; } return this.extensions['gpx_style:line']; } @@ -520,9 +598,9 @@ export class Track extends GPXTreeNode { getValidStyle(): LineStyleExtension | undefined { if (this.extensions && this.extensions['gpx_style:line']) { return { - "gpx_style:color": this.extensions['gpx_style:line']["gpx_style:color"], - "gpx_style:opacity": this.extensions['gpx_style:line']["gpx_style:opacity"], - "gpx_style:width": this.extensions['gpx_style:line']["gpx_style:width"] + 'gpx_style:color': this.extensions['gpx_style:line']['gpx_style:color'], + 'gpx_style:opacity': this.extensions['gpx_style:line']['gpx_style:opacity'], + 'gpx_style:width': this.extensions['gpx_style:line']['gpx_style:width'], }; } return undefined; @@ -532,14 +610,17 @@ export class Track extends GPXTreeNode { return this.children.map((child) => { let geoJSON = child.toGeoJSON(); if (this.extensions && this.extensions['gpx_style:line']) { - if (this.extensions['gpx_style:line']["gpx_style:color"]) { - geoJSON.properties['color'] = `#${this.extensions['gpx_style:line']["gpx_style:color"]}`; + if (this.extensions['gpx_style:line']['gpx_style:color']) { + geoJSON.properties['color'] = + `#${this.extensions['gpx_style:line']['gpx_style:color']}`; } - if (this.extensions['gpx_style:line']["gpx_style:opacity"]) { - geoJSON.properties['opacity'] = this.extensions['gpx_style:line']["gpx_style:opacity"]; + if (this.extensions['gpx_style:line']['gpx_style:opacity']) { + geoJSON.properties['opacity'] = + this.extensions['gpx_style:line']['gpx_style:opacity']; } - if (this.extensions['gpx_style:line']["gpx_style:width"]) { - geoJSON.properties['width'] = this.extensions['gpx_style:line']["gpx_style:width"]; + if (this.extensions['gpx_style:line']['gpx_style:width']) { + geoJSON.properties['width'] = + this.extensions['gpx_style:line']['gpx_style:width']; } } return geoJSON; @@ -554,9 +635,12 @@ export class Track extends GPXTreeNode { src: this.src, link: this.link, type: this.type, - extensions: this.extensions && this.extensions['gpx_style:line'] ? { - 'gpx_style:line': this.getValidStyle() - } : undefined, + extensions: + this.extensions && this.extensions['gpx_style:line'] + ? { + 'gpx_style:line': this.getValidStyle(), + } + : undefined, trkseg: this.trkseg.map((seg) => seg.toTrackSegmentType(exclude)), }; } @@ -566,12 +650,22 @@ export class Track extends GPXTreeNode { this.trkseg.splice(start, end - start + 1, ...segments); } - replaceTrackPoints(segmentIndex: number, start: number, end: number, points: TrackPoint[], speed?: number, startTime?: Date) { + replaceTrackPoints( + segmentIndex: number, + start: number, + end: number, + points: TrackPoint[], + speed?: number, + startTime?: Date + ) { this.trkseg[segmentIndex].replaceTrackPoints(start, end, points, speed, startTime); } reverseTrackSegment(segmentIndex: number) { - this.trkseg[segmentIndex]._reverse(this.trkseg[segmentIndex].getEndTimestamp(), this.trkseg[segmentIndex].getStartTimestamp()); + this.trkseg[segmentIndex]._reverse( + this.trkseg[segmentIndex].getEndTimestamp(), + this.trkseg[segmentIndex].getStartTimestamp() + ); } roundTrip() { @@ -625,7 +719,13 @@ export class Track extends GPXTreeNode { } } - changeTimestamps(startTime: Date, speed: number, ratio: number, lastPoint?: TrackPoint, segmentIndex?: number) { + changeTimestamps( + startTime: Date, + speed: number, + ratio: number, + lastPoint?: TrackPoint, + segmentIndex?: number + ) { this.trkseg.forEach((segment, index) => { if (segmentIndex === undefined || segmentIndex === index) { segment.changeTimestamps(startTime, speed, ratio, lastPoint); @@ -636,7 +736,12 @@ export class Track extends GPXTreeNode { }); } - createArtificialTimestamps(startTime: Date, totalTime: number, lastPoint: TrackPoint | undefined, segmentIndex?: number) { + createArtificialTimestamps( + startTime: Date, + totalTime: number, + lastPoint: TrackPoint | undefined, + segmentIndex?: number + ) { this.trkseg.forEach((segment, index) => { if (segmentIndex === undefined || segmentIndex === index) { segment.createArtificialTimestamps(startTime, totalTime, lastPoint); @@ -654,14 +759,26 @@ export class Track extends GPXTreeNode { if (!this.extensions['gpx_style:line']) { this.extensions['gpx_style:line'] = {}; } - if (style["gpx_style:color"] !== undefined && (force || this.extensions['gpx_style:line']["gpx_style:color"] === undefined)) { - this.extensions['gpx_style:line']["gpx_style:color"] = style["gpx_style:color"].replace('#', ''); + if ( + style['gpx_style:color'] !== undefined && + (force || this.extensions['gpx_style:line']['gpx_style:color'] === undefined) + ) { + this.extensions['gpx_style:line']['gpx_style:color'] = style['gpx_style:color'].replace( + '#', + '' + ); } - if (style["gpx_style:opacity"] !== undefined && (force || this.extensions['gpx_style:line']["gpx_style:opacity"] === undefined)) { - this.extensions['gpx_style:line']["gpx_style:opacity"] = style["gpx_style:opacity"]; + if ( + style['gpx_style:opacity'] !== undefined && + (force || this.extensions['gpx_style:line']['gpx_style:opacity'] === undefined) + ) { + this.extensions['gpx_style:line']['gpx_style:opacity'] = style['gpx_style:opacity']; } - if (style["gpx_style:width"] !== undefined && (force || this.extensions['gpx_style:line']["gpx_style:width"] === undefined)) { - this.extensions['gpx_style:line']["gpx_style:width"] = style["gpx_style:width"]; + if ( + style['gpx_style:width'] !== undefined && + (force || this.extensions['gpx_style:line']['gpx_style:width'] === undefined) + ) { + this.extensions['gpx_style:line']['gpx_style:width'] = style['gpx_style:width']; } } @@ -671,7 +788,7 @@ export class Track extends GPXTreeNode { if (segmentIndices === undefined || segmentIndices.includes(index)) { segment.setHidden(hidden); } else { - allHidden = allHidden && (segment._data.hidden === true); + allHidden = allHidden && segment._data.hidden === true; } }); this._data.hidden = allHidden; @@ -684,7 +801,7 @@ export class TrackSegment extends GPXTreeLeaf { trkpt: TrackPoint[]; - constructor(segment?: TrackSegmentType & { _data?: any } | TrackSegment) { + constructor(segment?: (TrackSegmentType & { _data?: any }) | TrackSegment) { super(); if (segment) { this.trkpt = segment.trkpt.map((point) => new TrackPoint(point)); @@ -720,7 +837,9 @@ export class TrackSegment extends GPXTreeLeaf { // elevation if (i > 0) { - const ele = statistics.local.elevation.smoothed[i] - statistics.local.elevation.smoothed[i - 1]; + const ele = + statistics.local.elevation.smoothed[i] - + statistics.local.elevation.smoothed[i - 1]; if (ele > 0) { statistics.global.elevation.gain += ele; } else if (ele < 0) { @@ -739,7 +858,9 @@ export class TrackSegment extends GPXTreeLeaf { statistics.global.time.start = points[i].time; } statistics.global.time.end = points[i].time; - statistics.local.time.total.push((points[i].time.getTime() - statistics.global.time.start.getTime()) / 1000); + statistics.local.time.total.push( + (points[i].time.getTime() - statistics.global.time.start.getTime()) / 1000 + ); } // speed @@ -758,37 +879,76 @@ export class TrackSegment extends GPXTreeLeaf { statistics.local.time.moving.push(statistics.global.time.moving); // bounds - statistics.global.bounds.southWest.lat = Math.min(statistics.global.bounds.southWest.lat, points[i].attributes.lat); - statistics.global.bounds.southWest.lon = Math.min(statistics.global.bounds.southWest.lon, points[i].attributes.lon); - statistics.global.bounds.northEast.lat = Math.max(statistics.global.bounds.northEast.lat, points[i].attributes.lat); - statistics.global.bounds.northEast.lon = Math.max(statistics.global.bounds.northEast.lon, points[i].attributes.lon); + statistics.global.bounds.southWest.lat = Math.min( + statistics.global.bounds.southWest.lat, + points[i].attributes.lat + ); + statistics.global.bounds.southWest.lon = Math.min( + statistics.global.bounds.southWest.lon, + points[i].attributes.lon + ); + statistics.global.bounds.northEast.lat = Math.max( + statistics.global.bounds.northEast.lat, + points[i].attributes.lat + ); + statistics.global.bounds.northEast.lon = Math.max( + statistics.global.bounds.northEast.lon, + points[i].attributes.lon + ); // extensions if (points[i].extensions) { - if (points[i].extensions["gpxtpx:TrackPointExtension"] && points[i].extensions["gpxtpx:TrackPointExtension"]["gpxtpx:atemp"]) { - let atemp = points[i].extensions["gpxtpx:TrackPointExtension"]["gpxtpx:atemp"]; - statistics.global.atemp.avg = (statistics.global.atemp.count * statistics.global.atemp.avg + atemp) / (statistics.global.atemp.count + 1); + if ( + points[i].extensions['gpxtpx:TrackPointExtension'] && + points[i].extensions['gpxtpx:TrackPointExtension']['gpxtpx:atemp'] + ) { + let atemp = points[i].extensions['gpxtpx:TrackPointExtension']['gpxtpx:atemp']; + statistics.global.atemp.avg = + (statistics.global.atemp.count * statistics.global.atemp.avg + atemp) / + (statistics.global.atemp.count + 1); statistics.global.atemp.count++; } - if (points[i].extensions["gpxtpx:TrackPointExtension"] && points[i].extensions["gpxtpx:TrackPointExtension"]["gpxtpx:hr"]) { - let hr = points[i].extensions["gpxtpx:TrackPointExtension"]["gpxtpx:hr"]; - statistics.global.hr.avg = (statistics.global.hr.count * statistics.global.hr.avg + hr) / (statistics.global.hr.count + 1); + if ( + points[i].extensions['gpxtpx:TrackPointExtension'] && + points[i].extensions['gpxtpx:TrackPointExtension']['gpxtpx:hr'] + ) { + let hr = points[i].extensions['gpxtpx:TrackPointExtension']['gpxtpx:hr']; + statistics.global.hr.avg = + (statistics.global.hr.count * statistics.global.hr.avg + hr) / + (statistics.global.hr.count + 1); statistics.global.hr.count++; } - if (points[i].extensions["gpxtpx:TrackPointExtension"] && points[i].extensions["gpxtpx:TrackPointExtension"]["gpxtpx:cad"]) { - let cad = points[i].extensions["gpxtpx:TrackPointExtension"]["gpxtpx:cad"]; - statistics.global.cad.avg = (statistics.global.cad.count * statistics.global.cad.avg + cad) / (statistics.global.cad.count + 1); + if ( + points[i].extensions['gpxtpx:TrackPointExtension'] && + points[i].extensions['gpxtpx:TrackPointExtension']['gpxtpx:cad'] + ) { + let cad = points[i].extensions['gpxtpx:TrackPointExtension']['gpxtpx:cad']; + statistics.global.cad.avg = + (statistics.global.cad.count * statistics.global.cad.avg + cad) / + (statistics.global.cad.count + 1); statistics.global.cad.count++; } - if (points[i].extensions["gpxpx:PowerExtension"] && points[i].extensions["gpxpx:PowerExtension"]["gpxpx:PowerInWatts"]) { - let power = points[i].extensions["gpxpx:PowerExtension"]["gpxpx:PowerInWatts"]; - statistics.global.power.avg = (statistics.global.power.count * statistics.global.power.avg + power) / (statistics.global.power.count + 1); + if ( + points[i].extensions['gpxpx:PowerExtension'] && + points[i].extensions['gpxpx:PowerExtension']['gpxpx:PowerInWatts'] + ) { + let power = points[i].extensions['gpxpx:PowerExtension']['gpxpx:PowerInWatts']; + statistics.global.power.avg = + (statistics.global.power.count * statistics.global.power.avg + power) / + (statistics.global.power.count + 1); statistics.global.power.count++; } } - if (i > 0 && points[i - 1].extensions && points[i - 1].extensions["gpxtpx:TrackPointExtension"] && points[i - 1].extensions["gpxtpx:TrackPointExtension"]["gpxtpx:Extensions"]) { - Object.entries(points[i - 1].extensions["gpxtpx:TrackPointExtension"]["gpxtpx:Extensions"]).forEach(([key, value]) => { + if ( + i > 0 && + points[i - 1].extensions && + points[i - 1].extensions['gpxtpx:TrackPointExtension'] && + points[i - 1].extensions['gpxtpx:TrackPointExtension']['gpxtpx:Extensions'] + ) { + Object.entries( + points[i - 1].extensions['gpxtpx:TrackPointExtension']['gpxtpx:Extensions'] + ).forEach(([key, value]) => { if (statistics.global.extensions[key] === undefined) { statistics.global.extensions[key] = {}; } @@ -800,13 +960,32 @@ export class TrackSegment extends GPXTreeLeaf { } } - [statistics.local.slope.segment, statistics.local.slope.length] = this._computeSlopeSegments(statistics); + [statistics.local.slope.segment, statistics.local.slope.length] = + this._computeSlopeSegments(statistics); - statistics.global.time.total = statistics.global.time.start && statistics.global.time.end ? (statistics.global.time.end.getTime() - statistics.global.time.start.getTime()) / 1000 : 0; - statistics.global.speed.total = statistics.global.time.total > 0 ? statistics.global.distance.total / (statistics.global.time.total / 3600) : 0; - statistics.global.speed.moving = statistics.global.time.moving > 0 ? statistics.global.distance.moving / (statistics.global.time.moving / 3600) : 0; + statistics.global.time.total = + statistics.global.time.start && statistics.global.time.end + ? (statistics.global.time.end.getTime() - statistics.global.time.start.getTime()) / + 1000 + : 0; + statistics.global.speed.total = + statistics.global.time.total > 0 + ? statistics.global.distance.total / (statistics.global.time.total / 3600) + : 0; + statistics.global.speed.moving = + statistics.global.time.moving > 0 + ? statistics.global.distance.moving / (statistics.global.time.moving / 3600) + : 0; - statistics.local.speed = distanceWindowSmoothingWithDistanceAccumulator(points, 200, (accumulated, start, end) => (points[start].time && points[end].time) ? 3600 * accumulated / (points[end].time.getTime() - points[start].time.getTime()) : undefined); + statistics.local.speed = distanceWindowSmoothingWithDistanceAccumulator( + points, + 200, + (accumulated, start, end) => + points[start].time && points[end].time + ? (3600 * accumulated) / + (points[end].time.getTime() - points[start].time.getTime()) + : undefined + ); return statistics; } @@ -814,7 +993,12 @@ export class TrackSegment extends GPXTreeLeaf { _computeSmoothedElevation(): number[] { const points = this.trkpt; - let smoothed = distanceWindowSmoothing(points, 100, (index) => points[index].ele ?? 0, (accumulated, start, end) => accumulated / (end - start + 1)); + let smoothed = distanceWindowSmoothing( + points, + 100, + (index) => points[index].ele ?? 0, + (accumulated, start, end) => accumulated / (end - start + 1) + ); if (points.length > 0) { smoothed[0] = points[0].ele ?? 0; @@ -827,11 +1011,21 @@ export class TrackSegment extends GPXTreeLeaf { _computeSlope(): number[] { const points = this.trkpt; - return distanceWindowSmoothingWithDistanceAccumulator(points, 50, (accumulated, start, end) => 100 * ((points[end].ele ?? 0) - (points[start].ele ?? 0)) / (accumulated > 0 ? accumulated : 1)); + return distanceWindowSmoothingWithDistanceAccumulator( + points, + 50, + (accumulated, start, end) => + (100 * ((points[end].ele ?? 0) - (points[start].ele ?? 0))) / + (accumulated > 0 ? accumulated : 1) + ); } _computeSlopeSegments(statistics: GPXStatistics): [number[], number[]] { - let simplified = ramerDouglasPeucker(this.trkpt, 20, getElevationDistanceFunction(statistics)); + let simplified = ramerDouglasPeucker( + this.trkpt, + 20, + getElevationDistanceFunction(statistics) + ); let slope = []; let length = []; @@ -839,11 +1033,12 @@ export class TrackSegment extends GPXTreeLeaf { for (let i = 0; i < simplified.length - 1; i++) { let start = simplified[i].point._data.index; let end = simplified[i + 1].point._data.index; - let dist = statistics.local.distance.total[end] - statistics.local.distance.total[start]; + let dist = + statistics.local.distance.total[end] - statistics.local.distance.total[start]; let ele = (simplified[i + 1].point.ele ?? 0) - (simplified[i].point.ele ?? 0); for (let j = start; j < end + (i + 1 === simplified.length - 1 ? 1 : 0); j++) { - slope.push(0.1 * ele / dist); + slope.push((0.1 * ele) / dist); length.push(dist); } } @@ -883,18 +1078,21 @@ export class TrackSegment extends GPXTreeLeaf { toGeoJSON(): GeoJSON.Feature { return { - type: "Feature", + type: 'Feature', geometry: { - type: "LineString", - coordinates: this.trkpt.map((point) => [point.attributes.lon, point.attributes.lat]) + type: 'LineString', + coordinates: this.trkpt.map((point) => [ + point.attributes.lon, + point.attributes.lat, + ]), }, - properties: {} + properties: {}, }; } toTrackSegmentType(exclude: string[] = []): TrackSegmentType { return { - trkpt: this.trkpt.map((point) => point.toTrackPointType(exclude)) + trkpt: this.trkpt.map((point) => point.toTrackPointType(exclude)), }; } @@ -906,20 +1104,34 @@ export class TrackSegment extends GPXTreeLeaf { } // Producers - replaceTrackPoints(start: number, end: number, points: TrackPoint[], speed?: number, startTime?: Date, removeGaps?: boolean) { + replaceTrackPoints( + start: number, + end: number, + points: TrackPoint[], + speed?: number, + startTime?: Date, + removeGaps?: boolean + ) { let og = getOriginal(this); // Read as much as possible from the original object because it is faster let trkpt = og.trkpt.slice(); if (speed !== undefined || (trkpt.length > 0 && trkpt[0].time !== undefined)) { // Must handle timestamps (either segment has timestamps or the new points will have timestamps) if (start > 0 && trkpt[0].time === undefined) { - // Add timestamps to points before [start, end] because they are missing - trkpt.splice(0, 0, ...withTimestamps(trkpt.splice(0, start), speed, undefined, startTime)); + // Add timestamps to points before [start, end] because they are missing + trkpt.splice( + 0, + 0, + ...withTimestamps(trkpt.splice(0, start), speed, undefined, startTime) + ); } if (points.length > 0) { // Adapt timestamps of the new points let last = start > 0 ? trkpt[start - 1] : undefined; - if (points[0].time === undefined || (points.length > 1 && points[1].time === undefined)) { + if ( + points[0].time === undefined || + (points.length > 1 && points[1].time === undefined) + ) { // Add timestamps to the new points because they are missing points = withTimestamps(points, speed, last, startTime); } else if (last !== undefined && points[0].time < last.time) { @@ -927,30 +1139,56 @@ export class TrackSegment extends GPXTreeLeaf { points = withShiftedAndCompressedTimestamps(points, speed, 1, last); } else if (last !== undefined && removeGaps) { // Remove gaps between the new points and the previous point - if (last.getLatitude() === points[0].getLatitude() && last.getLongitude() === points[0].getLongitude()) { + if ( + last.getLatitude() === points[0].getLatitude() && + last.getLongitude() === points[0].getLongitude() + ) { // Same point, make the new points start at its timestamp and remove the first point if (points[0].time > last.time) { - points = withShiftedAndCompressedTimestamps(points, speed, 1, last).slice(1); + points = withShiftedAndCompressedTimestamps( + points, + speed, + 1, + last + ).slice(1); } } else { // Different points, make the new points start one second after the previous point if (points[0].time.getTime() - last.time.getTime() > 1000) { let artificialLast = points[0].clone(); artificialLast.time = new Date(last.time.getTime() + 1000); - points = withShiftedAndCompressedTimestamps(points, speed, 1, artificialLast); + points = withShiftedAndCompressedTimestamps( + points, + speed, + 1, + artificialLast + ); } } } } if (end < trkpt.length - 1) { // Adapt timestamps of points after [start, end] - let last = points.length > 0 ? points[points.length - 1] : start > 0 ? trkpt[start - 1] : undefined; + let last = + points.length > 0 + ? points[points.length - 1] + : start > 0 + ? trkpt[start - 1] + : undefined; if (trkpt[end + 1].time === undefined) { // Add timestamps to points after [start, end] because they are missing - trkpt.splice(end + 1, 0, ...withTimestamps(trkpt.splice(end + 1), speed, last, startTime)); + trkpt.splice( + end + 1, + 0, + ...withTimestamps(trkpt.splice(end + 1), speed, last, startTime) + ); } else if (last !== undefined && trkpt[end + 1].time < last.time) { // Adapt timestamps of points after [start, end] because they are too early - trkpt.splice(end + 1, 0, ...withShiftedAndCompressedTimestamps(trkpt.splice(end + 1), speed, 1, last)); + trkpt.splice( + end + 1, + 0, + ...withShiftedAndCompressedTimestamps(trkpt.splice(end + 1), speed, 1, last) + ); } } } @@ -967,22 +1205,36 @@ export class TrackSegment extends GPXTreeLeaf { newPreviousTimestamp = originalStartTimestamp; } if (newPreviousTimestamp && originalEndTimestamp && !originalNextTimestamp) { - originalNextTimestamp = new Date(newPreviousTimestamp.getTime() + originalEndTimestamp.getTime() - originalStartTimestamp.getTime()); + originalNextTimestamp = new Date( + newPreviousTimestamp.getTime() + + originalEndTimestamp.getTime() - + originalStartTimestamp.getTime() + ); } - if (originalNextTimestamp !== undefined && newPreviousTimestamp !== undefined && originalEndTimestamp !== undefined) { + if ( + originalNextTimestamp !== undefined && + newPreviousTimestamp !== undefined && + originalEndTimestamp !== undefined + ) { let newStartTimestamp = new Date( - newPreviousTimestamp.getTime() + originalNextTimestamp.getTime() - originalEndTimestamp.getTime() + newPreviousTimestamp.getTime() + + originalNextTimestamp.getTime() - + originalEndTimestamp.getTime() ); - let trkpt = og.trkpt.map((point, i) => new TrackPoint({ - attributes: cloneJSON(point.attributes), - ele: point.ele, - time: new Date( - newStartTimestamp.getTime() + (originalEndTimestamp.getTime() - og.trkpt[i].time.getTime()) - ), - extensions: cloneJSON(point.extensions), - _data: cloneJSON(point._data), - })); + let trkpt = og.trkpt.map( + (point, i) => + new TrackPoint({ + attributes: cloneJSON(point.attributes), + ele: point.ele, + time: new Date( + newStartTimestamp.getTime() + + (originalEndTimestamp.getTime() - og.trkpt[i].time.getTime()) + ), + extensions: cloneJSON(point.extensions), + _data: cloneJSON(point._data), + }) + ); trkpt.reverse(); @@ -1006,7 +1258,11 @@ export class TrackSegment extends GPXTreeLeaf { clean(bounds: [Coordinates, Coordinates], inside: boolean) { let og = getOriginal(this); // Read as much as possible from the original object because it is faster let trkpt = og.trkpt.filter((point) => { - let inBounds = point.attributes.lat >= bounds[0].lat && point.attributes.lat <= bounds[1].lat && point.attributes.lon >= bounds[0].lon && point.attributes.lon <= bounds[1].lon; + let inBounds = + point.attributes.lat >= bounds[0].lat && + point.attributes.lat <= bounds[1].lat && + point.attributes.lon >= bounds[0].lon && + point.attributes.lon <= bounds[1].lon; return inBounds !== inside; }); this.trkpt = freeze(trkpt); // Pre-freeze the array, faster as well @@ -1028,7 +1284,11 @@ export class TrackSegment extends GPXTreeLeaf { } } - createArtificialTimestamps(startTime: Date, totalTime: number, lastPoint: TrackPoint | undefined) { + createArtificialTimestamps( + startTime: Date, + totalTime: number, + lastPoint: TrackPoint | undefined + ) { let og = getOriginal(this); // Read as much as possible from the original object because it is faster let slope = og._computeSlope(); let trkpt = withArtificialTimestamps(og.trkpt, totalTime, lastPoint, startTime, slope); @@ -1038,7 +1298,7 @@ export class TrackSegment extends GPXTreeLeaf { setHidden(hidden: boolean) { this._data.hidden = hidden; } -}; +} export class TrackPoint { [immerable] = true; @@ -1047,9 +1307,10 @@ export class TrackPoint { ele?: number; time?: Date; extensions?: TrackPointExtensions; + _data: { [key: string]: any } = {}; - constructor(point: TrackPointType & { _data?: any } | TrackPoint) { + constructor(point: (TrackPointType & { _data?: any }) | TrackPoint) { this.attributes = point.attributes; this.ele = point.ele; this.time = point.time; @@ -1076,19 +1337,35 @@ export class TrackPoint { } getTemperature(): number { - return this.extensions && this.extensions['gpxtpx:TrackPointExtension'] && this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:atemp'] ? this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:atemp'] : undefined; + return this.extensions && + this.extensions['gpxtpx:TrackPointExtension'] && + this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:atemp'] + ? this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:atemp'] + : undefined; } getHeartRate(): number { - return this.extensions && this.extensions['gpxtpx:TrackPointExtension'] && this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:hr'] ? this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:hr'] : undefined; + return this.extensions && + this.extensions['gpxtpx:TrackPointExtension'] && + this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:hr'] + ? this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:hr'] + : undefined; } getCadence(): number { - return this.extensions && this.extensions['gpxtpx:TrackPointExtension'] && this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:cad'] ? this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:cad'] : undefined; + return this.extensions && + this.extensions['gpxtpx:TrackPointExtension'] && + this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:cad'] + ? this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:cad'] + : undefined; } getPower(): number { - return this.extensions && this.extensions["gpxpx:PowerExtension"] && this.extensions["gpxpx:PowerExtension"]["gpxpx:PowerInWatts"] ? this.extensions["gpxpx:PowerExtension"]["gpxpx:PowerInWatts"] : undefined; + return this.extensions && + this.extensions['gpxpx:PowerExtension'] && + this.extensions['gpxpx:PowerExtension']['gpxpx:PowerInWatts'] + ? this.extensions['gpxpx:PowerExtension']['gpxpx:PowerInWatts'] + : undefined; } setExtensions(extensions: Record) { @@ -1098,19 +1375,23 @@ export class TrackPoint { if (!this.extensions) { this.extensions = {}; } - if (!this.extensions["gpxtpx:TrackPointExtension"]) { - this.extensions["gpxtpx:TrackPointExtension"] = {}; + if (!this.extensions['gpxtpx:TrackPointExtension']) { + this.extensions['gpxtpx:TrackPointExtension'] = {}; } - if (!this.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:Extensions"]) { - this.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:Extensions"] = {}; + if (!this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:Extensions']) { + this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:Extensions'] = {}; } Object.entries(extensions).forEach(([key, value]) => { - this.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:Extensions"][key] = value; + this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:Extensions'][key] = value; }); } getExtensions(): Record { - return this.extensions && this.extensions["gpxtpx:TrackPointExtension"] && this.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:Extensions"] ? this.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:Extensions"] : {}; + return this.extensions && + this.extensions['gpxtpx:TrackPointExtension'] && + this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:Extensions'] + ? this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:Extensions'] + : {}; } toTrackPointType(exclude: string[] = []): TrackPointType { @@ -1123,27 +1404,55 @@ export class TrackPoint { } if (this.extensions) { trkpt = { - ...trkpt, extensions: { - "gpxtpx:TrackPointExtension": {}, - "gpxpx:PowerExtension": {}, - } + ...trkpt, + extensions: { + 'gpxtpx:TrackPointExtension': {}, + 'gpxpx:PowerExtension': {}, + }, }; - if (this.extensions["gpxtpx:TrackPointExtension"] && this.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:atemp"] && !exclude.includes('atemp')) { - trkpt.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:atemp"] = this.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:atemp"]; + if ( + this.extensions['gpxtpx:TrackPointExtension'] && + this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:atemp'] && + !exclude.includes('atemp') + ) { + trkpt.extensions['gpxtpx:TrackPointExtension']['gpxtpx:atemp'] = + this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:atemp']; } - if (this.extensions["gpxtpx:TrackPointExtension"] && this.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:hr"] && !exclude.includes('hr')) { - trkpt.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:hr"] = this.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:hr"]; + if ( + this.extensions['gpxtpx:TrackPointExtension'] && + this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:hr'] && + !exclude.includes('hr') + ) { + trkpt.extensions['gpxtpx:TrackPointExtension']['gpxtpx:hr'] = + this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:hr']; } - if (this.extensions["gpxtpx:TrackPointExtension"] && this.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:cad"] && !exclude.includes('cad')) { - trkpt.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:cad"] = this.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:cad"]; + if ( + this.extensions['gpxtpx:TrackPointExtension'] && + this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:cad'] && + !exclude.includes('cad') + ) { + trkpt.extensions['gpxtpx:TrackPointExtension']['gpxtpx:cad'] = + this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:cad']; } - if (this.extensions["gpxpx:PowerExtension"] && this.extensions["gpxpx:PowerExtension"]["gpxpx:PowerInWatts"] && !exclude.includes('power')) { - trkpt.extensions["gpxpx:PowerExtension"]["gpxpx:PowerInWatts"] = this.extensions["gpxpx:PowerExtension"]["gpxpx:PowerInWatts"]; + if ( + this.extensions['gpxpx:PowerExtension'] && + this.extensions['gpxpx:PowerExtension']['gpxpx:PowerInWatts'] && + !exclude.includes('power') + ) { + trkpt.extensions['gpxpx:PowerExtension']['gpxpx:PowerInWatts'] = + this.extensions['gpxpx:PowerExtension']['gpxpx:PowerInWatts']; } - if (this.extensions["gpxtpx:TrackPointExtension"] && this.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:Extensions"] && !exclude.includes('extensions')) { - trkpt.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:Extensions"] = {}; - Object.entries(this.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:Extensions"]).forEach(([key, value]) => { - trkpt.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:Extensions"][key] = value; + if ( + this.extensions['gpxtpx:TrackPointExtension'] && + this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:Extensions'] && + !exclude.includes('extensions') + ) { + trkpt.extensions['gpxtpx:TrackPointExtension']['gpxtpx:Extensions'] = {}; + Object.entries( + this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:Extensions'] + ).forEach(([key, value]) => { + trkpt.extensions['gpxtpx:TrackPointExtension']['gpxtpx:Extensions'][key] = + value; }); } } @@ -1159,7 +1468,7 @@ export class TrackPoint { _data: cloneJSON(this._data), }); } -}; +} export class Waypoint { [immerable] = true; @@ -1175,7 +1484,7 @@ export class Waypoint { type?: string; _data: { [key: string]: any } = {}; - constructor(waypoint: WaypointType & { _data?: any } | Waypoint) { + constructor(waypoint: (WaypointType & { _data?: any }) | Waypoint) { this.attributes = waypoint.attributes; this.ele = waypoint.ele; this.time = waypoint.time; @@ -1218,8 +1527,7 @@ export class Waypoint { link: this.link, sym: this.sym, type: this.type, - - } + }; } else { return { attributes: this.attributes, @@ -1249,12 +1557,26 @@ export class Waypoint { } equals(other: Waypoint): boolean { - if (this.attributes.lat !== other.attributes.lat || this.attributes.lon !== other.attributes.lon || this.ele !== other.ele || - this.name !== other.name || this.cmt !== other.cmt || this.desc !== other.desc || this.sym !== other.sym || this.type !== other.type) { + if ( + this.attributes.lat !== other.attributes.lat || + this.attributes.lon !== other.attributes.lon || + this.ele !== other.ele || + this.name !== other.name || + this.cmt !== other.cmt || + this.desc !== other.desc || + this.sym !== other.sym || + this.type !== other.type + ) { return false; } - if (this.time === undefined && other.time !== undefined || this.time !== undefined && other.time === undefined || this.time !== undefined && other.time !== undefined && this.time.getTime() !== other.time.getTime()) { + if ( + (this.time === undefined && other.time !== undefined) || + (this.time !== undefined && other.time === undefined) || + (this.time !== undefined && + other.time !== undefined && + this.time.getTime() !== other.time.getTime()) + ) { return false; } @@ -1274,66 +1596,66 @@ export class Waypoint { export class GPXStatistics { global: { distance: { - moving: number, - total: number, - }, + moving: number; + total: number; + }; time: { - start: Date | undefined, - end: Date | undefined, - moving: number, - total: number, - }, + start: Date | undefined; + end: Date | undefined; + moving: number; + total: number; + }; speed: { - moving: number, - total: number, - }, + moving: number; + total: number; + }; elevation: { - gain: number, - loss: number, - }, + gain: number; + loss: number; + }; bounds: { - southWest: Coordinates, - northEast: Coordinates, - }, + southWest: Coordinates; + northEast: Coordinates; + }; atemp: { - avg: number, - count: number, - }, + avg: number; + count: number; + }; hr: { - avg: number, - count: number, - }, + avg: number; + count: number; + }; cad: { - avg: number, - count: number, - }, + avg: number; + count: number; + }; power: { - avg: number, - count: number, - }, - extensions: Record>, + avg: number; + count: number; + }; + extensions: Record>; }; local: { - points: TrackPoint[], + points: TrackPoint[]; distance: { - moving: number[], - total: number[], - }, + moving: number[]; + total: number[]; + }; time: { - moving: number[], - total: number[], - }, - speed: number[], + moving: number[]; + total: number[]; + }; + speed: number[]; elevation: { - smoothed: number[], - gain: number[], - loss: number[], - }, + smoothed: number[]; + gain: number[]; + loss: number[]; + }; slope: { - at: number[], - segment: number[], - length: number[], - } + at: number[]; + segment: number[]; + length: number[]; + }; }; constructor() { @@ -1404,22 +1726,36 @@ export class GPXStatistics { at: [], segment: [], length: [], - } + }, }; } mergeWith(other: GPXStatistics): void { this.local.points = this.local.points.concat(other.local.points); - this.local.distance.total = this.local.distance.total.concat(other.local.distance.total.map((distance) => distance + this.global.distance.total)); - this.local.distance.moving = this.local.distance.moving.concat(other.local.distance.moving.map((distance) => distance + this.global.distance.moving)); - this.local.time.total = this.local.time.total.concat(other.local.time.total.map((time) => time + this.global.time.total)); - this.local.time.moving = this.local.time.moving.concat(other.local.time.moving.map((time) => time + this.global.time.moving)); - this.local.elevation.gain = this.local.elevation.gain.concat(other.local.elevation.gain.map((gain) => gain + this.global.elevation.gain)); - this.local.elevation.loss = this.local.elevation.loss.concat(other.local.elevation.loss.map((loss) => loss + this.global.elevation.loss)); + this.local.distance.total = this.local.distance.total.concat( + other.local.distance.total.map((distance) => distance + this.global.distance.total) + ); + this.local.distance.moving = this.local.distance.moving.concat( + other.local.distance.moving.map((distance) => distance + this.global.distance.moving) + ); + this.local.time.total = this.local.time.total.concat( + other.local.time.total.map((time) => time + this.global.time.total) + ); + this.local.time.moving = this.local.time.moving.concat( + other.local.time.moving.map((time) => time + this.global.time.moving) + ); + this.local.elevation.gain = this.local.elevation.gain.concat( + other.local.elevation.gain.map((gain) => gain + this.global.elevation.gain) + ); + this.local.elevation.loss = this.local.elevation.loss.concat( + other.local.elevation.loss.map((loss) => loss + this.global.elevation.loss) + ); this.local.speed = this.local.speed.concat(other.local.speed); - this.local.elevation.smoothed = this.local.elevation.smoothed.concat(other.local.elevation.smoothed); + this.local.elevation.smoothed = this.local.elevation.smoothed.concat( + other.local.elevation.smoothed + ); this.local.slope.at = this.local.slope.at.concat(other.local.slope.at); this.local.slope.segment = this.local.slope.segment.concat(other.local.slope.segment); this.local.slope.length = this.local.slope.length.concat(other.local.slope.length); @@ -1427,30 +1763,70 @@ export class GPXStatistics { this.global.distance.total += other.global.distance.total; this.global.distance.moving += other.global.distance.moving; - this.global.time.start = this.global.time.start !== undefined && other.global.time.start !== undefined ? new Date(Math.min(this.global.time.start.getTime(), other.global.time.start.getTime())) : this.global.time.start ?? other.global.time.start; - this.global.time.end = this.global.time.end !== undefined && other.global.time.end !== undefined ? new Date(Math.max(this.global.time.end.getTime(), other.global.time.end.getTime())) : this.global.time.end ?? other.global.time.end; + this.global.time.start = + this.global.time.start !== undefined && other.global.time.start !== undefined + ? new Date( + Math.min(this.global.time.start.getTime(), other.global.time.start.getTime()) + ) + : (this.global.time.start ?? other.global.time.start); + this.global.time.end = + this.global.time.end !== undefined && other.global.time.end !== undefined + ? new Date( + Math.max(this.global.time.end.getTime(), other.global.time.end.getTime()) + ) + : (this.global.time.end ?? other.global.time.end); this.global.time.total += other.global.time.total; this.global.time.moving += other.global.time.moving; - this.global.speed.moving = this.global.time.moving > 0 ? this.global.distance.moving / (this.global.time.moving / 3600) : 0; - this.global.speed.total = this.global.time.total > 0 ? this.global.distance.total / (this.global.time.total / 3600) : 0; + this.global.speed.moving = + this.global.time.moving > 0 + ? this.global.distance.moving / (this.global.time.moving / 3600) + : 0; + this.global.speed.total = + this.global.time.total > 0 + ? this.global.distance.total / (this.global.time.total / 3600) + : 0; this.global.elevation.gain += other.global.elevation.gain; this.global.elevation.loss += other.global.elevation.loss; - this.global.bounds.southWest.lat = Math.min(this.global.bounds.southWest.lat, other.global.bounds.southWest.lat); - this.global.bounds.southWest.lon = Math.min(this.global.bounds.southWest.lon, other.global.bounds.southWest.lon); - this.global.bounds.northEast.lat = Math.max(this.global.bounds.northEast.lat, other.global.bounds.northEast.lat); - this.global.bounds.northEast.lon = Math.max(this.global.bounds.northEast.lon, other.global.bounds.northEast.lon); + this.global.bounds.southWest.lat = Math.min( + this.global.bounds.southWest.lat, + other.global.bounds.southWest.lat + ); + this.global.bounds.southWest.lon = Math.min( + this.global.bounds.southWest.lon, + other.global.bounds.southWest.lon + ); + this.global.bounds.northEast.lat = Math.max( + this.global.bounds.northEast.lat, + other.global.bounds.northEast.lat + ); + this.global.bounds.northEast.lon = Math.max( + this.global.bounds.northEast.lon, + other.global.bounds.northEast.lon + ); - this.global.atemp.avg = (this.global.atemp.count * this.global.atemp.avg + other.global.atemp.count * other.global.atemp.avg) / Math.max(1, this.global.atemp.count + other.global.atemp.count); + this.global.atemp.avg = + (this.global.atemp.count * this.global.atemp.avg + + other.global.atemp.count * other.global.atemp.avg) / + Math.max(1, this.global.atemp.count + other.global.atemp.count); this.global.atemp.count += other.global.atemp.count; - this.global.hr.avg = (this.global.hr.count * this.global.hr.avg + other.global.hr.count * other.global.hr.avg) / Math.max(1, this.global.hr.count + other.global.hr.count); + this.global.hr.avg = + (this.global.hr.count * this.global.hr.avg + + other.global.hr.count * other.global.hr.avg) / + Math.max(1, this.global.hr.count + other.global.hr.count); this.global.hr.count += other.global.hr.count; - this.global.cad.avg = (this.global.cad.count * this.global.cad.avg + other.global.cad.count * other.global.cad.avg) / Math.max(1, this.global.cad.count + other.global.cad.count); + this.global.cad.avg = + (this.global.cad.count * this.global.cad.avg + + other.global.cad.count * other.global.cad.avg) / + Math.max(1, this.global.cad.count + other.global.cad.count); this.global.cad.count += other.global.cad.count; - this.global.power.avg = (this.global.power.count * this.global.power.avg + other.global.power.count * other.global.power.avg) / Math.max(1, this.global.power.count + other.global.power.count); + this.global.power.avg = + (this.global.power.count * this.global.power.avg + + other.global.power.count * other.global.power.avg) / + Math.max(1, this.global.power.count + other.global.power.count); this.global.power.count += other.global.power.count; Object.keys(other.global.extensions).forEach((extension) => { if (this.global.extensions[extension] === undefined) { @@ -1460,7 +1836,8 @@ export class GPXStatistics { if (this.global.extensions[extension][value] === undefined) { this.global.extensions[extension][value] = 0; } - this.global.extensions[extension][value] += other.global.extensions[extension][value]; + this.global.extensions[extension][value] += + other.global.extensions[extension][value]; }); }); } @@ -1481,8 +1858,10 @@ export class GPXStatistics { statistics.local.points = this.local.points.slice(start, end + 1); - statistics.global.distance.total = this.local.distance.total[end] - this.local.distance.total[start]; - statistics.global.distance.moving = this.local.distance.moving[end] - this.local.distance.moving[start]; + statistics.global.distance.total = + this.local.distance.total[end] - this.local.distance.total[start]; + statistics.global.distance.moving = + this.local.distance.moving[end] - this.local.distance.moving[start]; statistics.global.time.start = this.local.points[start].time; statistics.global.time.end = this.local.points[end].time; @@ -1490,11 +1869,19 @@ export class GPXStatistics { statistics.global.time.total = this.local.time.total[end] - this.local.time.total[start]; statistics.global.time.moving = this.local.time.moving[end] - this.local.time.moving[start]; - statistics.global.speed.moving = statistics.global.time.moving > 0 ? statistics.global.distance.moving / (statistics.global.time.moving / 3600) : 0; - statistics.global.speed.total = statistics.global.time.total > 0 ? statistics.global.distance.total / (statistics.global.time.total / 3600) : 0; + statistics.global.speed.moving = + statistics.global.time.moving > 0 + ? statistics.global.distance.moving / (statistics.global.time.moving / 3600) + : 0; + statistics.global.speed.total = + statistics.global.time.total > 0 + ? statistics.global.distance.total / (statistics.global.time.total / 3600) + : 0; - statistics.global.elevation.gain = this.local.elevation.gain[end] - this.local.elevation.gain[start]; - statistics.global.elevation.loss = this.local.elevation.loss[end] - this.local.elevation.loss[start]; + statistics.global.elevation.gain = + this.local.elevation.gain[end] - this.local.elevation.gain[start]; + statistics.global.elevation.loss = + this.local.elevation.loss[end] - this.local.elevation.loss[start]; statistics.global.bounds.southWest.lat = this.global.bounds.southWest.lat; statistics.global.bounds.southWest.lon = this.global.bounds.southWest.lon; @@ -1511,7 +1898,10 @@ export class GPXStatistics { } const earthRadius = 6371008.8; -export function distance(coord1: TrackPoint | Coordinates, coord2: TrackPoint | Coordinates): number { +export function distance( + coord1: TrackPoint | Coordinates, + coord2: TrackPoint | Coordinates +): number { if (coord1 instanceof TrackPoint) { coord1 = coord1.getCoordinates(); } @@ -1521,7 +1911,9 @@ export function distance(coord1: TrackPoint | Coordinates, coord2: TrackPoint | const rad = Math.PI / 180; const lat1 = coord1.lat * rad; const lat2 = coord2.lat * rad; - const a = Math.sin(lat1) * Math.sin(lat2) + Math.cos(lat1) * Math.cos(lat2) * Math.cos((coord2.lon - coord1.lon) * rad); + const a = + Math.sin(lat1) * Math.sin(lat2) + + Math.cos(lat1) * Math.cos(lat2) * Math.cos((coord2.lon - coord1.lon) * rad); const maxMeters = earthRadius * Math.acos(Math.min(a, 1)); return maxMeters; } @@ -1547,15 +1939,26 @@ export function getElevationDistanceFunction(statistics: GPXStatistics) { } return Math.abs((y2 - y1) * x3 - (x2 - x1) * y3 + x2 * y1 - y2 * x1) / dist; - } + }; } -function distanceWindowSmoothing(points: TrackPoint[], distanceWindow: number, accumulate: (index: number) => number, compute: (accumulated: number, start: number, end: number) => number, remove?: (index: number) => number): number[] { +function distanceWindowSmoothing( + points: TrackPoint[], + distanceWindow: number, + accumulate: (index: number) => number, + compute: (accumulated: number, start: number, end: number) => number, + remove?: (index: number) => number +): number[] { let result = []; - let start = 0, end = 0, accumulated = 0; + let start = 0, + end = 0, + accumulated = 0; for (var i = 0; i < points.length; i++) { - while (start + 1 < i && distance(points[start].getCoordinates(), points[i].getCoordinates()) > distanceWindow) { + while ( + start + 1 < i && + distance(points[start].getCoordinates(), points[i].getCoordinates()) > distanceWindow + ) { if (remove) { accumulated -= remove(start); } else { @@ -1563,7 +1966,10 @@ function distanceWindowSmoothing(points: TrackPoint[], distanceWindow: number, a } start++; } - while (end < points.length && distance(points[i].getCoordinates(), points[end].getCoordinates()) <= distanceWindow) { + while ( + end < points.length && + distance(points[i].getCoordinates(), points[end].getCoordinates()) <= distanceWindow + ) { accumulated += accumulate(end); end++; } @@ -1573,11 +1979,29 @@ function distanceWindowSmoothing(points: TrackPoint[], distanceWindow: number, a return result; } -function distanceWindowSmoothingWithDistanceAccumulator(points: TrackPoint[], distanceWindow: number, compute: (accumulated: number, start: number, end: number) => number): number[] { - return distanceWindowSmoothing(points, distanceWindow, (index) => index > 0 ? distance(points[index - 1].getCoordinates(), points[index].getCoordinates()) : 0, compute, (index) => distance(points[index].getCoordinates(), points[index + 1].getCoordinates())); +function distanceWindowSmoothingWithDistanceAccumulator( + points: TrackPoint[], + distanceWindow: number, + compute: (accumulated: number, start: number, end: number) => number +): number[] { + return distanceWindowSmoothing( + points, + distanceWindow, + (index) => + index > 0 + ? distance(points[index - 1].getCoordinates(), points[index].getCoordinates()) + : 0, + compute, + (index) => distance(points[index].getCoordinates(), points[index + 1].getCoordinates()) + ); } -function withTimestamps(points: TrackPoint[], speed: number, lastPoint: TrackPoint | undefined, startTime?: Date): TrackPoint[] { +function withTimestamps( + points: TrackPoint[], + speed: number, + lastPoint: TrackPoint | undefined, + startTime?: Date +): TrackPoint[] { let last = lastPoint; if (last === undefined) { last = points[0].clone(); @@ -1591,7 +2015,12 @@ function withTimestamps(points: TrackPoint[], speed: number, lastPoint: TrackPoi }); } -function withShiftedAndCompressedTimestamps(points: TrackPoint[], speed: number, ratio: number, lastPoint: TrackPoint): TrackPoint[] { +function withShiftedAndCompressedTimestamps( + points: TrackPoint[], + speed: number, + ratio: number, + lastPoint: TrackPoint +): TrackPoint[] { let start = getTimestamp(lastPoint, points[0], speed); let last = points[0]; return points.map((point) => { @@ -1599,20 +2028,28 @@ function withShiftedAndCompressedTimestamps(points: TrackPoint[], speed: number, if (point.time === undefined) { pt.time = getTimestamp(last, point, speed); } else { - pt.time = new Date(start.getTime() + ratio * (point.time.getTime() - points[0].time.getTime())); + pt.time = new Date( + start.getTime() + ratio * (point.time.getTime() - points[0].time.getTime()) + ); } last = pt; return pt; }); } -function withArtificialTimestamps(points: TrackPoint[], totalTime: number, lastPoint: TrackPoint | undefined, startTime: Date, slope: number[]): TrackPoint[] { +function withArtificialTimestamps( + points: TrackPoint[], + totalTime: number, + lastPoint: TrackPoint | undefined, + startTime: Date, + slope: number[] +): TrackPoint[] { let weight = []; let totalWeight = 0; for (let i = 0; i < points.length - 1; i++) { let dist = distance(points[i].getCoordinates(), points[i + 1].getCoordinates()); - let w = dist * (0.5 + 1 / (1 + Math.exp(- 0.2 * slope[i]))); + let w = dist * (0.5 + 1 / (1 + Math.exp(-0.2 * slope[i]))); weight.push(w); totalWeight += w; } @@ -1623,7 +2060,9 @@ function withArtificialTimestamps(points: TrackPoint[], totalTime: number, lastP if (i === 0) { pt.time = lastPoint?.time ?? startTime; } else { - pt.time = new Date(last.time.getTime() + totalTime * 1000 * weight[i - 1] / totalWeight); + pt.time = new Date( + last.time.getTime() + (totalTime * 1000 * weight[i - 1]) / totalWeight + ); } last = pt; return pt; @@ -1632,7 +2071,7 @@ function withArtificialTimestamps(points: TrackPoint[], totalTime: number, lastP function getTimestamp(a: TrackPoint, b: TrackPoint, speed: number): Date { let dist = distance(a.getCoordinates(), b.getCoordinates()) / 1000; - return new Date(a.time.getTime() + 1000 * 3600 * dist / speed); + return new Date(a.time.getTime() + (1000 * 3600 * dist) / speed); } function getOriginal(obj: any): any { @@ -1643,9 +2082,9 @@ function getOriginal(obj: any): any { } export type MergedLineStyles = { - color: string[] - opacity: number[], - width: number[], + color: string[]; + opacity: number[]; + width: number[]; }; function convertRouteToTrack(route: RouteType): Track { @@ -1664,18 +2103,26 @@ function convertRouteToTrack(route: RouteType): Track { const segment = new TrackSegment(); route.rtept.forEach((rpt) => { - if (rpt.extensions && rpt.extensions['gpxx:RoutePointExtension'] && rpt.extensions['gpxx:RoutePointExtension']["gpxx:rpt"]) { - rpt.extensions['gpxx:RoutePointExtension']["gpxx:rpt"].forEach((rptExtension) => { - segment.trkpt.push(new TrackPoint({ - attributes: rptExtension.attributes, - })); + if ( + rpt.extensions && + rpt.extensions['gpxx:RoutePointExtension'] && + rpt.extensions['gpxx:RoutePointExtension']['gpxx:rpt'] + ) { + rpt.extensions['gpxx:RoutePointExtension']['gpxx:rpt'].forEach((rptExtension) => { + segment.trkpt.push( + new TrackPoint({ + attributes: rptExtension.attributes, + }) + ); }); } else { - segment.trkpt.push(new TrackPoint({ - attributes: rpt.attributes, - ele: rpt.ele, - time: rpt.time, - })); + segment.trkpt.push( + new TrackPoint({ + attributes: rpt.attributes, + ele: rpt.ele, + time: rpt.time, + }) + ); } }); diff --git a/gpx/src/index.ts b/gpx/src/index.ts index 94790a79..1d79b1bc 100644 --- a/gpx/src/index.ts +++ b/gpx/src/index.ts @@ -2,4 +2,3 @@ export * from './gpx'; export { Coordinates, LineStyleExtension, WaypointType } from './types'; export { parseGPX, buildGPX } from './io'; export * from './simplify'; - diff --git a/gpx/src/io.ts b/gpx/src/io.ts index a612c917..9f4a264c 100644 --- a/gpx/src/io.ts +++ b/gpx/src/io.ts @@ -1,32 +1,40 @@ -import { XMLParser, XMLBuilder } from "fast-xml-parser"; -import { GPXFileType } from "./types"; -import { GPXFile } from "./gpx"; +import { XMLParser, XMLBuilder } from 'fast-xml-parser'; +import { GPXFileType } from './types'; +import { GPXFile } from './gpx'; const attributesWithNamespace = { - 'RoutePointExtension': 'gpxx:RoutePointExtension', - 'rpt': 'gpxx:rpt', - 'TrackPointExtension': 'gpxtpx:TrackPointExtension', - 'PowerExtension': 'gpxpx:PowerExtension', - 'atemp': 'gpxtpx:atemp', - 'hr': 'gpxtpx:hr', - 'cad': 'gpxtpx:cad', - 'Extensions': 'gpxtpx:Extensions', - 'PowerInWatts': 'gpxpx:PowerInWatts', - 'power': 'gpxpx:PowerExtension', - 'line': 'gpx_style:line', - 'color': 'gpx_style:color', - 'opacity': 'gpx_style:opacity', - 'width': 'gpx_style:width', + RoutePointExtension: 'gpxx:RoutePointExtension', + rpt: 'gpxx:rpt', + TrackPointExtension: 'gpxtpx:TrackPointExtension', + PowerExtension: 'gpxpx:PowerExtension', + atemp: 'gpxtpx:atemp', + hr: 'gpxtpx:hr', + cad: 'gpxtpx:cad', + Extensions: 'gpxtpx:Extensions', + PowerInWatts: 'gpxpx:PowerInWatts', + power: 'gpxpx:PowerExtension', + line: 'gpx_style:line', + color: 'gpx_style:color', + opacity: 'gpx_style:opacity', + width: 'gpx_style:width', }; export function parseGPX(gpxData: string): GPXFile { const parser = new XMLParser({ ignoreAttributes: false, - attributeNamePrefix: "", + attributeNamePrefix: '', attributesGroupName: 'attributes', removeNSPrefix: true, isArray(name: string) { - return name === 'trk' || name === 'trkseg' || name === 'trkpt' || name === 'wpt' || name === 'rte' || name === 'rtept' || name === 'gpxx:rpt'; + return ( + name === 'trk' || + name === 'trkseg' || + name === 'trkpt' || + name === 'wpt' || + name === 'rte' || + name === 'rtept' || + name === 'gpxx:rpt' + ); }, attributeValueProcessor(attrName, attrValue, jPath) { if (attrName === 'lat' || attrName === 'lon') { @@ -51,8 +59,14 @@ export function parseGPX(gpxData: string): GPXFile { return new Date(tagValue); } - if (tagName === 'gpxtpx:atemp' || tagName === 'gpxtpx:hr' || tagName === 'gpxtpx:cad' || tagName === 'gpxpx:PowerInWatts' || - tagName === 'gpx_style:opacity' || tagName === 'gpx_style:width') { + if ( + tagName === 'gpxtpx:atemp' || + tagName === 'gpxtpx:hr' || + tagName === 'gpxtpx:cad' || + tagName === 'gpxpx:PowerInWatts' || + tagName === 'gpx_style:opacity' || + tagName === 'gpx_style:width' + ) { return parseFloat(tagValue); } @@ -60,7 +74,7 @@ export function parseGPX(gpxData: string): GPXFile { // Finish the transformation of the simple tag to the more complex tag // Note that this only targets the transformed tag, since it must be a leaf node return { - 'gpxpx:PowerInWatts': parseFloat(tagValue) + 'gpxpx:PowerInWatts': parseFloat(tagValue), }; } } @@ -72,7 +86,7 @@ export function parseGPX(gpxData: string): GPXFile { const parsed: GPXFileType = parser.parse(gpxData).gpx; // @ts-ignore - if (parsed.metadata === "") { + if (parsed.metadata === '') { parsed.metadata = {}; } @@ -85,7 +99,7 @@ export function buildGPX(file: GPXFile, exclude: string[]): string { const builder = new XMLBuilder({ format: true, ignoreAttributes: false, - attributeNamePrefix: "", + attributeNamePrefix: '', attributesGroupName: 'attributes', suppressEmptyNode: true, tagValueProcessor: (tagName: string, tagValue: unknown): string => { @@ -96,13 +110,13 @@ export function buildGPX(file: GPXFile, exclude: string[]): string { }, }); - if (!gpx.attributes) - gpx.attributes = {}; + if (!gpx.attributes) gpx.attributes = {}; gpx.attributes['creator'] = gpx.attributes['creator'] ?? 'https://gpx.studio'; gpx.attributes['version'] = '1.1'; gpx.attributes['xmlns'] = 'http://www.topografix.com/GPX/1/1'; gpx.attributes['xmlns:xsi'] = 'http://www.w3.org/2001/XMLSchema-instance'; - gpx.attributes['xsi:schemaLocation'] = 'http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www.garmin.com/xmlschemas/GpxExtensionsv3.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v1 http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd http://www.garmin.com/xmlschemas/PowerExtension/v1 http://www.garmin.com/xmlschemas/PowerExtensionv1.xsd http://www.topografix.com/GPX/gpx_style/0/2 http://www.topografix.com/GPX/gpx_style/0/2/gpx_style.xsd'; + gpx.attributes['xsi:schemaLocation'] = + 'http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www.garmin.com/xmlschemas/GpxExtensionsv3.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v1 http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd http://www.garmin.com/xmlschemas/PowerExtension/v1 http://www.garmin.com/xmlschemas/PowerExtensionv1.xsd http://www.topografix.com/GPX/gpx_style/0/2 http://www.topografix.com/GPX/gpx_style/0/2/gpx_style.xsd'; gpx.attributes['xmlns:gpxtpx'] = 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1'; gpx.attributes['xmlns:gpxx'] = 'http://www.garmin.com/xmlschemas/GpxExtensions/v3'; gpx.attributes['xmlns:gpxpx'] = 'http://www.garmin.com/xmlschemas/PowerExtension/v1'; @@ -113,19 +127,24 @@ export function buildGPX(file: GPXFile, exclude: string[]): string { } return builder.build({ - "?xml": { + '?xml': { attributes: { - version: "1.0", - encoding: "UTF-8", - } + version: '1.0', + encoding: 'UTF-8', + }, }, - gpx: removeEmptyElements(gpx) + gpx: removeEmptyElements(gpx), }); } function removeEmptyElements(obj: GPXFileType): GPXFileType { for (const key in obj) { - if (obj[key] === null || obj[key] === undefined || obj[key] === '' || (Array.isArray(obj[key]) && obj[key].length === 0)) { + if ( + obj[key] === null || + obj[key] === undefined || + obj[key] === '' || + (Array.isArray(obj[key]) && obj[key].length === 0) + ) { delete obj[key]; } else if (typeof obj[key] === 'object' && !(obj[key] instanceof Date)) { removeEmptyElements(obj[key]); @@ -135,4 +154,4 @@ function removeEmptyElements(obj: GPXFileType): GPXFileType { } } return obj; -} \ No newline at end of file +} diff --git a/gpx/src/simplify.ts b/gpx/src/simplify.ts index bffdba1e..ee89c547 100644 --- a/gpx/src/simplify.ts +++ b/gpx/src/simplify.ts @@ -1,33 +1,48 @@ -import { TrackPoint } from "./gpx"; -import { Coordinates } from "./types"; +import { TrackPoint } from './gpx'; +import { Coordinates } from './types'; -export type SimplifiedTrackPoint = { point: TrackPoint, distance?: number }; +export type SimplifiedTrackPoint = { point: TrackPoint; distance?: number }; const earthRadius = 6371008.8; -export function ramerDouglasPeucker(points: TrackPoint[], epsilon: number = 50, measure: (a: TrackPoint, b: TrackPoint, c: TrackPoint) => number = crossarcDistance): SimplifiedTrackPoint[] { +export function ramerDouglasPeucker( + points: TrackPoint[], + epsilon: number = 50, + measure: (a: TrackPoint, b: TrackPoint, c: TrackPoint) => number = crossarcDistance +): SimplifiedTrackPoint[] { if (points.length == 0) { return []; } else if (points.length == 1) { - return [{ - point: points[0] - }]; + return [ + { + point: points[0], + }, + ]; } - let simplified = [{ - point: points[0] - }]; + let simplified = [ + { + point: points[0], + }, + ]; ramerDouglasPeuckerRecursive(points, epsilon, measure, 0, points.length - 1, simplified); simplified.push({ - point: points[points.length - 1] + point: points[points.length - 1], }); return simplified; } -function ramerDouglasPeuckerRecursive(points: TrackPoint[], epsilon: number, measure: (a: TrackPoint, b: TrackPoint, c: TrackPoint) => number, start: number, end: number, simplified: SimplifiedTrackPoint[]) { +function ramerDouglasPeuckerRecursive( + points: TrackPoint[], + epsilon: number, + measure: (a: TrackPoint, b: TrackPoint, c: TrackPoint) => number, + start: number, + end: number, + simplified: SimplifiedTrackPoint[] +) { let largest = { index: 0, - distance: 0 + distance: 0, }; for (let i = start + 1; i < end; i++) { @@ -45,12 +60,20 @@ function ramerDouglasPeuckerRecursive(points: TrackPoint[], epsilon: number, mea } } -export function crossarcDistance(point1: TrackPoint, point2: TrackPoint, point3: TrackPoint | Coordinates): number { - return crossarc(point1.getCoordinates(), point2.getCoordinates(), point3 instanceof TrackPoint ? point3.getCoordinates() : point3); +export function crossarcDistance( + point1: TrackPoint, + point2: TrackPoint, + point3: TrackPoint | Coordinates +): number { + return crossarc( + point1.getCoordinates(), + point2.getCoordinates(), + point3 instanceof TrackPoint ? point3.getCoordinates() : point3 + ); } function crossarc(coord1: Coordinates, coord2: Coordinates, coord3: Coordinates): number { - // Calculates the shortest distance in meters + // Calculates the shortest distance in meters // between an arc (defined by p1 and p2) and a third point, p3. // Input lat1,lon1,lat2,lon2,lat3,lon3 in degrees. @@ -74,7 +97,7 @@ function crossarc(coord1: Coordinates, coord2: Coordinates, coord3: Coordinates) } // Is relative bearing obtuse? - if (diff > (Math.PI / 2)) { + if (diff > Math.PI / 2) { return dis13; } @@ -83,7 +106,8 @@ function crossarc(coord1: Coordinates, coord2: Coordinates, coord3: Coordinates) // Is p4 beyond the arc? let dis12 = distance(lat1, lon1, lat2, lon2); - let dis14 = Math.acos(Math.cos(dis13 / earthRadius) / Math.cos(dxt / earthRadius)) * earthRadius; + let dis14 = + Math.acos(Math.cos(dis13 / earthRadius) / Math.cos(dxt / earthRadius)) * earthRadius; if (dis14 > dis12) { return distance(lat2, lon2, lat3, lon3); } else { @@ -93,18 +117,32 @@ function crossarc(coord1: Coordinates, coord2: Coordinates, coord3: Coordinates) function distance(latA: number, lonA: number, latB: number, lonB: number): number { // Finds the distance between two lat / lon points. - return Math.acos(Math.sin(latA) * Math.sin(latB) + Math.cos(latA) * Math.cos(latB) * Math.cos(lonB - lonA)) * earthRadius; + return ( + Math.acos( + Math.sin(latA) * Math.sin(latB) + + Math.cos(latA) * Math.cos(latB) * Math.cos(lonB - lonA) + ) * earthRadius + ); } - function bearing(latA: number, lonA: number, latB: number, lonB: number): number { // Finds the bearing from one lat / lon point to another. - return Math.atan2(Math.sin(lonB - lonA) * Math.cos(latB), - Math.cos(latA) * Math.sin(latB) - Math.sin(latA) * Math.cos(latB) * Math.cos(lonB - lonA)); + return Math.atan2( + Math.sin(lonB - lonA) * Math.cos(latB), + Math.cos(latA) * Math.sin(latB) - Math.sin(latA) * Math.cos(latB) * Math.cos(lonB - lonA) + ); } -export function projectedPoint(point1: TrackPoint, point2: TrackPoint, point3: TrackPoint | Coordinates): Coordinates { - return projected(point1.getCoordinates(), point2.getCoordinates(), point3 instanceof TrackPoint ? point3.getCoordinates() : point3); +export function projectedPoint( + point1: TrackPoint, + point2: TrackPoint, + point3: TrackPoint | Coordinates +): Coordinates { + return projected( + point1.getCoordinates(), + point2.getCoordinates(), + point3 instanceof TrackPoint ? point3.getCoordinates() : point3 + ); } function projected(coord1: Coordinates, coord2: Coordinates, coord3: Coordinates): Coordinates { @@ -132,7 +170,7 @@ function projected(coord1: Coordinates, coord2: Coordinates, coord3: Coordinates } // Is relative bearing obtuse? - if (diff > (Math.PI / 2)) { + if (diff > Math.PI / 2) { return coord1; } @@ -141,15 +179,23 @@ function projected(coord1: Coordinates, coord2: Coordinates, coord3: Coordinates // Is p4 beyond the arc? let dis12 = distance(lat1, lon1, lat2, lon2); - let dis14 = Math.acos(Math.cos(dis13 / earthRadius) / Math.cos(dxt / earthRadius)) * earthRadius; + let dis14 = + Math.acos(Math.cos(dis13 / earthRadius) / Math.cos(dxt / earthRadius)) * earthRadius; if (dis14 > dis12) { return coord2; } else { // Determine the closest point (p4) on the great circle const f = dis14 / earthRadius; - const lat4 = Math.asin(Math.sin(lat1) * Math.cos(f) + Math.cos(lat1) * Math.sin(f) * Math.cos(bear12)); - const lon4 = lon1 + Math.atan2(Math.sin(bear12) * Math.sin(f) * Math.cos(lat1), Math.cos(f) - Math.sin(lat1) * Math.sin(lat4)); + const lat4 = Math.asin( + Math.sin(lat1) * Math.cos(f) + Math.cos(lat1) * Math.sin(f) * Math.cos(bear12) + ); + const lon4 = + lon1 + + Math.atan2( + Math.sin(bear12) * Math.sin(f) * Math.cos(lat1), + Math.cos(f) - Math.sin(lat1) * Math.sin(lat4) + ); return { lat: lat4 / rad, lon: lon4 / rad }; } -} \ No newline at end of file +} diff --git a/gpx/src/types.ts b/gpx/src/types.ts index a7bd5cb1..67273c44 100644 --- a/gpx/src/types.ts +++ b/gpx/src/types.ts @@ -93,11 +93,11 @@ export type TrackPointExtension = { 'gpxtpx:hr'?: number; 'gpxtpx:cad'?: number; 'gpxtpx:Extensions'?: Record; -} +}; export type PowerExtension = { 'gpxpx:PowerInWatts'?: number; -} +}; export type Author = { name?: string; @@ -114,12 +114,12 @@ export type RouteType = { type?: string; extensions?: TrackExtensions; rtept: WaypointType[]; -} +}; export type RoutePointExtension = { 'gpxx:rpt'?: GPXXRoutePoint[]; -} +}; export type GPXXRoutePoint = { attributes: Coordinates; -} \ No newline at end of file +}; diff --git a/gpx/tsconfig.json b/gpx/tsconfig.json index e6976b26..56f696ec 100644 --- a/gpx/tsconfig.json +++ b/gpx/tsconfig.json @@ -4,9 +4,7 @@ "target": "ES2015", "declaration": true, "outDir": "./dist", - "moduleResolution": "node", + "moduleResolution": "node" }, - "include": [ - "src" - ], -} \ No newline at end of file + "include": ["src"] +} diff --git a/website/.eslintrc.cjs b/website/.eslintrc.cjs index 0b757582..7c116324 100644 --- a/website/.eslintrc.cjs +++ b/website/.eslintrc.cjs @@ -1,31 +1,31 @@ /** @type { import("eslint").Linter.Config } */ module.exports = { - root: true, - extends: [ - 'eslint:recommended', - 'plugin:@typescript-eslint/recommended', - 'plugin:svelte/recommended', - 'prettier' - ], - parser: '@typescript-eslint/parser', - plugins: ['@typescript-eslint'], - parserOptions: { - sourceType: 'module', - ecmaVersion: 2020, - extraFileExtensions: ['.svelte'] - }, - env: { - browser: true, - es2017: true, - node: true - }, - overrides: [ - { - files: ['*.svelte'], - parser: 'svelte-eslint-parser', - parserOptions: { - parser: '@typescript-eslint/parser' - } - } - ] + root: true, + extends: [ + 'eslint:recommended', + 'plugin:@typescript-eslint/recommended', + 'plugin:svelte/recommended', + 'prettier', + ], + parser: '@typescript-eslint/parser', + plugins: ['@typescript-eslint'], + parserOptions: { + sourceType: 'module', + ecmaVersion: 2020, + extraFileExtensions: ['.svelte'], + }, + env: { + browser: true, + es2017: true, + node: true, + }, + overrides: [ + { + files: ['*.svelte'], + parser: 'svelte-eslint-parser', + parserOptions: { + parser: '@typescript-eslint/parser', + }, + }, + ], }; diff --git a/website/.prettierignore b/website/.prettierignore index cc41cea9..d59d9d57 100644 --- a/website/.prettierignore +++ b/website/.prettierignore @@ -2,3 +2,5 @@ pnpm-lock.yaml package-lock.json yarn.lock +src/lib/components/ui +*.mdx \ No newline at end of file diff --git a/website/.prettierrc b/website/.prettierrc deleted file mode 100644 index 95730232..00000000 --- a/website/.prettierrc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "useTabs": true, - "singleQuote": true, - "trailingComma": "none", - "printWidth": 100, - "plugins": ["prettier-plugin-svelte"], - "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }] -} diff --git a/website/components.json b/website/components.json index 7b2aff41..7f764e61 100644 --- a/website/components.json +++ b/website/components.json @@ -1,14 +1,14 @@ { - "$schema": "https://shadcn-svelte.com/schema.json", - "style": "default", - "tailwind": { - "config": "tailwind.config.js", - "css": "src/app.css", - "baseColor": "slate" - }, - "aliases": { - "components": "$lib/components", - "utils": "$lib/utils" - }, - "typescript": true -} \ No newline at end of file + "$schema": "https://shadcn-svelte.com/schema.json", + "style": "default", + "tailwind": { + "config": "tailwind.config.js", + "css": "src/app.css", + "baseColor": "slate" + }, + "aliases": { + "components": "$lib/components", + "utils": "$lib/utils" + }, + "typescript": true +} diff --git a/website/postcss.config.js b/website/postcss.config.js index 2e7af2b7..49c0612d 100644 --- a/website/postcss.config.js +++ b/website/postcss.config.js @@ -1,6 +1,6 @@ export default { - plugins: { - tailwindcss: {}, - autoprefixer: {}, - }, -} + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +}; diff --git a/website/src/app.d.ts b/website/src/app.d.ts index 743f07b2..c7c0ed1d 100644 --- a/website/src/app.d.ts +++ b/website/src/app.d.ts @@ -1,13 +1,13 @@ // See https://kit.svelte.dev/docs/types#app // for information about these interfaces declare global { - namespace App { - // interface Error {} - // interface Locals {} - // interface PageData {} - // interface PageState {} - // interface Platform {} - } + namespace App { + // interface Error {} + // interface Locals {} + // interface PageData {} + // interface PageState {} + // interface Platform {} + } } export {}; diff --git a/website/src/app.html b/website/src/app.html index 0850632f..e89e751f 100644 --- a/website/src/app.html +++ b/website/src/app.html @@ -1,15 +1,13 @@ + + + + + %sveltekit.head% + - - - - - %sveltekit.head% - - - -
%sveltekit.body%
- - - \ No newline at end of file + +
%sveltekit.body%
+ + diff --git a/website/src/app.pcss b/website/src/app.pcss index cf9118d9..ad9a3b58 100644 --- a/website/src/app.pcss +++ b/website/src/app.pcss @@ -1,86 +1,86 @@ @tailwind base; @tailwind components; @tailwind utilities; - + @layer base { - :root { - --background: 0 0% 100%; - --foreground: 222.2 84% 4.9%; - - --muted: 210 40% 96.1%; - --muted-foreground: 215.4 16.3% 45%; - - --popover: 0 0% 100%; - --popover-foreground: 222.2 84% 4.9%; - - --card: 0 0% 100%; - --card-foreground: 222.2 84% 4.9%; - - --border: 214.3 31.8% 91.4%; - --input: 214.3 31.8% 91.4%; - - --primary: 222.2 47.4% 11.2%; - --primary-foreground: 210 40% 98%; - - --secondary: 210 40% 96.1%; - --secondary-foreground: 222.2 47.4% 11.2%; - - --accent: 210 40% 92%; - --accent-foreground: 222.2 47.4% 11.2%; - - --destructive: 0 72.2% 50.6%; - --destructive-foreground: 210 40% 98%; + :root { + --background: 0 0% 100%; + --foreground: 222.2 84% 4.9%; - --support: 220 15 130; + --muted: 210 40% 96.1%; + --muted-foreground: 215.4 16.3% 45%; - --link: 0 110 180; - - --ring: 222.2 84% 4.9%; - - --radius: 0.5rem; - } - - .dark { - --background: 222.2 84% 4.9%; - --foreground: 210 40% 98%; - - --muted: 217.2 32.6% 17.5%; - --muted-foreground: 215 20.2% 65.1%; - - --popover: 222.2 84% 4.9%; - --popover-foreground: 210 40% 98%; - - --card: 222.2 84% 4.9%; - --card-foreground: 210 40% 98%; - - --border: 217.2 32.6% 17.5%; - --input: 217.2 32.6% 17.5%; - - --primary: 210 40% 98%; - --primary-foreground: 222.2 47.4% 11.2%; - - --secondary: 217.2 32.6% 17.5%; - --secondary-foreground: 210 40% 98%; - - --accent: 217.2 32.6% 30%; - --accent-foreground: 210 40% 98%; - - --destructive: 0 62.8% 30.6%; - --destructive-foreground: 210 40% 98%; + --popover: 0 0% 100%; + --popover-foreground: 222.2 84% 4.9%; - --support: 255 110 190; + --card: 0 0% 100%; + --card-foreground: 222.2 84% 4.9%; - --link: 80 190 255; - - --ring: hsl(212.7,26.8%,83.9); - } + --border: 214.3 31.8% 91.4%; + --input: 214.3 31.8% 91.4%; + + --primary: 222.2 47.4% 11.2%; + --primary-foreground: 210 40% 98%; + + --secondary: 210 40% 96.1%; + --secondary-foreground: 222.2 47.4% 11.2%; + + --accent: 210 40% 92%; + --accent-foreground: 222.2 47.4% 11.2%; + + --destructive: 0 72.2% 50.6%; + --destructive-foreground: 210 40% 98%; + + --support: 220 15 130; + + --link: 0 110 180; + + --ring: 222.2 84% 4.9%; + + --radius: 0.5rem; + } + + .dark { + --background: 222.2 84% 4.9%; + --foreground: 210 40% 98%; + + --muted: 217.2 32.6% 17.5%; + --muted-foreground: 215 20.2% 65.1%; + + --popover: 222.2 84% 4.9%; + --popover-foreground: 210 40% 98%; + + --card: 222.2 84% 4.9%; + --card-foreground: 210 40% 98%; + + --border: 217.2 32.6% 17.5%; + --input: 217.2 32.6% 17.5%; + + --primary: 210 40% 98%; + --primary-foreground: 222.2 47.4% 11.2%; + + --secondary: 217.2 32.6% 17.5%; + --secondary-foreground: 210 40% 98%; + + --accent: 217.2 32.6% 30%; + --accent-foreground: 210 40% 98%; + + --destructive: 0 62.8% 30.6%; + --destructive-foreground: 210 40% 98%; + + --support: 255 110 190; + + --link: 80 190 255; + + --ring: hsl(212.7, 26.8%, 83.9); + } } - + @layer base { - * { - @apply border-border; - } - body { - @apply bg-background text-foreground; - } -} \ No newline at end of file + * { + @apply border-border; + } + body { + @apply bg-background text-foreground; + } +} diff --git a/website/src/hooks.server.js b/website/src/hooks.server.js index 81d46813..01a4311b 100644 --- a/website/src/hooks.server.js +++ b/website/src/hooks.server.js @@ -46,8 +46,9 @@ export async function handle({ event, resolve }) { } const response = await resolve(event, { - transformPageChunk: ({ html }) => html.replace('', htmlTag).replace('', headTag), + transformPageChunk: ({ html }) => + html.replace('', htmlTag).replace('', headTag), }); return response; -} \ No newline at end of file +} diff --git a/website/src/lib/assets/colors.ts b/website/src/lib/assets/colors.ts index af17331f..76acb270 100644 --- a/website/src/lib/assets/colors.ts +++ b/website/src/lib/assets/colors.ts @@ -1,28 +1,28 @@ export const surfaceColors: { [key: string]: string } = { - "missing": "#d1d1d1", - "paved": "#8c8c8c", - "unpaved": "#6b443a", - "asphalt": "#8c8c8c", - "concrete": "#8c8c8c", - "cobblestone": "#ffd991", - "paving_stones": "#8c8c8c", - "sett": "#ffd991", - "metal": "#8c8c8c", - "wood": "#6b443a", - "compacted": "#ffffa8", - "fine_gravel": "#ffffa8", - "gravel": "#ffffa8", - "pebblestone": "#ffffa8", - "rock": "#ffd991", - "dirt": "#ffffa8", - "ground": "#6b443a", - "earth": "#6b443a", - "mud": "#6b443a", - "sand": "#ffffc4", - "grass": "#61b55c", - "grass_paver": "#61b55c", - "clay": "#6b443a", - "stone": "#ffd991", + missing: '#d1d1d1', + paved: '#8c8c8c', + unpaved: '#6b443a', + asphalt: '#8c8c8c', + concrete: '#8c8c8c', + cobblestone: '#ffd991', + paving_stones: '#8c8c8c', + sett: '#ffd991', + metal: '#8c8c8c', + wood: '#6b443a', + compacted: '#ffffa8', + fine_gravel: '#ffffa8', + gravel: '#ffffa8', + pebblestone: '#ffffa8', + rock: '#ffd991', + dirt: '#ffffa8', + ground: '#6b443a', + earth: '#6b443a', + mud: '#6b443a', + sand: '#ffffc4', + grass: '#61b55c', + grass_paver: '#61b55c', + clay: '#6b443a', + stone: '#ffd991', }; export function getSurfaceColor(surface: string): string { @@ -30,66 +30,72 @@ export function getSurfaceColor(surface: string): string { } export const highwayColors: { [key: string]: string } = { - "missing": "#d1d1d1", - "motorway": "#ff4d33", - "motorway_link": "#ff4d33", - "trunk": "#ff5e4d", - "trunk_link": "#ff947f", - "primary": "#ff6e5c", - "primary_link": "#ff6e5c", - "secondary": "#ff8d7b", - "secondary_link": "#ff8d7b", - "tertiary": "#ffd75f", - "tertiary_link": "#ffd75f", - "unclassified": "#f1f2a5", - "road": "#f1f2a5", - "residential": "#73b2ff", - "living_street": "#73b2ff", - "service": "#9c9cd9", - "track": "#a8e381", - "footway": "#a8e381", - "path": "#a8e381", - "pedestrian": "#a8e381", - "cycleway": "#9de2ff", - "construction": "#e09a4a", - "bridleway": "#946f43", - "raceway": "#ff0000", - "rest_area": "#9c9cd9", - "services": "#9c9cd9", - "corridor": "#474747", - "elevator": "#474747", - "steps": "#474747", - "bus_stop": "#8545a3", - "busway": "#8545a3", - "via_ferrata": "#474747" + missing: '#d1d1d1', + motorway: '#ff4d33', + motorway_link: '#ff4d33', + trunk: '#ff5e4d', + trunk_link: '#ff947f', + primary: '#ff6e5c', + primary_link: '#ff6e5c', + secondary: '#ff8d7b', + secondary_link: '#ff8d7b', + tertiary: '#ffd75f', + tertiary_link: '#ffd75f', + unclassified: '#f1f2a5', + road: '#f1f2a5', + residential: '#73b2ff', + living_street: '#73b2ff', + service: '#9c9cd9', + track: '#a8e381', + footway: '#a8e381', + path: '#a8e381', + pedestrian: '#a8e381', + cycleway: '#9de2ff', + construction: '#e09a4a', + bridleway: '#946f43', + raceway: '#ff0000', + rest_area: '#9c9cd9', + services: '#9c9cd9', + corridor: '#474747', + elevator: '#474747', + steps: '#474747', + bus_stop: '#8545a3', + busway: '#8545a3', + via_ferrata: '#474747', }; export const sacScaleColors: { [key: string]: string } = { - "hiking": "#007700", - "mountain_hiking": "#1843ad", - "demanding_mountain_hiking": "#ffff00", - "alpine_hiking": "#ff9233", - "demanding_alpine_hiking": "#ff0000", - "difficult_alpine_hiking": "#000000", + hiking: '#007700', + mountain_hiking: '#1843ad', + demanding_mountain_hiking: '#ffff00', + alpine_hiking: '#ff9233', + demanding_alpine_hiking: '#ff0000', + difficult_alpine_hiking: '#000000', }; export const mtbScaleColors: { [key: string]: string } = { - "0-": "#007700", - "0": "#007700", - "0+": "#007700", - "1-": "#1843ad", - "1": "#1843ad", - "1+": "#1843ad", - "2-": "#ffff00", - "2": "#ffff00", - "2+": "#ffff00", - "3": "#ff0000", - "4": "#00ff00", - "5": "#000000", - "6": "#b105eb", + '0-': '#007700', + '0': '#007700', + '0+': '#007700', + '1-': '#1843ad', + '1': '#1843ad', + '1+': '#1843ad', + '2-': '#ffff00', + '2': '#ffff00', + '2+': '#ffff00', + '3': '#ff0000', + '4': '#00ff00', + '5': '#000000', + '6': '#b105eb', }; -function createPattern(backgroundColor: string, sacScaleColor: string | undefined, mtbScaleColor: string | undefined, size: number = 16, lineWidth: number = 4) { +function createPattern( + backgroundColor: string, + sacScaleColor: string | undefined, + mtbScaleColor: string | undefined, + size: number = 16, + lineWidth: number = 4 +) { let canvas = document.createElement('canvas'); canvas.width = size; canvas.height = size; @@ -104,11 +110,11 @@ function createPattern(backgroundColor: string, sacScaleColor: string | undefine if (sacScaleColor) { ctx.strokeStyle = sacScaleColor; ctx.beginPath(); - ctx.moveTo(halfSize - halfLineWidth, - halfLineWidth); + ctx.moveTo(halfSize - halfLineWidth, -halfLineWidth); ctx.lineTo(size + halfLineWidth, halfSize + halfLineWidth); ctx.stroke(); ctx.beginPath(); - ctx.moveTo(- halfLineWidth, halfSize - halfLineWidth); + ctx.moveTo(-halfLineWidth, halfSize - halfLineWidth); ctx.lineTo(halfSize + halfLineWidth, size + halfLineWidth); ctx.stroke(); } @@ -119,8 +125,8 @@ function createPattern(backgroundColor: string, sacScaleColor: string | undefine ctx.lineTo(size + halfLineWidth, halfSize - halfLineWidth); ctx.stroke(); ctx.beginPath(); - ctx.moveTo(- halfLineWidth, halfSize + halfLineWidth); - ctx.lineTo(halfSize + halfLineWidth, - halfLineWidth); + ctx.moveTo(-halfLineWidth, halfSize + halfLineWidth); + ctx.lineTo(halfSize + halfLineWidth, -halfLineWidth); ctx.stroke(); } } @@ -128,12 +134,16 @@ function createPattern(backgroundColor: string, sacScaleColor: string | undefine } const patterns: Record = {}; -export function getHighwayColor(highway: string, sacScale: string | undefined, mtbScale: string | undefined) { +export function getHighwayColor( + highway: string, + sacScale: string | undefined, + mtbScale: string | undefined +) { let backgroundColor = highwayColors[highway] ? highwayColors[highway] : highwayColors.missing; let sacScaleColor = sacScale ? sacScaleColors[sacScale] : undefined; let mtbScaleColor = mtbScale ? mtbScaleColors[mtbScale] : undefined; if (sacScale || mtbScale) { - let patternId = `${backgroundColor}-${[sacScale, mtbScale].filter(x => x).join('-')}`; + let patternId = `${backgroundColor}-${[sacScale, mtbScale].filter((x) => x).join('-')}`; if (!patterns[patternId]) { patterns[patternId] = createPattern(backgroundColor, sacScaleColor, mtbScaleColor); } @@ -158,4 +168,4 @@ export function getSlopeColor(slope: number): string { let lightness = 90 - Math.abs(v) * 70; return `hsl(${hue},70%,${lightness}%)`; -} \ No newline at end of file +} diff --git a/website/src/lib/assets/custom/bikerouter-gravel.json b/website/src/lib/assets/custom/bikerouter-gravel.json index d466cc67..6499630c 100644 --- a/website/src/lib/assets/custom/bikerouter-gravel.json +++ b/website/src/lib/assets/custom/bikerouter-gravel.json @@ -34,19 +34,7 @@ "type": "line", "source": "openmaptiles", "source-layer": "transportation", - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "in", - "class", - "rail" - ] - ], + "filter": ["all", ["==", "$type", "LineString"], ["in", "class", "rail"]], "layout": { "visibility": "none" }, @@ -61,11 +49,7 @@ "source-layer": "transportation", "filter": [ "all", - [ - "==", - "$type", - "LineString" - ], + ["==", "$type", "LineString"], [ "in", "class", @@ -87,14 +71,8 @@ "line-color": "rgba(204, 204, 204, 1)", "line-width": { "stops": [ - [ - 10, - 0.5 - ], - [ - 12, - 1 - ] + [10, 0.5], + [12, 1] ] } } @@ -107,68 +85,15 @@ "minzoom": 10, "filter": [ "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "track" - ], - true, - false - ], + ["==", ["geometry-type"], "LineString"], + ["match", ["get", "class"], ["track"], true, false], [ "any", - [ - "match", - [ - "get", - "tracktype" - ], - [ - "grade5" - ], - true, - false - ], + ["match", ["get", "tracktype"], ["grade5"], true, false], [ "all", - [ - "match", - [ - "get", - "tracktype" - ], - [ - "grade4" - ], - true, - false - ], - [ - "match", - [ - "get", - "surface" - ], - [ - "dirt", - "grass", - "mud", - "sand" - ], - true, - false - ] + ["match", ["get", "tracktype"], ["grade4"], true, false], + ["match", ["get", "surface"], ["dirt", "grass", "mud", "sand"], true, false] ] ] ], @@ -182,41 +107,18 @@ "line-width": { "base": 1.55, "stops": [ - [ - 10, - 0.4 - ], - [ - 12, - 1.3 - ], - [ - 14, - 1.7 - ] + [10, 0.4], + [12, 1.3], + [14, 1.7] ] }, - "line-dasharray": [ - 1 - ], + "line-dasharray": [1], "line-offset": { "stops": [ - [ - 12, - 0 - ], - [ - 13, - 1.8 - ], - [ - 15, - 3 - ], - [ - 16, - 4 - ] + [12, 0], + [13, 1.8], + [15, 3], + [16, 4] ], "base": 1.55 } @@ -230,68 +132,15 @@ "minzoom": 10, "filter": [ "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "track" - ], - true, - false - ], + ["==", ["geometry-type"], "LineString"], + ["match", ["get", "class"], ["track"], true, false], [ "any", - [ - "match", - [ - "get", - "tracktype" - ], - [ - "grade5" - ], - true, - false - ], + ["match", ["get", "tracktype"], ["grade5"], true, false], [ "all", - [ - "match", - [ - "get", - "tracktype" - ], - [ - "grade4" - ], - true, - false - ], - [ - "match", - [ - "get", - "surface" - ], - [ - "dirt", - "grass", - "mud", - "sand" - ], - true, - false - ] + ["match", ["get", "tracktype"], ["grade4"], true, false], + ["match", ["get", "surface"], ["dirt", "grass", "mud", "sand"], true, false] ] ] ], @@ -305,42 +154,18 @@ "line-width": { "base": 1.55, "stops": [ - [ - 10, - 0.4 - ], - [ - 12, - 1.3 - ], - [ - 14, - 1.7 - ] + [10, 0.4], + [12, 1.3], + [14, 1.7] ] }, - "line-dasharray": [ - 2, - 2 - ], + "line-dasharray": [2, 2], "line-offset": { "stops": [ - [ - 12, - 0 - ], - [ - 13, - 1.8 - ], - [ - 15, - 3 - ], - [ - 16, - 4 - ] + [12, 0], + [13, 1.8], + [15, 3], + [16, 4] ], "base": 1.55 } @@ -354,60 +179,16 @@ "minzoom": 10, "filter": [ "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "==", - [ - "get", - "class" - ], - "track" - ], - [ - "match", - [ - "get", - "tracktype" - ], - [ - "grade3" - ], - true, - false - ], + ["==", ["geometry-type"], "LineString"], + ["==", ["get", "class"], "track"], + ["match", ["get", "tracktype"], ["grade3"], true, false], [ "any", + ["match", ["get", "smoothness"], ["bad", "good", "intermediate"], true, false], [ "match", - [ - "get", - "smoothness" - ], - [ - "bad", - "good", - "intermediate" - ], - true, - false - ], - [ - "match", - [ - "get", - "surface" - ], - [ - "compacted", - "fine_gravel", - "gravel" - ], + ["get", "surface"], + ["compacted", "fine_gravel", "gravel"], true, false ] @@ -423,45 +204,21 @@ "line-width": { "base": 1.55, "stops": [ - [ - 10, - 0.4 - ], - [ - 12, - 1.3 - ], - [ - 14, - 1.7 - ] + [10, 0.4], + [12, 1.3], + [14, 1.7] ] }, "line-offset": { "stops": [ - [ - 12, - 0 - ], - [ - 13, - 2 - ], - [ - 15, - 4 - ], - [ - 16, - 5 - ] + [12, 0], + [13, 2], + [15, 4], + [16, 5] ], "base": 1.55 }, - "line-dasharray": [ - 3, - 1.5 - ] + "line-dasharray": [3, 1.5] } }, { @@ -472,47 +229,11 @@ "minzoom": 10, "filter": [ "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "==", - [ - "get", - "class" - ], - "track" - ], - [ - "match", - [ - "get", - "tracktype" - ], - [ - "grade2" - ], - true, - false - ], - [ - "!", - [ - "has", - "surface" - ] - ], - [ - "!", - [ - "has", - "smoothness" - ] - ] + ["==", ["geometry-type"], "LineString"], + ["==", ["get", "class"], "track"], + ["match", ["get", "tracktype"], ["grade2"], true, false], + ["!", ["has", "surface"]], + ["!", ["has", "smoothness"]] ], "layout": { "line-cap": "butt", @@ -524,38 +245,17 @@ "line-width": { "base": 1.55, "stops": [ - [ - 10, - 0.8 - ], - [ - 12, - 3 - ], - [ - 14, - 4 - ] + [10, 0.8], + [12, 3], + [14, 4] ] }, "line-offset": { "stops": [ - [ - 12, - 0 - ], - [ - 13, - 1.5 - ], - [ - 15, - 3 - ], - [ - 16, - 4 - ] + [12, 0], + [13, 1.5], + [15, 3], + [16, 4] ], "base": 1.55 } @@ -569,47 +269,11 @@ "minzoom": 10, "filter": [ "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "==", - [ - "get", - "class" - ], - "track" - ], - [ - "match", - [ - "get", - "tracktype" - ], - [ - "grade2" - ], - true, - false - ], - [ - "!", - [ - "has", - "surface" - ] - ], - [ - "!", - [ - "has", - "smoothness" - ] - ] + ["==", ["geometry-type"], "LineString"], + ["==", ["get", "class"], "track"], + ["match", ["get", "tracktype"], ["grade2"], true, false], + ["!", ["has", "surface"]], + ["!", ["has", "smoothness"]] ], "layout": { "line-cap": "butt", @@ -621,45 +285,21 @@ "line-width": { "base": 1.55, "stops": [ - [ - 10, - 0.5 - ], - [ - 12, - 1.5 - ], - [ - 14, - 2 - ] + [10, 0.5], + [12, 1.5], + [14, 2] ] }, "line-offset": { "stops": [ - [ - 12, - 0 - ], - [ - 13, - 1.5 - ], - [ - 15, - 3 - ], - [ - 16, - 4 - ] + [12, 0], + [13, 1.5], + [15, 3], + [16, 4] ], "base": 1.55 }, - "line-dasharray": [ - 5, - 1 - ] + "line-dasharray": [5, 1] } }, { @@ -670,63 +310,19 @@ "minzoom": 10, "filter": [ "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "==", - [ - "get", - "class" - ], - "track" - ], - [ - "match", - [ - "get", - "tracktype" - ], - [ - "grade2" - ], - true, - false - ], + ["==", ["geometry-type"], "LineString"], + ["==", ["get", "class"], "track"], + ["match", ["get", "tracktype"], ["grade2"], true, false], [ "any", [ "match", - [ - "get", - "surface" - ], - [ - "compacted", - "fine_gravel", - "gravel" - ], + ["get", "surface"], + ["compacted", "fine_gravel", "gravel"], true, false ], - [ - "match", - [ - "get", - "smoothness" - ], - [ - "bad", - "good", - "intermediate" - ], - true, - false - ] + ["match", ["get", "smoothness"], ["bad", "good", "intermediate"], true, false] ] ], "layout": { @@ -739,38 +335,17 @@ "line-width": { "base": 1.55, "stops": [ - [ - 10, - 0.8 - ], - [ - 12, - 3 - ], - [ - 14, - 4 - ] + [10, 0.8], + [12, 3], + [14, 4] ] }, "line-offset": { "stops": [ - [ - 12, - 0 - ], - [ - 13, - 2 - ], - [ - 15, - 4 - ], - [ - 16, - 5 - ] + [12, 0], + [13, 2], + [15, 4], + [16, 5] ], "base": 1.55 } @@ -784,63 +359,19 @@ "minzoom": 10, "filter": [ "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "==", - [ - "get", - "class" - ], - "track" - ], - [ - "match", - [ - "get", - "tracktype" - ], - [ - "grade2" - ], - true, - false - ], + ["==", ["geometry-type"], "LineString"], + ["==", ["get", "class"], "track"], + ["match", ["get", "tracktype"], ["grade2"], true, false], [ "any", [ "match", - [ - "get", - "surface" - ], - [ - "compacted", - "fine_gravel", - "gravel" - ], + ["get", "surface"], + ["compacted", "fine_gravel", "gravel"], true, false ], - [ - "match", - [ - "get", - "smoothness" - ], - [ - "bad", - "good", - "intermediate" - ], - true, - false - ] + ["match", ["get", "smoothness"], ["bad", "good", "intermediate"], true, false] ] ], "layout": { @@ -853,38 +384,17 @@ "line-width": { "base": 1.55, "stops": [ - [ - 10, - 0.5 - ], - [ - 12, - 1.5 - ], - [ - 14, - 2 - ] + [10, 0.5], + [12, 1.5], + [14, 2] ] }, "line-offset": { "stops": [ - [ - 12, - 0 - ], - [ - 13, - 2 - ], - [ - 15, - 4 - ], - [ - 16, - 5 - ] + [12, 0], + [13, 2], + [15, 4], + [16, 5] ], "base": 1.55 } @@ -898,30 +408,10 @@ "minzoom": 10, "filter": [ "all", - [ - "==", - "$type", - "LineString" - ], - [ - "in", - "class", - "path" - ], - [ - "in", - "smoothness", - "very_bad", - "horrible", - "very_horrible", - "impassable" - ], - [ - "!in", - "tracktype", - "grade5", - "grade4" - ] + ["==", "$type", "LineString"], + ["in", "class", "path"], + ["in", "smoothness", "very_bad", "horrible", "very_horrible", "impassable"], + ["!in", "tracktype", "grade5", "grade4"] ], "layout": { "line-cap": "square", @@ -933,38 +423,17 @@ "line-width": { "base": 1.55, "stops": [ - [ - 10, - 0.4 - ], - [ - 12, - 1.1 - ], - [ - 14, - 1.5 - ] + [10, 0.4], + [12, 1.1], + [14, 1.5] ] }, "line-offset": { "stops": [ - [ - 12, - 0 - ], - [ - 13, - 1.8 - ], - [ - 15, - 3 - ], - [ - 16, - 4 - ] + [12, 0], + [13, 1.8], + [15, 3], + [16, 4] ], "base": 1.55 } @@ -978,30 +447,10 @@ "minzoom": 10, "filter": [ "all", - [ - "==", - "$type", - "LineString" - ], - [ - "in", - "class", - "path" - ], - [ - "in", - "smoothness", - "very_bad", - "horrible", - "very_horrible", - "impassable" - ], - [ - "!in", - "tracktype", - "grade5", - "grade4" - ] + ["==", "$type", "LineString"], + ["in", "class", "path"], + ["in", "smoothness", "very_bad", "horrible", "very_horrible", "impassable"], + ["!in", "tracktype", "grade5", "grade4"] ], "layout": { "line-cap": "square", @@ -1013,42 +462,18 @@ "line-width": { "base": 1.55, "stops": [ - [ - 10, - 0.4 - ], - [ - 12, - 1.1 - ], - [ - 14, - 1.5 - ] + [10, 0.4], + [12, 1.1], + [14, 1.5] ] }, - "line-dasharray": [ - 2, - 2 - ], + "line-dasharray": [2, 2], "line-offset": { "stops": [ - [ - 12, - 0 - ], - [ - 13, - 1.8 - ], - [ - 15, - 3 - ], - [ - 16, - 4 - ] + [12, 0], + [13, 1.8], + [15, 3], + [16, 4] ], "base": 1.55 } @@ -1062,23 +487,9 @@ "minzoom": 10, "filter": [ "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "class", - "path" - ], - [ - "in", - "smoothness", - "good", - "intermediate", - "bad" - ], + ["==", "$type", "LineString"], + ["==", "class", "path"], + ["in", "smoothness", "good", "intermediate", "bad"], [ "!in", "surface", @@ -1090,16 +501,8 @@ "unhewn_cobblestone", "paving_stones" ], - [ - "!in", - "bicycle", - "no" - ], - [ - "!in", - "access", - "no" - ] + ["!in", "bicycle", "no"], + ["!in", "access", "no"] ], "layout": { "line-cap": "butt", @@ -1111,45 +514,21 @@ "line-width": { "base": 1.55, "stops": [ - [ - 10, - 0.4 - ], - [ - 12, - 1.1 - ], - [ - 14, - 1.5 - ] + [10, 0.4], + [12, 1.1], + [14, 1.5] ] }, "line-offset": { "stops": [ - [ - 12, - 0 - ], - [ - 13, - 2 - ], - [ - 15, - 4 - ], - [ - 16, - 5 - ] + [12, 0], + [13, 2], + [15, 4], + [16, 5] ], "base": 1.55 }, - "line-dasharray": [ - 1.5, - 1 - ] + "line-dasharray": [1.5, 1] } }, { @@ -1163,90 +542,25 @@ "minzoom": 10, "filter": [ "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "==", - [ - "get", - "class" - ], - "path" - ], + ["==", ["geometry-type"], "LineString"], + ["==", ["get", "class"], "path"], [ "any", - [ - "match", - [ - "get", - "surface" - ], - [ - "compacted", - "fine_gravel" - ], - true, - false - ], + ["match", ["get", "surface"], ["compacted", "fine_gravel"], true, false], [ "all", + ["match", ["get", "surface"], ["gravel"], true, false], [ "match", - [ - "get", - "surface" - ], - [ - "gravel" - ], - true, - false - ], - [ - "match", - [ - "get", - "smoothness" - ], - [ - "bad", - "good", - "intermediate" - ], + ["get", "smoothness"], + ["bad", "good", "intermediate"], true, false ] ] ], - [ - "match", - [ - "get", - "bicycle" - ], - [ - "no" - ], - false, - true - ], - [ - "match", - [ - "get", - "access" - ], - [ - "no" - ], - false, - true - ] + ["match", ["get", "bicycle"], ["no"], false, true], + ["match", ["get", "access"], ["no"], false, true] ], "layout": { "line-cap": "butt", @@ -1258,38 +572,17 @@ "line-width": { "base": 1.55, "stops": [ - [ - 10, - 0.7 - ], - [ - 12, - 2.5 - ], - [ - 14, - 3.2 - ] + [10, 0.7], + [12, 2.5], + [14, 3.2] ] }, "line-offset": { "stops": [ - [ - 12, - 0 - ], - [ - 13, - 2 - ], - [ - 15, - 4 - ], - [ - 16, - 5 - ] + [12, 0], + [13, 2], + [15, 4], + [16, 5] ], "base": 1.55 } @@ -1306,90 +599,25 @@ "minzoom": 10, "filter": [ "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "==", - [ - "get", - "class" - ], - "path" - ], + ["==", ["geometry-type"], "LineString"], + ["==", ["get", "class"], "path"], [ "any", - [ - "match", - [ - "get", - "surface" - ], - [ - "compacted", - "fine_gravel" - ], - true, - false - ], + ["match", ["get", "surface"], ["compacted", "fine_gravel"], true, false], [ "all", + ["match", ["get", "surface"], ["gravel"], true, false], [ "match", - [ - "get", - "surface" - ], - [ - "gravel" - ], - true, - false - ], - [ - "match", - [ - "get", - "smoothness" - ], - [ - "bad", - "good", - "intermediate" - ], + ["get", "smoothness"], + ["bad", "good", "intermediate"], true, false ] ] ], - [ - "match", - [ - "get", - "bicycle" - ], - [ - "no" - ], - false, - true - ], - [ - "match", - [ - "get", - "access" - ], - [ - "no" - ], - false, - true - ] + ["match", ["get", "bicycle"], ["no"], false, true], + ["match", ["get", "access"], ["no"], false, true] ], "layout": { "line-cap": "butt", @@ -1401,38 +629,17 @@ "line-width": { "base": 1.55, "stops": [ - [ - 10, - 0.5 - ], - [ - 12, - 1.5 - ], - [ - 14, - 2 - ] + [10, 0.5], + [12, 1.5], + [14, 2] ] }, "line-offset": { "stops": [ - [ - 12, - 0 - ], - [ - 13, - 2 - ], - [ - 15, - 4 - ], - [ - 16, - 5 - ] + [12, 0], + [13, 2], + [15, 4], + [16, 5] ], "base": 1.55 } @@ -1446,32 +653,10 @@ "minzoom": 10, "filter": [ "all", - [ - "==", - "$type", - "LineString" - ], - [ - "in", - "class", - "minor", - "service", - "track", - "path", - "residential" - ], - [ - "in", - "surface", - "sett", - "cobblestone", - "unhewn_cobblestone" - ], - [ - "!in", - "service", - "driveway" - ] + ["==", "$type", "LineString"], + ["in", "class", "minor", "service", "track", "path", "residential"], + ["in", "surface", "sett", "cobblestone", "unhewn_cobblestone"], + ["!in", "service", "driveway"] ], "layout": { "line-cap": "butt", @@ -1483,18 +668,9 @@ "line-width": { "base": 1.55, "stops": [ - [ - 10, - 0.5 - ], - [ - 12, - 1.5 - ], - [ - 14, - 2 - ] + [10, 0.5], + [12, 1.5], + [14, 2] ] } } @@ -1507,32 +683,10 @@ "minzoom": 10, "filter": [ "all", - [ - "==", - "$type", - "LineString" - ], - [ - "in", - "class", - "minor", - "service", - "track", - "path", - "residential" - ], - [ - "in", - "surface", - "sett", - "cobblestone", - "unhewn_cobblestone" - ], - [ - "!in", - "service", - "driveway" - ] + ["==", "$type", "LineString"], + ["in", "class", "minor", "service", "track", "path", "residential"], + ["in", "surface", "sett", "cobblestone", "unhewn_cobblestone"], + ["!in", "service", "driveway"] ], "layout": { "line-cap": "butt", @@ -1544,24 +698,12 @@ "line-width": { "base": 1.55, "stops": [ - [ - 10, - 0.5 - ], - [ - 12, - 1.5 - ], - [ - 14, - 2 - ] + [10, 0.5], + [12, 1.5], + [14, 2] ] }, - "line-dasharray": [ - 1.5, - 1 - ] + "line-dasharray": [1.5, 1] } }, { @@ -1572,31 +714,10 @@ "minzoom": 10, "filter": [ "all", - [ - "==", - "$type", - "LineString" - ], - [ - "in", - "class", - "minor" - ], - [ - "in", - "smoothness", - "very_bad", - "horrible", - "very_horrible", - "impassable" - ], - [ - "!in", - "surface", - "sett", - "cobblestone", - "unhewn_cobblestone" - ] + ["==", "$type", "LineString"], + ["in", "class", "minor"], + ["in", "smoothness", "very_bad", "horrible", "very_horrible", "impassable"], + ["!in", "surface", "sett", "cobblestone", "unhewn_cobblestone"] ], "layout": { "line-cap": "square", @@ -1608,18 +729,9 @@ "line-width": { "base": 1.55, "stops": [ - [ - 10, - 0.4 - ], - [ - 12, - 1.1 - ], - [ - 14, - 1.5 - ] + [10, 0.4], + [12, 1.1], + [14, 1.5] ] } } @@ -1632,31 +744,10 @@ "minzoom": 10, "filter": [ "all", - [ - "==", - "$type", - "LineString" - ], - [ - "in", - "class", - "minor" - ], - [ - "in", - "smoothness", - "very_bad", - "horrible", - "very_horrible", - "impassable" - ], - [ - "!in", - "surface", - "sett", - "cobblestone", - "unhewn_cobblestone" - ] + ["==", "$type", "LineString"], + ["in", "class", "minor"], + ["in", "smoothness", "very_bad", "horrible", "very_horrible", "impassable"], + ["!in", "surface", "sett", "cobblestone", "unhewn_cobblestone"] ], "layout": { "line-cap": "square", @@ -1668,24 +759,12 @@ "line-width": { "base": 1.55, "stops": [ - [ - 10, - 0.4 - ], - [ - 12, - 1.1 - ], - [ - 14, - 1.5 - ] + [10, 0.4], + [12, 1.1], + [14, 1.5] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -1696,33 +775,10 @@ "minzoom": 10, "filter": [ "all", - [ - "==", - "$type", - "LineString" - ], - [ - "in", - "class", - "minor", - "residential", - "service" - ], - [ - "in", - "surface", - "gravel", - "compacted", - "fine_gravel" - ], - [ - "!in", - "service", - "driveway", - "parking_aisle", - "drive-through", - "emergency_access" - ] + ["==", "$type", "LineString"], + ["in", "class", "minor", "residential", "service"], + ["in", "surface", "gravel", "compacted", "fine_gravel"], + ["!in", "service", "driveway", "parking_aisle", "drive-through", "emergency_access"] ], "layout": { "line-cap": "square", @@ -1734,18 +790,9 @@ "line-width": { "base": 1.55, "stops": [ - [ - 10, - 0.8 - ], - [ - 12, - 3 - ], - [ - 14, - 4 - ] + [10, 0.8], + [12, 3], + [14, 4] ] } } @@ -1758,33 +805,10 @@ "minzoom": 10, "filter": [ "all", - [ - "==", - "$type", - "LineString" - ], - [ - "in", - "class", - "minor", - "residential", - "service" - ], - [ - "in", - "surface", - "gravel", - "compacted", - "fine_gravel" - ], - [ - "!in", - "service", - "driveway", - "parking_aisle", - "drive-through", - "emergency_access" - ] + ["==", "$type", "LineString"], + ["in", "class", "minor", "residential", "service"], + ["in", "surface", "gravel", "compacted", "fine_gravel"], + ["!in", "service", "driveway", "parking_aisle", "drive-through", "emergency_access"] ], "layout": { "line-cap": "square", @@ -1796,18 +820,9 @@ "line-width": { "base": 1.55, "stops": [ - [ - 10, - 0.5 - ], - [ - 12, - 1.5 - ], - [ - 14, - 2 - ] + [10, 0.5], + [12, 1.5], + [14, 2] ] } } @@ -1817,14 +832,7 @@ "type": "symbol", "source": "openmaptiles", "source-layer": "landuse", - "filter": [ - "all", - [ - "==", - "class", - "cemetery" - ] - ], + "filter": ["all", ["==", "class", "cemetery"]], "layout": { "icon-image": "cemetery_11", "icon-rotation-alignment": "map", @@ -1840,16 +848,8 @@ "maxzoom": 20, "filter": [ "any", - [ - "==", - "class", - "drinking_water" - ], - [ - "==", - "subclass", - "drinking_water" - ] + ["==", "class", "drinking_water"], + ["==", "subclass", "drinking_water"] ], "layout": { "icon-image": "drinking_water_11", @@ -1861,4 +861,4 @@ ], "id": "basic", "owner": "Marcus Jaschen" -} \ No newline at end of file +} diff --git a/website/src/lib/assets/custom/ign-fr-plan.json b/website/src/lib/assets/custom/ign-fr-plan.json index 5822d8e3..1c98d8b3 100644 --- a/website/src/lib/assets/custom/ign-fr-plan.json +++ b/website/src/lib/assets/custom/ign-fr-plan.json @@ -7,9 +7,7 @@ "sources": { "plan_ign": { "type": "vector", - "tiles": [ - "https://data.geopf.fr/tms/1.0.0/PLAN.IGN/{z}/{x}/{y}.pbf" - ], + "tiles": ["https://data.geopf.fr/tms/1.0.0/PLAN.IGN/{z}/{x}/{y}.pbf"], "attribution": "IGN-F/Géoportail" }, "terrain": { @@ -49,11 +47,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "HYPSO_0" - ], + "filter": ["==", "symbo", "HYPSO_0"], "paint": { "fill-color": "#D6E5BA", "fill-opacity": 1 @@ -68,11 +62,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "HYPSO_100" - ], + "filter": ["==", "symbo", "HYPSO_100"], "paint": { "fill-color": "#F7F2DA", "fill-opacity": 1 @@ -87,11 +77,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "HYPSO_200" - ], + "filter": ["==", "symbo", "HYPSO_200"], "paint": { "fill-color": "#EBDEBF", "fill-opacity": 1 @@ -106,11 +92,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "HYPSO_1000" - ], + "filter": ["==", "symbo", "HYPSO_1000"], "paint": { "fill-color": "#DABE97", "fill-opacity": 1 @@ -125,11 +107,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "HYPSO_3000" - ], + "filter": ["==", "symbo", "HYPSO_3000"], "paint": { "fill-color": "#B28773", "fill-opacity": 1 @@ -144,11 +122,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "HYPSO_4000" - ], + "filter": ["==", "symbo", "HYPSO_4000"], "paint": { "fill-color": "#9E6A54", "fill-opacity": 1 @@ -163,11 +137,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "HYPSO_5000" - ], + "filter": ["==", "symbo", "HYPSO_5000"], "paint": { "fill-color": "#773A2B", "fill-opacity": 1 @@ -182,11 +152,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "GLACIER" - ], + "filter": ["==", "symbo", "GLACIER"], "paint": { "fill-color": "#FFFFFF", "fill-opacity": 0.7 @@ -222,11 +188,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "ZONE_FORET_OUVERTE" - ], + "filter": ["in", "symbo", "ZONE_FORET_OUVERTE"], "paint": { "fill-color": "#EDF2D9", "fill-outline-color": "#EDF2D9" @@ -240,11 +202,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_LANDE_LIGNEUSE" - ], + "filter": ["==", "symbo", "ZONE_LANDE_LIGNEUSE"], "paint": { "fill-color": "#F2EECD" } @@ -257,11 +215,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_VIGNE" - ], + "filter": ["==", "symbo", "ZONE_VIGNE"], "paint": { "fill-color": "#FFEDD9" } @@ -274,11 +228,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_VERGER" - ], + "filter": ["==", "symbo", "ZONE_VERGER"], "paint": { "fill-color": "#FAE2C5" } @@ -291,11 +241,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_CANNE_BANANE" - ], + "filter": ["==", "symbo", "ZONE_CANNE_BANANE"], "paint": { "fill-color": "#FAEDFA" } @@ -308,11 +254,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_D_ESTRAN" - ], + "filter": ["==", "symbo", "ZONE_D_ESTRAN"], "paint": { "fill-color": "#C3DDE9", "fill-outline-color": "#C3DDE9" @@ -326,22 +268,12 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_MANGROVE" - ], + "filter": ["==", "symbo", "ZONE_MANGROVE"], "paint": { "fill-color": { "stops": [ - [ - 9, - "#85CCCB" - ], - [ - 10, - "#90CCCB" - ] + [9, "#85CCCB"], + [10, "#90CCCB"] ] } } @@ -354,11 +286,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_MARAIS" - ], + "filter": ["==", "symbo", "ZONE_MARAIS"], "paint": { "fill-pattern": "Marais" } @@ -371,11 +299,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_MARAIS" - ], + "filter": ["==", "symbo", "ZONE_MARAIS"], "paint": { "fill-pattern": "Marais" } @@ -388,11 +312,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_MARAIS_SALANT" - ], + "filter": ["==", "symbo", "ZONE_MARAIS_SALANT"], "paint": { "fill-pattern": "MaraisSalant" } @@ -405,11 +325,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_ROCHEUSE" - ], + "filter": ["==", "symbo", "ZONE_ROCHEUSE"], "paint": { "fill-color": "#D0D0D0", "fill-opacity": 0.3 @@ -423,11 +339,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_SABLE_SEC" - ], + "filter": ["==", "symbo", "ZONE_SABLE_SEC"], "paint": { "fill-pattern": "Sable" } @@ -440,12 +352,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "ZONE_SABLE_HUMIDE", - "FOND_CUVETTE_HUMIDE" - ], + "filter": ["in", "symbo", "ZONE_SABLE_HUMIDE", "FOND_CUVETTE_HUMIDE"], "paint": { "fill-pattern": "SableHumide" } @@ -458,11 +365,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "GRAVIERS_GALETS_SEC" - ], + "filter": ["==", "symbo", "GRAVIERS_GALETS_SEC"], "paint": { "fill-pattern": "GravierSec" } @@ -475,11 +378,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "GRAVIERS_GALETS_HUM" - ], + "filter": ["==", "symbo", "GRAVIERS_GALETS_HUM"], "paint": { "fill-pattern": "Gravier" } @@ -492,11 +391,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_ROCHER_HYDRO" - ], + "filter": ["==", "symbo", "ZONE_ROCHER_HYDRO"], "paint": { "fill-pattern": "RocherHydro" } @@ -509,23 +404,13 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_GLACIER" - ], + "filter": ["==", "symbo", "ZONE_GLACIER"], "paint": { "fill-pattern": "Glacier", "fill-opacity": { "stops": [ - [ - 10, - 0.5 - ], - [ - 12, - 0.3 - ] + [10, 0.5], + [12, 0.3] ] } } @@ -540,27 +425,14 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_BATI" - ], + "filter": ["==", "symbo", "ZONE_BATI"], "paint": { "fill-color": "#E8E2D1", "fill-opacity": { "stops": [ - [ - 12, - 1 - ], - [ - 13, - 0.9 - ], - [ - 14, - 0.5 - ] + [12, 1], + [13, 0.9], + [14, 0.5] ] } } @@ -573,11 +445,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_INDUS_ACTI" - ], + "filter": ["==", "symbo", "ZONE_INDUS_ACTI"], "paint": { "fill-color": "#D9D9D9" } @@ -598,24 +466,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "CNV_MAITRESSE", - "CUVETTE_MAITRESSE" - ], + "filter": ["in", "symbo", "CNV_MAITRESSE", "CUVETTE_MAITRESSE"], "paint": { "line-color": "#D9C8A9", "line-width": { "stops": [ - [ - 13, - 1.7 - ], - [ - 15, - 2 - ] + [13, 1.7], + [15, 2] ] } } @@ -631,24 +488,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "CNV_NORMALE", - "CUVETTE_NORMALE" - ], + "filter": ["in", "symbo", "CNV_NORMALE", "CUVETTE_NORMALE"], "paint": { "line-color": "#D9C8A9", "line-width": { "stops": [ - [ - 13, - 1 - ], - [ - 15, - 1.2 - ] + [13, 1], + [15, 1.2] ] } } @@ -674,10 +520,7 @@ "paint": { "line-color": "#D9C8A9", "line-width": 0.7, - "line-dasharray": [ - 20, - 7 - ] + "line-dasharray": [20, 7] } }, { @@ -691,24 +534,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "CNV_GLACIER_MAITRESSE", - "CUV_GLACIER_MAITRESSE" - ], + "filter": ["in", "symbo", "CNV_GLACIER_MAITRESSE", "CUV_GLACIER_MAITRESSE"], "paint": { "line-color": "#A4BFD9", "line-width": { "stops": [ - [ - 13, - 1.7 - ], - [ - 15, - 2 - ] + [13, 1.7], + [15, 2] ] } } @@ -724,24 +556,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "CNV_GLACIER_NORMALE", - "CUV_GLACIER_NORMALE" - ], + "filter": ["in", "symbo", "CNV_GLACIER_NORMALE", "CUV_GLACIER_NORMALE"], "paint": { "line-color": "#A4BFD9", "line-width": { "stops": [ - [ - 13, - 1 - ], - [ - 15, - 1.2 - ] + [13, 1], + [15, 1.2] ] } } @@ -757,30 +578,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "CNV_GLACIER_INTERCAL", - "CUV_GLACIER_INTERCAL" - ], + "filter": ["in", "symbo", "CNV_GLACIER_INTERCAL", "CUV_GLACIER_INTERCAL"], "paint": { "line-color": "#A4BFD9", "line-width": { "stops": [ - [ - 13, - 0.7 - ], - [ - 15, - 0.9 - ] + [13, 0.7], + [15, 0.9] ] }, - "line-dasharray": [ - 20, - 7 - ] + "line-dasharray": [20, 7] } }, { @@ -794,12 +601,7 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "CNV_ROCHER_MAITRESSE", - "CUV_ROCHER_MAITRESSE" - ], + "filter": ["in", "symbo", "CNV_ROCHER_MAITRESSE", "CUV_ROCHER_MAITRESSE"], "paint": { "line-color": "#AAAAAA", "line-width": 1.7 @@ -816,12 +618,7 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "CNV_ROCHER_NORMALE", - "CUV_ROCHER_NORMALE" - ], + "filter": ["in", "symbo", "CNV_ROCHER_NORMALE", "CUV_ROCHER_NORMALE"], "paint": { "line-color": "#AAAAAA", "line-width": 1 @@ -838,30 +635,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "CNV_ROCHER_INTERCAL", - "CUV_ROCHER_INTERCAL" - ], + "filter": ["in", "symbo", "CNV_ROCHER_INTERCAL", "CUV_ROCHER_INTERCAL"], "paint": { "line-color": "#AAAAAA", "line-width": { "stops": [ - [ - 13, - 0.7 - ], - [ - 15, - 0.9 - ] + [13, 0.7], + [15, 0.9] ] }, - "line-dasharray": [ - 20, - 7 - ] + "line-dasharray": [20, 7] } }, { @@ -875,12 +658,7 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "CNV_BATHYMETRIQUE", - "CUV_BATHYMETRIQUE" - ], + "filter": ["in", "symbo", "CNV_BATHYMETRIQUE", "CUV_BATHYMETRIQUE"], "paint": { "line-color": "#0000FF", "line-width": 1 @@ -898,11 +676,7 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "TALUS" - ], + "filter": ["==", "symbo", "TALUS"], "paint": { "line-color": "#D9C8A9", "line-width": 1 @@ -920,29 +694,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "TALUS" - ], + "filter": ["==", "symbo", "TALUS"], "paint": { "line-color": "#D9C8A9", "line-width": { "stops": [ - [ - 14, - 7 - ], - [ - 16, - 9 - ] + [14, 7], + [16, 9] ] }, - "line-dasharray": [ - 0.1, - 1 - ], + "line-dasharray": [0.1, 1], "line-offset": 4 } }, @@ -958,14 +719,8 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 13, - 10 - ], - [ - 15, - 13 - ] + [13, 10], + [15, 13] ] }, "text-anchor": "center", @@ -974,28 +729,13 @@ "text-keep-upright": false, "text-max-angle": 20, "text-max-width": 100, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "filter": [ "all", - [ - "!=", - "texte", - "0" - ], - [ - "==", - "hors_zone", - true - ], - [ - "in", - "symbo", - "CNV_MAITRESSE", - "CUVETTE_MAITRESSE" - ] + ["!=", "texte", "0"], + ["==", "hors_zone", true], + ["in", "symbo", "CNV_MAITRESSE", "CUVETTE_MAITRESSE"] ], "paint": { "text-color": "#604A2F", @@ -1015,14 +755,8 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 13, - 10 - ], - [ - 15, - 13 - ] + [13, 10], + [15, 13] ] }, "text-anchor": "center", @@ -1031,28 +765,13 @@ "text-keep-upright": false, "text-max-angle": 20, "text-max-width": 100, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "filter": [ "all", - [ - "!=", - "texte", - "0" - ], - [ - "==", - "hors_zone", - true - ], - [ - "in", - "symbo", - "CNV_ROCHER_MAITRESSE", - "CUV_ROCHER_MAITRESSE" - ] + ["!=", "texte", "0"], + ["==", "hors_zone", true], + ["in", "symbo", "CNV_ROCHER_MAITRESSE", "CUV_ROCHER_MAITRESSE"] ], "paint": { "text-color": "#333333", @@ -1072,14 +791,8 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 13, - 10 - ], - [ - 15, - 13 - ] + [13, 10], + [15, 13] ] }, "text-anchor": "center", @@ -1088,28 +801,13 @@ "text-keep-upright": false, "text-max-angle": 20, "text-max-width": 100, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "filter": [ "all", - [ - "!=", - "texte", - "0" - ], - [ - "==", - "hors_zone", - true - ], - [ - "in", - "symbo", - "CNV_GLACIER_MAITRESSE", - "CUV_GLACIER_MAITRESSE" - ] + ["!=", "texte", "0"], + ["==", "hors_zone", true], + ["in", "symbo", "CNV_GLACIER_MAITRESSE", "CUV_GLACIER_MAITRESSE"] ], "paint": { "text-color": "#629FD9", @@ -1125,13 +823,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "SURFACE_D_EAU", - "BASSIN", - "ZONE_MARINE" - ], + "filter": ["in", "symbo", "SURFACE_D_EAU", "BASSIN", "ZONE_MARINE"], "paint": { "fill-color": "#AAD5E9", "fill-outline-color": "#AAD5E9" @@ -1145,11 +837,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "SURFACE_D_EAU_TEMP" - ], + "filter": ["==", "symbo", "SURFACE_D_EAU_TEMP"], "paint": { "fill-color": "rgba(168, 203, 220, 0.5)" } @@ -1165,30 +853,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "COURS_D_EAU_SOU", - "COURS_D_EAU_MOY_SOU" - ], + "filter": ["in", "symbo", "COURS_D_EAU_SOU", "COURS_D_EAU_MOY_SOU"], "paint": { "line-color": "#AAD5E9", "line-width": { "stops": [ - [ - 12, - 1.5 - ], - [ - 17, - 6.5 - ] + [12, 1.5], + [17, 6.5] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -1203,33 +877,17 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AQUEDUC_SOU" - ], + "filter": ["==", "symbo", "AQUEDUC_SOU"], "paint": { "line-color": "#AAD5E9", "line-width": { "stops": [ - [ - 12, - 1.4 - ], - [ - 16, - 3.5 - ], - [ - 17, - 5.9 - ] + [12, 1.4], + [16, 3.5], + [17, 5.9] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -1243,33 +901,17 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AQUEDUC_SOU" - ], + "filter": ["==", "symbo", "AQUEDUC_SOU"], "paint": { "line-color": "#AAD5E9", "line-width": { "stops": [ - [ - 12, - 3.5 - ], - [ - 16, - 8.7 - ], - [ - 17, - 14.7 - ] + [12, 3.5], + [16, 8.7], + [17, 14.7] ] }, - "line-dasharray": [ - 1, - 5 - ] + "line-dasharray": [1, 5] } }, { @@ -1301,14 +943,8 @@ "line-color": "#B4B4B4", "line-width": { "stops": [ - [ - 10, - 0.8 - ], - [ - 17, - 2.5 - ] + [10, 0.8], + [17, 2.5] ] } } @@ -1342,20 +978,11 @@ "line-color": "#B4B4B4", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 14.7 - ] + [10, 3.5], + [17, 14.7] ] }, - "line-dasharray": [ - 0.1, - 10 - ] + "line-dasharray": [0.1, 10] } }, { @@ -1370,25 +997,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "VF_ETROITE_1_SOU", - "VF_ETROITE_2_SOU", - "VF_ETROITE_SOU" - ], + "filter": ["in", "symbo", "VF_ETROITE_1_SOU", "VF_ETROITE_2_SOU", "VF_ETROITE_SOU"], "paint": { "line-color": "#B4B4B4", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] } } @@ -1405,31 +1020,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "VF_ETROITE_1_SOU", - "VF_ETROITE_2_SOU", - "VF_ETROITE_SOU" - ], + "filter": ["in", "symbo", "VF_ETROITE_1_SOU", "VF_ETROITE_2_SOU", "VF_ETROITE_SOU"], "paint": { "line-color": "#B4B4B4", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 14.7 - ] + [10, 3.5], + [17, 14.7] ] }, - "line-dasharray": [ - 0.1, - 10 - ] + "line-dasharray": [0.1, 10] } }, { @@ -1444,32 +1044,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "VF_SERVICE_SOU", - "VF_NON_EXPLOITEE_SOU" - ], + "filter": ["in", "symbo", "VF_SERVICE_SOU", "VF_NON_EXPLOITEE_SOU"], "paint": { "line-color": "#B4B4B4", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] }, - "line-dasharray": [ - 5, - 2, - 1, - 2 - ] + "line-dasharray": [5, 2, 1, 2] } }, { @@ -1483,24 +1067,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "FUNI_CREMAILLERE_SOU", - "TRANSPORT_URBAIN_SOU" - ], + "filter": ["in", "symbo", "FUNI_CREMAILLERE_SOU", "TRANSPORT_URBAIN_SOU"], "paint": { "line-color": "#B4B4B4", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] } } @@ -1516,32 +1089,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "FUNI_CREMAILLERE_SOU", - "TRANSPORT_URBAIN_SOU" - ], + "filter": ["in", "symbo", "FUNI_CREMAILLERE_SOU", "TRANSPORT_URBAIN_SOU"], "paint": { "line-color": "#B4B4B4", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 17 - ] + [10, 3.5], + [17, 17] ] }, - "line-dasharray": [ - 0.1, - 0.2, - 0.1, - 10 - ] + "line-dasharray": [0.1, 0.2, 0.1, 10] } }, { @@ -1556,38 +1113,18 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "PISTE_CYCLABLE_SOU", - "VOIE_VERTE_SOU" - ], + "filter": ["in", "symbo", "PISTE_CYCLABLE_SOU", "VOIE_VERTE_SOU"], "paint": { "line-color": "#AB81CC", "line-width": { "stops": [ - [ - 14, - 1.1 - ], - [ - 15, - 1.7 - ], - [ - 16, - 2 - ], - [ - 17, - 3.5 - ] + [14, 1.1], + [15, 1.7], + [16, 2], + [17, 3.5] ] }, - "line-dasharray": [ - 6, - 2 - ] + "line-dasharray": [6, 2] } }, { @@ -1602,31 +1139,15 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "ESCALIER_SOU" - ], + "filter": ["==", "symbo", "ESCALIER_SOU"], "paint": { "line-color": "#B3989A", "line-width": { "stops": [ - [ - 14, - 1.75 - ], - [ - 15, - 3 - ], - [ - 16, - 4.2 - ], - [ - 17, - 9.5 - ] + [14, 1.75], + [15, 3], + [16, 4.2], + [17, 9.5] ] } } @@ -1643,37 +1164,18 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "ESCALIER_SOU" - ], + "filter": ["==", "symbo", "ESCALIER_SOU"], "paint": { "line-color": "#FFFFFF", "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.9 - ], - [ - 16, - 2.7 - ], - [ - 17, - 5.8 - ] + [14, 1], + [15, 1.9], + [16, 2.7], + [17, 5.8] ] }, - "line-dasharray": [ - 1, - 0.2 - ] + "line-dasharray": [1, 0.2] } }, { @@ -1688,37 +1190,18 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "RUE_PIETONNE_SOU" - ], + "filter": ["==", "symbo", "RUE_PIETONNE_SOU"], "paint": { "line-color": "#B3989A", "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2] ] }, - "line-dasharray": [ - 1, - 3 - ] + "line-dasharray": [1, 3] } }, { @@ -1733,37 +1216,18 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "SENTIER_SOU" - ], + "filter": ["==", "symbo", "SENTIER_SOU"], "paint": { "line-color": "#B3989A", "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2] ] }, - "line-dasharray": [ - 4, - 3 - ] + "line-dasharray": [4, 3] } }, { @@ -1778,31 +1242,15 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "CHEMIN_SOU" - ], + "filter": ["==", "symbo", "CHEMIN_SOU"], "paint": { "line-color": "#B3989A", "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2] ] } } @@ -1818,37 +1266,18 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_REVETUE_CARRO_SOU" - ], + "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 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -1877,26 +1306,11 @@ "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 - ] + [12, 2.5], + [14, 3.7], + [15, 6.8], + [16, 8.4], + [17, 14] ] } } @@ -1912,31 +1326,15 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_CLASSEE_RESTREINT_SOU" - ], + "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT_SOU"], "paint": { "line-color": "#AFAFAF", "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] } } @@ -1952,32 +1350,15 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "NON_CLASSEE_4_SOU", - "NON_CLASSEE_SOU" - ], + "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 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] } } @@ -2006,26 +1387,11 @@ "line-color": "rgba(130, 130, 130, 0.5)", "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] } } @@ -2042,35 +1408,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LOCALE_CONSTR_SOU" - ], + "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 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] } } @@ -2099,30 +1446,12 @@ "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 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] } } @@ -2139,39 +1468,17 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REGIONALE_CONSTR_SOU" - ], + "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 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] } } @@ -2201,30 +1508,12 @@ "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 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] } } @@ -2241,39 +1530,17 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PRINCIPALE_CONSTR_SOU" - ], + "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 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] } } @@ -2290,40 +1557,17 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE_SOU", - "AUTOROU_LIBRE_SOU" - ], + "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 - ] + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] } } @@ -2340,39 +1584,17 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR_SOU" - ], + "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 - ] + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] } } @@ -2388,31 +1610,15 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_REVETUE_CARRO_SOU" - ], + "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 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -2443,26 +1649,11 @@ "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 - ] + [12, 1.5], + [14, 2.6], + [15, 5.2], + [16, 6.7], + [17, 10.8] ] } } @@ -2478,31 +1669,15 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_CLASSEE_RESTREINT_SOU" - ], + "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT_SOU"], "paint": { "line-color": "#F2F5FF", "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -2518,32 +1693,15 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "NON_CLASSEE_4_SOU", - "NON_CLASSEE_SOU" - ], + "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 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -2572,26 +1730,11 @@ "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 - ] + [9, 1.3], + [14, 2.3], + [15, 4.1], + [16, 6.1], + [17, 13.1] ] } } @@ -2608,56 +1751,25 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LOCALE_CONSTR_SOU" - ], + "filter": ["==", "symbo", "LOCALE_CONSTR_SOU"], "paint": { "line-color": { "stops": [ - [ - 12, - "#FFFFFF" - ], - [ - 13, - "#FCF4A8" - ], - [ - 17, - "#FCF7C1" - ] + [12, "#FFFFFF"], + [13, "#FCF4A8"], + [17, "#FCF7C1"] ] }, "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -2684,30 +1796,12 @@ "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 - ] + [6, 1.4], + [9, 1.5], + [14, 3.2], + [15, 5.8], + [16, 8.3], + [17, 16.2] ] } } @@ -2724,64 +1818,27 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REGIONALE_CONSTR_SOU" - ], + "filter": ["==", "symbo", "REGIONALE_CONSTR_SOU"], "paint": { "line-color": { "stops": [ - [ - 9, - "#FFFFFF" - ], - [ - 10, - "#FDF28B" - ], - [ - 17, - "#FCF6BD" - ] + [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 - ] + [4, 0.4], + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -2808,34 +1865,13 @@ "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 - ] + [4, 0.5], + [6, 1.8], + [9, 2.1], + [14, 4.4], + [15, 7.3], + [16, 10], + [17, 18.5] ] } } @@ -2852,60 +1888,26 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PRINCIPALE_CONSTR_SOU" - ], + "filter": ["==", "symbo", "PRINCIPALE_CONSTR_SOU"], "paint": { "line-color": { "stops": [ - [ - 9, - "#F3C66D" - ], - [ - 17, - "#F2DDB3" - ] + [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 - ] + [4, 0.5], + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -2919,44 +1921,18 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE_SOU", - "AUTOROU_LIBRE_SOU" - ], + "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 - ] + [4, 0.7], + [6, 2.5], + [9, 2.7], + [14, 5.8], + [15, 9], + [16, 12], + [17, 20.8] ] } } @@ -2973,36 +1949,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE_SOU", - "AUTOROU_LIBRE_SOU" - ], + "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 - ] + [9, 0.6], + [14, 0.7], + [15, 1], + [16, 1.2], + [17, 2.1] ] } } @@ -3019,60 +1975,26 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR_SOU" - ], + "filter": ["==", "symbo", "AUTOROU_CONSTR_SOU"], "paint": { "line-color": { "stops": [ - [ - 9, - "#F2BA59" - ], - [ - 17, - "#F2C261" - ] + [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 - ] + [4, 0.7], + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -3087,35 +2009,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR_SOU" - ], + "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 - ] + [9, 0.6], + [14, 0.7], + [15, 1], + [16, 1.2], + [17, 2.1] ] } } @@ -3130,30 +2033,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "COURS_D_EAU_TEMP", - "COURS_D_EAU_TEMP_MOY" - ], + "filter": ["in", "symbo", "COURS_D_EAU_TEMP", "COURS_D_EAU_TEMP_MOY"], "paint": { "line-color": "#AAD5E9", "line-width": { "stops": [ - [ - 12, - 1.5 - ], - [ - 17, - 4 - ] + [12, 1.5], + [17, 4] ] }, - "line-dasharray": [ - 6, - 2 - ] + "line-dasharray": [6, 2] } }, { @@ -3167,31 +2056,15 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "COURS_D_EAU" - ], + "filter": ["==", "symbo", "COURS_D_EAU"], "paint": { "line-color": "#AAD5E9", "line-width": { "stops": [ - [ - 4, - 0.3 - ], - [ - 7, - 1.5 - ], - [ - 12, - 1.5 - ], - [ - 17, - 6.5 - ] + [4, 0.3], + [7, 1.5], + [12, 1.5], + [17, 6.5] ] } } @@ -3206,23 +2079,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "CANAL" - ], + "filter": ["==", "symbo", "CANAL"], "paint": { "line-color": "#AAD5E9", "line-width": { "stops": [ - [ - 12, - 1.4 - ], - [ - 17, - 5.9 - ] + [12, 1.4], + [17, 5.9] ] } } @@ -3238,27 +2101,14 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AQUEDUC_AU_SOL" - ], + "filter": ["==", "symbo", "AQUEDUC_AU_SOL"], "paint": { "line-color": "#AAD5E9", "line-width": { "stops": [ - [ - 12, - 1.4 - ], - [ - 16, - 3.5 - ], - [ - 17, - 5.9 - ] + [12, 1.4], + [16, 3.5], + [17, 5.9] ] } } @@ -3274,33 +2124,17 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AQUEDUC_AU_SOL" - ], + "filter": ["==", "symbo", "AQUEDUC_AU_SOL"], "paint": { "line-color": "#AAD5E9", "line-width": { "stops": [ - [ - 12, - 3.5 - ], - [ - 16, - 8.7 - ], - [ - 17, - 14.7 - ] + [12, 3.5], + [16, 8.7], + [17, 14.7] ] }, - "line-dasharray": [ - 1, - 5 - ] + "line-dasharray": [1, 5] } }, { @@ -3313,23 +2147,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "COURS_D_EAU_MOY" - ], + "filter": ["==", "symbo", "COURS_D_EAU_MOY"], "paint": { "line-color": "#AAD5E9", "line-width": { "stops": [ - [ - 7, - 2 - ], - [ - 12, - 2.5 - ] + [7, 2], + [12, 2.5] ] } } @@ -3344,23 +2168,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "COURS_D_EAU_LAR" - ], + "filter": ["==", "symbo", "COURS_D_EAU_LAR"], "paint": { "line-color": "#AAD5E9", "line-width": { "stops": [ - [ - 7, - 3 - ], - [ - 11, - 5 - ] + [7, 3], + [11, 5] ] } } @@ -3373,11 +2187,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "PARCELLE" - ], + "filter": ["==", "symbo", "PARCELLE"], "paint": { "fill-color": "#FFFFD1", "fill-opacity": 0.7 @@ -3432,12 +2242,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "MAIRIE", - "MAIRIE_ANNEXE" - ], + "filter": ["in", "symbo", "MAIRIE", "MAIRIE_ANNEXE"], "paint": { "fill-color": "#FFA6A6" } @@ -3451,23 +2256,12 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "MAIRIE", - "MAIRIE_ANNEXE" - ], + "filter": ["in", "symbo", "MAIRIE", "MAIRIE_ANNEXE"], "paint": { "fill-color": { "stops": [ - [ - 14, - "#FFA6A6" - ], - [ - 15, - "#FFAEAE" - ] + [14, "#FFA6A6"], + [15, "#FFAEAE"] ] }, "fill-outline-color": "#FF7C7C" @@ -3516,14 +2310,8 @@ "paint": { "fill-color": { "stops": [ - [ - 15, - "#D1D1D1" - ], - [ - 16, - "#E6E6E6" - ] + [15, "#D1D1D1"], + [16, "#E6E6E6"] ] }, "fill-outline-color": "#B8B8B8" @@ -3538,12 +2326,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "BATI_PUBLIC", - "HANGAR_PUBLIC" - ], + "filter": ["in", "symbo", "BATI_PUBLIC", "HANGAR_PUBLIC"], "paint": { "fill-color": "#B9B6D6" } @@ -3557,23 +2340,12 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "BATI_PUBLIC", - "HANGAR_PUBLIC" - ], + "filter": ["in", "symbo", "BATI_PUBLIC", "HANGAR_PUBLIC"], "paint": { "fill-color": { "stops": [ - [ - 15, - "#CFC5DE" - ], - [ - 16, - "#E4DAF3" - ] + [15, "#CFC5DE"], + [16, "#E4DAF3"] ] }, "fill-outline-color": "#A6A1D6" @@ -3590,11 +2362,7 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "BATI_SPORTIF" - ], + "filter": ["==", "symbo", "BATI_SPORTIF"], "paint": { "line-color": "#BCD9AB", "line-width": 4 @@ -3609,22 +2377,12 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "BATI_SPORTIF" - ], + "filter": ["==", "symbo", "BATI_SPORTIF"], "paint": { "fill-color": { "stops": [ - [ - 14, - "#C9E1DD" - ], - [ - 15, - "#DCE6E4" - ] + [14, "#C9E1DD"], + [15, "#DCE6E4"] ] } } @@ -3638,11 +2396,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "BATI_GARE" - ], + "filter": ["==", "symbo", "BATI_GARE"], "paint": { "fill-color": "#B3B5F5" } @@ -3656,22 +2410,12 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "BATI_GARE" - ], + "filter": ["==", "symbo", "BATI_GARE"], "paint": { "fill-color": { "stops": [ - [ - 15, - "#BFC1F5" - ], - [ - 16, - "#CBCDF5" - ] + [15, "#BFC1F5"], + [16, "#CBCDF5"] ] }, "fill-outline-color": "#9B9EF6" @@ -3687,11 +2431,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "BATI_QQUE" - ], + "filter": ["==", "symbo", "BATI_QQUE"], "paint": { "fill-color": "#D6C6B8" } @@ -3705,22 +2445,12 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "BATI_QQUE" - ], + "filter": ["==", "symbo", "BATI_QQUE"], "paint": { "fill-color": { "stops": [ - [ - 15, - "#E6E0CF" - ], - [ - 16, - "#F1EBD9" - ] + [15, "#E6E0CF"], + [16, "#F1EBD9"] ] }, "fill-outline-color": "#C3AA8E" @@ -3734,12 +2464,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "ECLUSE_SURF", - "RESERVOIR_EAU_SURF" - ], + "filter": ["in", "symbo", "ECLUSE_SURF", "RESERVOIR_EAU_SURF"], "paint": { "fill-color": "#ADCCD9", "fill-outline-color": "#336699" @@ -3753,11 +2478,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "PECHERIE_SURF" - ], + "filter": ["==", "symbo", "PECHERIE_SURF"], "paint": { "fill-color": "#BFE2F0", "fill-outline-color": "#509FEF" @@ -3771,11 +2492,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "BARRAGE_SURF" - ], + "filter": ["==", "symbo", "BARRAGE_SURF"], "paint": { "fill-color": "#FFFFFF", "fill-outline-color": "#464646" @@ -3789,11 +2506,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "CHATEAU_EAU_SURF" - ], + "filter": ["==", "symbo", "CHATEAU_EAU_SURF"], "paint": { "fill-color": "#1466B2" } @@ -3807,11 +2520,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "SILO_SURF" - ], + "filter": ["==", "symbo", "SILO_SURF"], "paint": { "fill-color": "#C7A9AA", "fill-outline-color": "#696969" @@ -3826,11 +2535,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "RESERVOIR_INDUS_SURF" - ], + "filter": ["==", "symbo", "RESERVOIR_INDUS_SURF"], "paint": { "fill-color": "#8D9DAA", "fill-outline-color": "#464646" @@ -3845,11 +2550,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "SERRE_SURF" - ], + "filter": ["in", "symbo", "SERRE_SURF"], "paint": { "fill-color": "#CAD6D9", "fill-outline-color": "#8C8C8C" @@ -3863,11 +2564,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "POSTE_ELEC_SURF" - ], + "filter": ["in", "symbo", "POSTE_ELEC_SURF"], "paint": { "fill-color": "#7993B6", "fill-opacity": 0.3 @@ -3883,23 +2580,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "POSTE_ELEC_SURF" - ], + "filter": ["==", "symbo", "POSTE_ELEC_SURF"], "paint": { "line-color": "#000000", "line-width": { "stops": [ - [ - 12, - 0.3 - ], - [ - 17, - 1.2 - ] + [12, 0.3], + [17, 1.2] ] } } @@ -3951,26 +2638,14 @@ "paint": { "fill-color": { "stops": [ - [ - 14, - "#F7CBCB" - ], - [ - 15, - "#F7E1E1" - ] + [14, "#F7CBCB"], + [15, "#F7E1E1"] ] }, "fill-outline-color": { "stops": [ - [ - 14, - "#F7A8A8" - ], - [ - 15, - "#F7B7B7" - ] + [14, "#F7A8A8"], + [15, "#F7B7B7"] ] } } @@ -4055,12 +2730,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "PISTE_DUR", - "PISTE_HERBE" - ], + "filter": ["in", "symbo", "PISTE_DUR", "PISTE_HERBE"], "paint": { "fill-color": "#DBDBDB", "fill-outline-color": "#808080" @@ -4150,11 +2820,7 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "MUR" - ], + "filter": ["==", "symbo", "MUR"], "paint": { "line-color": "#8C8C8C", "line-width": 0.3 @@ -4170,13 +2836,7 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "RUINE_LIN", - "MUR_SOUTENEMENT", - "FORTIF_LIN" - ], + "filter": ["in", "symbo", "RUINE_LIN", "MUR_SOUTENEMENT", "FORTIF_LIN"], "paint": { "line-color": "#646464", "line-width": 0.5 @@ -4193,23 +2853,13 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "BARRAGE_LIN" - ], + "filter": ["==", "symbo", "BARRAGE_LIN"], "paint": { "line-color": "#646464", "line-width": { "stops": [ - [ - 13, - 1.5 - ], - [ - 17, - 5 - ] + [13, 1.5], + [17, 5] ] } } @@ -4225,24 +2875,13 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "QUAI", - "DIGUE" - ], + "filter": ["in", "symbo", "QUAI", "DIGUE"], "paint": { "line-color": "#828282", "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 17, - 2.5 - ] + [14, 1], + [17, 2.5] ] } } @@ -4258,23 +2897,13 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PECHERIE_LIN" - ], + "filter": ["==", "symbo", "PECHERIE_LIN"], "paint": { "line-color": "#0066CC", "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 17, - 2.5 - ] + [14, 1], + [17, 2.5] ] } } @@ -4290,53 +2919,24 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "PISTE_CYCLABLE", - "VOIE_VERTE" - ], + "filter": ["in", "symbo", "PISTE_CYCLABLE", "VOIE_VERTE"], "paint": { "line-color": { "stops": [ - [ - 17, - "#9B5CCC" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#9B5CCC"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 1.1 - ], - [ - 15, - 1.7 - ], - [ - 16, - 2 - ], - [ - 17, - 3.5 - ], - [ - 18, - 6 - ] + [14, 1.1], + [15, 1.7], + [16, 2], + [17, 3.5], + [18, 6] ] }, - "line-dasharray": [ - 6, - 2 - ] + "line-dasharray": [6, 2] } }, { @@ -4350,42 +2950,20 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "ESCALIER" - ], + "filter": ["==", "symbo", "ESCALIER"], "paint": { "line-color": { "stops": [ - [ - 17, - "#8C7274" - ], - [ - 18, - "#C8C8C8" - ] + [17, "#8C7274"], + [18, "#C8C8C8"] ] }, "line-width": { "stops": [ - [ - 14, - 1.75 - ], - [ - 15, - 3 - ], - [ - 16, - 4.2 - ], - [ - 17, - 9.5 - ] + [14, 1.75], + [15, 3], + [16, 4.2], + [17, 9.5] ] } } @@ -4401,37 +2979,18 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "ESCALIER" - ], + "filter": ["==", "symbo", "ESCALIER"], "paint": { "line-color": "#FFFFFF", "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.9 - ], - [ - 16, - 2.7 - ], - [ - 17, - 5.8 - ] + [14, 1], + [15, 1.9], + [16, 2.7], + [17, 5.8] ] }, - "line-dasharray": [ - 1, - 0.2 - ] + "line-dasharray": [1, 0.2] } }, { @@ -4445,52 +3004,24 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "RUE_PIETONNE" - ], + "filter": ["==", "symbo", "RUE_PIETONNE"], "paint": { "line-color": { "stops": [ - [ - 17, - "#8C7274" - ], - [ - 18, - "#F8E5D5" - ] + [17, "#8C7274"], + [18, "#F8E5D5"] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ], - [ - 18, - 5 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2], + [18, 5] ] }, - "line-dasharray": [ - 1, - 3 - ] + "line-dasharray": [1, 3] } }, { @@ -4504,52 +3035,24 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "SENTIER" - ], + "filter": ["==", "symbo", "SENTIER"], "paint": { "line-color": { "stops": [ - [ - 17, - "#8C7274" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#8C7274"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ], - [ - 18, - 6 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2], + [18, 6] ] }, - "line-dasharray": [ - 4, - 3 - ] + "line-dasharray": [4, 3] } }, { @@ -4563,46 +3066,21 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "CHEMIN" - ], + "filter": ["==", "symbo", "CHEMIN"], "paint": { "line-color": { "stops": [ - [ - 17, - "#8C7274" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#8C7274"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ], - [ - 18, - 7 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2], + [18, 7] ] } } @@ -4618,48 +3096,23 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_REVETUE_CARRO" - ], + "filter": ["==", "symbo", "NON_REVETUE_CARRO"], "paint": { "line-color": { "stops": [ - [ - 12, - "#646464" - ], - [ - 17, - "#8C8C8C" - ] + [12, "#646464"], + [17, "#8C8C8C"] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -4672,35 +3125,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_REVETUE_CARRO" - ], + "filter": ["==", "symbo", "NON_REVETUE_CARRO"], "paint": { "line-color": "#FFFFFF", "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ], - [ - 18, - 16.8 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5], + [18, 16.8] ] } } @@ -4729,42 +3163,18 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#DE460E" - ], - [ - 17, - "#F18800" - ], - [ - 18, - "#FFFFFF" - ] + [9, "#DE460E"], + [17, "#F18800"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 12, - 2.5 - ], - [ - 14, - 3.7 - ], - [ - 15, - 6.8 - ], - [ - 16, - 8.4 - ], - [ - 17, - 14 - ] + [12, 2.5], + [14, 3.7], + [15, 6.8], + [16, 8.4], + [17, 14] ] } } @@ -4779,42 +3189,20 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_CLASSEE_RESTREINT" - ], + "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT"], "paint": { "line-color": { "stops": [ - [ - 17, - "#969696" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#969696"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] } } @@ -4829,43 +3217,20 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "NON_CLASSEE_4", - "NON_CLASSEE" - ], + "filter": ["in", "symbo", "NON_CLASSEE_4", "NON_CLASSEE"], "paint": { "line-color": { "stops": [ - [ - 17, - "#969696" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#969696"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] } } @@ -4893,46 +3258,19 @@ "paint": { "line-color": { "stops": [ - [ - 12, - "#8C8C8C" - ], - [ - 13, - "#B4B4B4" - ], - [ - 17, - "#B4B4B4" - ], - [ - 18, - "#FFFFFF" - ] + [12, "#8C8C8C"], + [13, "#B4B4B4"], + [17, "#B4B4B4"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] } } @@ -4949,35 +3287,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LOCALE_CONSTR" - ], + "filter": ["==", "symbo", "LOCALE_CONSTR"], "paint": { "line-color": "#C8C8C8", "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] } } @@ -5005,50 +3324,20 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#828282" - ], - [ - 10, - "#B4B4B4" - ], - [ - 17, - "#B4B4B4" - ], - [ - 18, - "#FFFFFF" - ] + [9, "#828282"], + [10, "#B4B4B4"], + [17, "#B4B4B4"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 6, - 1.5 - ], - [ - 9, - 2.3 - ], - [ - 14, - 5 - ], - [ - 15, - 8.1 - ], - [ - 16, - 11.2 - ], - [ - 17, - 22 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] } } @@ -5065,39 +3354,17 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REGIONALE_CONSTR" - ], + "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 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] } } @@ -5125,42 +3392,18 @@ "paint": { "line-color": { "stops": [ - [ - 17, - "#E2A52A" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#E2A52A"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 6, - 1.8 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.9 - ], - [ - 15, - 9 - ], - [ - 16, - 12.2 - ], - [ - 17, - 22.5 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] } } @@ -5177,39 +3420,17 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PRINCIPALE_CONSTR" - ], + "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 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] } } @@ -5225,55 +3446,23 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE", - "AUTOROU_LIBRE" - ], + "filter": ["in", "symbo", "AUTOROU_PEAGE", "AUTOROU_LIBRE"], "paint": { "line-color": { "stops": [ - [ - 9, - "#DE460E" - ], - [ - 17, - "#F18800" - ], - [ - 18, - "#FFFFFF" - ] + [9, "#DE460E"], + [17, "#F18800"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 6, - 2.5 - ], - [ - 9, - 3.5 - ], - [ - 14, - 7.5 - ], - [ - 15, - 11 - ], - [ - 16, - 15 - ], - [ - 17, - 26 - ] + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] } } @@ -5290,39 +3479,17 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR" - ], + "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 - ] + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] } } @@ -5352,38 +3519,17 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#F18800" - ], - [ - 17, - "#F2B230" - ] + [9, "#F18800"], + [17, "#F2B230"] ] }, "line-width": { "stops": [ - [ - 12, - 1.5 - ], - [ - 14, - 2.6 - ], - [ - 15, - 5.2 - ], - [ - 16, - 6.7 - ], - [ - 17, - 10.8 - ] + [12, 1.5], + [14, 2.6], + [15, 5.2], + [16, 6.7], + [17, 10.8] ] } } @@ -5399,31 +3545,15 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_CLASSEE_RESTREINT" - ], + "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT"], "paint": { "line-color": "#EDF1FF", "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -5439,32 +3569,15 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "NON_CLASSEE_4", - "NON_CLASSEE" - ], + "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 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -5492,50 +3605,20 @@ "paint": { "line-color": { "stops": [ - [ - 6, - "#F2B361" - ], - [ - 7, - "#FFFFFF" - ], - [ - 12, - "#FFFFFF" - ], - [ - 13, - "#FCF4A8" - ], - [ - 17, - "#FCF7C1" - ] + [6, "#F2B361"], + [7, "#FFFFFF"], + [12, "#FFFFFF"], + [13, "#FCF4A8"], + [17, "#FCF7C1"] ] }, "line-width": { "stops": [ - [ - 9, - 1.3 - ], - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.1 - ], - [ - 17, - 13.1 - ] + [9, 1.3], + [14, 2.3], + [15, 4.1], + [16, 6.1], + [17, 13.1] ] } } @@ -5551,60 +3634,26 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LOCALE_CONSTR" - ], + "filter": ["==", "symbo", "LOCALE_CONSTR"], "paint": { "line-color": { "stops": [ - [ - 12, - "#FFFFFF" - ], - [ - 13, - "#FCF4A8" - ], - [ - 17, - "#FCF7C1" - ], - [ - 18, - "#EDEDED" - ] + [12, "#FFFFFF"], + [13, "#FCF4A8"], + [17, "#FCF7C1"], + [18, "#EDEDED"] ] }, "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -5630,58 +3679,22 @@ "paint": { "line-color": { "stops": [ - [ - 6, - "#F2A949" - ], - [ - 7, - "#FFFFFF" - ], - [ - 9, - "#FFFFFF" - ], - [ - 10, - "#FDF28B" - ], - [ - 17, - "#FCF6BD" - ] + [6, "#F2A949"], + [7, "#FFFFFF"], + [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 - ] + [4, 1.1], + [6, 1.4], + [9, 1.5], + [14, 3.2], + [15, 5.8], + [16, 8.3], + [17, 16.2] ] } } @@ -5697,68 +3710,28 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REGIONALE_CONSTR" - ], + "filter": ["==", "symbo", "REGIONALE_CONSTR"], "paint": { "line-color": { "stops": [ - [ - 9, - "#FFFFFF" - ], - [ - 10, - "#FDF28B" - ], - [ - 17, - "#FCF6BD" - ], - [ - 18, - "#EDEDED" - ] + [9, "#FFFFFF"], + [10, "#FDF28B"], + [17, "#FCF6BD"], + [18, "#EDEDED"] ] }, "line-width": { "stops": [ - [ - 4, - 0.4 - ], - [ - 6, - 1.5 - ], - [ - 9, - 2.3 - ], - [ - 14, - 5 - ], - [ - 15, - 8.1 - ], - [ - 16, - 11.2 - ], - [ - 17, - 22 - ] + [4, 0.4], + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -5784,54 +3757,21 @@ "paint": { "line-color": { "stops": [ - [ - 6, - "#F29924" - ], - [ - 7, - "#F3C66D" - ], - [ - 9, - "#F3C66D" - ], - [ - 17, - "#F2DDB3" - ] + [6, "#F29924"], + [7, "#F3C66D"], + [9, "#F3C66D"], + [17, "#F2DDB3"] ] }, "line-width": { "stops": [ - [ - 4, - 0.6 - ], - [ - 6, - 1.8 - ], - [ - 9, - 2.1 - ], - [ - 14, - 4.4 - ], - [ - 15, - 7.3 - ], - [ - 16, - 10 - ], - [ - 17, - 18.5 - ] + [4, 0.6], + [6, 1.8], + [9, 2.1], + [14, 4.4], + [15, 7.3], + [16, 10], + [17, 18.5] ] } } @@ -5847,64 +3787,27 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PRINCIPALE_CONSTR" - ], + "filter": ["==", "symbo", "PRINCIPALE_CONSTR"], "paint": { "line-color": { "stops": [ - [ - 9, - "#F3C66D" - ], - [ - 17, - "#F2DDB3" - ], - [ - 18, - "#EDEDED" - ] + [9, "#F3C66D"], + [17, "#F2DDB3"], + [18, "#EDEDED"] ] }, "line-width": { "stops": [ - [ - 4, - 0.5 - ], - [ - 6, - 1.8 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.9 - ], - [ - 15, - 9 - ], - [ - 16, - 12.2 - ], - [ - 17, - 22.5 - ] + [4, 0.5], + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -5918,55 +3821,23 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE", - "AUTOROU_LIBRE" - ], + "filter": ["in", "symbo", "AUTOROU_PEAGE", "AUTOROU_LIBRE"], "paint": { "line-color": { "stops": [ - [ - 9, - "#F18800" - ], - [ - 17, - "#F2B230" - ] + [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 - ] + [4, 0.7], + [6, 2.5], + [9, 2.7], + [14, 5.8], + [15, 9], + [16, 12], + [17, 20.8] ] } } @@ -5983,36 +3854,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE", - "AUTOROU_LIBRE" - ], + "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 - ] + [9, 0.6], + [14, 0.7], + [15, 1], + [16, 1.2], + [17, 2.1] ] } } @@ -6028,64 +3879,27 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR" - ], + "filter": ["==", "symbo", "AUTOROU_CONSTR"], "paint": { "line-color": { "stops": [ - [ - 9, - "#F18800" - ], - [ - 17, - "#F2B230" - ], - [ - 18, - "#EDEDED" - ] + [9, "#F18800"], + [17, "#F2B230"], + [18, "#EDEDED"] ] }, "line-width": { "stops": [ - [ - 4, - 0.7 - ], - [ - 6, - 2.5 - ], - [ - 9, - 3.5 - ], - [ - 14, - 7.5 - ], - [ - 15, - 11 - ], - [ - 16, - 15 - ], - [ - 17, - 26 - ] + [4, 0.7], + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -6100,35 +3914,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR" - ], + "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 - ] + [9, 0.6], + [14, 0.7], + [15, 1], + [16, 1.2], + [17, 2.1] ] } } @@ -6160,14 +3955,8 @@ "line-color": "#787878", "line-width": { "stops": [ - [ - 10, - 0.8 - ], - [ - 17, - 2.5 - ] + [10, 0.8], + [17, 2.5] ] } } @@ -6199,20 +3988,11 @@ "line-color": "#787878", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 14.7 - ] + [10, 3.5], + [17, 14.7] ] }, - "line-dasharray": [ - 0.1, - 10 - ] + "line-dasharray": [0.1, 10] } }, { @@ -6226,25 +4006,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "VF_ETROITE_1", - "VF_ETROITE_2", - "VF_ETROITE" - ], + "filter": ["in", "symbo", "VF_ETROITE_1", "VF_ETROITE_2", "VF_ETROITE"], "paint": { "line-color": "#787878", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] } } @@ -6260,31 +4028,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "VF_ETROITE_1", - "VF_ETROITE_2", - "VF_ETROITE" - ], + "filter": ["in", "symbo", "VF_ETROITE_1", "VF_ETROITE_2", "VF_ETROITE"], "paint": { "line-color": "#787878", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 14.7 - ] + [10, 3.5], + [17, 14.7] ] }, - "line-dasharray": [ - 0.1, - 10 - ] + "line-dasharray": [0.1, 10] } }, { @@ -6298,32 +4051,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "VF_SERVICE", - "VF_NON_EXPLOITEE" - ], + "filter": ["in", "symbo", "VF_SERVICE", "VF_NON_EXPLOITEE"], "paint": { "line-color": "#787878", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] }, - "line-dasharray": [ - 5, - 2, - 1, - 2 - ] + "line-dasharray": [5, 2, 1, 2] } }, { @@ -6338,29 +4075,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "VF_EN_CONSTR" - ], + "filter": ["==", "symbo", "VF_EN_CONSTR"], "paint": { "line-color": "#787878", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -6375,29 +4099,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "VF_EN_CONSTR" - ], + "filter": ["==", "symbo", "VF_EN_CONSTR"], "paint": { "line-color": "#787878", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 14.7 - ] + [10, 3.5], + [17, 14.7] ] }, - "line-dasharray": [ - 0.1, - 10 - ] + "line-dasharray": [0.1, 10] } }, { @@ -6410,24 +4121,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "FUNI_CREMAILLERE", - "TRANSPORT_URBAIN" - ], + "filter": ["in", "symbo", "FUNI_CREMAILLERE", "TRANSPORT_URBAIN"], "paint": { "line-color": "#787878", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] } } @@ -6442,32 +4142,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "FUNI_CREMAILLERE", - "TRANSPORT_URBAIN" - ], + "filter": ["in", "symbo", "FUNI_CREMAILLERE", "TRANSPORT_URBAIN"], "paint": { "line-color": "#787878", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 17 - ] + [10, 3.5], + [17, 17] ] }, - "line-dasharray": [ - 0.1, - 0.2, - 0.1, - 10 - ] + "line-dasharray": [0.1, 0.2, 0.1, 10] } }, { @@ -6482,25 +4166,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "BAC_AUTO", - "LIAISON_MARITIME", - "BAC_LIAISON_MARITIME" - ], + "filter": ["in", "symbo", "BAC_AUTO", "LIAISON_MARITIME", "BAC_LIAISON_MARITIME"], "paint": { "line-color": "#5792C2", "line-width": { "stops": [ - [ - 8, - 1 - ], - [ - 13, - 2.5 - ] + [8, 1], + [13, 2.5] ] } } @@ -6515,46 +4187,21 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "GUE_ROUTE" - ], + "filter": ["==", "symbo", "GUE_ROUTE"], "paint": { "line-color": { "stops": [ - [ - 13, - "#BEBEBE" - ], - [ - 17, - "#646464" - ], - [ - 18, - "#FFFFFF" - ] + [13, "#BEBEBE"], + [17, "#646464"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -6570,42 +4217,20 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "GUE_CHEMIN" - ], + "filter": ["==", "symbo", "GUE_CHEMIN"], "paint": { "line-color": { "stops": [ - [ - 13, - "#BEBEBE" - ], - [ - 17, - "#646464" - ] + [13, "#BEBEBE"], + [17, "#646464"] ] }, "line-width": { "stops": [ - [ - 14, - 1.6 - ], - [ - 15, - 2.9 - ], - [ - 16, - 4.4 - ], - [ - 17, - 6.5 - ] + [14, 1.6], + [15, 2.9], + [16, 4.4], + [17, 6.5] ] } } @@ -6620,44 +4245,20 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "PONT_PASSERELLE", - "PONT_LIN", - "PONT_MOBILE_LIN" - ], + "filter": ["in", "symbo", "PONT_PASSERELLE", "PONT_LIN", "PONT_MOBILE_LIN"], "paint": { "line-color": { "stops": [ - [ - 17, - "#C8C8C8" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#C8C8C8"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 2.2 - ], - [ - 15, - 3.8 - ], - [ - 16, - 5.4 - ], - [ - 17, - 11.8 - ] + [14, 2.2], + [15, 3.8], + [16, 5.4], + [17, 11.8] ] } } @@ -6673,33 +4274,15 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "PONT_PASSERELLE", - "PONT_LIN", - "PONT_MOBILE_LIN" - ], + "filter": ["in", "symbo", "PONT_PASSERELLE", "PONT_LIN", "PONT_MOBILE_LIN"], "paint": { "line-color": "#FFFFFF", "line-width": { "stops": [ - [ - 14, - 0.7 - ], - [ - 15, - 1.1 - ], - [ - 16, - 1.7 - ], - [ - 17, - 3.8 - ] + [14, 0.7], + [15, 1.1], + [16, 1.7], + [17, 3.8] ] } } @@ -6734,11 +4317,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "DALLE_DE_PROTECTION" - ], + "filter": ["==", "symbo", "DALLE_DE_PROTECTION"], "paint": { "fill-opacity": 0.5, "fill-color": "#FFFFFF", @@ -6754,11 +4333,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ESCALIER_SURF" - ], + "filter": ["==", "symbo", "ESCALIER_SURF"], "paint": { "fill-opacity": 0.8, "fill-color": "#FFFFFF", @@ -6774,11 +4349,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "SURF_PEAGE" - ], + "filter": ["==", "symbo", "SURF_PEAGE"], "paint": { "fill-color": "#F2DAAA", "fill-outline-color": "#E2A52A" @@ -6793,11 +4364,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "BATI_PEAGE" - ], + "filter": ["==", "symbo", "BATI_PEAGE"], "paint": { "fill-color": "#DCDCDC", "fill-outline-color": "#808080" @@ -6813,24 +4380,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "COURS_D_EAU_SUP", - "COURS_D_EAU_MOY_SUP" - ], + "filter": ["in", "symbo", "COURS_D_EAU_SUP", "COURS_D_EAU_MOY_SUP"], "paint": { "line-color": "#AAD5E9", "line-width": { "stops": [ - [ - 12, - 1.5 - ], - [ - 17, - 6.5 - ] + [12, 1.5], + [17, 6.5] ] } } @@ -6845,23 +4401,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "CANAL_SUP" - ], + "filter": ["==", "symbo", "CANAL_SUP"], "paint": { "line-color": "#AAD5E9", "line-width": { "stops": [ - [ - 12, - 1.4 - ], - [ - 17, - 5.9 - ] + [12, 1.4], + [17, 5.9] ] } } @@ -6876,27 +4422,14 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AQUEDUC_SUP" - ], + "filter": ["==", "symbo", "AQUEDUC_SUP"], "paint": { "line-color": "#AAD5E9", "line-width": { "stops": [ - [ - 12, - 1.4 - ], - [ - 16, - 3.5 - ], - [ - 17, - 5.9 - ] + [12, 1.4], + [16, 3.5], + [17, 5.9] ] } } @@ -6911,33 +4444,17 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AQUEDUC_SUP" - ], + "filter": ["==", "symbo", "AQUEDUC_SUP"], "paint": { "line-color": "#AAD5E9", "line-width": { "stops": [ - [ - 12, - 3.5 - ], - [ - 16, - 8.7 - ], - [ - 17, - 14.7 - ] + [12, 3.5], + [16, 8.7], + [17, 14.7] ] }, - "line-dasharray": [ - 1, - 5 - ] + "line-dasharray": [1, 5] } }, { @@ -6951,53 +4468,24 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "PISTE_CYCLABLE_SUP", - "VOIE_VERTE_SUP" - ], + "filter": ["in", "symbo", "PISTE_CYCLABLE_SUP", "VOIE_VERTE_SUP"], "paint": { "line-color": { "stops": [ - [ - 17, - "#9B5CCC" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#9B5CCC"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 1.1 - ], - [ - 15, - 1.7 - ], - [ - 16, - 2 - ], - [ - 17, - 3.5 - ], - [ - 18, - 6 - ] + [14, 1.1], + [15, 1.7], + [16, 2], + [17, 3.5], + [18, 6] ] }, - "line-dasharray": [ - 6, - 2 - ] + "line-dasharray": [6, 2] } }, { @@ -7011,42 +4499,20 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "ESCALIER_SUP" - ], + "filter": ["==", "symbo", "ESCALIER_SUP"], "paint": { "line-color": { "stops": [ - [ - 17, - "#8C7274" - ], - [ - 18, - "#C8C8C8" - ] + [17, "#8C7274"], + [18, "#C8C8C8"] ] }, "line-width": { "stops": [ - [ - 14, - 1.75 - ], - [ - 15, - 3 - ], - [ - 16, - 4.2 - ], - [ - 17, - 9.5 - ] + [14, 1.75], + [15, 3], + [16, 4.2], + [17, 9.5] ] } } @@ -7062,37 +4528,18 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "ESCALIER_SUP" - ], + "filter": ["==", "symbo", "ESCALIER_SUP"], "paint": { "line-color": "#FFFFFF", "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.9 - ], - [ - 16, - 2.7 - ], - [ - 17, - 5.8 - ] + [14, 1], + [15, 1.9], + [16, 2.7], + [17, 5.8] ] }, - "line-dasharray": [ - 1, - 0.2 - ] + "line-dasharray": [1, 0.2] } }, { @@ -7106,52 +4553,24 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "RUE_PIETONNE_SUP" - ], + "filter": ["==", "symbo", "RUE_PIETONNE_SUP"], "paint": { "line-color": { "stops": [ - [ - 17, - "#8C7274" - ], - [ - 18, - "#EBEBEB" - ] + [17, "#8C7274"], + [18, "#EBEBEB"] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ], - [ - 18, - 5 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2], + [18, 5] ] }, - "line-dasharray": [ - 1, - 3 - ] + "line-dasharray": [1, 3] } }, { @@ -7165,52 +4584,24 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "SENTIER_SUP" - ], + "filter": ["==", "symbo", "SENTIER_SUP"], "paint": { "line-color": { "stops": [ - [ - 17, - "#8C7274" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#8C7274"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ], - [ - 18, - 6 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2], + [18, 6] ] }, - "line-dasharray": [ - 4, - 3 - ] + "line-dasharray": [4, 3] } }, { @@ -7224,46 +4615,21 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "CHEMIN_SUP" - ], + "filter": ["==", "symbo", "CHEMIN_SUP"], "paint": { "line-color": { "stops": [ - [ - 17, - "#8C7274" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#8C7274"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ], - [ - 18, - 7 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2], + [18, 7] ] } } @@ -7279,48 +4645,23 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_REVETUE_CARRO_SUP" - ], + "filter": ["==", "symbo", "NON_REVETUE_CARRO_SUP"], "paint": { "line-color": { "stops": [ - [ - 12, - "#646464" - ], - [ - 17, - "#8C8C8C" - ] + [12, "#646464"], + [17, "#8C8C8C"] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -7347,42 +4688,18 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#DE460E" - ], - [ - 17, - "#F18800" - ], - [ - 18, - "#FFFFFF" - ] + [9, "#DE460E"], + [17, "#F18800"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 12, - 2.5 - ], - [ - 14, - 3.7 - ], - [ - 15, - 6.8 - ], - [ - 16, - 8.4 - ], - [ - 17, - 14 - ] + [12, 2.5], + [14, 3.7], + [15, 6.8], + [16, 8.4], + [17, 14] ] } } @@ -7397,42 +4714,20 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_CLASSEE_RESTREINT_SUP" - ], + "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT_SUP"], "paint": { "line-color": { "stops": [ - [ - 17, - "#969696" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#969696"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] } } @@ -7447,43 +4742,20 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "NON_CLASSEE_4_SUP", - "NON_CLASSEE_SUP" - ], + "filter": ["in", "symbo", "NON_CLASSEE_4_SUP", "NON_CLASSEE_SUP"], "paint": { "line-color": { "stops": [ - [ - 17, - "#969696" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#969696"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] } } @@ -7510,46 +4782,19 @@ "paint": { "line-color": { "stops": [ - [ - 12, - "#8C8C8C" - ], - [ - 13, - "#B4B4B4" - ], - [ - 17, - "#B4B4B4" - ], - [ - 18, - "#FFFFFF" - ] + [12, "#8C8C8C"], + [13, "#B4B4B4"], + [17, "#B4B4B4"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] } } @@ -7566,35 +4811,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LOCALE_CONSTR_SUP" - ], + "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 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] } } @@ -7622,50 +4848,20 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#828282" - ], - [ - 10, - "#B4B4B4" - ], - [ - 17, - "#B4B4B4" - ], - [ - 18, - "#FFFFFF" - ] + [9, "#828282"], + [10, "#B4B4B4"], + [17, "#B4B4B4"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 6, - 1.5 - ], - [ - 9, - 2.3 - ], - [ - 14, - 5 - ], - [ - 15, - 8.1 - ], - [ - 16, - 11.2 - ], - [ - 17, - 22 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] } } @@ -7682,39 +4878,17 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REGIONALE_CONSTR_SUP" - ], + "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 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] } } @@ -7742,42 +4916,18 @@ "paint": { "line-color": { "stops": [ - [ - 17, - "#E2A52A" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#E2A52A"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 6, - 1.8 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.9 - ], - [ - 15, - 9 - ], - [ - 16, - 12.2 - ], - [ - 17, - 22.5 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] } } @@ -7794,39 +4944,17 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PRINCIPALE_CONSTR_SUP" - ], + "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 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] } } @@ -7842,55 +4970,23 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE_SUP", - "AUTOROU_LIBRE_SUP" - ], + "filter": ["in", "symbo", "AUTOROU_PEAGE_SUP", "AUTOROU_LIBRE_SUP"], "paint": { "line-color": { "stops": [ - [ - 9, - "#DE460E" - ], - [ - 17, - "#F18800" - ], - [ - 18, - "#FFFFFF" - ] + [9, "#DE460E"], + [17, "#F18800"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 6, - 2.5 - ], - [ - 9, - 3.5 - ], - [ - 14, - 7.5 - ], - [ - 15, - 11 - ], - [ - 16, - 15 - ], - [ - 17, - 26 - ] + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] } } @@ -7907,39 +5003,17 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR_SUP" - ], + "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 - ] + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] } } @@ -7954,35 +5028,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_REVETUE_CARRO_SUP" - ], + "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 - ], - [ - 18, - 16.8 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5], + [18, 16.8] ] } } @@ -8012,38 +5067,17 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#F18800" - ], - [ - 17, - "#F2B230" - ] + [9, "#F18800"], + [17, "#F2B230"] ] }, "line-width": { "stops": [ - [ - 12, - 1.5 - ], - [ - 14, - 2.6 - ], - [ - 15, - 5.2 - ], - [ - 16, - 6.7 - ], - [ - 17, - 10.8 - ] + [12, 1.5], + [14, 2.6], + [15, 5.2], + [16, 6.7], + [17, 10.8] ] } } @@ -8059,31 +5093,15 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_CLASSEE_RESTREINT_SUP" - ], + "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT_SUP"], "paint": { "line-color": "#EDF1FF", "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -8099,32 +5117,15 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "NON_CLASSEE_4_SUP", - "NON_CLASSEE_SUP" - ], + "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 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -8152,42 +5153,18 @@ "paint": { "line-color": { "stops": [ - [ - 12, - "#FFFFFF" - ], - [ - 13, - "#FCF4A8" - ], - [ - 17, - "#FCF7C1" - ] + [12, "#FFFFFF"], + [13, "#FCF4A8"], + [17, "#FCF7C1"] ] }, "line-width": { "stops": [ - [ - 9, - 1.3 - ], - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.1 - ], - [ - 17, - 13.1 - ] + [9, 1.3], + [14, 2.3], + [15, 4.1], + [16, 6.1], + [17, 13.1] ] } } @@ -8204,56 +5181,25 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LOCALE_CONSTR_SUP" - ], + "filter": ["==", "symbo", "LOCALE_CONSTR_SUP"], "paint": { "line-color": { "stops": [ - [ - 12, - "#FFFFFF" - ], - [ - 13, - "#FCF4A8" - ], - [ - 17, - "#FCF7C1" - ] + [12, "#FFFFFF"], + [13, "#FCF4A8"], + [17, "#FCF7C1"] ] }, "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -8279,46 +5225,19 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#FFFFFF" - ], - [ - 10, - "#FDF28B" - ], - [ - 17, - "#FCF6BD" - ] + [9, "#FFFFFF"], + [10, "#FDF28B"], + [17, "#FCF6BD"] ] }, "line-width": { "stops": [ - [ - 6, - 1.4 - ], - [ - 9, - 1.5 - ], - [ - 14, - 3.2 - ], - [ - 15, - 5.8 - ], - [ - 16, - 8.3 - ], - [ - 17, - 16.2 - ] + [6, 1.4], + [9, 1.5], + [14, 3.2], + [15, 5.8], + [16, 8.3], + [17, 16.2] ] } } @@ -8335,60 +5254,26 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REGIONALE_CONSTR_SUP" - ], + "filter": ["==", "symbo", "REGIONALE_CONSTR_SUP"], "paint": { "line-color": { "stops": [ - [ - 9, - "#FFFFFF" - ], - [ - 10, - "#FDF28B" - ], - [ - 17, - "#FCF6BD" - ] + [9, "#FFFFFF"], + [10, "#FDF28B"], + [17, "#FCF6BD"] ] }, "line-width": { "stops": [ - [ - 6, - 1.5 - ], - [ - 9, - 2.3 - ], - [ - 14, - 5 - ], - [ - 15, - 8.1 - ], - [ - 16, - 11.2 - ], - [ - 17, - 22 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -8414,46 +5299,19 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#F3C66D" - ], - [ - 17, - "#F2DDB3" - ] + [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 - ] + [4, 0.5], + [6, 1.8], + [9, 2.1], + [14, 4.4], + [15, 7.3], + [16, 10], + [17, 18.5] ] } } @@ -8470,56 +5328,25 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PRINCIPALE_CONSTR_SUP" - ], + "filter": ["==", "symbo", "PRINCIPALE_CONSTR_SUP"], "paint": { "line-color": { "stops": [ - [ - 9, - "#F3C66D" - ], - [ - 17, - "#F2DDB3" - ] + [9, "#F3C66D"], + [17, "#F2DDB3"] ] }, "line-width": { "stops": [ - [ - 6, - 1.8 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.9 - ], - [ - 15, - 9 - ], - [ - 16, - 12.2 - ], - [ - 17, - 22.5 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -8533,55 +5360,23 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE_SUP", - "AUTOROU_LIBRE_SUP" - ], + "filter": ["in", "symbo", "AUTOROU_PEAGE_SUP", "AUTOROU_LIBRE_SUP"], "paint": { "line-color": { "stops": [ - [ - 9, - "#F18800" - ], - [ - 17, - "#F2B230" - ] + [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 - ] + [4, 0.7], + [6, 2.5], + [9, 2.7], + [14, 5.8], + [15, 9], + [16, 12], + [17, 20.8] ] } } @@ -8598,36 +5393,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE_SUP", - "AUTOROU_LIBRE_SUP" - ], + "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 - ] + [9, 0.6], + [14, 0.7], + [15, 1], + [16, 1.2], + [17, 2.1] ] } } @@ -8644,60 +5419,26 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR_SUP" - ], + "filter": ["==", "symbo", "AUTOROU_CONSTR_SUP"], "paint": { "line-color": { "stops": [ - [ - 9, - "#F18800" - ], - [ - 17, - "#F2B230" - ] + [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 - ] + [4, 0.7], + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -8712,35 +5453,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR_SUP" - ], + "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 - ] + [9, 0.6], + [14, 0.7], + [15, 1], + [16, 1.2], + [17, 2.1] ] } } @@ -8772,14 +5494,8 @@ "line-color": "#787878", "line-width": { "stops": [ - [ - 10, - 0.8 - ], - [ - 17, - 2.5 - ] + [10, 0.8], + [17, 2.5] ] } } @@ -8811,20 +5527,11 @@ "line-color": "#787878", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 14.7 - ] + [10, 3.5], + [17, 14.7] ] }, - "line-dasharray": [ - 0.1, - 10 - ] + "line-dasharray": [0.1, 10] } }, { @@ -8838,25 +5545,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "VF_ETROITE_1_SUP", - "VF_ETROITE_2_SUP", - "VF_ETROITE_SUP" - ], + "filter": ["in", "symbo", "VF_ETROITE_1_SUP", "VF_ETROITE_2_SUP", "VF_ETROITE_SUP"], "paint": { "line-color": "#787878", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] } } @@ -8872,31 +5567,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "VF_ETROITE_1_SUP", - "VF_ETROITE_2_SUP", - "VF_ETROITE_SUP" - ], + "filter": ["in", "symbo", "VF_ETROITE_1_SUP", "VF_ETROITE_2_SUP", "VF_ETROITE_SUP"], "paint": { "line-color": "#787878", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 14.7 - ] + [10, 3.5], + [17, 14.7] ] }, - "line-dasharray": [ - 0.1, - 10 - ] + "line-dasharray": [0.1, 10] } }, { @@ -8910,32 +5590,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "VF_SERVICE_SUP", - "VF_NON_EXPLOITEE_SUP" - ], + "filter": ["in", "symbo", "VF_SERVICE_SUP", "VF_NON_EXPLOITEE_SUP"], "paint": { "line-color": "#787878", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] }, - "line-dasharray": [ - 5, - 2, - 1, - 2 - ] + "line-dasharray": [5, 2, 1, 2] } }, { @@ -8950,29 +5614,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "VF_EN_CONSTR_SUP" - ], + "filter": ["==", "symbo", "VF_EN_CONSTR_SUP"], "paint": { "line-color": "#787878", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -8987,29 +5638,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "VF_EN_CONSTR_SUP" - ], + "filter": ["==", "symbo", "VF_EN_CONSTR_SUP"], "paint": { "line-color": "#787878", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 14.7 - ] + [10, 3.5], + [17, 14.7] ] }, - "line-dasharray": [ - 0.1, - 10 - ] + "line-dasharray": [0.1, 10] } }, { @@ -9022,24 +5660,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "FUNI_CREMAILLERE_SUP", - "TRANSPORT_URBAIN_SUP" - ], + "filter": ["in", "symbo", "FUNI_CREMAILLERE_SUP", "TRANSPORT_URBAIN_SUP"], "paint": { "line-color": "#787878", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] } } @@ -9054,32 +5681,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "FUNI_CREMAILLERE_SUP", - "TRANSPORT_URBAIN_SUP" - ], + "filter": ["in", "symbo", "FUNI_CREMAILLERE_SUP", "TRANSPORT_URBAIN_SUP"], "paint": { "line-color": "#787878", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 17 - ] + [10, 3.5], + [17, 17] ] }, - "line-dasharray": [ - 0.1, - 0.2, - 0.1, - 10 - ] + "line-dasharray": [0.1, 0.2, 0.1, 10] } }, { @@ -9092,29 +5703,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "CLOTURE" - ], + "filter": ["==", "symbo", "CLOTURE"], "paint": { "line-color": "#000000", "line-width": { "stops": [ - [ - 13, - 0.6 - ], - [ - 17, - 1 - ] + [13, 0.6], + [17, 1] ] }, - "line-dasharray": [ - 1.5, - 4 - ] + "line-dasharray": [1.5, 4] } }, { @@ -9129,37 +5727,18 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LAYON" - ], + "filter": ["==", "symbo", "LAYON"], "paint": { "line-color": "#B3989A", "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2] ] }, - "line-dasharray": [ - 4, - 7 - ] + "line-dasharray": [4, 7] } }, { @@ -9184,22 +5763,11 @@ "line-color": "rgba(226, 130, 92, 0.8)", "line-width": { "stops": [ - [ - 13, - 1.7 - ], - [ - 17, - 3.1 - ] + [13, 1.7], + [17, 3.1] ] }, - "line-dasharray": [ - 4, - 1, - 2, - 5 - ] + "line-dasharray": [4, 1, 2, 5] } }, { @@ -9224,20 +5792,11 @@ "line-color": "#FFC2CB", "line-width": { "stops": [ - [ - 13, - 2 - ], - [ - 17, - 4 - ] + [13, 2], + [17, 4] ] }, - "line-dasharray": [ - 2, - 1 - ] + "line-dasharray": [2, 1] } }, { @@ -9251,30 +5810,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_PARC_NATUREL", - "LIM_PARC_NATUREL_ILE" - ], + "filter": ["in", "symbo", "LIM_PARC_NATUREL", "LIM_PARC_NATUREL_ILE"], "paint": { "line-color": "#42A266", "line-width": { "stops": [ - [ - 13, - 2 - ], - [ - 17, - 4 - ] + [13, 2], + [17, 4] ] }, - "line-dasharray": [ - 2, - 1 - ] + "line-dasharray": [2, 1] } }, { @@ -9289,30 +5834,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_PARC_NATUREL", - "LIM_PARC_NATUREL_ILE" - ], + "filter": ["in", "symbo", "LIM_PARC_NATUREL", "LIM_PARC_NATUREL_ILE"], "paint": { "line-color": "#42A266", "line-width": { "stops": [ - [ - 13, - 2 - ], - [ - 17, - 4 - ] + [13, 2], + [17, 4] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -9327,30 +5858,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_PARC_NATUREL", - "LIM_PARC_NATUREL_ILE" - ], + "filter": ["in", "symbo", "LIM_PARC_NATUREL", "LIM_PARC_NATUREL_ILE"], "paint": { "line-color": "#42A266", "line-width": { "stops": [ - [ - 13, - 2 - ], - [ - 17, - 4 - ] + [13, 2], + [17, 4] ] }, - "line-dasharray": [ - 2, - 3 - ] + "line-dasharray": [2, 3] } }, { @@ -9365,30 +5882,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_PARC_NATUREL", - "LIM_PARC_NATUREL_ILE" - ], + "filter": ["in", "symbo", "LIM_PARC_NATUREL", "LIM_PARC_NATUREL_ILE"], "paint": { "line-color": "#42A266", "line-width": { "stops": [ - [ - 13, - 2 - ], - [ - 17, - 4 - ] + [13, 2], + [17, 4] ] }, - "line-dasharray": [ - 2, - 4 - ] + "line-dasharray": [2, 4] } }, { @@ -9403,30 +5906,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_PARC_NATUREL", - "LIM_PARC_NATUREL_ILE" - ], + "filter": ["in", "symbo", "LIM_PARC_NATUREL", "LIM_PARC_NATUREL_ILE"], "paint": { "line-color": "rgba(66, 162, 102, 0.7)", "line-width": { "stops": [ - [ - 13, - 2 - ], - [ - 17, - 4 - ] + [13, 2], + [17, 4] ] }, - "line-dasharray": [ - 2, - 5 - ] + "line-dasharray": [2, 5] } }, { @@ -9440,29 +5929,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LIM_PARC_NATUREL_MARIN" - ], + "filter": ["==", "symbo", "LIM_PARC_NATUREL_MARIN"], "paint": { "line-color": "#2A81A2", "line-width": { "stops": [ - [ - 13, - 2 - ], - [ - 17, - 4 - ] + [13, 2], + [17, 4] ] }, - "line-dasharray": [ - 2, - 1 - ] + "line-dasharray": [2, 1] } }, { @@ -9475,11 +5951,7 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PARCELLE" - ], + "filter": ["==", "symbo", "PARCELLE"], "paint": { "line-color": "#9933FF", "line-width": 1 @@ -9495,19 +5967,11 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "SECTION" - ], + "filter": ["==", "symbo", "SECTION"], "paint": { "line-color": "#287B00", "line-width": 1.9, - "line-dasharray": [ - 2, - 4, - 2 - ] + "line-dasharray": [2, 4, 2] } }, { @@ -9515,25 +5979,16 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_parcellaire_section", - "filter": [ - "==", - "txt_typo", - "SECTION" - ], + "filter": ["==", "txt_typo", "SECTION"], "layout": { "symbol-placement": "line", - "text-offset": [ - 0, - 0 - ], + "text-offset": [0, 0], "text-field": "{texte}", "text-size": 15, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#287B00" @@ -9544,11 +5999,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_parcellaire_parcelle", - "filter": [ - "==", - "txt_typo", - "PARCELLE" - ], + "filter": ["==", "txt_typo", "PARCELLE"], "layout": { "symbol-placement": "point", "text-field": "{texte}", @@ -9556,9 +6007,7 @@ "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#9933FF", @@ -9571,31 +6020,15 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_parcellaire_adresse_ponc", - "filter": [ - "==", - "txt_typo", - "ADRESSE" - ], + "filter": ["==", "txt_typo", "ADRESSE"], "layout": { "symbol-placement": "point", - "text-field": [ - "concat", - [ - "get", - "numero" - ], - [ - "get", - "indice_de_repetition" - ] - ], + "text-field": ["concat", ["get", "numero"], ["get", "indice_de_repetition"]], "text-size": 11, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#695744", @@ -9615,37 +6048,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_COMMUNE", - "LIM_CANTON", - "LIM_ARRONDISSEMENT" - ], + "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 - ] + [13, 3], + [17, 5.5] ] }, - "line-dasharray": [ - 4, - 2, - 1, - 1, - 1, - 1, - 1, - 2 - ] + "line-dasharray": [4, 2, 1, 1, 1, 1, 1, 2] } }, { @@ -9660,23 +6072,13 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LIM_DEPARTEMENT" - ], + "filter": ["==", "symbo", "LIM_DEPARTEMENT"], "paint": { "line-color": "rgba(178, 175, 219, 0.4)", "line-width": { "stops": [ - [ - 9, - 4.1 - ], - [ - 12, - 6 - ] + [9, 4.1], + [12, 6] ] } } @@ -9693,33 +6095,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LIM_DEPARTEMENT" - ], + "filter": ["==", "symbo", "LIM_DEPARTEMENT"], "paint": { "line-color": "rgba(126, 119, 184, 0.5)", "line-width": { "stops": [ - [ - 13, - 3 - ], - [ - 17, - 5.5 - ] + [13, 3], + [17, 5.5] ] }, - "line-dasharray": [ - 4, - 2, - 1, - 1, - 1, - 2 - ] + "line-dasharray": [4, 2, 1, 1, 1, 2] } }, { @@ -9734,23 +6119,13 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LIM_REGION" - ], + "filter": ["==", "symbo", "LIM_REGION"], "paint": { "line-color": "rgba(178, 175, 219, 0.5)", "line-width": { "stops": [ - [ - 9, - 4.5 - ], - [ - 12, - 6.7 - ] + [9, 4.5], + [12, 6.7] ] } } @@ -9767,31 +6142,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LIM_REGION" - ], + "filter": ["==", "symbo", "LIM_REGION"], "paint": { "line-color": "rgba(126, 119, 184, 0.5)", "line-width": { "stops": [ - [ - 13, - 3 - ], - [ - 17, - 5.5 - ] + [13, 3], + [17, 5.5] ] }, - "line-dasharray": [ - 4, - 2, - 1, - 2 - ] + "line-dasharray": [4, 2, 1, 2] } }, { @@ -9805,44 +6165,18 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_ETAT", - "LIM_ETAT_ETRANGER" - ], + "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 - ] + [2, 2], + [3, 3.5], + [9, 5], + [14, 13], + [15, 20], + [16, 24], + [17, 42] ] } } @@ -9858,42 +6192,19 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_ETAT", - "LIM_ETAT_ETRANGER" - ], + "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 - ] + [9, 1.5], + [14, 3.5], + [15, 5.5], + [16, 6.5], + [17, 11] ] }, - "line-dasharray": [ - 4, - 2 - ] + "line-dasharray": [4, 2] } }, { @@ -9908,11 +6219,7 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_COTE" - ], + "filter": ["in", "symbo", "LIM_COTE"], "paint": { "line-color": "#82A3B2", "line-width": 1 @@ -9928,23 +6235,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LIGNE_ELECTRIQUE" - ], + "filter": ["==", "symbo", "LIGNE_ELECTRIQUE"], "paint": { "line-color": "#808080", "line-width": { "stops": [ - [ - 13, - 1 - ], - [ - 17, - 2 - ] + [13, 1], + [17, 2] ] } } @@ -9986,18 +6283,11 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "CABLE" - ], + "filter": ["==", "symbo", "CABLE"], "paint": { "line-color": "#808080", "line-width": 5, - "line-dasharray": [ - 0.5, - 10 - ] + "line-dasharray": [0.5, 10] } }, { @@ -10010,18 +6300,11 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REMONTEE_MEC" - ], + "filter": ["==", "symbo", "REMONTEE_MEC"], "paint": { "line-color": "#808080", "line-width": 6, - "line-dasharray": [ - 1, - 10 - ] + "line-dasharray": [1, 10] } }, { @@ -10034,20 +6317,11 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REMONTEE_MEC" - ], + "filter": ["==", "symbo", "REMONTEE_MEC"], "paint": { "line-color": "#BEBEBE", "line-width": 6, - "line-dasharray": [ - 0.3, - 0.4, - 0.3, - 10 - ] + "line-dasharray": [0.3, 0.4, 0.3, 10] } }, { @@ -10060,19 +6334,11 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "HYDROCARBURES", - "CONDUITE_MATIERES_P" - ], + "filter": ["in", "symbo", "HYDROCARBURES", "CONDUITE_MATIERES_P"], "paint": { "line-color": "#808080", "line-width": 5, - "line-dasharray": [ - 1, - 10 - ] + "line-dasharray": [1, 10] } }, { @@ -10084,22 +6350,12 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "PEAGE_PONC" - ], + "filter": ["==", "symbo", "PEAGE_PONC"], "paint": { "circle-radius": { "stops": [ - [ - 9, - 3.5 - ], - [ - 12, - 6.5 - ] + [9, 3.5], + [12, 6.5] ] }, "circle-color": "#E2A52A", @@ -10118,31 +6374,15 @@ "icon-image": "Barriere", "icon-size": { "stops": [ - [ - 13, - 0.25 - ], - [ - 16, - 0.45 - ], - [ - 17, - 0.7 - ] + [13, 0.25], + [16, 0.45], + [17, 0.7] ] }, "icon-allow-overlap": true, - "icon-rotate": [ - "get", - "rotation" - ] + "icon-rotate": ["get", "rotation"] }, - "filter": [ - "==", - "symbo", - "BARRIERE" - ], + "filter": ["==", "symbo", "BARRIERE"], "paint": { "icon-color": "#969696" } @@ -10171,28 +6411,16 @@ "paint": { "circle-radius": { "stops": [ - [ - 14, - 3 - ], - [ - 17, - 7 - ] + [14, 3], + [17, 7] ] }, "circle-color": "#FFFFFF", "circle-opacity": 1, "circle-stroke-width": { "stops": [ - [ - 14, - 2 - ], - [ - 17, - 5 - ] + [14, 2], + [17, 5] ] }, "circle-stroke-color": "#1466B2" @@ -10222,14 +6450,9 @@ "text-size": 10, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.2, - 0.4 - ], + "text-offset": [0.2, 0.4], "text-padding": 2, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#505050" @@ -10245,11 +6468,7 @@ "icon-image": "Hopital", "icon-size": 0.33 }, - "filter": [ - "==", - "symbo", - "HOPITAL_PONC" - ], + "filter": ["==", "symbo", "HOPITAL_PONC"], "paint": { "icon-color": "#646464" } @@ -10265,14 +6484,8 @@ "icon-image": "Pompage", "icon-size": { "stops": [ - [ - 13, - 0.2 - ], - [ - 17, - 0.6 - ] + [13, 0.2], + [17, 0.6] ] }, "icon-allow-overlap": true @@ -10300,37 +6513,20 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "PUITS", - "ABREUVOIR" - ], + "filter": ["in", "symbo", "PUITS", "ABREUVOIR"], "paint": { "circle-radius": { "stops": [ - [ - 14, - 3 - ], - [ - 17, - 7 - ] + [14, 3], + [17, 7] ] }, "circle-color": "#FFFFFF", "circle-opacity": 1, "circle-stroke-width": { "stops": [ - [ - 14, - 2 - ], - [ - 17, - 5 - ] + [14, 2], + [17, 5] ] }, "circle-stroke-color": "#1466B2" @@ -10347,22 +6543,12 @@ "icon-image": "Phare", "icon-size": { "stops": [ - [ - 13, - 0.7 - ], - [ - 17, - 1.3 - ] + [13, 0.7], + [17, 1.3] ] } }, - "filter": [ - "==", - "symbo", - "PHARE" - ], + "filter": ["==", "symbo", "PHARE"], "paint": { "icon-color": "#646464" } @@ -10378,25 +6564,12 @@ "icon-image": "Feu", "icon-size": { "stops": [ - [ - 13, - 0.7 - ], - [ - 17, - 1.3 - ] + [13, 0.7], + [17, 1.3] ] } }, - "filter": [ - "in", - "symbo", - "AMER", - "FEU", - "FEU_PONC", - "TOURELLE_LUMINEUSE" - ], + "filter": ["in", "symbo", "AMER", "FEU", "FEU_PONC", "TOURELLE_LUMINEUSE"], "paint": { "icon-color": "#646464" } @@ -10412,23 +6585,12 @@ "icon-image": "Balise", "icon-size": { "stops": [ - [ - 13, - 0.7 - ], - [ - 17, - 1.3 - ] + [13, 0.7], + [17, 1.3] ] } }, - "filter": [ - "in", - "symbo", - "BALISE", - "TOURELLE" - ], + "filter": ["in", "symbo", "BALISE", "TOURELLE"], "paint": { "icon-color": "#646464" } @@ -10445,11 +6607,7 @@ "icon-image": "Ecluse", "icon-size": 0.2 }, - "filter": [ - "==", - "symbo", - "ECLUSE_PONC" - ], + "filter": ["==", "symbo", "ECLUSE_PONC"], "paint": { "icon-color": "#1C62A6" } @@ -10466,11 +6624,7 @@ "icon-image": "Barrage", "icon-size": 0.25 }, - "filter": [ - "==", - "symbo", - "BARRAGE_PONC" - ], + "filter": ["==", "symbo", "BARRAGE_PONC"], "paint": { "icon-color": "#1C62A6" } @@ -10483,22 +6637,12 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "CHATEAU_EAU_PONC" - ], + "filter": ["==", "symbo", "CHATEAU_EAU_PONC"], "paint": { "circle-radius": { "stops": [ - [ - 14, - 3 - ], - [ - 17, - 8 - ] + [14, 3], + [17, 8] ] }, "circle-color": "#1466B2" @@ -10513,36 +6657,20 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "RESERVOIR_EAU_PONC" - ], + "filter": ["==", "symbo", "RESERVOIR_EAU_PONC"], "paint": { "circle-radius": { "stops": [ - [ - 14, - 3 - ], - [ - 17, - 8 - ] + [14, 3], + [17, 8] ] }, "circle-color": "#AAD5E9", "circle-opacity": 1, "circle-stroke-width": { "stops": [ - [ - 14, - 1 - ], - [ - 17, - 2.5 - ] + [14, 1], + [17, 2.5] ] }, "circle-stroke-color": "#1466B2" @@ -10558,14 +6686,8 @@ "icon-image": "ConstrSpeciale", "icon-size": { "stops": [ - [ - 13, - 0.22 - ], - [ - 17, - 0.5 - ] + [13, 0.22], + [17, 0.5] ] } }, @@ -10599,22 +6721,12 @@ "icon-image": "Silo", "icon-size": { "stops": [ - [ - 13, - 0.22 - ], - [ - 17, - 0.5 - ] + [13, 0.22], + [17, 0.5] ] } }, - "filter": [ - "==", - "symbo", - "SILO_PONC" - ], + "filter": ["==", "symbo", "SILO_PONC"], "paint": { "icon-color": "#646464" } @@ -10629,26 +6741,13 @@ "icon-image": "Eolienne", "icon-size": { "stops": [ - [ - 13, - 0.4 - ], - [ - 17, - 1 - ], - [ - 18, - 0.8 - ] + [13, 0.4], + [17, 1], + [18, 0.8] ] } }, - "filter": [ - "==", - "symbo", - "EOLIENNE" - ], + "filter": ["==", "symbo", "EOLIENNE"], "paint": { "icon-color": "#646464" } @@ -10664,22 +6763,12 @@ "icon-image": "Reservoir", "icon-size": { "stops": [ - [ - 13, - 0.26 - ], - [ - 17, - 0.5 - ] + [13, 0.26], + [17, 0.5] ] } }, - "filter": [ - "==", - "symbo", - "RESERVOIR_PONC" - ], + "filter": ["==", "symbo", "RESERVOIR_PONC"], "paint": { "icon-color": "#646464" } @@ -10692,22 +6781,12 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "PYLONE_ELEC" - ], + "filter": ["==", "symbo", "PYLONE_ELEC"], "paint": { "circle-radius": { "stops": [ - [ - 13, - 1 - ], - [ - 17, - 2 - ] + [13, 1], + [17, 2] ] }, "circle-color": "#000000" @@ -10723,26 +6802,13 @@ "icon-image": "Abri", "icon-size": { "stops": [ - [ - 13, - 0.4 - ], - [ - 15, - 0.6 - ], - [ - 17, - 0.9 - ] + [13, 0.4], + [15, 0.6], + [17, 0.9] ] } }, - "filter": [ - "==", - "symbo", - "ABRI" - ], + "filter": ["==", "symbo", "ABRI"], "paint": { "icon-color": "#246138" } @@ -10757,26 +6823,13 @@ "icon-image": "Refugegard", "icon-size": { "stops": [ - [ - 13, - 0.4 - ], - [ - 15, - 0.6 - ], - [ - 17, - 0.9 - ] + [13, 0.4], + [15, 0.6], + [17, 0.9] ] } }, - "filter": [ - "==", - "symbo", - "REFUGE_GARDE" - ], + "filter": ["==", "symbo", "REFUGE_GARDE"], "paint": { "icon-color": "#246138" } @@ -10791,26 +6844,13 @@ "icon-image": "Refugenongard", "icon-size": { "stops": [ - [ - 13, - 0.4 - ], - [ - 15, - 0.6 - ], - [ - 17, - 0.9 - ] + [13, 0.4], + [15, 0.6], + [17, 0.9] ] } }, - "filter": [ - "==", - "symbo", - "REFUGE" - ], + "filter": ["==", "symbo", "REFUGE"], "paint": { "icon-color": "#246138" } @@ -10825,19 +6865,7 @@ "icon-image": "Aeroport", "icon-size": 0.5 }, - "filter": [ - "all", - [ - "==", - "symbo", - "AEROPORT_PONC" - ], - [ - "==", - "territoire", - "FXX" - ] - ], + "filter": ["all", ["==", "symbo", "AEROPORT_PONC"], ["==", "territoire", "FXX"]], "paint": { "icon-color": "#646464" } @@ -10854,17 +6882,8 @@ }, "filter": [ "all", - [ - "in", - "symbo", - "AERODROME_PONC", - "AERODROME_IMPORT_PONC" - ], - [ - "==", - "territoire", - "FXX" - ] + ["in", "symbo", "AERODROME_PONC", "AERODROME_IMPORT_PONC"], + ["==", "territoire", "FXX"] ], "paint": { "icon-color": "#646464" @@ -10881,19 +6900,7 @@ "icon-image": "Aeroport", "icon-size": 0.5 }, - "filter": [ - "all", - [ - "==", - "symbo", - "AEROPORT_PONC" - ], - [ - "!=", - "territoire", - "FXX" - ] - ], + "filter": ["all", ["==", "symbo", "AEROPORT_PONC"], ["!=", "territoire", "FXX"]], "paint": { "icon-color": "#646464" } @@ -10909,19 +6916,7 @@ "icon-image": "Aerodrome", "icon-size": 0.4 }, - "filter": [ - "all", - [ - "==", - "symbo", - "AERODROME_PONC" - ], - [ - "!=", - "territoire", - "FXX" - ] - ], + "filter": ["all", ["==", "symbo", "AERODROME_PONC"], ["!=", "territoire", "FXX"]], "paint": { "icon-color": "#646464" } @@ -10936,11 +6931,7 @@ "icon-image": "Gare", "icon-size": 0.33 }, - "filter": [ - "==", - "symbo", - "GARE_VOYAGEURS" - ], + "filter": ["==", "symbo", "GARE_VOYAGEURS"], "paint": { "icon-color": "#787878" } @@ -10979,13 +6970,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - -1 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, -1], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11019,13 +7005,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - -1.3 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, -1.3], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11064,13 +7045,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - -1.4 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, -1.4], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11107,13 +7083,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - -1.5 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, -1.5], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11151,13 +7122,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - -1.6 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, -1.6], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11199,13 +7165,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - 1 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, 1], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11239,13 +7200,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - 1.3 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, 1.3], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11284,13 +7240,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - 1.4 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, 1.4], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11327,13 +7278,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - 1.5 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, 1.5], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11371,13 +7317,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - 1.6 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, 1.6], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11390,11 +7331,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_oro_ponc", - "filter": [ - "==", - "txt_typo", - "ORO_COURBE_ROCHER" - ], + "filter": ["==", "txt_typo", "ORO_COURBE_ROCHER"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -11406,9 +7343,7 @@ "type": "identity", "property": "rotation" }, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#333333", @@ -11421,11 +7356,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_oro_ponc", - "filter": [ - "==", - "txt_typo", - "ORO_COURBE_GLACIER" - ], + "filter": ["==", "txt_typo", "ORO_COURBE_GLACIER"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -11437,9 +7368,7 @@ "type": "identity", "property": "rotation" }, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#629FD9", @@ -11452,11 +7381,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_oro_ponc", - "filter": [ - "==", - "txt_typo", - "ORO_COURBE" - ], + "filter": ["==", "txt_typo", "ORO_COURBE"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -11468,9 +7393,7 @@ "type": "identity", "property": "rotation" }, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#604A2F", @@ -11485,12 +7408,7 @@ "source-layer": "toponyme_routier_liaison_lin", "minzoom": 8, "maxzoom": 18, - "filter": [ - "in", - "txt_typo", - "LIAISON_MARITIME", - "LIAISON_MAR" - ], + "filter": ["in", "txt_typo", "LIAISON_MARITIME", "LIAISON_MAR"], "layout": { "symbol-placement": "line", "text-field": "{texte}", @@ -11499,9 +7417,7 @@ "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#5792C2", @@ -11515,45 +7431,22 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 14, - "filter": [ - "all", - [ - "==", - "txt_typo", - "TYPO_E_1" - ], - [ - "==", - "symbo", - "STATION_METRO" - ] - ], + "filter": ["all", ["==", "txt_typo", "TYPO_E_1"], ["==", "symbo", "STATION_METRO"]], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": 11, "text-allow-overlap": false, - "text-offset": [ - 0.30, - -0.25 - ], + "text-offset": [0.3, -0.25], "text-padding": 3, "text-anchor": "bottom-left", - "text-font": [ - "Source Sans Pro" - ], + "text-font": ["Source Sans Pro"], "icon-image": "Metro", "icon-size": { "stops": [ - [ - 15, - 0.33 - ], - [ - 17, - 0.6 - ] + [15, 0.33], + [17, 0.6] ] } }, @@ -11568,24 +7461,14 @@ "source": "plan_ign", "source-layer": "toponyme_ferre_lin", "minzoom": 12, - "filter": [ - "in", - "txt_typo", - "FER_NOM", - "FER_OUVRAGE" - ], + "filter": ["in", "txt_typo", "FER_NOM", "FER_OUVRAGE"], "layout": { "symbol-placement": "line", "text-field": "{texte}", "text-size": 10, "text-anchor": "center", - "text-offset": [ - 0, - -1 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, -1], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -11600,11 +7483,7 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 14, "maxzoom": 16, - "filter": [ - "==", - "txt_typo", - "religieux" - ], + "filter": ["==", "txt_typo", "religieux"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -11612,9 +7491,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -11626,11 +7503,7 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 16, - "filter": [ - "==", - "txt_typo", - "religieux" - ], + "filter": ["==", "txt_typo", "religieux"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -11638,9 +7511,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -11655,16 +7526,8 @@ "maxzoom": 14, "filter": [ "all", - [ - "==", - "txt_typo", - "divers_bati" - ], - [ - "==", - "symbo", - "PARC_ATTRACTIONS" - ] + ["==", "txt_typo", "divers_bati"], + ["==", "symbo", "PARC_ATTRACTIONS"] ], "layout": { "visibility": "visible", @@ -11673,9 +7536,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -11689,16 +7550,8 @@ "minzoom": 14, "filter": [ "all", - [ - "==", - "txt_typo", - "divers_bati" - ], - [ - "==", - "symbo", - "PARC_ATTRACTIONS" - ] + ["==", "txt_typo", "divers_bati"], + ["==", "symbo", "PARC_ATTRACTIONS"] ], "layout": { "visibility": "visible", @@ -11707,9 +7560,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -11724,18 +7575,8 @@ "maxzoom": 15, "filter": [ "all", - [ - "==", - "txt_typo", - "divers_bati" - ], - [ - "in", - "symbo", - "CENTRALE_ELECTRIQUE", - "HIPPODROME", - "STADE" - ] + ["==", "txt_typo", "divers_bati"], + ["in", "symbo", "CENTRALE_ELECTRIQUE", "HIPPODROME", "STADE"] ], "layout": { "visibility": "visible", @@ -11744,9 +7585,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -11760,18 +7599,8 @@ "minzoom": 15, "filter": [ "all", - [ - "==", - "txt_typo", - "divers_bati" - ], - [ - "in", - "symbo", - "CENTRALE_ELECTRIQUE", - "HIPPODROME", - "STADE" - ] + ["==", "txt_typo", "divers_bati"], + ["in", "symbo", "CENTRALE_ELECTRIQUE", "HIPPODROME", "STADE"] ], "layout": { "visibility": "visible", @@ -11780,9 +7609,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -11797,17 +7624,8 @@ "maxzoom": 16, "filter": [ "all", - [ - "==", - "txt_typo", - "divers_bati" - ], - [ - "in", - "symbo", - "CHATEAU", - "CHATEAU_FORT" - ] + ["==", "txt_typo", "divers_bati"], + ["in", "symbo", "CHATEAU", "CHATEAU_FORT"] ], "layout": { "visibility": "visible", @@ -11816,9 +7634,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -11832,17 +7648,8 @@ "minzoom": 16, "filter": [ "all", - [ - "==", - "txt_typo", - "divers_bati" - ], - [ - "in", - "symbo", - "CHATEAU", - "CHATEAU_FORT" - ] + ["==", "txt_typo", "divers_bati"], + ["in", "symbo", "CHATEAU", "CHATEAU_FORT"] ], "layout": { "visibility": "visible", @@ -11851,9 +7658,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -11865,26 +7670,17 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 14, - "filter": [ - "==", - "txt_typo", - "station" - ], + "filter": ["==", "txt_typo", "station"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{designation}", "text-anchor": "left", - "text-offset": [ - 0.8, - 0 - ], + "text-offset": [0.8, 0], "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#447FB3" @@ -11896,11 +7692,7 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 15, - "filter": [ - "==", - "txt_typo", - "gore" - ], + "filter": ["==", "txt_typo", "gore"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -11908,9 +7700,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -11922,26 +7712,17 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 12, - "filter": [ - "==", - "txt_typo", - "BARRAGE_PONC" - ], + "filter": ["==", "txt_typo", "BARRAGE_PONC"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-anchor": "left", - "text-offset": [ - 0.8, - 0 - ], + "text-offset": [0.8, 0], "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#447FB3" @@ -11953,11 +7734,7 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "maxzoom": 13, - "filter": [ - "==", - "txt_typo", - "PHARE" - ], + "filter": ["==", "txt_typo", "PHARE"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -11966,9 +7743,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#532A2A" @@ -11982,19 +7757,8 @@ "minzoom": 13, "filter": [ "all", - [ - "==", - "symbo", - "PHARE" - ], - [ - "in", - "txt_typo", - "TYPO_C_6", - "TYPO_C_7", - "TYPO_C_8", - "TYPO_E_GE" - ] + ["==", "symbo", "PHARE"], + ["in", "txt_typo", "TYPO_C_6", "TYPO_C_7", "TYPO_C_8", "TYPO_E_GE"] ], "layout": { "visibility": "visible", @@ -12003,26 +7767,15 @@ "text-anchor": "right", "text-size": { "stops": [ - [ - 13, - 12 - ], - [ - 18, - 18 - ] + [13, 12], + [18, 18] ] }, "text-allow-overlap": false, - "text-offset": [ - -2.00, - 0 - ], + "text-offset": [-2.0, 0], "text-padding": 3, "text-anchor": "right", - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#532A2A" @@ -12034,13 +7787,7 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 12, - "filter": [ - "in", - "txt_typo", - "BAT_ACTIVITE", - "BAT_FORTIF", - "BAT_VILLAGE_DETRUIT" - ], + "filter": ["in", "txt_typo", "BAT_ACTIVITE", "BAT_FORTIF", "BAT_VILLAGE_DETRUIT"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -12049,9 +7796,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#532A2A" @@ -12064,19 +7809,7 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 14, "maxzoom": 17, - "filter": [ - "all", - [ - "==", - "txt_typo", - "TYPO_E_GE" - ], - [ - "==", - "symbo", - "AEROGARE" - ] - ], + "filter": ["all", ["==", "txt_typo", "TYPO_E_GE"], ["==", "symbo", "AEROGARE"]], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -12084,21 +7817,13 @@ "text-anchor": "center", "text-size": { "stops": [ - [ - 12, - 9 - ], - [ - 16, - 11 - ] + [12, 9], + [16, 11] ] }, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#120049", @@ -12113,26 +7838,17 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 11, "maxzoom": 12, - "filter": [ - "==", - "txt_typo", - "AEROPORT_PONC" - ], + "filter": ["==", "txt_typo", "AEROPORT_PONC"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-anchor": "bottom", - "text-offset": [ - 0, - -1.3 - ], + "text-offset": [0, -1.3], "text-size": 10.5, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#120049", @@ -12147,26 +7863,17 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 12, "maxzoom": 13, - "filter": [ - "==", - "txt_typo", - "AEROPORT_PONC" - ], + "filter": ["==", "txt_typo", "AEROPORT_PONC"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-anchor": "bottom", - "text-offset": [ - 0, - -2 - ], + "text-offset": [0, -2], "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#120049", @@ -12181,19 +7888,7 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 13, "maxzoom": 17, - "filter": [ - "all", - [ - "==", - "txt_typo", - "TYPO_A_5" - ], - [ - "==", - "symbo", - "AEROPORT" - ] - ], + "filter": ["all", ["==", "txt_typo", "TYPO_A_5"], ["==", "symbo", "AEROPORT"]], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -12201,21 +7896,13 @@ "text-anchor": "center", "text-size": { "stops": [ - [ - 12, - 11 - ], - [ - 16, - 13 - ] + [12, 11], + [16, 13] ] }, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#120049", @@ -12230,26 +7917,17 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 11, "maxzoom": 12, - "filter": [ - "==", - "txt_typo", - "AERODROME_PONC" - ], + "filter": ["==", "txt_typo", "AERODROME_PONC"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-anchor": "bottom", - "text-offset": [ - 0, - -1.3 - ], + "text-offset": [0, -1.3], "text-size": 9.5, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#120049", @@ -12264,27 +7942,17 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 12, "maxzoom": 13, - "filter": [ - "in", - "txt_typo", - "AERODROME_PONC", - "AERODROME_IMPORT_PONC" - ], + "filter": ["in", "txt_typo", "AERODROME_PONC", "AERODROME_IMPORT_PONC"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-anchor": "bottom", - "text-offset": [ - 0, - -2 - ], + "text-offset": [0, -2], "text-size": 10, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#120049", @@ -12299,19 +7967,7 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 13, "maxzoom": 17, - "filter": [ - "all", - [ - "==", - "txt_typo", - "TYPO_A_7" - ], - [ - "==", - "symbo", - "AERODROME" - ] - ], + "filter": ["all", ["==", "txt_typo", "TYPO_A_7"], ["==", "symbo", "AERODROME"]], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -12319,21 +7975,13 @@ "text-anchor": "center", "text-size": { "stops": [ - [ - 12, - 10 - ], - [ - 16, - 12 - ] + [12, 10], + [16, 12] ] }, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#120049", @@ -12346,34 +7994,20 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", - "filter": [ - "in", - "txt_typo", - "TYPO_D_9", - "TYPO_D_10", - "TYPO_E_1_cyan" - ], + "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": { "stops": [ - [ - 15, - 11 - ], - [ - 17, - 14 - ] + [15, 11], + [17, 14] ] }, "text-allow-overlap": true, "text-padding": 5, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#447FB3", @@ -12386,11 +8020,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", - "filter": [ - "==", - "txt_typo", - "ORO_GLACIER_2" - ], + "filter": ["==", "txt_typo", "ORO_GLACIER_2"], "layout": { "symbol-placement": "point", "text-field": "{texte}", @@ -12398,9 +8028,7 @@ "text-anchor": "center", "text-allow-overlap": true, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#447FB3", @@ -12413,12 +8041,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_limite_ponc", - "filter": [ - "in", - "txt_typo", - "LIM_MILI_3", - "LIM_MILI_4" - ], + "filter": ["in", "txt_typo", "LIM_MILI_3", "LIM_MILI_4"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -12426,9 +8049,7 @@ "text-size": 12, "text-allow-overlap": false, "text-padding": 2, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#0D2000", @@ -12441,13 +8062,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_limite_ponc", - "filter": [ - "in", - "txt_typo", - "LIM_PARC_3", - "LIM_PARC_4", - "RESERVE_NATURELLE_PONC" - ], + "filter": ["in", "txt_typo", "LIM_PARC_3", "LIM_PARC_4", "RESERVE_NATURELLE_PONC"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -12455,9 +8070,7 @@ "text-size": 13, "text-allow-overlap": false, "text-padding": 2, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#287B00", @@ -12472,11 +8085,7 @@ "source-layer": "toponyme_routier_numero_lin", "minzoom": 11, "maxzoom": 16, - "filter": [ - "==", - "txt_typo", - "Départementale" - ], + "filter": ["==", "txt_typo", "Départementale"], "layout": { "visibility": "visible", "symbol-placement": "line", @@ -12485,9 +8094,7 @@ "text-allow-overlap": false, "text-padding": 2, "text-anchor": "center", - "text-font": [ - "Source Sans Pro Semibold" - ], + "text-font": ["Source Sans Pro Semibold"], "text-rotation-alignment": "viewport" }, "paint": { @@ -12503,11 +8110,7 @@ "source-layer": "toponyme_routier_numero_lin", "minzoom": 7, "maxzoom": 16, - "filter": [ - "==", - "txt_typo", - "Nationale" - ], + "filter": ["==", "txt_typo", "Nationale"], "layout": { "visibility": "visible", "symbol-placement": "line", @@ -12516,9 +8119,7 @@ "text-allow-overlap": false, "text-padding": 0, "text-anchor": "center", - "text-font": [ - "Source Sans Pro Regular" - ], + "text-font": ["Source Sans Pro Regular"], "icon-image": "Ecluse", "icon-rotation-alignment": "viewport", "text-rotation-alignment": "viewport", @@ -12539,11 +8140,7 @@ "source-layer": "toponyme_routier_numero_lin", "minzoom": 7, "maxzoom": 16, - "filter": [ - "==", - "txt_typo", - "Autoroute" - ], + "filter": ["==", "txt_typo", "Autoroute"], "layout": { "visibility": "visible", "symbol-placement": "line", @@ -12552,9 +8149,7 @@ "text-allow-overlap": false, "text-padding": 0, "text-anchor": "center", - "text-font": [ - "Source Sans Pro Regular" - ], + "text-font": ["Source Sans Pro Regular"], "icon-image": "Ecluse", "icon-rotation-alignment": "viewport", "text-rotation-alignment": "viewport", @@ -12581,9 +8176,7 @@ "text-size": 10, "text-anchor": "center", "text-max-angle": 30, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -12603,9 +8196,7 @@ "text-size": 11, "text-anchor": "center", "text-max-angle": 30, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -12620,17 +8211,8 @@ "source-layer": "toponyme_ocs_ponc", "filter": [ "all", - [ - "==", - "symbo", - "LIEU-DIT_NON_HABITE" - ], - [ - "in", - "txt_typo", - "TYPO_B_10", - "TYPO_B_11" - ] + ["==", "symbo", "LIEU-DIT_NON_HABITE"], + ["in", "txt_typo", "TYPO_B_10", "TYPO_B_11"] ], "layout": { "visibility": "visible", @@ -12639,9 +8221,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000", @@ -12654,20 +8234,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_ponc", - "filter": [ - "all", - [ - "==", - "symbo", - "BOIS" - ], - [ - "in", - "txt_typo", - "TYPO_F_9", - "TYPO_F_10" - ] - ], + "filter": ["all", ["==", "symbo", "BOIS"], ["in", "txt_typo", "TYPO_F_9", "TYPO_F_10"]], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -12675,9 +8242,7 @@ "text-size": 13, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#287B00", @@ -12690,12 +8255,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_oro_lin", - "filter": [ - "in", - "txt_typo", - "ORO_SOMMET_3", - "ORO_GORGE_2" - ], + "filter": ["in", "txt_typo", "ORO_SOMMET_3", "ORO_GORGE_2"], "layout": { "symbol-placement": "line", "text-field": "{texte}", @@ -12704,9 +8264,7 @@ "text-keep-upright": true, "text-max-angle": 45, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#863831", @@ -12735,21 +8293,13 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 13, - 11 - ], - [ - 16, - 16 - ] + [13, 11], + [16, 16] ] }, "text-allow-overlap": true, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#863831", @@ -12778,21 +8328,13 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 14, - 13 - ], - [ - 17, - 16 - ] + [14, 13], + [17, 16] ] }, "text-allow-overlap": true, "text-padding": 5, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#447FB3", @@ -12805,12 +8347,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_localite_ponc", - "filter": [ - "in", - "txt_typo", - "BAT_QUARTIER", - "BAT_QUARTIER_T" - ], + "filter": ["in", "txt_typo", "BAT_QUARTIER", "BAT_QUARTIER_T"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -12818,9 +8355,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000", @@ -12835,41 +8370,21 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 17, "maxzoom": 18, - "filter": [ - "all", - [ - "==", - "symbo", - "QUARTIER" - ], - [ - "==", - "txt_typo", - "TYPO_E_GE" - ] - ], + "filter": ["all", ["==", "symbo", "QUARTIER"], ["==", "txt_typo", "TYPO_E_GE"]], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 11 - ], - [ - 17, - 13.5 - ] + [15, 11], + [17, 13.5] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -12884,41 +8399,21 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 16, "maxzoom": 18, - "filter": [ - "all", - [ - "==", - "symbo", - "LIEU-DIT-HABITE" - ], - [ - "==", - "txt_typo", - "TYPO_E_GE" - ] - ], + "filter": ["all", ["==", "symbo", "LIEU-DIT-HABITE"], ["==", "txt_typo", "TYPO_E_GE"]], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 11 - ], - [ - 17, - 13.5 - ] + [15, 11], + [17, 13.5] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -12932,33 +8427,21 @@ "source": "plan_ign", "source-layer": "toponyme_localite_ponc", "maxzoom": 18, - "filter": [ - "==", - "txt_typo", - "TYPO_A_10" - ], + "filter": ["==", "txt_typo", "TYPO_A_10"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 11 - ], - [ - 17, - 13.5 - ] + [15, 11], + [17, 13.5] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -12973,18 +8456,8 @@ "source-layer": "toponyme_ocs_ponc", "filter": [ "all", - [ - "==", - "symbo", - "LIEU-DIT_NON_HABITE" - ], - [ - "in", - "txt_typo", - "TYPO_B_7", - "TYPO_B_8", - "TYPO_B_9" - ] + ["==", "symbo", "LIEU-DIT_NON_HABITE"], + ["in", "txt_typo", "TYPO_B_7", "TYPO_B_8", "TYPO_B_9"] ], "layout": { "visibility": "visible", @@ -12993,9 +8466,7 @@ "text-size": 12, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000", @@ -13010,18 +8481,8 @@ "source-layer": "toponyme_ocs_ponc", "filter": [ "all", - [ - "==", - "symbo", - "BOIS" - ], - [ - "in", - "txt_typo", - "TYPO_F_6", - "TYPO_F_7", - "TYPO_F_8" - ] + ["==", "symbo", "BOIS"], + ["in", "txt_typo", "TYPO_F_6", "TYPO_F_7", "TYPO_F_8"] ], "layout": { "visibility": "visible", @@ -13030,9 +8491,7 @@ "text-size": 16, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#287B00", @@ -13047,12 +8506,7 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 11, "maxzoom": 13, - "filter": [ - "in", - "txt_typo", - "BAT_HAMEAU", - "BAT_HAMEAU_T" - ], + "filter": ["in", "txt_typo", "BAT_HAMEAU", "BAT_HAMEAU_T"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13062,14 +8516,9 @@ "text-size": 11, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.30, - 0.10 - ], + "text-offset": [0.3, 0.1], "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -13084,12 +8533,7 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 7, "maxzoom": 13, - "filter": [ - "in", - "txt_typo", - "TYPO_A_6", - "TYPO_A_7" - ], + "filter": ["in", "txt_typo", "TYPO_A_6", "TYPO_A_7"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13099,14 +8543,9 @@ "text-size": 12.5, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.30, - 0.10 - ], + "text-offset": [0.3, 0.1], "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -13145,14 +8584,9 @@ "text-size": 11.5, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.30, - 0.10 - ], + "text-offset": [0.3, 0.1], "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -13165,33 +8599,21 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_lin", - "filter": [ - "==", - "txt_typo", - "OCS_FORET_3" - ], + "filter": ["==", "txt_typo", "OCS_FORET_3"], "layout": { "symbol-placement": "line", "text-field": "{texte}", "text-size": { "stops": [ - [ - 10, - 12 - ], - [ - 12, - 15 - ] + [10, 12], + [12, 15] ] }, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#287B00", @@ -13206,17 +8628,8 @@ "source-layer": "toponyme_ocs_ponc", "filter": [ "all", - [ - "==", - "symbo", - "LIEU-DIT_NON_HABITE" - ], - [ - "in", - "txt_typo", - "TYPO_B_5", - "TYPO_B_4" - ] + ["==", "symbo", "LIEU-DIT_NON_HABITE"], + ["in", "txt_typo", "TYPO_B_5", "TYPO_B_4"] ], "layout": { "visibility": "visible", @@ -13225,9 +8638,7 @@ "text-size": 15, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000", @@ -13240,20 +8651,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_ponc", - "filter": [ - "all", - [ - "==", - "symbo", - "BOIS" - ], - [ - "in", - "txt_typo", - "TYPO_F_5", - "TYPO_F_4" - ] - ], + "filter": ["all", ["==", "symbo", "BOIS"], ["in", "txt_typo", "TYPO_F_5", "TYPO_F_4"]], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13261,9 +8659,7 @@ "text-size": 19, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#287B00", @@ -13276,20 +8672,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_ponc", - "filter": [ - "all", - [ - "==", - "symbo", - "BOIS" - ], - [ - "in", - "txt_typo", - "TYPO_F_3", - "TYPO_F_2" - ] - ], + "filter": ["all", ["==", "symbo", "BOIS"], ["in", "txt_typo", "TYPO_F_3", "TYPO_F_2"]], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13297,9 +8680,7 @@ "text-size": 22, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#287B00", @@ -13312,33 +8693,21 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_ponc", - "filter": [ - "==", - "txt_typo", - "OCS_FORET_3" - ], + "filter": ["==", "txt_typo", "OCS_FORET_3"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 10, - 12 - ], - [ - 12, - 15 - ] + [10, 12], + [12, 15] ] }, "text-allow-overlap": false, "text-padding": 1, "text-anchor": "center", - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#287B00", @@ -13374,9 +8743,7 @@ "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#863831", @@ -13412,21 +8779,13 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 13, - 12 - ], - [ - 16, - 17 - ] + [13, 12], + [16, 17] ] }, "text-allow-overlap": true, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#863831", @@ -13461,23 +8820,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 14, - 12 - ], - [ - 18, - 19 - ] + [14, 12], + [18, 19] ] }, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#447FB3", @@ -13491,36 +8842,21 @@ "source": "plan_ign", "source-layer": "toponyme_hydro_lin", "minzoom": 14, - "filter": [ - "in", - "txt_typo", - "TYPO_D_6", - "TYPO_D_8", - "TYPO_D_9", - "TYPO_D_10" - ], + "filter": ["in", "txt_typo", "TYPO_D_6", "TYPO_D_8", "TYPO_D_9", "TYPO_D_10"], "layout": { "symbol-placement": "line", "text-field": "{texte}", "text-size": { "stops": [ - [ - 14, - 10 - ], - [ - 18, - 16 - ] + [14, 10], + [18, 16] ] }, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#447FB3", @@ -13533,43 +8869,22 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", - "filter": [ - "in", - "txt_typo", - "HYD_SURF_3", - "TYPO_D_5", - "TYPO_D_6", - "TYPO_D_7" - ], + "filter": ["in", "txt_typo", "HYD_SURF_3", "TYPO_D_5", "TYPO_D_6", "TYPO_D_7"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 9, - 13 - ], - [ - 10, - 15 - ], - [ - 15, - 15 - ], - [ - 17, - 18 - ] + [9, 13], + [10, 15], + [15, 15], + [17, 18] ] }, "text-allow-overlap": true, "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#447FB3", @@ -13584,11 +8899,7 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 15, "maxzoom": 16, - "filter": [ - "==", - "txt_typo", - "zai" - ], + "filter": ["==", "txt_typo", "zai"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13596,9 +8907,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -13610,11 +8919,7 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 16, - "filter": [ - "==", - "txt_typo", - "zai" - ], + "filter": ["==", "txt_typo", "zai"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13622,9 +8927,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -13637,13 +8940,7 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 7, "maxzoom": 13, - "filter": [ - "in", - "txt_typo", - "TYPO_A_4", - "BAT_COMMUNE_4", - "BAT_COMMUNE_4_T" - ], + "filter": ["in", "txt_typo", "TYPO_A_4", "BAT_COMMUNE_4", "BAT_COMMUNE_4_T"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13653,14 +8950,9 @@ "text-size": 13, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.30, - 0.10 - ], + "text-offset": [0.3, 0.1], "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -13674,33 +8966,21 @@ "source": "plan_ign", "source-layer": "toponyme_localite_ponc", "maxzoom": 18, - "filter": [ - "==", - "txt_typo", - "TYPO_A_9" - ], + "filter": ["==", "txt_typo", "TYPO_A_9"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 11.5 - ], - [ - 17, - 14 - ] + [15, 11.5], + [17, 14] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -13717,21 +8997,9 @@ "maxzoom": 18, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_8" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_8"] ], "layout": { "visibility": "visible", @@ -13739,22 +9007,14 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 12 - ], - [ - 17, - 15 - ] + [15, 12], + [17, 15] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -13767,12 +9027,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_limite_ponc", - "filter": [ - "in", - "txt_typo", - "LIM_MILI_1", - "LIM_MILI_2" - ], + "filter": ["in", "txt_typo", "LIM_MILI_1", "LIM_MILI_2"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13780,9 +9035,7 @@ "text-size": 15, "text-allow-overlap": false, "text-padding": 5, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#0D2000", @@ -13796,12 +9049,7 @@ "source": "plan_ign", "source-layer": "toponyme_limite_ponc", "minzoom": 8, - "filter": [ - "in", - "txt_typo", - "PARC_MARIN_1", - "PARC_MARIN_2" - ], + "filter": ["in", "txt_typo", "PARC_MARIN_1", "PARC_MARIN_2"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13810,9 +9058,7 @@ "text-allow-overlap": false, "text-padding": 10, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#2A81A2", @@ -13826,14 +9072,7 @@ "source": "plan_ign", "source-layer": "toponyme_limite_ponc", "minzoom": 8, - "filter": [ - "in", - "txt_typo", - "LIM_PARC_1", - "LIM_PARC_2", - "PARC_1", - "PARC_2" - ], + "filter": ["in", "txt_typo", "LIM_PARC_1", "LIM_PARC_2", "PARC_1", "PARC_2"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13842,9 +9081,7 @@ "text-allow-overlap": false, "text-padding": 10, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#287B00", @@ -13857,33 +9094,21 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_lin", - "filter": [ - "==", - "txt_typo", - "OCS_FORET_2" - ], + "filter": ["==", "txt_typo", "OCS_FORET_2"], "layout": { "symbol-placement": "line", "text-field": "{texte}", "text-size": { "stops": [ - [ - 10, - 15 - ], - [ - 12, - 18 - ] + [10, 15], + [12, 18] ] }, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#287B00", @@ -13896,33 +9121,21 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_ponc", - "filter": [ - "==", - "txt_typo", - "OCS_FORET_2" - ], + "filter": ["==", "txt_typo", "OCS_FORET_2"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 10, - 15 - ], - [ - 12, - 18 - ] + [10, 15], + [12, 18] ] }, "text-allow-overlap": false, "text-padding": 1, "text-anchor": "center", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#287B00", @@ -13952,9 +9165,7 @@ "text-keep-upright": true, "text-padding": 10, "text-max-angle": 45, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#863831", @@ -13985,29 +9196,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 9, - 13 - ], - [ - 10, - 15 - ], - [ - 13, - 15 - ], - [ - 16, - 19 - ] + [9, 13], + [10, 15], + [13, 15], + [16, 19] ] }, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#863831", @@ -14021,32 +9218,20 @@ "source": "plan_ign", "source-layer": "toponyme_oro_ponc", "minzoom": 8, - "filter": [ - "==", - "txt_typo", - "TYPO_G_4" - ], + "filter": ["==", "txt_typo", "TYPO_G_4"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 13, - 15 - ], - [ - 16, - 19 - ] + [13, 15], + [16, 19] ] }, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#863831", @@ -14073,23 +9258,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 14, - 15 - ], - [ - 18, - 21 - ] + [14, 15], + [18, 21] ] }, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#447FB3", @@ -14103,42 +9280,22 @@ "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", "minzoom": 5, - "filter": [ - "in", - "txt_typo", - "moyen", - "HYD_SURF_2", - "TYPO_D_2" - ], + "filter": ["in", "txt_typo", "moyen", "HYD_SURF_2", "TYPO_D_2"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 5, - 12 - ], - [ - 6, - 18 - ], - [ - 10, - 17 - ], - [ - 18, - 21 - ] + [5, 12], + [6, 18], + [10, 17], + [18, 21] ] }, "text-allow-overlap": false, "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#447FB3", @@ -14151,37 +9308,21 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", - "filter": [ - "in", - "txt_typo", - "TYPO_D_3", - "TYPO_D_4" - ], + "filter": ["in", "txt_typo", "TYPO_D_3", "TYPO_D_4"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 9, - 15 - ], - [ - 10, - 17 - ], - [ - 18, - 21 - ] + [9, 15], + [10, 17], + [18, 21] ] }, "text-allow-overlap": false, "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#447FB3", @@ -14212,26 +9353,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 5, - 10 - ], - [ - 6, - 15 - ] + [5, 10], + [6, 15] ] }, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.30, - 0.10 - ], + "text-offset": [0.3, 0.1], "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -14248,21 +9378,9 @@ "maxzoom": 18, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_7" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_7"] ], "layout": { "visibility": "visible", @@ -14270,22 +9388,14 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 13 - ], - [ - 17, - 16 - ] + [15, 13], + [17, 16] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -14302,22 +9412,9 @@ "maxzoom": 18, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "in", - "txt_typo", - "TYPO_A_5", - "TYPO_A_6" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["in", "txt_typo", "TYPO_A_5", "TYPO_A_6"] ], "layout": { "visibility": "visible", @@ -14325,22 +9422,14 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 15 - ], - [ - 17, - 18 - ] + [15, 15], + [17, 18] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -14353,13 +9442,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_oro_lin", - "filter": [ - "in", - "txt_typo", - "ORO_ILE_1", - "ORO_RELIEF_1", - "ORO_RELIEF_1_T" - ], + "filter": ["in", "txt_typo", "ORO_ILE_1", "ORO_RELIEF_1", "ORO_RELIEF_1_T"], "layout": { "symbol-placement": "line", "text-field": "{texte}", @@ -14368,9 +9451,7 @@ "text-keep-upright": true, "text-padding": 5, "text-max-angle": 45, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#863831", @@ -14411,9 +9492,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#863831", @@ -14430,21 +9509,9 @@ "maxzoom": 16, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_4" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_4"] ], "layout": { "visibility": "visible", @@ -14454,9 +9521,7 @@ "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -14469,33 +9534,21 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_lin", - "filter": [ - "==", - "txt_typo", - "OCS_FORET_1" - ], + "filter": ["==", "txt_typo", "OCS_FORET_1"], "layout": { "symbol-placement": "line", "text-field": "{texte}", "text-size": { "stops": [ - [ - 10, - 18 - ], - [ - 12, - 22 - ] + [10, 18], + [12, 22] ] }, "text-anchor": "center", "text-keep-upright": true, "text-padding": 1, "text-max-angle": 45, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#287B00", @@ -14508,32 +9561,20 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_ponc", - "filter": [ - "==", - "txt_typo", - "OCS_FORET_1" - ], + "filter": ["==", "txt_typo", "OCS_FORET_1"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 10, - 18 - ], - [ - 12, - 22 - ] + [10, 18], + [12, 22] ] }, "text-allow-overlap": true, "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#287B00", @@ -14547,14 +9588,7 @@ "source": "plan_ign", "source-layer": "toponyme_oro_ponc", "minzoom": 8, - "filter": [ - "in", - "txt_typo", - "ORO_ILE_1", - "ORO_RELIEF_1", - "ORO_RELIEF_1_T", - "TYPO_G_1" - ], + "filter": ["in", "txt_typo", "ORO_ILE_1", "ORO_RELIEF_1", "ORO_RELIEF_1_T", "TYPO_G_1"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -14562,9 +9596,7 @@ "text-size": 21, "text-allow-overlap": true, "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#863831", @@ -14578,33 +9610,20 @@ "source": "plan_ign", "source-layer": "toponyme_oro_ponc", "minzoom": 8, - "filter": [ - "in", - "txt_typo", - "TYPO_G_2", - "TYPO_G_3" - ], + "filter": ["in", "txt_typo", "TYPO_G_2", "TYPO_G_3"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 12, - 15 - ], - [ - 13, - 21 - ] + [12, 15], + [13, 21] ] }, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#863831", @@ -14617,12 +9636,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_hydro_lin", - "filter": [ - "in", - "txt_typo", - "ORO_GLACIER_1", - "ORO_GLACIER_2" - ], + "filter": ["in", "txt_typo", "ORO_GLACIER_1", "ORO_GLACIER_2"], "layout": { "symbol-placement": "line", "text-field": "{texte}", @@ -14630,9 +9644,7 @@ "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#447FB3", @@ -14666,9 +9678,7 @@ "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#447FB3", @@ -14681,11 +9691,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_hydro_lin", - "filter": [ - "==", - "txt_typo", - "OCEAN_MER" - ], + "filter": ["==", "txt_typo", "OCEAN_MER"], "layout": { "symbol-placement": "line", "text-field": "{texte}", @@ -14694,9 +9700,7 @@ "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#447FB3", @@ -14710,39 +9714,21 @@ "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", "minzoom": 4, - "filter": [ - "in", - "txt_typo", - "mer", - "grand", - "HYD_SURF_1", - "TYPO_D_1" - ], + "filter": ["in", "txt_typo", "mer", "grand", "HYD_SURF_1", "TYPO_D_1"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 4, - 16 - ], - [ - 6, - 30 - ], - [ - 10, - 25 - ] + [4, 16], + [6, 30], + [10, 25] ] }, "text-allow-overlap": true, "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#447FB3", @@ -14774,44 +9760,20 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 4, - 10 - ], - [ - 6, - 17 - ] + [4, 10], + [6, 17] ] }, "text-allow-overlap": true, "text-anchor": "bottom-left", - "text-offset": [ - 0.30, - 0.2 - ], + "text-offset": [0.3, 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" - ] - ] + [1, ["Source Sans Pro Regular"]], + [7, ["Source Sans Pro Bold"]], + [10, ["Source Sans Pro Regular"]] ] } }, @@ -14830,21 +9792,9 @@ "maxzoom": 16, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_3" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_3"] ], "layout": { "visibility": "visible", @@ -14854,9 +9804,7 @@ "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -14873,21 +9821,9 @@ "maxzoom": 16, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_2" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_2"] ], "layout": { "visibility": "visible", @@ -14897,9 +9833,7 @@ "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -14916,17 +9850,8 @@ "maxzoom": 18, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_8" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_8"] ], "layout": { "visibility": "visible", @@ -14934,23 +9859,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 12 - ], - [ - 17, - 15 - ] + [15, 12], + [17, 15] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -14967,17 +9884,8 @@ "maxzoom": 18, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_7" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_7"] ], "layout": { "visibility": "visible", @@ -14985,23 +9893,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 13 - ], - [ - 17, - 16 - ] + [15, 13], + [17, 16] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -15018,18 +9918,8 @@ "maxzoom": 18, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "in", - "txt_typo", - "TYPO_A_5", - "TYPO_A_6" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["in", "txt_typo", "TYPO_A_5", "TYPO_A_6"] ], "layout": { "visibility": "visible", @@ -15037,23 +9927,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 15 - ], - [ - 17, - 18 - ] + [15, 15], + [17, 18] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -15070,21 +9952,9 @@ "maxzoom": 16, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_1" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_1"] ], "layout": { "visibility": "visible", @@ -15094,9 +9964,7 @@ "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -15113,17 +9981,8 @@ "maxzoom": 16, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_4" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_4"] ], "layout": { "visibility": "visible", @@ -15134,9 +9993,7 @@ "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -15153,17 +10010,8 @@ "maxzoom": 16, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_3" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_3"] ], "layout": { "visibility": "visible", @@ -15174,9 +10022,7 @@ "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -15193,17 +10039,8 @@ "maxzoom": 16, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_2" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_2"] ], "layout": { "visibility": "visible", @@ -15214,9 +10051,7 @@ "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -15247,44 +10082,20 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 3, - 10 - ], - [ - 6, - 20 - ] + [3, 10], + [6, 20] ] }, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.25, - -0.10 - ], + "text-offset": [0.25, -0.1], "text-padding": 1, "text-transform": "uppercase", "text-font": { "stops": [ - [ - 1, - [ - "Source Sans Pro Regular" - ] - ], - [ - 7, - [ - "Source Sans Pro Bold" - ] - ], - [ - 10, - [ - "Source Sans Pro Regular" - ] - ] + [1, ["Source Sans Pro Regular"]], + [7, ["Source Sans Pro Bold"]], + [10, ["Source Sans Pro Regular"]] ] } }, @@ -15303,17 +10114,8 @@ "maxzoom": 16, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_1" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_1"] ], "layout": { "visibility": "visible", @@ -15324,9 +10126,7 @@ "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -15340,33 +10140,21 @@ "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", "minzoom": 1, - "filter": [ - "==", - "txt_typo", - "ocean" - ], + "filter": ["==", "txt_typo", "ocean"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 1, - 16 - ], - [ - 6, - 30 - ] + [1, 16], + [6, 30] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#447FB3", @@ -15381,11 +10169,7 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 4, "maxzoom": 5, - "filter": [ - "==", - "txt_typo", - "pays 3" - ], + "filter": ["==", "txt_typo", "pays 3"], "layout": { "visibility": "visible", "text-field": "{texte}", @@ -15394,9 +10178,7 @@ "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#787878", @@ -15411,11 +10193,7 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 2, "maxzoom": 5, - "filter": [ - "==", - "txt_typo", - "pays 2" - ], + "filter": ["==", "txt_typo", "pays 2"], "layout": { "visibility": "visible", "text-field": "{texte}", @@ -15424,9 +10202,7 @@ "text-anchor": "center", "text-padding": 2, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#787878", @@ -15441,11 +10217,7 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 2, "maxzoom": 5, - "filter": [ - "==", - "txt_typo", - "pays 1" - ], + "filter": ["==", "txt_typo", "pays 1"], "layout": { "visibility": "visible", "text-field": "{texte}", @@ -15454,9 +10226,7 @@ "text-anchor": "center", "text-padding": 2, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#787878", @@ -15470,11 +10240,7 @@ "source": "plan_ign", "source-layer": "toponyme_localite_ponc", "maxzoom": 3, - "filter": [ - "==", - "txt_typo", - "continent" - ], + "filter": ["==", "txt_typo", "continent"], "layout": { "visibility": "visible", "text-field": "{texte}", @@ -15483,9 +10249,7 @@ "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#787878", @@ -15494,4 +10258,4 @@ } } ] -} \ No newline at end of file +} diff --git a/website/src/lib/assets/custom/ign-fr-satellite.json b/website/src/lib/assets/custom/ign-fr-satellite.json index e102a52d..5e015fb5 100644 --- a/website/src/lib/assets/custom/ign-fr-satellite.json +++ b/website/src/lib/assets/custom/ign-fr-satellite.json @@ -7,9 +7,7 @@ "sources": { "plan_ign": { "type": "vector", - "tiles": [ - "https://data.geopf.fr/tms/1.0.0/PLAN.IGN/{z}/{x}/{y}.pbf" - ], + "tiles": ["https://data.geopf.fr/tms/1.0.0/PLAN.IGN/{z}/{x}/{y}.pbf"], "attribution": "IGN-F/Géoportail" }, "satellite": { @@ -43,50 +41,24 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "PISTE_CYCLABLE_SOU", - "VOIE_VERTE_SOU" - ], + "filter": ["in", "symbo", "PISTE_CYCLABLE_SOU", "VOIE_VERTE_SOU"], "paint": { "line-color": "#AB81CC", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 1.1 - ], - [ - 15, - 1.7 - ], - [ - 16, - 2 - ], - [ - 17, - 3.5 - ] + [14, 1.1], + [15, 1.7], + [16, 2], + [17, 3.5] ] }, - "line-dasharray": [ - 6, - 2 - ] + "line-dasharray": [6, 2] } }, { @@ -100,43 +72,21 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "ESCALIER_SOU" - ], + "filter": ["==", "symbo", "ESCALIER_SOU"], "paint": { "line-color": "#B3989A", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 1.75 - ], - [ - 15, - 3 - ], - [ - 16, - 4.2 - ], - [ - 17, - 9.5 - ] + [14, 1.75], + [15, 3], + [16, 4.2], + [17, 9.5] ] } } @@ -152,49 +102,24 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "ESCALIER_SOU" - ], + "filter": ["==", "symbo", "ESCALIER_SOU"], "paint": { "line-color": "#FFFFFF", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.9 - ], - [ - 16, - 2.7 - ], - [ - 17, - 5.8 - ] + [14, 1], + [15, 1.9], + [16, 2.7], + [17, 5.8] ] }, - "line-dasharray": [ - 1, - 0.2 - ] + "line-dasharray": [1, 0.2] } }, { @@ -208,49 +133,24 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "RUE_PIETONNE_SOU" - ], + "filter": ["==", "symbo", "RUE_PIETONNE_SOU"], "paint": { "line-color": "#B3989A", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2] ] }, - "line-dasharray": [ - 1, - 3 - ] + "line-dasharray": [1, 3] } }, { @@ -264,49 +164,24 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "SENTIER_SOU" - ], + "filter": ["==", "symbo", "SENTIER_SOU"], "paint": { "line-color": "#B3989A", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2] ] }, - "line-dasharray": [ - 4, - 3 - ] + "line-dasharray": [4, 3] } }, { @@ -320,43 +195,21 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "CHEMIN_SOU" - ], + "filter": ["==", "symbo", "CHEMIN_SOU"], "paint": { "line-color": "#B3989A", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2] ] } } @@ -371,49 +224,24 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_REVETUE_CARRO_SOU" - ], + "filter": ["==", "symbo", "NON_REVETUE_CARRO_SOU"], "paint": { "line-color": "#AFAFAF", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -441,26 +269,11 @@ "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 - ] + [12, 2.5], + [14, 3.7], + [15, 6.8], + [16, 8.4], + [17, 14] ] } } @@ -475,43 +288,21 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_CLASSEE_RESTREINT_SOU" - ], + "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT_SOU"], "paint": { "line-color": "#AFAFAF", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] } } @@ -526,44 +317,21 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "NON_CLASSEE_4_SOU", - "NON_CLASSEE_SOU" - ], + "filter": ["in", "symbo", "NON_CLASSEE_4_SOU", "NON_CLASSEE_SOU"], "paint": { "line-color": "#AFAFAF", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] } } @@ -591,26 +359,11 @@ "line-color": "rgba(130, 130, 130, 0.5)", "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] } } @@ -626,47 +379,22 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LOCALE_CONSTR_SOU" - ], + "filter": ["==", "symbo", "LOCALE_CONSTR_SOU"], "paint": { "line-color": "#C8C8C8", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] } } @@ -694,30 +422,12 @@ "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 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] } } @@ -733,51 +443,23 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REGIONALE_CONSTR_SOU" - ], + "filter": ["==", "symbo", "REGIONALE_CONSTR_SOU"], "paint": { "line-color": "#C8C8C8", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 6, - 1.5 - ], - [ - 9, - 2.3 - ], - [ - 14, - 5 - ], - [ - 15, - 8.1 - ], - [ - 16, - 11.2 - ], - [ - 17, - 22 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] } } @@ -806,30 +488,12 @@ "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 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] } } @@ -845,51 +509,23 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PRINCIPALE_CONSTR_SOU" - ], + "filter": ["==", "symbo", "PRINCIPALE_CONSTR_SOU"], "paint": { "line-color": "#C8C8C8", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 6, - 1.8 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.9 - ], - [ - 15, - 9 - ], - [ - 16, - 12.2 - ], - [ - 17, - 22.5 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] } } @@ -905,40 +541,17 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE_SOU", - "AUTOROU_LIBRE_SOU" - ], + "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 - ] + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] } } @@ -954,51 +567,23 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR_SOU" - ], + "filter": ["==", "symbo", "AUTOROU_CONSTR_SOU"], "paint": { "line-color": "#C8C8C8", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 6, - 2.5 - ], - [ - 9, - 3.5 - ], - [ - 14, - 7.5 - ], - [ - 15, - 11 - ], - [ - 16, - 15 - ], - [ - 17, - 26 - ] + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] } } @@ -1013,43 +598,21 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_REVETUE_CARRO_SOU" - ], + "filter": ["==", "symbo", "NON_REVETUE_CARRO_SOU"], "paint": { "line-color": "#DCDCDC", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -1079,26 +642,11 @@ "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 - ] + [12, 1.5], + [14, 2.6], + [15, 5.2], + [16, 6.7], + [17, 10.8] ] } } @@ -1113,43 +661,21 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_CLASSEE_RESTREINT_SOU" - ], + "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT_SOU"], "paint": { "line-color": "#F2F5FF", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -1164,44 +690,21 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "NON_CLASSEE_4_SOU", - "NON_CLASSEE_SOU" - ], + "filter": ["in", "symbo", "NON_CLASSEE_4_SOU", "NON_CLASSEE_SOU"], "paint": { "line-color": "#DCDCDC", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -1229,26 +732,11 @@ "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 - ] + [9, 1.3], + [14, 2.3], + [15, 4.1], + [16, 6.1], + [17, 13.1] ] } } @@ -1264,68 +752,31 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LOCALE_CONSTR_SOU" - ], + "filter": ["==", "symbo", "LOCALE_CONSTR_SOU"], "paint": { "line-color": { "stops": [ - [ - 12, - "#FFFFFF" - ], - [ - 13, - "#FCF4A8" - ], - [ - 17, - "#FCF7C1" - ] + [12, "#FFFFFF"], + [13, "#FCF4A8"], + [17, "#FCF7C1"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -1351,30 +802,12 @@ "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 - ] + [6, 1.4], + [9, 1.5], + [14, 3.2], + [15, 5.8], + [16, 8.3], + [17, 16.2] ] } } @@ -1390,76 +823,33 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REGIONALE_CONSTR_SOU" - ], + "filter": ["==", "symbo", "REGIONALE_CONSTR_SOU"], "paint": { "line-color": { "stops": [ - [ - 9, - "#FFFFFF" - ], - [ - 10, - "#FDF28B" - ], - [ - 17, - "#FCF6BD" - ] + [9, "#FFFFFF"], + [10, "#FDF28B"], + [17, "#FCF6BD"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 4, - 0.4 - ], - [ - 6, - 1.5 - ], - [ - 9, - 2.3 - ], - [ - 14, - 5 - ], - [ - 15, - 8.1 - ], - [ - 16, - 11.2 - ], - [ - 17, - 22 - ] + [4, 0.4], + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -1485,34 +875,13 @@ "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 - ] + [4, 0.5], + [6, 1.8], + [9, 2.1], + [14, 4.4], + [15, 7.3], + [16, 10], + [17, 18.5] ] } } @@ -1528,72 +897,32 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PRINCIPALE_CONSTR_SOU" - ], + "filter": ["==", "symbo", "PRINCIPALE_CONSTR_SOU"], "paint": { "line-color": { "stops": [ - [ - 9, - "#F3C66D" - ], - [ - 17, - "#F2DDB3" - ] + [9, "#F3C66D"], + [17, "#F2DDB3"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 4, - 0.5 - ], - [ - 6, - 1.8 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.9 - ], - [ - 15, - 9 - ], - [ - 16, - 12.2 - ], - [ - 17, - 22.5 - ] + [4, 0.5], + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -1606,44 +935,18 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE_SOU", - "AUTOROU_LIBRE_SOU" - ], + "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 - ] + [4, 0.7], + [6, 2.5], + [9, 2.7], + [14, 5.8], + [15, 9], + [16, 12], + [17, 20.8] ] } } @@ -1659,48 +962,22 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE_SOU", - "AUTOROU_LIBRE_SOU" - ], + "filter": ["in", "symbo", "AUTOROU_PEAGE_SOU", "AUTOROU_LIBRE_SOU"], "paint": { "line-color": "#FFFFFF", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 9, - 0.6 - ], - [ - 14, - 0.7 - ], - [ - 15, - 1 - ], - [ - 16, - 1.2 - ], - [ - 17, - 2.1 - ] + [9, 0.6], + [14, 0.7], + [15, 1], + [16, 1.2], + [17, 2.1] ] } } @@ -1716,72 +993,32 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR_SOU" - ], + "filter": ["==", "symbo", "AUTOROU_CONSTR_SOU"], "paint": { "line-color": { "stops": [ - [ - 9, - "#F2BA59" - ], - [ - 17, - "#F2C261" - ] + [9, "#F2BA59"], + [17, "#F2C261"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 4, - 0.7 - ], - [ - 6, - 2.5 - ], - [ - 9, - 3.5 - ], - [ - 14, - 7.5 - ], - [ - 15, - 11 - ], - [ - 16, - 15 - ], - [ - 17, - 26 - ] + [4, 0.7], + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -1795,47 +1032,22 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR_SOU" - ], + "filter": ["==", "symbo", "AUTOROU_CONSTR_SOU"], "paint": { "line-color": "#808080", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 9, - 0.6 - ], - [ - 14, - 0.7 - ], - [ - 15, - 1 - ], - [ - 16, - 1.2 - ], - [ - 17, - 2.1 - ] + [9, 0.6], + [14, 0.7], + [15, 1], + [16, 1.2], + [17, 2.1] ] } } @@ -1924,61 +1136,27 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "PISTE_CYCLABLE", - "VOIE_VERTE" - ], + "filter": ["in", "symbo", "PISTE_CYCLABLE", "VOIE_VERTE"], "paint": { "line-color": { - "stops": [ - [ - 17, - "#9B5CCC" - ] - ] + "stops": [[17, "#9B5CCC"]] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 1.1 - ], - [ - 15, - 1.7 - ], - [ - 16, - 2 - ], - [ - 17, - 3.5 - ], - [ - 18, - 6 - ] + [14, 1.1], + [15, 1.7], + [16, 2], + [17, 3.5], + [18, 6] ] }, - "line-dasharray": [ - 6, - 2 - ] + "line-dasharray": [6, 2] } }, { @@ -1992,50 +1170,23 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "ESCALIER" - ], + "filter": ["==", "symbo", "ESCALIER"], "paint": { "line-color": { - "stops": [ - [ - 17, - "#8C7274" - ] - ] + "stops": [[17, "#8C7274"]] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 1.75 - ], - [ - 15, - 3 - ], - [ - 16, - 4.2 - ], - [ - 17, - 9.5 - ] + [14, 1.75], + [15, 3], + [16, 4.2], + [17, 9.5] ] } } @@ -2051,49 +1202,24 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "ESCALIER" - ], + "filter": ["==", "symbo", "ESCALIER"], "paint": { "line-color": "#FFFFFF", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.9 - ], - [ - 16, - 2.7 - ], - [ - 17, - 5.8 - ] + [14, 1], + [15, 1.9], + [16, 2.7], + [17, 5.8] ] }, - "line-dasharray": [ - 1, - 0.2 - ] + "line-dasharray": [1, 0.2] } }, { @@ -2107,60 +1233,27 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "RUE_PIETONNE" - ], + "filter": ["==", "symbo", "RUE_PIETONNE"], "paint": { "line-color": { - "stops": [ - [ - 17, - "#8C7274" - ] - ] + "stops": [[17, "#8C7274"]] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ], - [ - 18, - 5 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2], + [18, 5] ] }, - "line-dasharray": [ - 1, - 3 - ] + "line-dasharray": [1, 3] } }, { @@ -2174,60 +1267,27 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "SENTIER" - ], + "filter": ["==", "symbo", "SENTIER"], "paint": { "line-color": { - "stops": [ - [ - 17, - "#8C7274" - ] - ] + "stops": [[17, "#8C7274"]] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ], - [ - 18, - 6 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2], + [18, 6] ] }, - "line-dasharray": [ - 4, - 3 - ] + "line-dasharray": [4, 3] } }, { @@ -2241,54 +1301,24 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "CHEMIN" - ], + "filter": ["==", "symbo", "CHEMIN"], "paint": { "line-color": { - "stops": [ - [ - 17, - "#8C7274" - ] - ] + "stops": [[17, "#8C7274"]] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ], - [ - 18, - 7 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2], + [18, 7] ] } } @@ -2303,60 +1333,29 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_REVETUE_CARRO" - ], + "filter": ["==", "symbo", "NON_REVETUE_CARRO"], "paint": { "line-color": { "stops": [ - [ - 12, - "#646464" - ], - [ - 17, - "#8C8C8C" - ] + [12, "#646464"], + [17, "#8C8C8C"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -2369,43 +1368,21 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_REVETUE_CARRO" - ], + "filter": ["==", "symbo", "NON_REVETUE_CARRO"], "paint": { "line-color": "#FFFFFF", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -2434,50 +1411,23 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#DE460E" - ], - [ - 17, - "#F18800" - ] + [9, "#DE460E"], + [17, "#F18800"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 12, - 2.5 - ], - [ - 14, - 3.7 - ], - [ - 15, - 6.8 - ], - [ - 16, - 8.4 - ], - [ - 17, - 14 - ] + [12, 2.5], + [14, 3.7], + [15, 6.8], + [16, 8.4], + [17, 14] ] } } @@ -2492,50 +1442,23 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_CLASSEE_RESTREINT" - ], + "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT"], "paint": { "line-color": { - "stops": [ - [ - 17, - "#969696" - ] - ] + "stops": [[17, "#969696"]] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] } } @@ -2550,51 +1473,23 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "NON_CLASSEE_4", - "NON_CLASSEE" - ], + "filter": ["in", "symbo", "NON_CLASSEE_4", "NON_CLASSEE"], "paint": { "line-color": { - "stops": [ - [ - 17, - "#969696" - ] - ] + "stops": [[17, "#969696"]] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] } } @@ -2622,54 +1517,24 @@ "paint": { "line-color": { "stops": [ - [ - 12, - "#8C8C8C" - ], - [ - 13, - "#B4B4B4" - ], - [ - 17, - "#B4B4B4" - ] + [12, "#8C8C8C"], + [13, "#B4B4B4"], + [17, "#B4B4B4"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] } } @@ -2685,47 +1550,22 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LOCALE_CONSTR" - ], + "filter": ["==", "symbo", "LOCALE_CONSTR"], "paint": { "line-color": "#C8C8C8", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] } } @@ -2753,58 +1593,25 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#828282" - ], - [ - 10, - "#B4B4B4" - ], - [ - 17, - "#B4B4B4" - ] + [9, "#828282"], + [10, "#B4B4B4"], + [17, "#B4B4B4"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 6, - 1.5 - ], - [ - 9, - 2.3 - ], - [ - 14, - 5 - ], - [ - 15, - 8.1 - ], - [ - 16, - 11.2 - ], - [ - 17, - 22 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] } } @@ -2820,51 +1627,23 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REGIONALE_CONSTR" - ], + "filter": ["==", "symbo", "REGIONALE_CONSTR"], "paint": { "line-color": "#C8C8C8", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 6, - 1.5 - ], - [ - 9, - 2.3 - ], - [ - 14, - 5 - ], - [ - 15, - 8.1 - ], - [ - 16, - 11.2 - ], - [ - 17, - 22 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] } } @@ -2891,51 +1670,22 @@ ], "paint": { "line-color": { - "stops": [ - [ - 17, - "#E2A52A" - ] - ] + "stops": [[17, "#E2A52A"]] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 6, - 1.8 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.9 - ], - [ - 15, - 9 - ], - [ - 16, - 12.2 - ], - [ - 17, - 22.5 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] } } @@ -2951,51 +1701,23 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PRINCIPALE_CONSTR" - ], + "filter": ["==", "symbo", "PRINCIPALE_CONSTR"], "paint": { "line-color": "#C8C8C8", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 6, - 1.8 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.9 - ], - [ - 15, - 9 - ], - [ - 16, - 12.2 - ], - [ - 17, - 22.5 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] } } @@ -3011,63 +1733,28 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE", - "AUTOROU_LIBRE" - ], + "filter": ["in", "symbo", "AUTOROU_PEAGE", "AUTOROU_LIBRE"], "paint": { "line-color": { "stops": [ - [ - 9, - "#DE460E" - ], - [ - 17, - "#F18800" - ] + [9, "#DE460E"], + [17, "#F18800"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 6, - 2.5 - ], - [ - 9, - 3.5 - ], - [ - 14, - 7.5 - ], - [ - 15, - 11 - ], - [ - 16, - 15 - ], - [ - 17, - 26 - ] + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] } } @@ -3083,51 +1770,23 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR" - ], + "filter": ["==", "symbo", "AUTOROU_CONSTR"], "paint": { "line-color": "#C8C8C8", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 6, - 2.5 - ], - [ - 9, - 3.5 - ], - [ - 14, - 7.5 - ], - [ - 15, - 11 - ], - [ - 16, - 15 - ], - [ - 17, - 26 - ] + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] } } @@ -3156,50 +1815,23 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#F18800" - ], - [ - 17, - "#F2B230" - ] + [9, "#F18800"], + [17, "#F2B230"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 12, - 1.5 - ], - [ - 14, - 2.6 - ], - [ - 15, - 5.2 - ], - [ - 16, - 6.7 - ], - [ - 17, - 10.8 - ] + [12, 1.5], + [14, 2.6], + [15, 5.2], + [16, 6.7], + [17, 10.8] ] } } @@ -3214,43 +1846,21 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_CLASSEE_RESTREINT" - ], + "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT"], "paint": { "line-color": "#EDF1FF", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -3265,44 +1875,21 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "NON_CLASSEE_4", - "NON_CLASSEE" - ], + "filter": ["in", "symbo", "NON_CLASSEE_4", "NON_CLASSEE"], "paint": { "line-color": "#FFFFFF", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -3329,62 +1916,26 @@ "paint": { "line-color": { "stops": [ - [ - 6, - "#F2B361" - ], - [ - 7, - "#FFFFFF" - ], - [ - 12, - "#FFFFFF" - ], - [ - 13, - "#FCF4A8" - ], - [ - 17, - "#FCF7C1" - ] + [6, "#F2B361"], + [7, "#FFFFFF"], + [12, "#FFFFFF"], + [13, "#FCF4A8"], + [17, "#FCF7C1"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 9, - 1.3 - ], - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.1 - ], - [ - 17, - 13.1 - ] + [9, 1.3], + [14, 2.3], + [15, 4.1], + [16, 6.1], + [17, 13.1] ] } } @@ -3400,68 +1951,31 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LOCALE_CONSTR" - ], + "filter": ["==", "symbo", "LOCALE_CONSTR"], "paint": { "line-color": { "stops": [ - [ - 12, - "#FFFFFF" - ], - [ - 13, - "#FCF4A8" - ], - [ - 17, - "#FCF7C1" - ] + [12, "#FFFFFF"], + [13, "#FCF4A8"], + [17, "#FCF7C1"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -3486,70 +2000,28 @@ "paint": { "line-color": { "stops": [ - [ - 6, - "#F2A949" - ], - [ - 7, - "#FFFFFF" - ], - [ - 9, - "#FFFFFF" - ], - [ - 10, - "#FDF28B" - ], - [ - 17, - "#FCF6BD" - ] + [6, "#F2A949"], + [7, "#FFFFFF"], + [9, "#FFFFFF"], + [10, "#FDF28B"], + [17, "#FCF6BD"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 4, - 1.1 - ], - [ - 6, - 1.4 - ], - [ - 9, - 1.5 - ], - [ - 14, - 3.2 - ], - [ - 15, - 5.8 - ], - [ - 16, - 8.3 - ], - [ - 17, - 16.2 - ] + [4, 1.1], + [6, 1.4], + [9, 1.5], + [14, 3.2], + [15, 5.8], + [16, 8.3], + [17, 16.2] ] } } @@ -3565,76 +2037,33 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REGIONALE_CONSTR" - ], + "filter": ["==", "symbo", "REGIONALE_CONSTR"], "paint": { "line-color": { "stops": [ - [ - 9, - "#FFFFFF" - ], - [ - 10, - "#FDF28B" - ], - [ - 17, - "#FCF6BD" - ] + [9, "#FFFFFF"], + [10, "#FDF28B"], + [17, "#FCF6BD"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 4, - 0.4 - ], - [ - 6, - 1.5 - ], - [ - 9, - 2.3 - ], - [ - 14, - 5 - ], - [ - 15, - 8.1 - ], - [ - 16, - 11.2 - ], - [ - 17, - 22 - ] + [4, 0.4], + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -3659,66 +2088,27 @@ "paint": { "line-color": { "stops": [ - [ - 6, - "#F29924" - ], - [ - 7, - "#F3C66D" - ], - [ - 9, - "#F3C66D" - ], - [ - 17, - "#F2DDB3" - ] + [6, "#F29924"], + [7, "#F3C66D"], + [9, "#F3C66D"], + [17, "#F2DDB3"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 4, - 0.6 - ], - [ - 6, - 1.8 - ], - [ - 9, - 2.1 - ], - [ - 14, - 4.4 - ], - [ - 15, - 7.3 - ], - [ - 16, - 10 - ], - [ - 17, - 18.5 - ] + [4, 0.6], + [6, 1.8], + [9, 2.1], + [14, 4.4], + [15, 7.3], + [16, 10], + [17, 18.5] ] } } @@ -3734,72 +2124,32 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PRINCIPALE_CONSTR" - ], + "filter": ["==", "symbo", "PRINCIPALE_CONSTR"], "paint": { "line-color": { "stops": [ - [ - 9, - "#F3C66D" - ], - [ - 17, - "#F2DDB3" - ] + [9, "#F3C66D"], + [17, "#F2DDB3"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 4, - 0.5 - ], - [ - 6, - 1.8 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.9 - ], - [ - 15, - 9 - ], - [ - 16, - 12.2 - ], - [ - 17, - 22.5 - ] + [4, 0.5], + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -3812,67 +2162,29 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE", - "AUTOROU_LIBRE" - ], + "filter": ["in", "symbo", "AUTOROU_PEAGE", "AUTOROU_LIBRE"], "paint": { "line-color": { "stops": [ - [ - 9, - "#F18800" - ], - [ - 17, - "#F2B230" - ] + [9, "#F18800"], + [17, "#F2B230"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 4, - 0.7 - ], - [ - 6, - 2.5 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.8 - ], - [ - 15, - 9 - ], - [ - 16, - 12 - ], - [ - 17, - 20.8 - ] + [4, 0.7], + [6, 2.5], + [9, 2.7], + [14, 5.8], + [15, 9], + [16, 12], + [17, 20.8] ] } } @@ -3888,48 +2200,22 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE", - "AUTOROU_LIBRE" - ], + "filter": ["in", "symbo", "AUTOROU_PEAGE", "AUTOROU_LIBRE"], "paint": { "line-color": "#FFFFFF", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 9, - 0.6 - ], - [ - 14, - 0.7 - ], - [ - 15, - 1 - ], - [ - 16, - 1.2 - ], - [ - 17, - 2.1 - ] + [9, 0.6], + [14, 0.7], + [15, 1], + [16, 1.2], + [17, 2.1] ] } } @@ -3945,72 +2231,32 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR" - ], + "filter": ["==", "symbo", "AUTOROU_CONSTR"], "paint": { "line-color": { "stops": [ - [ - 9, - "#F18800" - ], - [ - 17, - "#F2B230" - ] + [9, "#F18800"], + [17, "#F2B230"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 4, - 0.7 - ], - [ - 6, - 2.5 - ], - [ - 9, - 3.5 - ], - [ - 14, - 7.5 - ], - [ - 15, - 11 - ], - [ - 16, - 15 - ], - [ - 17, - 26 - ] + [4, 0.7], + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -4024,47 +2270,22 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR" - ], + "filter": ["==", "symbo", "AUTOROU_CONSTR"], "paint": { "line-color": "#808080", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 9, - 0.6 - ], - [ - 14, - 0.7 - ], - [ - 15, - 1 - ], - [ - 16, - 1.2 - ], - [ - 17, - 2.1 - ] + [9, 0.6], + [14, 0.7], + [15, 1], + [16, 1.2], + [17, 2.1] ] } } @@ -4081,37 +2302,19 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "BAC_AUTO", - "LIAISON_MARITIME", - "BAC_LIAISON_MARITIME" - ], + "filter": ["in", "symbo", "BAC_AUTO", "LIAISON_MARITIME", "BAC_LIAISON_MARITIME"], "paint": { "line-color": "#5792C2", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 8, - 1 - ], - [ - 13, - 2.5 - ] + [8, 1], + [13, 2.5] ] } } @@ -4126,58 +2329,27 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "GUE_ROUTE" - ], + "filter": ["==", "symbo", "GUE_ROUTE"], "paint": { "line-color": { "stops": [ - [ - 13, - "#BEBEBE" - ], - [ - 17, - "#646464" - ], - [ - 18, - "#FFFFFF" - ] + [13, "#BEBEBE"], + [17, "#646464"], + [18, "#FFFFFF"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -4193,54 +2365,26 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "GUE_CHEMIN" - ], + "filter": ["==", "symbo", "GUE_CHEMIN"], "paint": { "line-color": { "stops": [ - [ - 13, - "#BEBEBE" - ], - [ - 17, - "#646464" - ] + [13, "#BEBEBE"], + [17, "#646464"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 1.6 - ], - [ - 15, - 2.9 - ], - [ - 16, - 4.4 - ], - [ - 17, - 6.5 - ] + [14, 1.6], + [15, 2.9], + [16, 4.4], + [17, 6.5] ] } } @@ -4255,56 +2399,26 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "PONT_PASSERELLE", - "PONT_LIN", - "PONT_MOBILE_LIN" - ], + "filter": ["in", "symbo", "PONT_PASSERELLE", "PONT_LIN", "PONT_MOBILE_LIN"], "paint": { "line-color": { "stops": [ - [ - 17, - "#C8C8C8" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#C8C8C8"], + [18, "#FFFFFF"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 2.2 - ], - [ - 15, - 3.8 - ], - [ - 16, - 5.4 - ], - [ - 17, - 11.8 - ] + [14, 2.2], + [15, 3.8], + [16, 5.4], + [17, 11.8] ] } } @@ -4320,45 +2434,21 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "PONT_PASSERELLE", - "PONT_LIN", - "PONT_MOBILE_LIN" - ], + "filter": ["in", "symbo", "PONT_PASSERELLE", "PONT_LIN", "PONT_MOBILE_LIN"], "paint": { "line-color": "#FFFFFF", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 0.7 - ], - [ - 15, - 1.1 - ], - [ - 16, - 1.7 - ], - [ - 17, - 3.8 - ] + [14, 0.7], + [15, 1.1], + [16, 1.7], + [17, 3.8] ] } } @@ -4372,23 +2462,13 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "SURF_PEAGE" - ], + "filter": ["==", "symbo", "SURF_PEAGE"], "paint": { "fill-color": "#F2DAAA", "fill-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "fill-outline-color": "#E2A52A" @@ -4403,23 +2483,13 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "BATI_PEAGE" - ], + "filter": ["==", "symbo", "BATI_PEAGE"], "paint": { "fill-color": "#DCDCDC", "fill-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "fill-outline-color": "#808080" @@ -4436,61 +2506,27 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "PISTE_CYCLABLE_SUP", - "VOIE_VERTE_SUP" - ], + "filter": ["in", "symbo", "PISTE_CYCLABLE_SUP", "VOIE_VERTE_SUP"], "paint": { "line-color": { - "stops": [ - [ - 17, - "#9B5CCC" - ] - ] + "stops": [[17, "#9B5CCC"]] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 1.1 - ], - [ - 15, - 1.7 - ], - [ - 16, - 2 - ], - [ - 17, - 3.5 - ], - [ - 18, - 6 - ] + [14, 1.1], + [15, 1.7], + [16, 2], + [17, 3.5], + [18, 6] ] }, - "line-dasharray": [ - 6, - 2 - ] + "line-dasharray": [6, 2] } }, { @@ -4504,50 +2540,23 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "ESCALIER_SUP" - ], + "filter": ["==", "symbo", "ESCALIER_SUP"], "paint": { "line-color": { - "stops": [ - [ - 17, - "#8C7274" - ] - ] + "stops": [[17, "#8C7274"]] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 1.75 - ], - [ - 15, - 3 - ], - [ - 16, - 4.2 - ], - [ - 17, - 9.5 - ] + [14, 1.75], + [15, 3], + [16, 4.2], + [17, 9.5] ] } } @@ -4556,14 +2565,8 @@ "id": "Chemin superieur - filet interieur - escalier", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "type": "line", @@ -4575,37 +2578,18 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "ESCALIER_SUP" - ], + "filter": ["==", "symbo", "ESCALIER_SUP"], "paint": { "line-color": "#FFFFFF", "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.9 - ], - [ - 16, - 2.7 - ], - [ - 17, - 5.8 - ] + [14, 1], + [15, 1.9], + [16, 2.7], + [17, 5.8] ] }, - "line-dasharray": [ - 1, - 0.2 - ] + "line-dasharray": [1, 0.2] } }, { @@ -4619,60 +2603,27 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "RUE_PIETONNE_SUP" - ], + "filter": ["==", "symbo", "RUE_PIETONNE_SUP"], "paint": { "line-color": { - "stops": [ - [ - 17, - "#8C7274" - ] - ] + "stops": [[17, "#8C7274"]] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ], - [ - 18, - 5 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2], + [18, 5] ] }, - "line-dasharray": [ - 1, - 3 - ] + "line-dasharray": [1, 3] } }, { @@ -4686,60 +2637,27 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "SENTIER_SUP" - ], + "filter": ["==", "symbo", "SENTIER_SUP"], "paint": { "line-color": { - "stops": [ - [ - 17, - "#8C7274" - ] - ] + "stops": [[17, "#8C7274"]] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ], - [ - 18, - 6 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2], + [18, 6] ] }, - "line-dasharray": [ - 4, - 3 - ] + "line-dasharray": [4, 3] } }, { @@ -4753,54 +2671,24 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "CHEMIN_SUP" - ], + "filter": ["==", "symbo", "CHEMIN_SUP"], "paint": { "line-color": { - "stops": [ - [ - 17, - "#8C7274" - ] - ] + "stops": [[17, "#8C7274"]] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ], - [ - 18, - 7 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2], + [18, 7] ] } } @@ -4815,60 +2703,29 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_REVETUE_CARRO_SUP" - ], + "filter": ["==", "symbo", "NON_REVETUE_CARRO_SUP"], "paint": { "line-color": { "stops": [ - [ - 12, - "#646464" - ], - [ - 17, - "#8C8C8C" - ] + [12, "#646464"], + [17, "#8C8C8C"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -4895,50 +2752,23 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#DE460E" - ], - [ - 17, - "#F18800" - ] + [9, "#DE460E"], + [17, "#F18800"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 12, - 2.5 - ], - [ - 14, - 3.7 - ], - [ - 15, - 6.8 - ], - [ - 16, - 8.4 - ], - [ - 17, - 14 - ] + [12, 2.5], + [14, 3.7], + [15, 6.8], + [16, 8.4], + [17, 14] ] } } @@ -4953,50 +2783,23 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_CLASSEE_RESTREINT_SUP" - ], + "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT_SUP"], "paint": { "line-color": { - "stops": [ - [ - 17, - "#969696" - ] - ] + "stops": [[17, "#969696"]] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] } } @@ -5011,51 +2814,23 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "NON_CLASSEE_4_SUP", - "NON_CLASSEE_SUP" - ], + "filter": ["in", "symbo", "NON_CLASSEE_4_SUP", "NON_CLASSEE_SUP"], "paint": { "line-color": { - "stops": [ - [ - 17, - "#969696" - ] - ] + "stops": [[17, "#969696"]] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] } } @@ -5082,54 +2857,24 @@ "paint": { "line-color": { "stops": [ - [ - 12, - "#8C8C8C" - ], - [ - 13, - "#B4B4B4" - ], - [ - 17, - "#B4B4B4" - ] + [12, "#8C8C8C"], + [13, "#B4B4B4"], + [17, "#B4B4B4"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] } } @@ -5145,47 +2890,22 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LOCALE_CONSTR_SUP" - ], + "filter": ["==", "symbo", "LOCALE_CONSTR_SUP"], "paint": { "line-color": "#C8C8C8", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] } } @@ -5213,58 +2933,25 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#828282" - ], - [ - 10, - "#B4B4B4" - ], - [ - 17, - "#B4B4B4" - ] + [9, "#828282"], + [10, "#B4B4B4"], + [17, "#B4B4B4"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 6, - 1.5 - ], - [ - 9, - 2.3 - ], - [ - 14, - 5 - ], - [ - 15, - 8.1 - ], - [ - 16, - 11.2 - ], - [ - 17, - 22 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] } } @@ -5280,51 +2967,23 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REGIONALE_CONSTR_SUP" - ], + "filter": ["==", "symbo", "REGIONALE_CONSTR_SUP"], "paint": { "line-color": "#C8C8C8", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 6, - 1.5 - ], - [ - 9, - 2.3 - ], - [ - 14, - 5 - ], - [ - 15, - 8.1 - ], - [ - 16, - 11.2 - ], - [ - 17, - 22 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] } } @@ -5351,51 +3010,22 @@ ], "paint": { "line-color": { - "stops": [ - [ - 17, - "#E2A52A" - ] - ] + "stops": [[17, "#E2A52A"]] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 6, - 1.8 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.9 - ], - [ - 15, - 9 - ], - [ - 16, - 12.2 - ], - [ - 17, - 22.5 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] } } @@ -5411,51 +3041,23 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PRINCIPALE_CONSTR_SUP" - ], + "filter": ["==", "symbo", "PRINCIPALE_CONSTR_SUP"], "paint": { "line-color": "#C8C8C8", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 6, - 1.8 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.9 - ], - [ - 15, - 9 - ], - [ - 16, - 12.2 - ], - [ - 17, - 22.5 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] } } @@ -5471,63 +3073,28 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE_SUP", - "AUTOROU_LIBRE_SUP" - ], + "filter": ["in", "symbo", "AUTOROU_PEAGE_SUP", "AUTOROU_LIBRE_SUP"], "paint": { "line-color": { "stops": [ - [ - 9, - "#DE460E" - ], - [ - 17, - "#F18800" - ] + [9, "#DE460E"], + [17, "#F18800"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 6, - 2.5 - ], - [ - 9, - 3.5 - ], - [ - 14, - 7.5 - ], - [ - 15, - 11 - ], - [ - 16, - 15 - ], - [ - 17, - 26 - ] + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] } } @@ -5543,51 +3110,23 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR_SUP" - ], + "filter": ["==", "symbo", "AUTOROU_CONSTR_SUP"], "paint": { "line-color": "#C8C8C8", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 6, - 2.5 - ], - [ - 9, - 3.5 - ], - [ - 14, - 7.5 - ], - [ - 15, - 11 - ], - [ - 16, - 15 - ], - [ - 17, - 26 - ] + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] } } @@ -5602,43 +3141,21 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_REVETUE_CARRO_SUP" - ], + "filter": ["==", "symbo", "NON_REVETUE_CARRO_SUP"], "paint": { "line-color": "#FFFFFF", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -5667,50 +3184,23 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#F18800" - ], - [ - 17, - "#F2B230" - ] + [9, "#F18800"], + [17, "#F2B230"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 12, - 1.5 - ], - [ - 14, - 2.6 - ], - [ - 15, - 5.2 - ], - [ - 16, - 6.7 - ], - [ - 17, - 10.8 - ] + [12, 1.5], + [14, 2.6], + [15, 5.2], + [16, 6.7], + [17, 10.8] ] } } @@ -5725,43 +3215,21 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_CLASSEE_RESTREINT_SUP" - ], + "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT_SUP"], "paint": { "line-color": "#EDF1FF", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -5776,44 +3244,21 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "NON_CLASSEE_4_SUP", - "NON_CLASSEE_SUP" - ], + "filter": ["in", "symbo", "NON_CLASSEE_4_SUP", "NON_CLASSEE_SUP"], "paint": { "line-color": "#FFFFFF", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -5840,54 +3285,24 @@ "paint": { "line-color": { "stops": [ - [ - 12, - "#FFFFFF" - ], - [ - 13, - "#FCF4A8" - ], - [ - 17, - "#FCF7C1" - ] + [12, "#FFFFFF"], + [13, "#FCF4A8"], + [17, "#FCF7C1"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 9, - 1.3 - ], - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.1 - ], - [ - 17, - 13.1 - ] + [9, 1.3], + [14, 2.3], + [15, 4.1], + [16, 6.1], + [17, 13.1] ] } } @@ -5903,68 +3318,31 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LOCALE_CONSTR_SUP" - ], + "filter": ["==", "symbo", "LOCALE_CONSTR_SUP"], "paint": { "line-color": { "stops": [ - [ - 12, - "#FFFFFF" - ], - [ - 13, - "#FCF4A8" - ], - [ - 17, - "#FCF7C1" - ] + [12, "#FFFFFF"], + [13, "#FCF4A8"], + [17, "#FCF7C1"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -5989,58 +3367,25 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#FFFFFF" - ], - [ - 10, - "#FDF28B" - ], - [ - 17, - "#FCF6BD" - ] + [9, "#FFFFFF"], + [10, "#FDF28B"], + [17, "#FCF6BD"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 6, - 1.4 - ], - [ - 9, - 1.5 - ], - [ - 14, - 3.2 - ], - [ - 15, - 5.8 - ], - [ - 16, - 8.3 - ], - [ - 17, - 16.2 - ] + [6, 1.4], + [9, 1.5], + [14, 3.2], + [15, 5.8], + [16, 8.3], + [17, 16.2] ] } } @@ -6056,72 +3401,32 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REGIONALE_CONSTR_SUP" - ], + "filter": ["==", "symbo", "REGIONALE_CONSTR_SUP"], "paint": { "line-color": { "stops": [ - [ - 9, - "#FFFFFF" - ], - [ - 10, - "#FDF28B" - ], - [ - 17, - "#FCF6BD" - ] + [9, "#FFFFFF"], + [10, "#FDF28B"], + [17, "#FCF6BD"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 6, - 1.5 - ], - [ - 9, - 2.3 - ], - [ - 14, - 5 - ], - [ - 15, - 8.1 - ], - [ - 16, - 11.2 - ], - [ - 17, - 22 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -6146,58 +3451,25 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#F3C66D" - ], - [ - 17, - "#F2DDB3" - ] + [9, "#F3C66D"], + [17, "#F2DDB3"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 4, - 0.5 - ], - [ - 6, - 1.8 - ], - [ - 9, - 2.1 - ], - [ - 14, - 4.4 - ], - [ - 15, - 7.3 - ], - [ - 16, - 10 - ], - [ - 17, - 18.5 - ] + [4, 0.5], + [6, 1.8], + [9, 2.1], + [14, 4.4], + [15, 7.3], + [16, 10], + [17, 18.5] ] } } @@ -6213,68 +3485,31 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PRINCIPALE_CONSTR_SUP" - ], + "filter": ["==", "symbo", "PRINCIPALE_CONSTR_SUP"], "paint": { "line-color": { "stops": [ - [ - 9, - "#F3C66D" - ], - [ - 17, - "#F2DDB3" - ] + [9, "#F3C66D"], + [17, "#F2DDB3"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 6, - 1.8 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.9 - ], - [ - 15, - 9 - ], - [ - 16, - 12.2 - ], - [ - 17, - 22.5 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -6287,67 +3522,29 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE_SUP", - "AUTOROU_LIBRE_SUP" - ], + "filter": ["in", "symbo", "AUTOROU_PEAGE_SUP", "AUTOROU_LIBRE_SUP"], "paint": { "line-color": { "stops": [ - [ - 9, - "#F18800" - ], - [ - 17, - "#F2B230" - ] + [9, "#F18800"], + [17, "#F2B230"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 4, - 0.7 - ], - [ - 6, - 2.5 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.8 - ], - [ - 15, - 9 - ], - [ - 16, - 12 - ], - [ - 17, - 20.8 - ] + [4, 0.7], + [6, 2.5], + [9, 2.7], + [14, 5.8], + [15, 9], + [16, 12], + [17, 20.8] ] } } @@ -6363,48 +3560,22 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE_SUP", - "AUTOROU_LIBRE_SUP" - ], + "filter": ["in", "symbo", "AUTOROU_PEAGE_SUP", "AUTOROU_LIBRE_SUP"], "paint": { "line-color": "#FFFFFF", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 9, - 0.6 - ], - [ - 14, - 0.7 - ], - [ - 15, - 1 - ], - [ - 16, - 1.2 - ], - [ - 17, - 2.1 - ] + [9, 0.6], + [14, 0.7], + [15, 1], + [16, 1.2], + [17, 2.1] ] } } @@ -6420,72 +3591,32 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR_SUP" - ], + "filter": ["==", "symbo", "AUTOROU_CONSTR_SUP"], "paint": { "line-color": { "stops": [ - [ - 9, - "#F18800" - ], - [ - 17, - "#F2B230" - ] + [9, "#F18800"], + [17, "#F2B230"] ] }, "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 4, - 0.7 - ], - [ - 6, - 2.5 - ], - [ - 9, - 3.5 - ], - [ - 14, - 7.5 - ], - [ - 15, - 11 - ], - [ - 16, - 15 - ], - [ - 17, - 26 - ] + [4, 0.7], + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -6499,47 +3630,22 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR_SUP" - ], + "filter": ["==", "symbo", "AUTOROU_CONSTR_SUP"], "paint": { "line-color": "#808080", "line-opacity": { "stops": [ - [ - 7, - 0.6 - ], - [ - 14, - 0.4 - ] + [7, 0.6], + [14, 0.4] ] }, "line-width": { "stops": [ - [ - 9, - 0.6 - ], - [ - 14, - 0.7 - ], - [ - 15, - 1 - ], - [ - 16, - 1.2 - ], - [ - 17, - 2.1 - ] + [9, 0.6], + [14, 0.7], + [15, 1], + [16, 1.2], + [17, 2.1] ] } } @@ -6549,31 +3655,15 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_parcellaire_adresse_ponc", - "filter": [ - "==", - "txt_typo", - "ADRESSE" - ], + "filter": ["==", "txt_typo", "ADRESSE"], "layout": { "symbol-placement": "point", - "text-field": [ - "concat", - [ - "get", - "numero" - ], - [ - "get", - "indice_de_repetition" - ] - ], + "text-field": ["concat", ["get", "numero"], ["get", "indice_de_repetition"]], "text-size": 11, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#695744", @@ -6593,23 +3683,13 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LIM_DEPARTEMENT" - ], + "filter": ["==", "symbo", "LIM_DEPARTEMENT"], "paint": { "line-color": "rgba(178, 175, 219, 0.4)", "line-width": { "stops": [ - [ - 9, - 4.1 - ], - [ - 12, - 6 - ] + [9, 4.1], + [12, 6] ] } } @@ -6626,33 +3706,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LIM_DEPARTEMENT" - ], + "filter": ["==", "symbo", "LIM_DEPARTEMENT"], "paint": { "line-color": "rgba(126, 119, 184, 0.5)", "line-width": { "stops": [ - [ - 13, - 3 - ], - [ - 17, - 5.5 - ] + [13, 3], + [17, 5.5] ] }, - "line-dasharray": [ - 4, - 2, - 1, - 1, - 1, - 2 - ] + "line-dasharray": [4, 2, 1, 1, 1, 2] } }, { @@ -6667,23 +3730,13 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LIM_REGION" - ], + "filter": ["==", "symbo", "LIM_REGION"], "paint": { "line-color": "rgba(178, 175, 219, 0.5)", "line-width": { "stops": [ - [ - 9, - 4.5 - ], - [ - 12, - 6.7 - ] + [9, 4.5], + [12, 6.7] ] } } @@ -6700,31 +3753,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LIM_REGION" - ], + "filter": ["==", "symbo", "LIM_REGION"], "paint": { "line-color": "rgba(126, 119, 184, 0.5)", "line-width": { "stops": [ - [ - 13, - 3 - ], - [ - 17, - 5.5 - ] + [13, 3], + [17, 5.5] ] }, - "line-dasharray": [ - 4, - 2, - 1, - 2 - ] + "line-dasharray": [4, 2, 1, 2] } }, { @@ -6738,44 +3776,18 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_ETAT", - "LIM_ETAT_ETRANGER" - ], + "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 - ] + [2, 2], + [3, 3.5], + [9, 5], + [14, 13], + [15, 20], + [16, 24], + [17, 42] ] } } @@ -6791,42 +3803,19 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_ETAT", - "LIM_ETAT_ETRANGER" - ], + "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 - ] + [9, 1.5], + [14, 3.5], + [15, 5.5], + [16, 6.5], + [17, 11] ] }, - "line-dasharray": [ - 4, - 2 - ] + "line-dasharray": [4, 2] } }, { @@ -6836,12 +3825,7 @@ "source-layer": "toponyme_routier_liaison_lin", "minzoom": 8, "maxzoom": 18, - "filter": [ - "in", - "txt_typo", - "LIAISON_MARITIME", - "LIAISON_MAR" - ], + "filter": ["in", "txt_typo", "LIAISON_MARITIME", "LIAISON_MAR"], "layout": { "symbol-placement": "line", "text-field": "{texte}", @@ -6850,9 +3834,7 @@ "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Bold Italic" - ] + "text-font": ["Source Sans Pro Bold Italic"] }, "paint": { "text-color": "#5792C2", @@ -6866,45 +3848,22 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 14, - "filter": [ - "all", - [ - "==", - "txt_typo", - "TYPO_E_1" - ], - [ - "==", - "symbo", - "STATION_METRO" - ] - ], + "filter": ["all", ["==", "txt_typo", "TYPO_E_1"], ["==", "symbo", "STATION_METRO"]], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": 11, "text-allow-overlap": false, - "text-offset": [ - 0.30, - -0.25 - ], + "text-offset": [0.3, -0.25], "text-padding": 3, "text-anchor": "bottom-left", - "text-font": [ - "Source Sans Pro" - ], + "text-font": ["Source Sans Pro"], "icon-image": "Metro", "icon-size": { "stops": [ - [ - 15, - 0.33 - ], - [ - 17, - 0.6 - ] + [15, 0.33], + [17, 0.6] ] } }, @@ -6920,11 +3879,7 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 14, "maxzoom": 16, - "filter": [ - "==", - "txt_typo", - "religieux" - ], + "filter": ["==", "txt_typo", "religieux"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -6932,9 +3887,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#FFFFFF" @@ -6946,11 +3899,7 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 16, - "filter": [ - "==", - "txt_typo", - "religieux" - ], + "filter": ["==", "txt_typo", "religieux"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -6958,9 +3907,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#FFFFFF" @@ -6975,16 +3922,8 @@ "maxzoom": 14, "filter": [ "all", - [ - "==", - "txt_typo", - "divers_bati" - ], - [ - "==", - "symbo", - "PARC_ATTRACTIONS" - ] + ["==", "txt_typo", "divers_bati"], + ["==", "symbo", "PARC_ATTRACTIONS"] ], "layout": { "visibility": "visible", @@ -6993,9 +3932,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#FFFFFF" @@ -7009,16 +3946,8 @@ "minzoom": 14, "filter": [ "all", - [ - "==", - "txt_typo", - "divers_bati" - ], - [ - "==", - "symbo", - "PARC_ATTRACTIONS" - ] + ["==", "txt_typo", "divers_bati"], + ["==", "symbo", "PARC_ATTRACTIONS"] ], "layout": { "visibility": "visible", @@ -7027,9 +3956,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#FFFFFF" @@ -7044,18 +3971,8 @@ "maxzoom": 15, "filter": [ "all", - [ - "==", - "txt_typo", - "divers_bati" - ], - [ - "in", - "symbo", - "CENTRALE_ELECTRIQUE", - "HIPPODROME", - "STADE" - ] + ["==", "txt_typo", "divers_bati"], + ["in", "symbo", "CENTRALE_ELECTRIQUE", "HIPPODROME", "STADE"] ], "layout": { "visibility": "visible", @@ -7064,9 +3981,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#FFFFFF" @@ -7080,18 +3995,8 @@ "minzoom": 15, "filter": [ "all", - [ - "==", - "txt_typo", - "divers_bati" - ], - [ - "in", - "symbo", - "CENTRALE_ELECTRIQUE", - "HIPPODROME", - "STADE" - ] + ["==", "txt_typo", "divers_bati"], + ["in", "symbo", "CENTRALE_ELECTRIQUE", "HIPPODROME", "STADE"] ], "layout": { "visibility": "visible", @@ -7100,9 +4005,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#FFFFFF" @@ -7117,17 +4020,8 @@ "maxzoom": 16, "filter": [ "all", - [ - "==", - "txt_typo", - "divers_bati" - ], - [ - "in", - "symbo", - "CHATEAU", - "CHATEAU_FORT" - ] + ["==", "txt_typo", "divers_bati"], + ["in", "symbo", "CHATEAU", "CHATEAU_FORT"] ], "layout": { "visibility": "visible", @@ -7136,9 +4030,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#FFFFFF" @@ -7152,17 +4044,8 @@ "minzoom": 16, "filter": [ "all", - [ - "==", - "txt_typo", - "divers_bati" - ], - [ - "in", - "symbo", - "CHATEAU", - "CHATEAU_FORT" - ] + ["==", "txt_typo", "divers_bati"], + ["in", "symbo", "CHATEAU", "CHATEAU_FORT"] ], "layout": { "visibility": "visible", @@ -7171,9 +4054,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#FFFFFF" @@ -7185,26 +4066,17 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 14, - "filter": [ - "==", - "txt_typo", - "station" - ], + "filter": ["==", "txt_typo", "station"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{designation}", "text-anchor": "left", - "text-offset": [ - 0.8, - 0 - ], + "text-offset": [0.8, 0], "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#447FB3", @@ -7218,11 +4090,7 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 15, - "filter": [ - "==", - "txt_typo", - "gore" - ], + "filter": ["==", "txt_typo", "gore"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -7230,9 +4098,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#FFFFFF" @@ -7244,26 +4110,17 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 12, - "filter": [ - "==", - "txt_typo", - "BARRAGE_PONC" - ], + "filter": ["==", "txt_typo", "BARRAGE_PONC"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-anchor": "left", - "text-offset": [ - 0.8, - 0 - ], + "text-offset": [0.8, 0], "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#447FB3", @@ -7277,11 +4134,7 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "maxzoom": 13, - "filter": [ - "==", - "txt_typo", - "PHARE" - ], + "filter": ["==", "txt_typo", "PHARE"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -7290,9 +4143,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#C56464", @@ -7308,19 +4159,8 @@ "minzoom": 13, "filter": [ "all", - [ - "==", - "symbo", - "PHARE" - ], - [ - "in", - "txt_typo", - "TYPO_C_6", - "TYPO_C_7", - "TYPO_C_8", - "TYPO_E_GE" - ] + ["==", "symbo", "PHARE"], + ["in", "txt_typo", "TYPO_C_6", "TYPO_C_7", "TYPO_C_8", "TYPO_E_GE"] ], "layout": { "visibility": "visible", @@ -7329,26 +4169,15 @@ "text-anchor": "right", "text-size": { "stops": [ - [ - 13, - 12 - ], - [ - 18, - 18 - ] + [13, 12], + [18, 18] ] }, "text-allow-overlap": false, - "text-offset": [ - -2.00, - 0 - ], + "text-offset": [-2.0, 0], "text-padding": 3, "text-anchor": "right", - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#532A2A", @@ -7362,13 +4191,7 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 12, - "filter": [ - "in", - "txt_typo", - "BAT_ACTIVITE", - "BAT_FORTIF", - "BAT_VILLAGE_DETRUIT" - ], + "filter": ["in", "txt_typo", "BAT_ACTIVITE", "BAT_FORTIF", "BAT_VILLAGE_DETRUIT"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -7377,9 +4200,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#532A2A" @@ -7392,19 +4213,7 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 14, "maxzoom": 17, - "filter": [ - "all", - [ - "==", - "txt_typo", - "TYPO_E_GE" - ], - [ - "==", - "symbo", - "AEROGARE" - ] - ], + "filter": ["all", ["==", "txt_typo", "TYPO_E_GE"], ["==", "symbo", "AEROGARE"]], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -7412,21 +4221,13 @@ "text-anchor": "center", "text-size": { "stops": [ - [ - 12, - 9 - ], - [ - 16, - 11 - ] + [12, 9], + [16, 11] ] }, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#120049", @@ -7441,26 +4242,17 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 11, "maxzoom": 12, - "filter": [ - "==", - "txt_typo", - "AEROPORT_PONC" - ], + "filter": ["==", "txt_typo", "AEROPORT_PONC"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-anchor": "bottom", - "text-offset": [ - 0, - -1.3 - ], + "text-offset": [0, -1.3], "text-size": 10.5, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#120049", @@ -7475,26 +4267,17 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 12, "maxzoom": 13, - "filter": [ - "==", - "txt_typo", - "AEROPORT_PONC" - ], + "filter": ["==", "txt_typo", "AEROPORT_PONC"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-anchor": "bottom", - "text-offset": [ - 0, - -2 - ], + "text-offset": [0, -2], "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#120049", @@ -7509,19 +4292,7 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 13, "maxzoom": 17, - "filter": [ - "all", - [ - "==", - "txt_typo", - "TYPO_A_5" - ], - [ - "==", - "symbo", - "AEROPORT" - ] - ], + "filter": ["all", ["==", "txt_typo", "TYPO_A_5"], ["==", "symbo", "AEROPORT"]], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -7529,21 +4300,13 @@ "text-anchor": "center", "text-size": { "stops": [ - [ - 12, - 11 - ], - [ - 16, - 13 - ] + [12, 11], + [16, 13] ] }, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#120049", @@ -7558,26 +4321,17 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 11, "maxzoom": 12, - "filter": [ - "==", - "txt_typo", - "AERODROME_PONC" - ], + "filter": ["==", "txt_typo", "AERODROME_PONC"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-anchor": "bottom", - "text-offset": [ - 0, - -1.3 - ], + "text-offset": [0, -1.3], "text-size": 9.5, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#120049", @@ -7592,27 +4346,17 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 12, "maxzoom": 13, - "filter": [ - "in", - "txt_typo", - "AERODROME_PONC", - "AERODROME_IMPORT_PONC" - ], + "filter": ["in", "txt_typo", "AERODROME_PONC", "AERODROME_IMPORT_PONC"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-anchor": "bottom", - "text-offset": [ - 0, - -2 - ], + "text-offset": [0, -2], "text-size": 10, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#120049", @@ -7627,19 +4371,7 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 13, "maxzoom": 17, - "filter": [ - "all", - [ - "==", - "txt_typo", - "TYPO_A_7" - ], - [ - "==", - "symbo", - "AERODROME" - ] - ], + "filter": ["all", ["==", "txt_typo", "TYPO_A_7"], ["==", "symbo", "AERODROME"]], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -7647,21 +4379,13 @@ "text-anchor": "center", "text-size": { "stops": [ - [ - 12, - 10 - ], - [ - 16, - 12 - ] + [12, 10], + [16, 12] ] }, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#120049", @@ -7674,34 +4398,20 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", - "filter": [ - "in", - "txt_typo", - "TYPO_D_9", - "TYPO_D_10", - "TYPO_E_1_cyan" - ], + "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": { "stops": [ - [ - 15, - 11 - ], - [ - 17, - 14 - ] + [15, 11], + [17, 14] ] }, "text-allow-overlap": true, "text-padding": 5, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#447FB3", @@ -7714,11 +4424,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", - "filter": [ - "==", - "txt_typo", - "ORO_GLACIER_2" - ], + "filter": ["==", "txt_typo", "ORO_GLACIER_2"], "layout": { "symbol-placement": "point", "text-field": "{texte}", @@ -7726,9 +4432,7 @@ "text-anchor": "center", "text-allow-overlap": true, "text-padding": 1, - "text-font": [ - "Source Sans Pro Bold Italic" - ] + "text-font": ["Source Sans Pro Bold Italic"] }, "paint": { "text-color": "#447FB3", @@ -7741,12 +4445,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_limite_ponc", - "filter": [ - "in", - "txt_typo", - "LIM_MILI_3", - "LIM_MILI_4" - ], + "filter": ["in", "txt_typo", "LIM_MILI_3", "LIM_MILI_4"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -7754,9 +4453,7 @@ "text-size": 12, "text-allow-overlap": false, "text-padding": 2, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#0D2000", @@ -7769,13 +4466,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_limite_ponc", - "filter": [ - "in", - "txt_typo", - "LIM_PARC_3", - "LIM_PARC_4", - "RESERVE_NATURELLE_PONC" - ], + "filter": ["in", "txt_typo", "LIM_PARC_3", "LIM_PARC_4", "RESERVE_NATURELLE_PONC"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -7783,9 +4474,7 @@ "text-size": 13, "text-allow-overlap": false, "text-padding": 2, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#287B00", @@ -7800,11 +4489,7 @@ "source-layer": "toponyme_routier_numero_lin", "minzoom": 11, "maxzoom": 16, - "filter": [ - "==", - "txt_typo", - "Départementale" - ], + "filter": ["==", "txt_typo", "Départementale"], "layout": { "visibility": "visible", "symbol-placement": "line", @@ -7813,9 +4498,7 @@ "text-allow-overlap": false, "text-padding": 2, "text-anchor": "center", - "text-font": [ - "Source Sans Pro Semibold" - ], + "text-font": ["Source Sans Pro Semibold"], "text-rotation-alignment": "viewport" }, "paint": { @@ -7831,11 +4514,7 @@ "source-layer": "toponyme_routier_numero_lin", "minzoom": 7, "maxzoom": 16, - "filter": [ - "==", - "txt_typo", - "Nationale" - ], + "filter": ["==", "txt_typo", "Nationale"], "layout": { "visibility": "visible", "symbol-placement": "line", @@ -7844,9 +4523,7 @@ "text-allow-overlap": false, "text-padding": 0, "text-anchor": "center", - "text-font": [ - "Source Sans Pro Regular" - ], + "text-font": ["Source Sans Pro Regular"], "icon-image": "Ecluse", "icon-rotation-alignment": "viewport", "text-rotation-alignment": "viewport", @@ -7867,11 +4544,7 @@ "source-layer": "toponyme_routier_numero_lin", "minzoom": 7, "maxzoom": 16, - "filter": [ - "==", - "txt_typo", - "Autoroute" - ], + "filter": ["==", "txt_typo", "Autoroute"], "layout": { "visibility": "visible", "symbol-placement": "line", @@ -7880,9 +4553,7 @@ "text-allow-overlap": false, "text-padding": 0, "text-anchor": "center", - "text-font": [ - "Source Sans Pro Regular" - ], + "text-font": ["Source Sans Pro Regular"], "icon-image": "Ecluse", "icon-rotation-alignment": "viewport", "text-rotation-alignment": "viewport", @@ -7909,9 +4580,7 @@ "text-size": 10, "text-anchor": "center", "text-max-angle": 30, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#FFFFFF", @@ -7931,9 +4600,7 @@ "text-size": 11, "text-anchor": "center", "text-max-angle": 30, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#FFFFFF", @@ -7948,17 +4615,8 @@ "source-layer": "toponyme_ocs_ponc", "filter": [ "all", - [ - "==", - "symbo", - "LIEU-DIT_NON_HABITE" - ], - [ - "in", - "txt_typo", - "TYPO_B_10", - "TYPO_B_11" - ] + ["==", "symbo", "LIEU-DIT_NON_HABITE"], + ["in", "txt_typo", "TYPO_B_10", "TYPO_B_11"] ], "layout": { "visibility": "visible", @@ -7967,9 +4625,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#FFFFFF", @@ -7982,20 +4638,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_ponc", - "filter": [ - "all", - [ - "==", - "symbo", - "BOIS" - ], - [ - "in", - "txt_typo", - "TYPO_F_9", - "TYPO_F_10" - ] - ], + "filter": ["all", ["==", "symbo", "BOIS"], ["in", "txt_typo", "TYPO_F_9", "TYPO_F_10"]], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -8003,9 +4646,7 @@ "text-size": 13, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Bold Italic" - ] + "text-font": ["Source Sans Pro Bold Italic"] }, "paint": { "text-color": "#287B00", @@ -8018,12 +4659,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_oro_lin", - "filter": [ - "in", - "txt_typo", - "ORO_SOMMET_3", - "ORO_GORGE_2" - ], + "filter": ["in", "txt_typo", "ORO_SOMMET_3", "ORO_GORGE_2"], "layout": { "symbol-placement": "line", "text-field": "{texte}", @@ -8032,9 +4668,7 @@ "text-keep-upright": true, "text-max-angle": 45, "text-padding": 1, - "text-font": [ - "Source Sans Pro Bold Italic" - ] + "text-font": ["Source Sans Pro Bold Italic"] }, "paint": { "text-color": "#863831", @@ -8063,21 +4697,13 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 13, - 11 - ], - [ - 16, - 16 - ] + [13, 11], + [16, 16] ] }, "text-allow-overlap": true, "text-padding": 1, - "text-font": [ - "Source Sans Pro Bold Italic" - ] + "text-font": ["Source Sans Pro Bold Italic"] }, "paint": { "text-color": "#863831", @@ -8106,21 +4732,13 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 14, - 13 - ], - [ - 17, - 16 - ] + [14, 13], + [17, 16] ] }, "text-allow-overlap": true, "text-padding": 5, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#447FB3", @@ -8133,12 +4751,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_localite_ponc", - "filter": [ - "in", - "txt_typo", - "BAT_QUARTIER", - "BAT_QUARTIER_T" - ], + "filter": ["in", "txt_typo", "BAT_QUARTIER", "BAT_QUARTIER_T"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -8146,9 +4759,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#FFFFFF", @@ -8163,41 +4774,21 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 17, "maxzoom": 18, - "filter": [ - "all", - [ - "==", - "symbo", - "QUARTIER" - ], - [ - "==", - "txt_typo", - "TYPO_E_GE" - ] - ], + "filter": ["all", ["==", "symbo", "QUARTIER"], ["==", "txt_typo", "TYPO_E_GE"]], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 11 - ], - [ - 17, - 13.5 - ] + [15, 11], + [17, 13.5] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -8212,41 +4803,21 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 16, "maxzoom": 18, - "filter": [ - "all", - [ - "==", - "symbo", - "LIEU-DIT-HABITE" - ], - [ - "==", - "txt_typo", - "TYPO_E_GE" - ] - ], + "filter": ["all", ["==", "symbo", "LIEU-DIT-HABITE"], ["==", "txt_typo", "TYPO_E_GE"]], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 11 - ], - [ - 17, - 13.5 - ] + [15, 11], + [17, 13.5] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -8260,33 +4831,21 @@ "source": "plan_ign", "source-layer": "toponyme_localite_ponc", "maxzoom": 18, - "filter": [ - "==", - "txt_typo", - "TYPO_A_10" - ], + "filter": ["==", "txt_typo", "TYPO_A_10"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 11 - ], - [ - 17, - 13.5 - ] + [15, 11], + [17, 13.5] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -8301,18 +4860,8 @@ "source-layer": "toponyme_ocs_ponc", "filter": [ "all", - [ - "==", - "symbo", - "LIEU-DIT_NON_HABITE" - ], - [ - "in", - "txt_typo", - "TYPO_B_7", - "TYPO_B_8", - "TYPO_B_9" - ] + ["==", "symbo", "LIEU-DIT_NON_HABITE"], + ["in", "txt_typo", "TYPO_B_7", "TYPO_B_8", "TYPO_B_9"] ], "layout": { "visibility": "visible", @@ -8321,9 +4870,7 @@ "text-size": 12, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#FFFFFF", @@ -8338,18 +4885,8 @@ "source-layer": "toponyme_ocs_ponc", "filter": [ "all", - [ - "==", - "symbo", - "BOIS" - ], - [ - "in", - "txt_typo", - "TYPO_F_6", - "TYPO_F_7", - "TYPO_F_8" - ] + ["==", "symbo", "BOIS"], + ["in", "txt_typo", "TYPO_F_6", "TYPO_F_7", "TYPO_F_8"] ], "layout": { "visibility": "visible", @@ -8358,9 +4895,7 @@ "text-size": 16, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Bold Italic" - ] + "text-font": ["Source Sans Pro Bold Italic"] }, "paint": { "text-color": "#287B00", @@ -8375,12 +4910,7 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 11, "maxzoom": 13, - "filter": [ - "in", - "txt_typo", - "BAT_HAMEAU", - "BAT_HAMEAU_T" - ], + "filter": ["in", "txt_typo", "BAT_HAMEAU", "BAT_HAMEAU_T"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -8390,14 +4920,9 @@ "text-size": 11, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.30, - 0.10 - ], + "text-offset": [0.3, 0.1], "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -8412,12 +4937,7 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 7, "maxzoom": 13, - "filter": [ - "in", - "txt_typo", - "TYPO_A_6", - "TYPO_A_7" - ], + "filter": ["in", "txt_typo", "TYPO_A_6", "TYPO_A_7"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -8427,14 +4947,9 @@ "text-size": 12.5, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.30, - 0.10 - ], + "text-offset": [0.3, 0.1], "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -8473,14 +4988,9 @@ "text-size": 11.5, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.30, - 0.10 - ], + "text-offset": [0.3, 0.1], "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -8493,33 +5003,21 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_lin", - "filter": [ - "==", - "txt_typo", - "OCS_FORET_3" - ], + "filter": ["==", "txt_typo", "OCS_FORET_3"], "layout": { "symbol-placement": "line", "text-field": "{texte}", "text-size": { "stops": [ - [ - 10, - 12 - ], - [ - 12, - 15 - ] + [10, 12], + [12, 15] ] }, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, "text-padding": 1, - "text-font": [ - "Source Sans Pro Bold Italic" - ] + "text-font": ["Source Sans Pro Bold Italic"] }, "paint": { "text-color": "#287B00", @@ -8534,17 +5032,8 @@ "source-layer": "toponyme_ocs_ponc", "filter": [ "all", - [ - "==", - "symbo", - "LIEU-DIT_NON_HABITE" - ], - [ - "in", - "txt_typo", - "TYPO_B_5", - "TYPO_B_4" - ] + ["==", "symbo", "LIEU-DIT_NON_HABITE"], + ["in", "txt_typo", "TYPO_B_5", "TYPO_B_4"] ], "layout": { "visibility": "visible", @@ -8553,9 +5042,7 @@ "text-size": 15, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#FFFFFF", @@ -8568,20 +5055,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_ponc", - "filter": [ - "all", - [ - "==", - "symbo", - "BOIS" - ], - [ - "in", - "txt_typo", - "TYPO_F_5", - "TYPO_F_4" - ] - ], + "filter": ["all", ["==", "symbo", "BOIS"], ["in", "txt_typo", "TYPO_F_5", "TYPO_F_4"]], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -8589,9 +5063,7 @@ "text-size": 19, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Bold Italic" - ] + "text-font": ["Source Sans Pro Bold Italic"] }, "paint": { "text-color": "#287B00", @@ -8604,20 +5076,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_ponc", - "filter": [ - "all", - [ - "==", - "symbo", - "BOIS" - ], - [ - "in", - "txt_typo", - "TYPO_F_3", - "TYPO_F_2" - ] - ], + "filter": ["all", ["==", "symbo", "BOIS"], ["in", "txt_typo", "TYPO_F_3", "TYPO_F_2"]], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -8625,9 +5084,7 @@ "text-size": 22, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Bold Italic" - ] + "text-font": ["Source Sans Pro Bold Italic"] }, "paint": { "text-color": "#287B00", @@ -8640,33 +5097,21 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_ponc", - "filter": [ - "==", - "txt_typo", - "OCS_FORET_3" - ], + "filter": ["==", "txt_typo", "OCS_FORET_3"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 10, - 12 - ], - [ - 12, - 15 - ] + [10, 12], + [12, 15] ] }, "text-allow-overlap": false, "text-padding": 1, "text-anchor": "center", - "text-font": [ - "Source Sans Pro Bold Italic" - ] + "text-font": ["Source Sans Pro Bold Italic"] }, "paint": { "text-color": "#287B00", @@ -8702,9 +5147,7 @@ "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Bold Italic" - ] + "text-font": ["Source Sans Pro Bold Italic"] }, "paint": { "text-color": "#863831", @@ -8740,21 +5183,13 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 13, - 12 - ], - [ - 16, - 17 - ] + [13, 12], + [16, 17] ] }, "text-allow-overlap": true, "text-padding": 1, - "text-font": [ - "Source Sans Pro Bold Italic" - ] + "text-font": ["Source Sans Pro Bold Italic"] }, "paint": { "text-color": "#863831", @@ -8790,23 +5225,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 14, - 12 - ], - [ - 18, - 19 - ] + [14, 12], + [18, 19] ] }, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#447FB3", @@ -8820,36 +5247,21 @@ "source": "plan_ign", "source-layer": "toponyme_hydro_lin", "minzoom": 14, - "filter": [ - "in", - "txt_typo", - "TYPO_D_6", - "TYPO_D_8", - "TYPO_D_9", - "TYPO_D_10" - ], + "filter": ["in", "txt_typo", "TYPO_D_6", "TYPO_D_8", "TYPO_D_9", "TYPO_D_10"], "layout": { "symbol-placement": "line", "text-field": "{texte}", "text-size": { "stops": [ - [ - 14, - 10 - ], - [ - 18, - 16 - ] + [14, 10], + [18, 16] ] }, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#447FB3", @@ -8862,43 +5274,22 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", - "filter": [ - "in", - "txt_typo", - "HYD_SURF_3", - "TYPO_D_5", - "TYPO_D_6", - "TYPO_D_7" - ], + "filter": ["in", "txt_typo", "HYD_SURF_3", "TYPO_D_5", "TYPO_D_6", "TYPO_D_7"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 9, - 13 - ], - [ - 10, - 15 - ], - [ - 15, - 15 - ], - [ - 17, - 18 - ] + [9, 13], + [10, 15], + [15, 15], + [17, 18] ] }, "text-allow-overlap": true, "text-padding": 10, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#447FB3", @@ -8913,11 +5304,7 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 15, "maxzoom": 16, - "filter": [ - "==", - "txt_typo", - "zai" - ], + "filter": ["==", "txt_typo", "zai"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -8925,9 +5312,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#FFFFFF" @@ -8939,32 +5324,20 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 16, - "filter": [ - "==", - "txt_typo", - "zai" - ], + "filter": ["==", "txt_typo", "zai"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 17, - 11 - ], - [ - 18, - 15 - ] + [17, 11], + [18, 15] ] }, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#FFFFFF" @@ -8977,13 +5350,7 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 7, "maxzoom": 13, - "filter": [ - "in", - "txt_typo", - "TYPO_A_4", - "BAT_COMMUNE_4", - "BAT_COMMUNE_4_T" - ], + "filter": ["in", "txt_typo", "TYPO_A_4", "BAT_COMMUNE_4", "BAT_COMMUNE_4_T"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -8993,14 +5360,9 @@ "text-size": 13, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.30, - 0.10 - ], + "text-offset": [0.3, 0.1], "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -9014,33 +5376,21 @@ "source": "plan_ign", "source-layer": "toponyme_localite_ponc", "maxzoom": 18, - "filter": [ - "==", - "txt_typo", - "TYPO_A_9" - ], + "filter": ["==", "txt_typo", "TYPO_A_9"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 11.5 - ], - [ - 17, - 14 - ] + [15, 11.5], + [17, 14] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -9057,21 +5407,9 @@ "maxzoom": 18, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_8" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_8"] ], "layout": { "visibility": "visible", @@ -9079,22 +5417,14 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 12 - ], - [ - 17, - 15 - ] + [15, 12], + [17, 15] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -9107,12 +5437,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_limite_ponc", - "filter": [ - "in", - "txt_typo", - "LIM_MILI_1", - "LIM_MILI_2" - ], + "filter": ["in", "txt_typo", "LIM_MILI_1", "LIM_MILI_2"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -9120,9 +5445,7 @@ "text-size": 15, "text-allow-overlap": false, "text-padding": 5, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#0D2000", @@ -9136,12 +5459,7 @@ "source": "plan_ign", "source-layer": "toponyme_limite_ponc", "minzoom": 8, - "filter": [ - "in", - "txt_typo", - "PARC_MARIN_1", - "PARC_MARIN_2" - ], + "filter": ["in", "txt_typo", "PARC_MARIN_1", "PARC_MARIN_2"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -9150,9 +5468,7 @@ "text-allow-overlap": false, "text-padding": 10, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#2A81A2", @@ -9166,14 +5482,7 @@ "source": "plan_ign", "source-layer": "toponyme_limite_ponc", "minzoom": 10, - "filter": [ - "in", - "txt_typo", - "LIM_PARC_1", - "LIM_PARC_2", - "PARC_1", - "PARC_2" - ], + "filter": ["in", "txt_typo", "LIM_PARC_1", "LIM_PARC_2", "PARC_1", "PARC_2"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -9182,9 +5491,7 @@ "text-allow-overlap": false, "text-padding": 10, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#287B00", @@ -9197,33 +5504,21 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_lin", - "filter": [ - "==", - "txt_typo", - "OCS_FORET_2" - ], + "filter": ["==", "txt_typo", "OCS_FORET_2"], "layout": { "symbol-placement": "line", "text-field": "{texte}", "text-size": { "stops": [ - [ - 10, - 15 - ], - [ - 12, - 18 - ] + [10, 15], + [12, 18] ] }, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, "text-padding": 1, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#287B00", @@ -9236,33 +5531,21 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_ponc", - "filter": [ - "==", - "txt_typo", - "OCS_FORET_2" - ], + "filter": ["==", "txt_typo", "OCS_FORET_2"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 10, - 15 - ], - [ - 12, - 18 - ] + [10, 15], + [12, 18] ] }, "text-allow-overlap": false, "text-padding": 1, "text-anchor": "center", - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#287B00", @@ -9292,9 +5575,7 @@ "text-keep-upright": true, "text-padding": 10, "text-max-angle": 45, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#863831", @@ -9325,29 +5606,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 9, - 13 - ], - [ - 10, - 15 - ], - [ - 13, - 15 - ], - [ - 16, - 19 - ] + [9, 13], + [10, 15], + [13, 15], + [16, 19] ] }, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#863831", @@ -9361,32 +5628,20 @@ "source": "plan_ign", "source-layer": "toponyme_oro_ponc", "minzoom": 8, - "filter": [ - "==", - "txt_typo", - "TYPO_G_4" - ], + "filter": ["==", "txt_typo", "TYPO_G_4"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 13, - 15 - ], - [ - 16, - 19 - ] + [13, 15], + [16, 19] ] }, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#863831", @@ -9414,23 +5669,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 14, - 15 - ], - [ - 18, - 21 - ] + [14, 15], + [18, 21] ] }, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#447FB3", @@ -9444,42 +5691,22 @@ "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", "minzoom": 5, - "filter": [ - "in", - "txt_typo", - "moyen", - "HYD_SURF_2", - "TYPO_D_2" - ], + "filter": ["in", "txt_typo", "moyen", "HYD_SURF_2", "TYPO_D_2"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 5, - 12 - ], - [ - 6, - 18 - ], - [ - 10, - 17 - ], - [ - 18, - 21 - ] + [5, 12], + [6, 18], + [10, 17], + [18, 21] ] }, "text-allow-overlap": false, "text-padding": 10, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#447FB3", @@ -9492,37 +5719,21 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", - "filter": [ - "in", - "txt_typo", - "TYPO_D_3", - "TYPO_D_4" - ], + "filter": ["in", "txt_typo", "TYPO_D_3", "TYPO_D_4"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 9, - 15 - ], - [ - 10, - 17 - ], - [ - 18, - 21 - ] + [9, 15], + [10, 17], + [18, 21] ] }, "text-allow-overlap": false, "text-padding": 10, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#447FB3", @@ -9553,26 +5764,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 5, - 10 - ], - [ - 6, - 15 - ] + [5, 10], + [6, 15] ] }, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.30, - 0.10 - ], + "text-offset": [0.3, 0.1], "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -9589,21 +5789,9 @@ "maxzoom": 18, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_7" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_7"] ], "layout": { "visibility": "visible", @@ -9611,22 +5799,14 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 13 - ], - [ - 17, - 16 - ] + [15, 13], + [17, 16] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -9643,22 +5823,9 @@ "maxzoom": 18, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "in", - "txt_typo", - "TYPO_A_5", - "TYPO_A_6" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["in", "txt_typo", "TYPO_A_5", "TYPO_A_6"] ], "layout": { "visibility": "visible", @@ -9666,22 +5833,14 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 15 - ], - [ - 17, - 18 - ] + [15, 15], + [17, 18] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -9694,13 +5853,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_oro_lin", - "filter": [ - "in", - "txt_typo", - "ORO_ILE_1", - "ORO_RELIEF_1", - "ORO_RELIEF_1_T" - ], + "filter": ["in", "txt_typo", "ORO_ILE_1", "ORO_RELIEF_1", "ORO_RELIEF_1_T"], "layout": { "symbol-placement": "line", "text-field": "{texte}", @@ -9709,9 +5862,7 @@ "text-keep-upright": true, "text-padding": 5, "text-max-angle": 45, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#863831", @@ -9752,9 +5903,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#863831", @@ -9771,21 +5920,9 @@ "maxzoom": 16, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_4" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_4"] ], "layout": { "visibility": "visible", @@ -9795,9 +5932,7 @@ "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -9810,33 +5945,21 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_lin", - "filter": [ - "==", - "txt_typo", - "OCS_FORET_1" - ], + "filter": ["==", "txt_typo", "OCS_FORET_1"], "layout": { "symbol-placement": "line", "text-field": "{texte}", "text-size": { "stops": [ - [ - 10, - 18 - ], - [ - 12, - 22 - ] + [10, 18], + [12, 22] ] }, "text-anchor": "center", "text-keep-upright": true, "text-padding": 1, "text-max-angle": 45, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#287B00", @@ -9849,32 +5972,20 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_ponc", - "filter": [ - "==", - "txt_typo", - "OCS_FORET_1" - ], + "filter": ["==", "txt_typo", "OCS_FORET_1"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 10, - 18 - ], - [ - 12, - 22 - ] + [10, 18], + [12, 22] ] }, "text-allow-overlap": true, "text-padding": 1, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#287B00", @@ -9888,14 +5999,7 @@ "source": "plan_ign", "source-layer": "toponyme_oro_ponc", "minzoom": 8, - "filter": [ - "in", - "txt_typo", - "ORO_ILE_1", - "ORO_RELIEF_1", - "ORO_RELIEF_1_T", - "TYPO_G_1" - ], + "filter": ["in", "txt_typo", "ORO_ILE_1", "ORO_RELIEF_1", "ORO_RELIEF_1_T", "TYPO_G_1"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -9903,9 +6007,7 @@ "text-size": 21, "text-allow-overlap": true, "text-padding": 1, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#863831", @@ -9919,33 +6021,20 @@ "source": "plan_ign", "source-layer": "toponyme_oro_ponc", "minzoom": 8, - "filter": [ - "in", - "txt_typo", - "TYPO_G_2", - "TYPO_G_3" - ], + "filter": ["in", "txt_typo", "TYPO_G_2", "TYPO_G_3"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 12, - 15 - ], - [ - 13, - 21 - ] + [12, 15], + [13, 21] ] }, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#863831", @@ -9958,12 +6047,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_hydro_lin", - "filter": [ - "in", - "txt_typo", - "ORO_GLACIER_1", - "ORO_GLACIER_2" - ], + "filter": ["in", "txt_typo", "ORO_GLACIER_1", "ORO_GLACIER_2"], "layout": { "symbol-placement": "line", "text-field": "{texte}", @@ -9971,9 +6055,7 @@ "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, - "text-font": [ - "Source Sans Pro Bold Italic" - ] + "text-font": ["Source Sans Pro Bold Italic"] }, "paint": { "text-color": "#447FB3", @@ -10008,9 +6090,7 @@ "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#447FB3", @@ -10023,11 +6103,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_hydro_lin", - "filter": [ - "==", - "txt_typo", - "OCEAN_MER" - ], + "filter": ["==", "txt_typo", "OCEAN_MER"], "layout": { "symbol-placement": "line", "text-field": "{texte}", @@ -10036,9 +6112,7 @@ "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#447FB3", @@ -10052,39 +6126,21 @@ "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", "minzoom": 4, - "filter": [ - "in", - "txt_typo", - "mer", - "grand", - "HYD_SURF_1", - "TYPO_D_1" - ], + "filter": ["in", "txt_typo", "mer", "grand", "HYD_SURF_1", "TYPO_D_1"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 4, - 16 - ], - [ - 6, - 30 - ], - [ - 10, - 25 - ] + [4, 16], + [6, 30], + [10, 25] ] }, "text-allow-overlap": true, "text-padding": 10, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#447FB3", @@ -10116,44 +6172,20 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 4, - 10 - ], - [ - 6, - 17 - ] + [4, 10], + [6, 17] ] }, "text-allow-overlap": true, "text-anchor": "bottom-left", - "text-offset": [ - 0.30, - 0.2 - ], + "text-offset": [0.3, 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" - ] - ] + [1, ["Source Sans Pro Regular"]], + [7, ["Source Sans Pro Bold"]], + [10, ["Source Sans Pro Regular"]] ] } }, @@ -10172,21 +6204,9 @@ "maxzoom": 16, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_3" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_3"] ], "layout": { "visibility": "visible", @@ -10196,9 +6216,7 @@ "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -10215,21 +6233,9 @@ "maxzoom": 16, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_2" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_2"] ], "layout": { "visibility": "visible", @@ -10239,9 +6245,7 @@ "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -10258,17 +6262,8 @@ "maxzoom": 18, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_8" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_8"] ], "layout": { "visibility": "visible", @@ -10276,23 +6271,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 12 - ], - [ - 17, - 15 - ] + [15, 12], + [17, 15] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -10309,17 +6296,8 @@ "maxzoom": 18, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_7" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_7"] ], "layout": { "visibility": "visible", @@ -10327,23 +6305,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 13 - ], - [ - 17, - 16 - ] + [15, 13], + [17, 16] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -10360,18 +6330,8 @@ "maxzoom": 18, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "in", - "txt_typo", - "TYPO_A_5", - "TYPO_A_6" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["in", "txt_typo", "TYPO_A_5", "TYPO_A_6"] ], "layout": { "visibility": "visible", @@ -10379,23 +6339,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 15 - ], - [ - 17, - 18 - ] + [15, 15], + [17, 18] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -10412,21 +6364,9 @@ "maxzoom": 16, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_1" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_1"] ], "layout": { "visibility": "visible", @@ -10436,9 +6376,7 @@ "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -10455,17 +6393,8 @@ "maxzoom": 16, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_4" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_4"] ], "layout": { "visibility": "visible", @@ -10476,9 +6405,7 @@ "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -10495,17 +6422,8 @@ "maxzoom": 16, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_3" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_3"] ], "layout": { "visibility": "visible", @@ -10516,9 +6434,7 @@ "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -10535,17 +6451,8 @@ "maxzoom": 16, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_2" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_2"] ], "layout": { "visibility": "visible", @@ -10556,9 +6463,7 @@ "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -10589,44 +6494,20 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 3, - 10 - ], - [ - 6, - 20 - ] + [3, 10], + [6, 20] ] }, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.25, - -0.10 - ], + "text-offset": [0.25, -0.1], "text-padding": 1, "text-transform": "uppercase", "text-font": { "stops": [ - [ - 1, - [ - "Source Sans Pro Regular" - ] - ], - [ - 7, - [ - "Source Sans Pro Bold" - ] - ], - [ - 10, - [ - "Source Sans Pro Regular" - ] - ] + [1, ["Source Sans Pro Regular"]], + [7, ["Source Sans Pro Bold"]], + [10, ["Source Sans Pro Regular"]] ] } }, @@ -10645,17 +6526,8 @@ "maxzoom": 16, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_1" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_1"] ], "layout": { "visibility": "visible", @@ -10666,9 +6538,7 @@ "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#FFFFFF", @@ -10682,33 +6552,21 @@ "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", "minzoom": 1, - "filter": [ - "==", - "txt_typo", - "ocean" - ], + "filter": ["==", "txt_typo", "ocean"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 1, - 16 - ], - [ - 6, - 30 - ] + [1, 16], + [6, 30] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#447FB3", @@ -10723,11 +6581,7 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 4, "maxzoom": 5, - "filter": [ - "==", - "txt_typo", - "pays 3" - ], + "filter": ["==", "txt_typo", "pays 3"], "layout": { "visibility": "visible", "text-field": "{texte}", @@ -10736,9 +6590,7 @@ "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#787878", @@ -10753,11 +6605,7 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 2, "maxzoom": 5, - "filter": [ - "==", - "txt_typo", - "pays 2" - ], + "filter": ["==", "txt_typo", "pays 2"], "layout": { "visibility": "visible", "text-field": "{texte}", @@ -10766,9 +6614,7 @@ "text-anchor": "center", "text-padding": 2, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#787878", @@ -10783,11 +6629,7 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 2, "maxzoom": 5, - "filter": [ - "==", - "txt_typo", - "pays 1" - ], + "filter": ["==", "txt_typo", "pays 1"], "layout": { "visibility": "visible", "text-field": "{texte}", @@ -10796,9 +6638,7 @@ "text-anchor": "center", "text-padding": 2, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#787878", @@ -10812,11 +6652,7 @@ "source": "plan_ign", "source-layer": "toponyme_localite_ponc", "maxzoom": 3, - "filter": [ - "==", - "txt_typo", - "continent" - ], + "filter": ["==", "txt_typo", "continent"], "layout": { "visibility": "visible", "text-field": "{texte}", @@ -10825,9 +6661,7 @@ "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#787878", @@ -10836,4 +6670,4 @@ } } ] -} \ No newline at end of file +} diff --git a/website/src/lib/assets/custom/ign-fr-topo.json b/website/src/lib/assets/custom/ign-fr-topo.json index c71e2c26..96194257 100644 --- a/website/src/lib/assets/custom/ign-fr-topo.json +++ b/website/src/lib/assets/custom/ign-fr-topo.json @@ -7,9 +7,7 @@ "sources": { "plan_ign": { "type": "vector", - "tiles": [ - "https://data.geopf.fr/tms/1.0.0/PLAN.IGN/{z}/{x}/{y}.pbf" - ], + "tiles": ["https://data.geopf.fr/tms/1.0.0/PLAN.IGN/{z}/{x}/{y}.pbf"], "attribution": "IGN-F/Géoportail" }, "terrain": { @@ -49,11 +47,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "HYPSO_0" - ], + "filter": ["==", "symbo", "HYPSO_0"], "paint": { "fill-color": "#D6E5BA", "fill-opacity": 1 @@ -68,11 +62,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "HYPSO_100" - ], + "filter": ["==", "symbo", "HYPSO_100"], "paint": { "fill-color": "#F7F2DA", "fill-opacity": 1 @@ -87,11 +77,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "HYPSO_200" - ], + "filter": ["==", "symbo", "HYPSO_200"], "paint": { "fill-color": "#EBDEBF", "fill-opacity": 1 @@ -106,11 +92,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "HYPSO_1000" - ], + "filter": ["==", "symbo", "HYPSO_1000"], "paint": { "fill-color": "#DABE97", "fill-opacity": 1 @@ -125,11 +107,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "HYPSO_3000" - ], + "filter": ["==", "symbo", "HYPSO_3000"], "paint": { "fill-color": "#B28773", "fill-opacity": 1 @@ -144,11 +122,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "HYPSO_4000" - ], + "filter": ["==", "symbo", "HYPSO_4000"], "paint": { "fill-color": "#9E6A54", "fill-opacity": 1 @@ -163,11 +137,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "HYPSO_5000" - ], + "filter": ["==", "symbo", "HYPSO_5000"], "paint": { "fill-color": "#773A2B", "fill-opacity": 1 @@ -182,11 +152,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "GLACIER" - ], + "filter": ["==", "symbo", "GLACIER"], "paint": { "fill-color": "#FFFFFF", "fill-opacity": 0.7 @@ -222,11 +188,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "ZONE_FORET_OUVERTE" - ], + "filter": ["in", "symbo", "ZONE_FORET_OUVERTE"], "paint": { "fill-color": "#D1FFBA", "fill-outline-color": "#D1FFBA" @@ -240,11 +202,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_LANDE_LIGNEUSE" - ], + "filter": ["==", "symbo", "ZONE_LANDE_LIGNEUSE"], "paint": { "fill-color": "#E0FFD1" } @@ -257,11 +215,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_VIGNE" - ], + "filter": ["==", "symbo", "ZONE_VIGNE"], "paint": { "fill-color": "#F4D5B3" } @@ -274,11 +228,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_VERGER" - ], + "filter": ["==", "symbo", "ZONE_VERGER"], "paint": { "fill-color": "#F4C795" } @@ -291,11 +241,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_CANNE_BANANE" - ], + "filter": ["==", "symbo", "ZONE_CANNE_BANANE"], "paint": { "fill-color": "#FAEDFA" } @@ -308,11 +254,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_D_ESTRAN" - ], + "filter": ["==", "symbo", "ZONE_D_ESTRAN"], "paint": { "fill-color": "#D3E9FF", "fill-outline-color": "#D3E9FF" @@ -326,22 +268,12 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_MANGROVE" - ], + "filter": ["==", "symbo", "ZONE_MANGROVE"], "paint": { "fill-color": { "stops": [ - [ - 9, - "#85CCCB" - ], - [ - 10, - "#90CCCB" - ] + [9, "#85CCCB"], + [10, "#90CCCB"] ] } } @@ -354,11 +286,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_MARAIS" - ], + "filter": ["==", "symbo", "ZONE_MARAIS"], "paint": { "fill-pattern": "Marais" } @@ -371,11 +299,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_MARAIS" - ], + "filter": ["==", "symbo", "ZONE_MARAIS"], "paint": { "fill-pattern": "Marais" } @@ -388,11 +312,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_MARAIS_SALANT" - ], + "filter": ["==", "symbo", "ZONE_MARAIS_SALANT"], "paint": { "fill-pattern": "MaraisSalant" } @@ -405,11 +325,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_ROCHEUSE" - ], + "filter": ["==", "symbo", "ZONE_ROCHEUSE"], "paint": { "fill-color": "#D0D0D0", "fill-opacity": 0.3 @@ -423,11 +339,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_SABLE_SEC" - ], + "filter": ["==", "symbo", "ZONE_SABLE_SEC"], "paint": { "fill-pattern": "Sable" } @@ -440,12 +352,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "ZONE_SABLE_HUMIDE", - "FOND_CUVETTE_HUMIDE" - ], + "filter": ["in", "symbo", "ZONE_SABLE_HUMIDE", "FOND_CUVETTE_HUMIDE"], "paint": { "fill-pattern": "SableHumide" } @@ -458,11 +365,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "GRAVIERS_GALETS_SEC" - ], + "filter": ["==", "symbo", "GRAVIERS_GALETS_SEC"], "paint": { "fill-pattern": "GravierSec" } @@ -475,11 +378,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "GRAVIERS_GALETS_HUM" - ], + "filter": ["==", "symbo", "GRAVIERS_GALETS_HUM"], "paint": { "fill-pattern": "Gravier" } @@ -492,11 +391,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_ROCHER_HYDRO" - ], + "filter": ["==", "symbo", "ZONE_ROCHER_HYDRO"], "paint": { "fill-pattern": "RocherHydro" } @@ -509,23 +404,13 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_GLACIER" - ], + "filter": ["==", "symbo", "ZONE_GLACIER"], "paint": { "fill-pattern": "Glacier", "fill-opacity": { "stops": [ - [ - 10, - 0.5 - ], - [ - 12, - 0.3 - ] + [10, 0.5], + [12, 0.3] ] } } @@ -540,27 +425,14 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_BATI" - ], + "filter": ["==", "symbo", "ZONE_BATI"], "paint": { "fill-color": "#ADADAD", "fill-opacity": { "stops": [ - [ - 12, - 1 - ], - [ - 13, - 0.9 - ], - [ - 14, - 0.5 - ] + [12, 1], + [13, 0.9], + [14, 0.5] ] } } @@ -573,11 +445,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ZONE_INDUS_ACTI" - ], + "filter": ["==", "symbo", "ZONE_INDUS_ACTI"], "paint": { "fill-color": "#CBCBCB" } @@ -598,24 +466,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "CNV_MAITRESSE", - "CUVETTE_MAITRESSE" - ], + "filter": ["in", "symbo", "CNV_MAITRESSE", "CUVETTE_MAITRESSE"], "paint": { "line-color": "#D9C8A9", "line-width": { "stops": [ - [ - 13, - 1.7 - ], - [ - 15, - 2 - ] + [13, 1.7], + [15, 2] ] } } @@ -631,24 +488,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "CNV_NORMALE", - "CUVETTE_NORMALE" - ], + "filter": ["in", "symbo", "CNV_NORMALE", "CUVETTE_NORMALE"], "paint": { "line-color": "#D9C8A9", "line-width": { "stops": [ - [ - 13, - 1 - ], - [ - 15, - 1.2 - ] + [13, 1], + [15, 1.2] ] } } @@ -674,10 +520,7 @@ "paint": { "line-color": "#D9C8A9", "line-width": 0.7, - "line-dasharray": [ - 20, - 7 - ] + "line-dasharray": [20, 7] } }, { @@ -691,24 +534,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "CNV_GLACIER_MAITRESSE", - "CUV_GLACIER_MAITRESSE" - ], + "filter": ["in", "symbo", "CNV_GLACIER_MAITRESSE", "CUV_GLACIER_MAITRESSE"], "paint": { "line-color": "#A4BFD9", "line-width": { "stops": [ - [ - 13, - 1.7 - ], - [ - 15, - 2 - ] + [13, 1.7], + [15, 2] ] } } @@ -724,24 +556,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "CNV_GLACIER_NORMALE", - "CUV_GLACIER_NORMALE" - ], + "filter": ["in", "symbo", "CNV_GLACIER_NORMALE", "CUV_GLACIER_NORMALE"], "paint": { "line-color": "#A4BFD9", "line-width": { "stops": [ - [ - 13, - 1 - ], - [ - 15, - 1.2 - ] + [13, 1], + [15, 1.2] ] } } @@ -757,30 +578,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "CNV_GLACIER_INTERCAL", - "CUV_GLACIER_INTERCAL" - ], + "filter": ["in", "symbo", "CNV_GLACIER_INTERCAL", "CUV_GLACIER_INTERCAL"], "paint": { "line-color": "#A4BFD9", "line-width": { "stops": [ - [ - 13, - 0.7 - ], - [ - 15, - 0.9 - ] + [13, 0.7], + [15, 0.9] ] }, - "line-dasharray": [ - 20, - 7 - ] + "line-dasharray": [20, 7] } }, { @@ -794,12 +601,7 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "CNV_ROCHER_MAITRESSE", - "CUV_ROCHER_MAITRESSE" - ], + "filter": ["in", "symbo", "CNV_ROCHER_MAITRESSE", "CUV_ROCHER_MAITRESSE"], "paint": { "line-color": "#AAAAAA", "line-width": 1.7 @@ -816,12 +618,7 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "CNV_ROCHER_NORMALE", - "CUV_ROCHER_NORMALE" - ], + "filter": ["in", "symbo", "CNV_ROCHER_NORMALE", "CUV_ROCHER_NORMALE"], "paint": { "line-color": "#AAAAAA", "line-width": 1 @@ -838,30 +635,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "CNV_ROCHER_INTERCAL", - "CUV_ROCHER_INTERCAL" - ], + "filter": ["in", "symbo", "CNV_ROCHER_INTERCAL", "CUV_ROCHER_INTERCAL"], "paint": { "line-color": "#AAAAAA", "line-width": { "stops": [ - [ - 13, - 0.7 - ], - [ - 15, - 0.9 - ] + [13, 0.7], + [15, 0.9] ] }, - "line-dasharray": [ - 20, - 7 - ] + "line-dasharray": [20, 7] } }, { @@ -875,12 +658,7 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "CNV_BATHYMETRIQUE", - "CUV_BATHYMETRIQUE" - ], + "filter": ["in", "symbo", "CNV_BATHYMETRIQUE", "CUV_BATHYMETRIQUE"], "paint": { "line-color": "#0000FF", "line-width": 1 @@ -898,11 +676,7 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "TALUS" - ], + "filter": ["==", "symbo", "TALUS"], "paint": { "line-color": "#D9C8A9", "line-width": 1 @@ -920,29 +694,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "TALUS" - ], + "filter": ["==", "symbo", "TALUS"], "paint": { "line-color": "#D9C8A9", "line-width": { "stops": [ - [ - 14, - 7 - ], - [ - 16, - 9 - ] + [14, 7], + [16, 9] ] }, - "line-dasharray": [ - 0.1, - 1 - ], + "line-dasharray": [0.1, 1], "line-offset": 4 } }, @@ -958,14 +719,8 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 13, - 10 - ], - [ - 15, - 13 - ] + [13, 10], + [15, 13] ] }, "text-anchor": "center", @@ -974,28 +729,13 @@ "text-keep-upright": false, "text-max-angle": 20, "text-max-width": 100, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "filter": [ "all", - [ - "!=", - "texte", - "0" - ], - [ - "==", - "hors_zone", - true - ], - [ - "in", - "symbo", - "CNV_MAITRESSE", - "CUVETTE_MAITRESSE" - ] + ["!=", "texte", "0"], + ["==", "hors_zone", true], + ["in", "symbo", "CNV_MAITRESSE", "CUVETTE_MAITRESSE"] ], "paint": { "text-color": "#604A2F", @@ -1015,14 +755,8 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 13, - 10 - ], - [ - 15, - 13 - ] + [13, 10], + [15, 13] ] }, "text-anchor": "center", @@ -1031,28 +765,13 @@ "text-keep-upright": false, "text-max-angle": 20, "text-max-width": 100, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "filter": [ "all", - [ - "!=", - "texte", - "0" - ], - [ - "==", - "hors_zone", - true - ], - [ - "in", - "symbo", - "CNV_ROCHER_MAITRESSE", - "CUV_ROCHER_MAITRESSE" - ] + ["!=", "texte", "0"], + ["==", "hors_zone", true], + ["in", "symbo", "CNV_ROCHER_MAITRESSE", "CUV_ROCHER_MAITRESSE"] ], "paint": { "text-color": "#333333", @@ -1072,14 +791,8 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 13, - 10 - ], - [ - 15, - 13 - ] + [13, 10], + [15, 13] ] }, "text-anchor": "center", @@ -1088,28 +801,13 @@ "text-keep-upright": false, "text-max-angle": 20, "text-max-width": 100, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "filter": [ "all", - [ - "!=", - "texte", - "0" - ], - [ - "==", - "hors_zone", - true - ], - [ - "in", - "symbo", - "CNV_GLACIER_MAITRESSE", - "CUV_GLACIER_MAITRESSE" - ] + ["!=", "texte", "0"], + ["==", "hors_zone", true], + ["in", "symbo", "CNV_GLACIER_MAITRESSE", "CUV_GLACIER_MAITRESSE"] ], "paint": { "text-color": "#629FD9", @@ -1125,13 +823,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "SURFACE_D_EAU", - "BASSIN", - "ZONE_MARINE" - ], + "filter": ["in", "symbo", "SURFACE_D_EAU", "BASSIN", "ZONE_MARINE"], "paint": { "fill-color": "#B3D9FF", "fill-outline-color": "#B3D9FF" @@ -1145,11 +837,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "SURFACE_D_EAU_TEMP" - ], + "filter": ["==", "symbo", "SURFACE_D_EAU_TEMP"], "paint": { "fill-color": "rgba(164, 198, 233, 0.5)" } @@ -1165,30 +853,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "COURS_D_EAU_SOU", - "COURS_D_EAU_MOY_SOU" - ], + "filter": ["in", "symbo", "COURS_D_EAU_SOU", "COURS_D_EAU_MOY_SOU"], "paint": { "line-color": "#B3D9FF", "line-width": { "stops": [ - [ - 12, - 1.5 - ], - [ - 17, - 6.5 - ] + [12, 1.5], + [17, 6.5] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -1203,33 +877,17 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AQUEDUC_SOU" - ], + "filter": ["==", "symbo", "AQUEDUC_SOU"], "paint": { "line-color": "#B3D9FF", "line-width": { "stops": [ - [ - 12, - 1.4 - ], - [ - 16, - 3.5 - ], - [ - 17, - 5.9 - ] + [12, 1.4], + [16, 3.5], + [17, 5.9] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -1243,33 +901,17 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AQUEDUC_SOU" - ], + "filter": ["==", "symbo", "AQUEDUC_SOU"], "paint": { "line-color": "#B3D9FF", "line-width": { "stops": [ - [ - 12, - 3.5 - ], - [ - 16, - 8.7 - ], - [ - 17, - 14.7 - ] + [12, 3.5], + [16, 8.7], + [17, 14.7] ] }, - "line-dasharray": [ - 1, - 5 - ] + "line-dasharray": [1, 5] } }, { @@ -1301,14 +943,8 @@ "line-color": "#838383", "line-width": { "stops": [ - [ - 10, - 0.8 - ], - [ - 17, - 2.5 - ] + [10, 0.8], + [17, 2.5] ] } } @@ -1342,20 +978,11 @@ "line-color": "#838383", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 14.7 - ] + [10, 3.5], + [17, 14.7] ] }, - "line-dasharray": [ - 0.1, - 10 - ] + "line-dasharray": [0.1, 10] } }, { @@ -1370,25 +997,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "VF_ETROITE_1_SOU", - "VF_ETROITE_2_SOU", - "VF_ETROITE_SOU" - ], + "filter": ["in", "symbo", "VF_ETROITE_1_SOU", "VF_ETROITE_2_SOU", "VF_ETROITE_SOU"], "paint": { "line-color": "#838383", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] } } @@ -1405,31 +1020,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "VF_ETROITE_1_SOU", - "VF_ETROITE_2_SOU", - "VF_ETROITE_SOU" - ], + "filter": ["in", "symbo", "VF_ETROITE_1_SOU", "VF_ETROITE_2_SOU", "VF_ETROITE_SOU"], "paint": { "line-color": "#838383", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 14.7 - ] + [10, 3.5], + [17, 14.7] ] }, - "line-dasharray": [ - 0.1, - 10 - ] + "line-dasharray": [0.1, 10] } }, { @@ -1444,32 +1044,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "VF_SERVICE_SOU", - "VF_NON_EXPLOITEE_SOU" - ], + "filter": ["in", "symbo", "VF_SERVICE_SOU", "VF_NON_EXPLOITEE_SOU"], "paint": { "line-color": "#838383", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] }, - "line-dasharray": [ - 5, - 2, - 1, - 2 - ] + "line-dasharray": [5, 2, 1, 2] } }, { @@ -1483,24 +1067,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "FUNI_CREMAILLERE_SOU", - "TRANSPORT_URBAIN_SOU" - ], + "filter": ["in", "symbo", "FUNI_CREMAILLERE_SOU", "TRANSPORT_URBAIN_SOU"], "paint": { "line-color": "#838383", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] } } @@ -1516,32 +1089,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "FUNI_CREMAILLERE_SOU", - "TRANSPORT_URBAIN_SOU" - ], + "filter": ["in", "symbo", "FUNI_CREMAILLERE_SOU", "TRANSPORT_URBAIN_SOU"], "paint": { "line-color": "#838383", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 17 - ] + [10, 3.5], + [17, 17] ] }, - "line-dasharray": [ - 0.1, - 0.2, - 0.1, - 10 - ] + "line-dasharray": [0.1, 0.2, 0.1, 10] } }, { @@ -1556,38 +1113,18 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "PISTE_CYCLABLE_SOU", - "VOIE_VERTE_SOU" - ], + "filter": ["in", "symbo", "PISTE_CYCLABLE_SOU", "VOIE_VERTE_SOU"], "paint": { "line-color": "#AB81CC", "line-width": { "stops": [ - [ - 14, - 1.1 - ], - [ - 15, - 1.7 - ], - [ - 16, - 2 - ], - [ - 17, - 3.5 - ] + [14, 1.1], + [15, 1.7], + [16, 2], + [17, 3.5] ] }, - "line-dasharray": [ - 6, - 2 - ] + "line-dasharray": [6, 2] } }, { @@ -1602,31 +1139,15 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "ESCALIER_SOU" - ], + "filter": ["==", "symbo", "ESCALIER_SOU"], "paint": { "line-color": "#717171", "line-width": { "stops": [ - [ - 14, - 1.75 - ], - [ - 15, - 3 - ], - [ - 16, - 4.2 - ], - [ - 17, - 9.5 - ] + [14, 1.75], + [15, 3], + [16, 4.2], + [17, 9.5] ] } } @@ -1643,37 +1164,18 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "ESCALIER_SOU" - ], + "filter": ["==", "symbo", "ESCALIER_SOU"], "paint": { "line-color": "#FFFFFF", "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.9 - ], - [ - 16, - 2.7 - ], - [ - 17, - 5.8 - ] + [14, 1], + [15, 1.9], + [16, 2.7], + [17, 5.8] ] }, - "line-dasharray": [ - 1, - 0.2 - ] + "line-dasharray": [1, 0.2] } }, { @@ -1688,37 +1190,18 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "RUE_PIETONNE_SOU" - ], + "filter": ["==", "symbo", "RUE_PIETONNE_SOU"], "paint": { "line-color": "#717171", "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2] ] }, - "line-dasharray": [ - 1, - 3 - ] + "line-dasharray": [1, 3] } }, { @@ -1733,37 +1216,18 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "SENTIER_SOU" - ], + "filter": ["==", "symbo", "SENTIER_SOU"], "paint": { "line-color": "#717171", "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2] ] }, - "line-dasharray": [ - 4, - 3 - ] + "line-dasharray": [4, 3] } }, { @@ -1778,31 +1242,15 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "CHEMIN_SOU" - ], + "filter": ["==", "symbo", "CHEMIN_SOU"], "paint": { "line-color": "#717171", "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2] ] } } @@ -1818,37 +1266,18 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_REVETUE_CARRO_SOU" - ], + "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 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -1877,26 +1306,11 @@ "line-color": "rgba(255, 0, 51, 0.5)", "line-width": { "stops": [ - [ - 12, - 2.5 - ], - [ - 14, - 3.7 - ], - [ - 15, - 6.8 - ], - [ - 16, - 8.4 - ], - [ - 17, - 14 - ] + [12, 2.5], + [14, 3.7], + [15, 6.8], + [16, 8.4], + [17, 14] ] } } @@ -1912,31 +1326,15 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_CLASSEE_RESTREINT_SOU" - ], + "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT_SOU"], "paint": { "line-color": "#AFAFAF", "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] } } @@ -1952,32 +1350,15 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "NON_CLASSEE_4_SOU", - "NON_CLASSEE_SOU" - ], + "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 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] } } @@ -2006,26 +1387,11 @@ "line-color": "rgba(130, 130, 130, 0.5)", "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] } } @@ -2042,35 +1408,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LOCALE_CONSTR_SOU" - ], + "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 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] } } @@ -2099,30 +1446,12 @@ "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 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] } } @@ -2139,39 +1468,17 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REGIONALE_CONSTR_SOU" - ], + "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 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] } } @@ -2201,30 +1508,12 @@ "line-color": "rgba(255, 0, 51, 0.5)", "line-width": { "stops": [ - [ - 6, - 1.8 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.9 - ], - [ - 15, - 9 - ], - [ - 16, - 12.2 - ], - [ - 17, - 22.5 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] } } @@ -2241,39 +1530,17 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PRINCIPALE_CONSTR_SOU" - ], + "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 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] } } @@ -2290,40 +1557,17 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE_SOU", - "AUTOROU_LIBRE_SOU" - ], + "filter": ["in", "symbo", "AUTOROU_PEAGE_SOU", "AUTOROU_LIBRE_SOU"], "paint": { "line-color": "rgba(255, 0, 51, 0.5)", "line-width": { "stops": [ - [ - 6, - 2.5 - ], - [ - 9, - 3.5 - ], - [ - 14, - 7.5 - ], - [ - 15, - 11 - ], - [ - 16, - 15 - ], - [ - 17, - 26 - ] + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] } } @@ -2340,39 +1584,17 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR_SOU" - ], + "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 - ] + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] } } @@ -2388,31 +1610,15 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_REVETUE_CARRO_SOU" - ], + "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 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -2443,26 +1649,11 @@ "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 - ] + [12, 1.5], + [14, 2.6], + [15, 5.2], + [16, 6.7], + [17, 10.8] ] } } @@ -2478,31 +1669,15 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_CLASSEE_RESTREINT_SOU" - ], + "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT_SOU"], "paint": { "line-color": "#FFFFFF", "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -2518,32 +1693,15 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "NON_CLASSEE_4_SOU", - "NON_CLASSEE_SOU" - ], + "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 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -2572,26 +1730,11 @@ "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 - ] + [9, 1.3], + [14, 2.3], + [15, 4.1], + [16, 6.1], + [17, 13.1] ] } } @@ -2608,56 +1751,25 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LOCALE_CONSTR_SOU" - ], + "filter": ["==", "symbo", "LOCALE_CONSTR_SOU"], "paint": { "line-color": { "stops": [ - [ - 12, - "#FFFFFF" - ], - [ - 13, - "#FFA35D" - ], - [ - 17, - "#FFAD6F" - ] + [12, "#FFFFFF"], + [13, "#FFA35D"], + [17, "#FFAD6F"] ] }, "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -2684,30 +1796,12 @@ "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 - ] + [6, 1.4], + [9, 1.5], + [14, 3.2], + [15, 5.8], + [16, 8.3], + [17, 16.2] ] } } @@ -2724,64 +1818,27 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REGIONALE_CONSTR_SOU" - ], + "filter": ["==", "symbo", "REGIONALE_CONSTR_SOU"], "paint": { "line-color": { "stops": [ - [ - 9, - "#FFFFFF" - ], - [ - 10, - "#FF994C" - ], - [ - 17, - "#FFAD6F" - ] + [9, "#FFFFFF"], + [10, "#FF994C"], + [17, "#FFAD6F"] ] }, "line-width": { "stops": [ - [ - 4, - 0.4 - ], - [ - 6, - 1.5 - ], - [ - 9, - 2.3 - ], - [ - 14, - 5 - ], - [ - 15, - 8.1 - ], - [ - 16, - 11.2 - ], - [ - 17, - 22 - ] + [4, 0.4], + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -2808,34 +1865,13 @@ "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 - ] + [4, 0.5], + [6, 1.8], + [9, 2.1], + [14, 4.4], + [15, 7.3], + [16, 10], + [17, 18.5] ] } } @@ -2852,60 +1888,26 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PRINCIPALE_CONSTR_SOU" - ], + "filter": ["==", "symbo", "PRINCIPALE_CONSTR_SOU"], "paint": { "line-color": { "stops": [ - [ - 9, - "#FF0033" - ], - [ - 17, - "#FF476C" - ] + [9, "#FF0033"], + [17, "#FF476C"] ] }, "line-width": { "stops": [ - [ - 4, - 0.5 - ], - [ - 6, - 1.8 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.9 - ], - [ - 15, - 9 - ], - [ - 16, - 12.2 - ], - [ - 17, - 22.5 - ] + [4, 0.5], + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -2919,44 +1921,18 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE_SOU", - "AUTOROU_LIBRE_SOU" - ], + "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 - ] + [4, 0.7], + [6, 2.5], + [9, 2.7], + [14, 5.8], + [15, 9], + [16, 12], + [17, 20.8] ] } } @@ -2973,36 +1949,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE_SOU", - "AUTOROU_LIBRE_SOU" - ], + "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 - ] + [9, 0.6], + [14, 0.7], + [15, 1], + [16, 1.2], + [17, 2.1] ] } } @@ -3019,60 +1975,26 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR_SOU" - ], + "filter": ["==", "symbo", "AUTOROU_CONSTR_SOU"], "paint": { "line-color": { "stops": [ - [ - 9, - "#FF476C" - ], - [ - 17, - "#FF476C" - ] + [9, "#FF476C"], + [17, "#FF476C"] ] }, "line-width": { "stops": [ - [ - 4, - 0.7 - ], - [ - 6, - 2.5 - ], - [ - 9, - 3.5 - ], - [ - 14, - 7.5 - ], - [ - 15, - 11 - ], - [ - 16, - 15 - ], - [ - 17, - 26 - ] + [4, 0.7], + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -3087,35 +2009,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR_SOU" - ], + "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 - ] + [9, 0.6], + [14, 0.7], + [15, 1], + [16, 1.2], + [17, 2.1] ] } } @@ -3130,30 +2033,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "COURS_D_EAU_TEMP", - "COURS_D_EAU_TEMP_MOY" - ], + "filter": ["in", "symbo", "COURS_D_EAU_TEMP", "COURS_D_EAU_TEMP_MOY"], "paint": { "line-color": "#B3D9FF", "line-width": { "stops": [ - [ - 12, - 1.5 - ], - [ - 17, - 4 - ] + [12, 1.5], + [17, 4] ] }, - "line-dasharray": [ - 6, - 2 - ] + "line-dasharray": [6, 2] } }, { @@ -3167,31 +2056,15 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "COURS_D_EAU" - ], + "filter": ["==", "symbo", "COURS_D_EAU"], "paint": { "line-color": "#B3D9FF", "line-width": { "stops": [ - [ - 4, - 0.3 - ], - [ - 7, - 1.5 - ], - [ - 12, - 1.5 - ], - [ - 17, - 6.5 - ] + [4, 0.3], + [7, 1.5], + [12, 1.5], + [17, 6.5] ] } } @@ -3206,23 +2079,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "CANAL" - ], + "filter": ["==", "symbo", "CANAL"], "paint": { "line-color": "#B3D9FF", "line-width": { "stops": [ - [ - 12, - 1.4 - ], - [ - 17, - 5.9 - ] + [12, 1.4], + [17, 5.9] ] } } @@ -3238,27 +2101,14 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AQUEDUC_AU_SOL" - ], + "filter": ["==", "symbo", "AQUEDUC_AU_SOL"], "paint": { "line-color": "#B3D9FF", "line-width": { "stops": [ - [ - 12, - 1.4 - ], - [ - 16, - 3.5 - ], - [ - 17, - 5.9 - ] + [12, 1.4], + [16, 3.5], + [17, 5.9] ] } } @@ -3274,33 +2124,17 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AQUEDUC_AU_SOL" - ], + "filter": ["==", "symbo", "AQUEDUC_AU_SOL"], "paint": { "line-color": "#B3D9FF", "line-width": { "stops": [ - [ - 12, - 3.5 - ], - [ - 16, - 8.7 - ], - [ - 17, - 14.7 - ] + [12, 3.5], + [16, 8.7], + [17, 14.7] ] }, - "line-dasharray": [ - 1, - 5 - ] + "line-dasharray": [1, 5] } }, { @@ -3313,23 +2147,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "COURS_D_EAU_MOY" - ], + "filter": ["==", "symbo", "COURS_D_EAU_MOY"], "paint": { "line-color": "#B3D9FF", "line-width": { "stops": [ - [ - 7, - 2 - ], - [ - 12, - 2.5 - ] + [7, 2], + [12, 2.5] ] } } @@ -3344,23 +2168,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "COURS_D_EAU_LAR" - ], + "filter": ["==", "symbo", "COURS_D_EAU_LAR"], "paint": { "line-color": "#B3D9FF", "line-width": { "stops": [ - [ - 7, - 3 - ], - [ - 11, - 5 - ] + [7, 3], + [11, 5] ] } } @@ -3373,11 +2187,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "PARCELLE" - ], + "filter": ["==", "symbo", "PARCELLE"], "paint": { "fill-color": "#FFFFD1", "fill-opacity": 0.7 @@ -3432,12 +2242,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "MAIRIE", - "MAIRIE_ANNEXE" - ], + "filter": ["in", "symbo", "MAIRIE", "MAIRIE_ANNEXE"], "paint": { "fill-color": "#FF0032" } @@ -3451,23 +2256,12 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "MAIRIE", - "MAIRIE_ANNEXE" - ], + "filter": ["in", "symbo", "MAIRIE", "MAIRIE_ANNEXE"], "paint": { "fill-color": { "stops": [ - [ - 14, - "#FF0032" - ], - [ - 15, - "#C80032" - ] + [14, "#FF0032"], + [15, "#C80032"] ] }, "fill-outline-color": "#000000" @@ -3516,14 +2310,8 @@ "paint": { "fill-color": { "stops": [ - [ - 15, - "#818181" - ], - [ - 16, - "#8E8E8E" - ] + [15, "#818181"], + [16, "#8E8E8E"] ] }, "fill-outline-color": "#000000" @@ -3538,12 +2326,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "BATI_PUBLIC", - "HANGAR_PUBLIC" - ], + "filter": ["in", "symbo", "BATI_PUBLIC", "HANGAR_PUBLIC"], "paint": { "fill-color": "#6C6C8C" } @@ -3557,23 +2340,12 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "BATI_PUBLIC", - "HANGAR_PUBLIC" - ], + "filter": ["in", "symbo", "BATI_PUBLIC", "HANGAR_PUBLIC"], "paint": { "fill-color": { "stops": [ - [ - 15, - "#66668C" - ], - [ - 16, - "#63638C" - ] + [15, "#66668C"], + [16, "#63638C"] ] }, "fill-outline-color": "#000000" @@ -3590,11 +2362,7 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "BATI_SPORTIF" - ], + "filter": ["==", "symbo", "BATI_SPORTIF"], "paint": { "line-color": "#758275", "line-width": 4 @@ -3609,22 +2377,12 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "BATI_SPORTIF" - ], + "filter": ["==", "symbo", "BATI_SPORTIF"], "paint": { "fill-color": { "stops": [ - [ - 14, - "#92A292" - ], - [ - 15, - "#92A292" - ] + [14, "#92A292"], + [15, "#92A292"] ] } } @@ -3638,11 +2396,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "BATI_GARE" - ], + "filter": ["==", "symbo", "BATI_GARE"], "paint": { "fill-color": "#9C9EC3" } @@ -3656,22 +2410,12 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "BATI_GARE" - ], + "filter": ["==", "symbo", "BATI_GARE"], "paint": { "fill-color": { "stops": [ - [ - 15, - "#9C9EC3" - ], - [ - 16, - "#9C9EC3" - ] + [15, "#9C9EC3"], + [16, "#9C9EC3"] ] }, "fill-outline-color": "#635D7A" @@ -3687,11 +2431,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "BATI_QQUE" - ], + "filter": ["==", "symbo", "BATI_QQUE"], "paint": { "fill-color": "#323232" } @@ -3705,22 +2445,12 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "BATI_QQUE" - ], + "filter": ["==", "symbo", "BATI_QQUE"], "paint": { "fill-color": { "stops": [ - [ - 15, - "#404040" - ], - [ - 16, - "#4C4C4C" - ] + [15, "#404040"], + [16, "#4C4C4C"] ] }, "fill-outline-color": "#000000" @@ -3734,12 +2464,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "ECLUSE_SURF", - "RESERVOIR_EAU_SURF" - ], + "filter": ["in", "symbo", "ECLUSE_SURF", "RESERVOIR_EAU_SURF"], "paint": { "fill-color": "#ADCCD9", "fill-outline-color": "#336699" @@ -3753,11 +2478,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "PECHERIE_SURF" - ], + "filter": ["==", "symbo", "PECHERIE_SURF"], "paint": { "fill-color": "#BFE2F0", "fill-outline-color": "#509FEF" @@ -3771,11 +2492,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "BARRAGE_SURF" - ], + "filter": ["==", "symbo", "BARRAGE_SURF"], "paint": { "fill-color": "#FFFFFF", "fill-outline-color": "#464646" @@ -3789,11 +2506,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "CHATEAU_EAU_SURF" - ], + "filter": ["==", "symbo", "CHATEAU_EAU_SURF"], "paint": { "fill-color": "#0081FF" } @@ -3807,11 +2520,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "SILO_SURF" - ], + "filter": ["==", "symbo", "SILO_SURF"], "paint": { "fill-color": "#C7A9AA", "fill-outline-color": "#696969" @@ -3826,11 +2535,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "RESERVOIR_INDUS_SURF" - ], + "filter": ["==", "symbo", "RESERVOIR_INDUS_SURF"], "paint": { "fill-color": "#8D9DAA", "fill-outline-color": "#464646" @@ -3845,11 +2550,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "SERRE_SURF" - ], + "filter": ["in", "symbo", "SERRE_SURF"], "paint": { "fill-color": "#CAD6D9", "fill-outline-color": "#8C8C8C" @@ -3863,11 +2564,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "POSTE_ELEC_SURF" - ], + "filter": ["in", "symbo", "POSTE_ELEC_SURF"], "paint": { "fill-color": "#7993B6", "fill-opacity": 0.3 @@ -3883,23 +2580,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "POSTE_ELEC_SURF" - ], + "filter": ["==", "symbo", "POSTE_ELEC_SURF"], "paint": { "line-color": "#000000", "line-width": { "stops": [ - [ - 12, - 0.3 - ], - [ - 17, - 1.2 - ] + [12, 0.3], + [17, 1.2] ] } } @@ -3951,26 +2638,14 @@ "paint": { "fill-color": { "stops": [ - [ - 14, - "#967575" - ], - [ - 15, - "#A27E7E" - ] + [14, "#967575"], + [15, "#A27E7E"] ] }, "fill-outline-color": { "stops": [ - [ - 14, - "#000000" - ], - [ - 15, - "#000000" - ] + [14, "#000000"], + [15, "#000000"] ] } } @@ -4055,12 +2730,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "PISTE_DUR", - "PISTE_HERBE" - ], + "filter": ["in", "symbo", "PISTE_DUR", "PISTE_HERBE"], "paint": { "fill-color": "#DBDBDB", "fill-outline-color": "#808080" @@ -4150,11 +2820,7 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "MUR" - ], + "filter": ["==", "symbo", "MUR"], "paint": { "line-color": "#8C8C8C", "line-width": 0.3 @@ -4170,13 +2836,7 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "RUINE_LIN", - "MUR_SOUTENEMENT", - "FORTIF_LIN" - ], + "filter": ["in", "symbo", "RUINE_LIN", "MUR_SOUTENEMENT", "FORTIF_LIN"], "paint": { "line-color": "#646464", "line-width": 0.5 @@ -4193,23 +2853,13 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "BARRAGE_LIN" - ], + "filter": ["==", "symbo", "BARRAGE_LIN"], "paint": { "line-color": "#646464", "line-width": { "stops": [ - [ - 13, - 1.5 - ], - [ - 17, - 5 - ] + [13, 1.5], + [17, 5] ] } } @@ -4225,24 +2875,13 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "QUAI", - "DIGUE" - ], + "filter": ["in", "symbo", "QUAI", "DIGUE"], "paint": { "line-color": "#828282", "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 17, - 2.5 - ] + [14, 1], + [17, 2.5] ] } } @@ -4258,23 +2897,13 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PECHERIE_LIN" - ], + "filter": ["==", "symbo", "PECHERIE_LIN"], "paint": { "line-color": "#0066CC", "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 17, - 2.5 - ] + [14, 1], + [17, 2.5] ] } } @@ -4290,53 +2919,24 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "PISTE_CYCLABLE", - "VOIE_VERTE" - ], + "filter": ["in", "symbo", "PISTE_CYCLABLE", "VOIE_VERTE"], "paint": { "line-color": { "stops": [ - [ - 17, - "#9B5CCC" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#9B5CCC"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 1.1 - ], - [ - 15, - 1.7 - ], - [ - 16, - 2 - ], - [ - 17, - 3.5 - ], - [ - 18, - 6 - ] + [14, 1.1], + [15, 1.7], + [16, 2], + [17, 3.5], + [18, 6] ] }, - "line-dasharray": [ - 6, - 2 - ] + "line-dasharray": [6, 2] } }, { @@ -4350,42 +2950,20 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "ESCALIER" - ], + "filter": ["==", "symbo", "ESCALIER"], "paint": { "line-color": { "stops": [ - [ - 17, - "#555555" - ], - [ - 18, - "#C8C8C8" - ] + [17, "#555555"], + [18, "#C8C8C8"] ] }, "line-width": { "stops": [ - [ - 14, - 1.75 - ], - [ - 15, - 3 - ], - [ - 16, - 4.2 - ], - [ - 17, - 9.5 - ] + [14, 1.75], + [15, 3], + [16, 4.2], + [17, 9.5] ] } } @@ -4401,37 +2979,18 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "ESCALIER" - ], + "filter": ["==", "symbo", "ESCALIER"], "paint": { "line-color": "#FFFFFF", "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.9 - ], - [ - 16, - 2.7 - ], - [ - 17, - 5.8 - ] + [14, 1], + [15, 1.9], + [16, 2.7], + [17, 5.8] ] }, - "line-dasharray": [ - 1, - 0.2 - ] + "line-dasharray": [1, 0.2] } }, { @@ -4445,52 +3004,24 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "RUE_PIETONNE" - ], + "filter": ["==", "symbo", "RUE_PIETONNE"], "paint": { "line-color": { "stops": [ - [ - 17, - "#555555" - ], - [ - 18, - "#F8E5D5" - ] + [17, "#555555"], + [18, "#F8E5D5"] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ], - [ - 18, - 5 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2], + [18, 5] ] }, - "line-dasharray": [ - 1, - 3 - ] + "line-dasharray": [1, 3] } }, { @@ -4504,52 +3035,24 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "SENTIER" - ], + "filter": ["==", "symbo", "SENTIER"], "paint": { "line-color": { "stops": [ - [ - 17, - "#555555" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#555555"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ], - [ - 18, - 6 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2], + [18, 6] ] }, - "line-dasharray": [ - 4, - 3 - ] + "line-dasharray": [4, 3] } }, { @@ -4563,46 +3066,21 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "CHEMIN" - ], + "filter": ["==", "symbo", "CHEMIN"], "paint": { "line-color": { "stops": [ - [ - 17, - "#555555" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#555555"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ], - [ - 18, - 7 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2], + [18, 7] ] } } @@ -4618,48 +3096,23 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_REVETUE_CARRO" - ], + "filter": ["==", "symbo", "NON_REVETUE_CARRO"], "paint": { "line-color": { "stops": [ - [ - 12, - "#646464" - ], - [ - 17, - "#8C8C8C" - ] + [12, "#646464"], + [17, "#8C8C8C"] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -4672,35 +3125,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_REVETUE_CARRO" - ], + "filter": ["==", "symbo", "NON_REVETUE_CARRO"], "paint": { "line-color": "#FFFFFF", "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ], - [ - 18, - 16.8 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5], + [18, 16.8] ] } } @@ -4729,42 +3163,18 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#000000" - ], - [ - 17, - "#000000" - ], - [ - 18, - "#FFFFFF" - ] + [9, "#000000"], + [17, "#000000"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 12, - 2.5 - ], - [ - 14, - 3.7 - ], - [ - 15, - 6.8 - ], - [ - 16, - 8.4 - ], - [ - 17, - 14 - ] + [12, 2.5], + [14, 3.7], + [15, 6.8], + [16, 8.4], + [17, 14] ] } } @@ -4779,42 +3189,20 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_CLASSEE_RESTREINT" - ], + "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT"], "paint": { "line-color": { "stops": [ - [ - 17, - "#969696" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#969696"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] } } @@ -4829,43 +3217,20 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "NON_CLASSEE_4", - "NON_CLASSEE" - ], + "filter": ["in", "symbo", "NON_CLASSEE_4", "NON_CLASSEE"], "paint": { "line-color": { "stops": [ - [ - 17, - "#969696" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#969696"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] } } @@ -4893,46 +3258,19 @@ "paint": { "line-color": { "stops": [ - [ - 12, - "#8C8C8C" - ], - [ - 13, - "#B4B4B4" - ], - [ - 17, - "#B4B4B4" - ], - [ - 18, - "#FFFFFF" - ] + [12, "#8C8C8C"], + [13, "#B4B4B4"], + [17, "#B4B4B4"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] } } @@ -4949,35 +3287,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LOCALE_CONSTR" - ], + "filter": ["==", "symbo", "LOCALE_CONSTR"], "paint": { "line-color": "#C8C8C8", "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] } } @@ -5005,50 +3324,20 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#828282" - ], - [ - 10, - "#B4B4B4" - ], - [ - 17, - "#B4B4B4" - ], - [ - 18, - "#FFFFFF" - ] + [9, "#828282"], + [10, "#B4B4B4"], + [17, "#B4B4B4"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 6, - 1.5 - ], - [ - 9, - 2.3 - ], - [ - 14, - 5 - ], - [ - 15, - 8.1 - ], - [ - 16, - 11.2 - ], - [ - 17, - 22 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] } } @@ -5065,39 +3354,17 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REGIONALE_CONSTR" - ], + "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 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] } } @@ -5125,42 +3392,18 @@ "paint": { "line-color": { "stops": [ - [ - 17, - "#000000" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#000000"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 6, - 1.8 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.9 - ], - [ - 15, - 9 - ], - [ - 16, - 12.2 - ], - [ - 17, - 22.5 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] } } @@ -5177,39 +3420,17 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PRINCIPALE_CONSTR" - ], + "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 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] } } @@ -5225,55 +3446,23 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE", - "AUTOROU_LIBRE" - ], + "filter": ["in", "symbo", "AUTOROU_PEAGE", "AUTOROU_LIBRE"], "paint": { "line-color": { "stops": [ - [ - 9, - "#000000" - ], - [ - 17, - "#000000" - ], - [ - 18, - "#FFFFFF" - ] + [9, "#000000"], + [17, "#000000"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 6, - 2.5 - ], - [ - 9, - 3.5 - ], - [ - 14, - 7.5 - ], - [ - 15, - 11 - ], - [ - 16, - 15 - ], - [ - 17, - 26 - ] + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] } } @@ -5290,39 +3479,17 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR" - ], + "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 - ] + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] } } @@ -5352,38 +3519,17 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#FF0033" - ], - [ - 17, - "#FF476C" - ] + [9, "#FF0033"], + [17, "#FF476C"] ] }, "line-width": { "stops": [ - [ - 12, - 1.5 - ], - [ - 14, - 2.6 - ], - [ - 15, - 5.2 - ], - [ - 16, - 6.7 - ], - [ - 17, - 10.8 - ] + [12, 1.5], + [14, 2.6], + [15, 5.2], + [16, 6.7], + [17, 10.8] ] } } @@ -5399,31 +3545,15 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_CLASSEE_RESTREINT" - ], + "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT"], "paint": { "line-color": "#FFFFFF", "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -5439,32 +3569,15 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "NON_CLASSEE_4", - "NON_CLASSEE" - ], + "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 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -5492,50 +3605,20 @@ "paint": { "line-color": { "stops": [ - [ - 6, - "#F2B361" - ], - [ - 7, - "#FFFFFF" - ], - [ - 12, - "#FFFFFF" - ], - [ - 13, - "#FFA35D" - ], - [ - 17, - "#FFAD6F" - ] + [6, "#F2B361"], + [7, "#FFFFFF"], + [12, "#FFFFFF"], + [13, "#FFA35D"], + [17, "#FFAD6F"] ] }, "line-width": { "stops": [ - [ - 9, - 1.3 - ], - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.1 - ], - [ - 17, - 13.1 - ] + [9, 1.3], + [14, 2.3], + [15, 4.1], + [16, 6.1], + [17, 13.1] ] } } @@ -5551,60 +3634,26 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LOCALE_CONSTR" - ], + "filter": ["==", "symbo", "LOCALE_CONSTR"], "paint": { "line-color": { "stops": [ - [ - 12, - "#FFFFFF" - ], - [ - 13, - "#FFA35D" - ], - [ - 17, - "#FFAD6F" - ], - [ - 18, - "#EDEDED" - ] + [12, "#FFFFFF"], + [13, "#FFA35D"], + [17, "#FFAD6F"], + [18, "#EDEDED"] ] }, "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -5630,58 +3679,22 @@ "paint": { "line-color": { "stops": [ - [ - 6, - "#F2A949" - ], - [ - 7, - "#FFFFFF" - ], - [ - 9, - "#FFFFFF" - ], - [ - 10, - "#FF994C" - ], - [ - 17, - "#FFAD6F" - ] + [6, "#F2A949"], + [7, "#FFFFFF"], + [9, "#FFFFFF"], + [10, "#FF994C"], + [17, "#FFAD6F"] ] }, "line-width": { "stops": [ - [ - 4, - 1.1 - ], - [ - 6, - 1.4 - ], - [ - 9, - 1.5 - ], - [ - 14, - 3.2 - ], - [ - 15, - 5.8 - ], - [ - 16, - 8.3 - ], - [ - 17, - 16.2 - ] + [4, 1.1], + [6, 1.4], + [9, 1.5], + [14, 3.2], + [15, 5.8], + [16, 8.3], + [17, 16.2] ] } } @@ -5697,68 +3710,28 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REGIONALE_CONSTR" - ], + "filter": ["==", "symbo", "REGIONALE_CONSTR"], "paint": { "line-color": { "stops": [ - [ - 9, - "#FFFFFF" - ], - [ - 10, - "#FF994C" - ], - [ - 17, - "#FFAD6F" - ], - [ - 18, - "#EDEDED" - ] + [9, "#FFFFFF"], + [10, "#FF994C"], + [17, "#FFAD6F"], + [18, "#EDEDED"] ] }, "line-width": { "stops": [ - [ - 4, - 0.4 - ], - [ - 6, - 1.5 - ], - [ - 9, - 2.3 - ], - [ - 14, - 5 - ], - [ - 15, - 8.1 - ], - [ - 16, - 11.2 - ], - [ - 17, - 22 - ] + [4, 0.4], + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -5784,54 +3757,21 @@ "paint": { "line-color": { "stops": [ - [ - 6, - "#F29924" - ], - [ - 7, - "#FF0033" - ], - [ - 9, - "#FF0033" - ], - [ - 17, - "#FF476C" - ] + [6, "#F29924"], + [7, "#FF0033"], + [9, "#FF0033"], + [17, "#FF476C"] ] }, "line-width": { "stops": [ - [ - 4, - 0.6 - ], - [ - 6, - 1.8 - ], - [ - 9, - 2.1 - ], - [ - 14, - 4.4 - ], - [ - 15, - 7.3 - ], - [ - 16, - 10 - ], - [ - 17, - 18.5 - ] + [4, 0.6], + [6, 1.8], + [9, 2.1], + [14, 4.4], + [15, 7.3], + [16, 10], + [17, 18.5] ] } } @@ -5847,64 +3787,27 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PRINCIPALE_CONSTR" - ], + "filter": ["==", "symbo", "PRINCIPALE_CONSTR"], "paint": { "line-color": { "stops": [ - [ - 9, - "#FF0033" - ], - [ - 17, - "#FF476C" - ], - [ - 18, - "#EDEDED" - ] + [9, "#FF0033"], + [17, "#FF476C"], + [18, "#EDEDED"] ] }, "line-width": { "stops": [ - [ - 4, - 0.5 - ], - [ - 6, - 1.8 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.9 - ], - [ - 15, - 9 - ], - [ - 16, - 12.2 - ], - [ - 17, - 22.5 - ] + [4, 0.5], + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -5918,55 +3821,23 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE", - "AUTOROU_LIBRE" - ], + "filter": ["in", "symbo", "AUTOROU_PEAGE", "AUTOROU_LIBRE"], "paint": { "line-color": { "stops": [ - [ - 9, - "#FF0033" - ], - [ - 17, - "#FF476C" - ] + [9, "#FF0033"], + [17, "#FF476C"] ] }, "line-width": { "stops": [ - [ - 4, - 0.7 - ], - [ - 6, - 2.5 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.8 - ], - [ - 15, - 9 - ], - [ - 16, - 12 - ], - [ - 17, - 20.8 - ] + [4, 0.7], + [6, 2.5], + [9, 2.7], + [14, 5.8], + [15, 9], + [16, 12], + [17, 20.8] ] } } @@ -5983,36 +3854,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE", - "AUTOROU_LIBRE" - ], + "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 - ] + [9, 0.6], + [14, 0.7], + [15, 1], + [16, 1.2], + [17, 2.1] ] } } @@ -6028,64 +3879,27 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR" - ], + "filter": ["==", "symbo", "AUTOROU_CONSTR"], "paint": { "line-color": { "stops": [ - [ - 9, - "#FF0033" - ], - [ - 17, - "#FF476C" - ], - [ - 18, - "#EDEDED" - ] + [9, "#FF0033"], + [17, "#FF476C"], + [18, "#EDEDED"] ] }, "line-width": { "stops": [ - [ - 4, - 0.7 - ], - [ - 6, - 2.5 - ], - [ - 9, - 3.5 - ], - [ - 14, - 7.5 - ], - [ - 15, - 11 - ], - [ - 16, - 15 - ], - [ - 17, - 26 - ] + [4, 0.7], + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -6100,35 +3914,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR" - ], + "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 - ] + [9, 0.6], + [14, 0.7], + [15, 1], + [16, 1.2], + [17, 2.1] ] } } @@ -6160,14 +3955,8 @@ "line-color": "#505050", "line-width": { "stops": [ - [ - 10, - 0.8 - ], - [ - 17, - 2.5 - ] + [10, 0.8], + [17, 2.5] ] } } @@ -6199,20 +3988,11 @@ "line-color": "#505050", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 14.7 - ] + [10, 3.5], + [17, 14.7] ] }, - "line-dasharray": [ - 0.1, - 10 - ] + "line-dasharray": [0.1, 10] } }, { @@ -6226,25 +4006,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "VF_ETROITE_1", - "VF_ETROITE_2", - "VF_ETROITE" - ], + "filter": ["in", "symbo", "VF_ETROITE_1", "VF_ETROITE_2", "VF_ETROITE"], "paint": { "line-color": "#505050", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] } } @@ -6260,31 +4028,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "VF_ETROITE_1", - "VF_ETROITE_2", - "VF_ETROITE" - ], + "filter": ["in", "symbo", "VF_ETROITE_1", "VF_ETROITE_2", "VF_ETROITE"], "paint": { "line-color": "#505050", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 14.7 - ] + [10, 3.5], + [17, 14.7] ] }, - "line-dasharray": [ - 0.1, - 10 - ] + "line-dasharray": [0.1, 10] } }, { @@ -6298,32 +4051,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "VF_SERVICE", - "VF_NON_EXPLOITEE" - ], + "filter": ["in", "symbo", "VF_SERVICE", "VF_NON_EXPLOITEE"], "paint": { "line-color": "#505050", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] }, - "line-dasharray": [ - 5, - 2, - 1, - 2 - ] + "line-dasharray": [5, 2, 1, 2] } }, { @@ -6338,29 +4075,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "VF_EN_CONSTR" - ], + "filter": ["==", "symbo", "VF_EN_CONSTR"], "paint": { "line-color": "#505050", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -6375,29 +4099,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "VF_EN_CONSTR" - ], + "filter": ["==", "symbo", "VF_EN_CONSTR"], "paint": { "line-color": "#505050", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 14.7 - ] + [10, 3.5], + [17, 14.7] ] }, - "line-dasharray": [ - 0.1, - 10 - ] + "line-dasharray": [0.1, 10] } }, { @@ -6410,24 +4121,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "FUNI_CREMAILLERE", - "TRANSPORT_URBAIN" - ], + "filter": ["in", "symbo", "FUNI_CREMAILLERE", "TRANSPORT_URBAIN"], "paint": { "line-color": "#505050", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] } } @@ -6442,32 +4142,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "FUNI_CREMAILLERE", - "TRANSPORT_URBAIN" - ], + "filter": ["in", "symbo", "FUNI_CREMAILLERE", "TRANSPORT_URBAIN"], "paint": { "line-color": "#505050", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 17 - ] + [10, 3.5], + [17, 17] ] }, - "line-dasharray": [ - 0.1, - 0.2, - 0.1, - 10 - ] + "line-dasharray": [0.1, 0.2, 0.1, 10] } }, { @@ -6482,25 +4166,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "BAC_AUTO", - "LIAISON_MARITIME", - "BAC_LIAISON_MARITIME" - ], + "filter": ["in", "symbo", "BAC_AUTO", "LIAISON_MARITIME", "BAC_LIAISON_MARITIME"], "paint": { "line-color": "#5792C2", "line-width": { "stops": [ - [ - 8, - 1 - ], - [ - 13, - 2.5 - ] + [8, 1], + [13, 2.5] ] } } @@ -6515,46 +4187,21 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "GUE_ROUTE" - ], + "filter": ["==", "symbo", "GUE_ROUTE"], "paint": { "line-color": { "stops": [ - [ - 13, - "#BEBEBE" - ], - [ - 17, - "#646464" - ], - [ - 18, - "#FFFFFF" - ] + [13, "#BEBEBE"], + [17, "#646464"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -6570,42 +4217,20 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "GUE_CHEMIN" - ], + "filter": ["==", "symbo", "GUE_CHEMIN"], "paint": { "line-color": { "stops": [ - [ - 13, - "#BEBEBE" - ], - [ - 17, - "#646464" - ] + [13, "#BEBEBE"], + [17, "#646464"] ] }, "line-width": { "stops": [ - [ - 14, - 1.6 - ], - [ - 15, - 2.9 - ], - [ - 16, - 4.4 - ], - [ - 17, - 6.5 - ] + [14, 1.6], + [15, 2.9], + [16, 4.4], + [17, 6.5] ] } } @@ -6620,44 +4245,20 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "PONT_PASSERELLE", - "PONT_LIN", - "PONT_MOBILE_LIN" - ], + "filter": ["in", "symbo", "PONT_PASSERELLE", "PONT_LIN", "PONT_MOBILE_LIN"], "paint": { "line-color": { "stops": [ - [ - 17, - "#C8C8C8" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#C8C8C8"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 2.2 - ], - [ - 15, - 3.8 - ], - [ - 16, - 5.4 - ], - [ - 17, - 11.8 - ] + [14, 2.2], + [15, 3.8], + [16, 5.4], + [17, 11.8] ] } } @@ -6673,33 +4274,15 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "PONT_PASSERELLE", - "PONT_LIN", - "PONT_MOBILE_LIN" - ], + "filter": ["in", "symbo", "PONT_PASSERELLE", "PONT_LIN", "PONT_MOBILE_LIN"], "paint": { "line-color": "#FFFFFF", "line-width": { "stops": [ - [ - 14, - 0.7 - ], - [ - 15, - 1.1 - ], - [ - 16, - 1.7 - ], - [ - 17, - 3.8 - ] + [14, 0.7], + [15, 1.1], + [16, 1.7], + [17, 3.8] ] } } @@ -6734,11 +4317,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "DALLE_DE_PROTECTION" - ], + "filter": ["==", "symbo", "DALLE_DE_PROTECTION"], "paint": { "fill-opacity": 0.5, "fill-color": "#FFFFFF", @@ -6754,11 +4333,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "ESCALIER_SURF" - ], + "filter": ["==", "symbo", "ESCALIER_SURF"], "paint": { "fill-opacity": 0.8, "fill-color": "#FFFFFF", @@ -6774,11 +4349,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "SURF_PEAGE" - ], + "filter": ["==", "symbo", "SURF_PEAGE"], "paint": { "fill-color": "#F2DAAA", "fill-outline-color": "#000000" @@ -6793,11 +4364,7 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "BATI_PEAGE" - ], + "filter": ["==", "symbo", "BATI_PEAGE"], "paint": { "fill-color": "#DCDCDC", "fill-outline-color": "#808080" @@ -6813,24 +4380,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "COURS_D_EAU_SUP", - "COURS_D_EAU_MOY_SUP" - ], + "filter": ["in", "symbo", "COURS_D_EAU_SUP", "COURS_D_EAU_MOY_SUP"], "paint": { "line-color": "#B3D9FF", "line-width": { "stops": [ - [ - 12, - 1.5 - ], - [ - 17, - 6.5 - ] + [12, 1.5], + [17, 6.5] ] } } @@ -6845,23 +4401,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "CANAL_SUP" - ], + "filter": ["==", "symbo", "CANAL_SUP"], "paint": { "line-color": "#B3D9FF", "line-width": { "stops": [ - [ - 12, - 1.4 - ], - [ - 17, - 5.9 - ] + [12, 1.4], + [17, 5.9] ] } } @@ -6876,27 +4422,14 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AQUEDUC_SUP" - ], + "filter": ["==", "symbo", "AQUEDUC_SUP"], "paint": { "line-color": "#B3D9FF", "line-width": { "stops": [ - [ - 12, - 1.4 - ], - [ - 16, - 3.5 - ], - [ - 17, - 5.9 - ] + [12, 1.4], + [16, 3.5], + [17, 5.9] ] } } @@ -6911,33 +4444,17 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AQUEDUC_SUP" - ], + "filter": ["==", "symbo", "AQUEDUC_SUP"], "paint": { "line-color": "#B3D9FF", "line-width": { "stops": [ - [ - 12, - 3.5 - ], - [ - 16, - 8.7 - ], - [ - 17, - 14.7 - ] + [12, 3.5], + [16, 8.7], + [17, 14.7] ] }, - "line-dasharray": [ - 1, - 5 - ] + "line-dasharray": [1, 5] } }, { @@ -6951,53 +4468,24 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "PISTE_CYCLABLE_SUP", - "VOIE_VERTE_SUP" - ], + "filter": ["in", "symbo", "PISTE_CYCLABLE_SUP", "VOIE_VERTE_SUP"], "paint": { "line-color": { "stops": [ - [ - 17, - "#9B5CCC" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#9B5CCC"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 1.1 - ], - [ - 15, - 1.7 - ], - [ - 16, - 2 - ], - [ - 17, - 3.5 - ], - [ - 18, - 6 - ] + [14, 1.1], + [15, 1.7], + [16, 2], + [17, 3.5], + [18, 6] ] }, - "line-dasharray": [ - 6, - 2 - ] + "line-dasharray": [6, 2] } }, { @@ -7011,42 +4499,20 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "ESCALIER_SUP" - ], + "filter": ["==", "symbo", "ESCALIER_SUP"], "paint": { "line-color": { "stops": [ - [ - 17, - "#555555" - ], - [ - 18, - "#C8C8C8" - ] + [17, "#555555"], + [18, "#C8C8C8"] ] }, "line-width": { "stops": [ - [ - 14, - 1.75 - ], - [ - 15, - 3 - ], - [ - 16, - 4.2 - ], - [ - 17, - 9.5 - ] + [14, 1.75], + [15, 3], + [16, 4.2], + [17, 9.5] ] } } @@ -7062,37 +4528,18 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "ESCALIER_SUP" - ], + "filter": ["==", "symbo", "ESCALIER_SUP"], "paint": { "line-color": "#FFFFFF", "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.9 - ], - [ - 16, - 2.7 - ], - [ - 17, - 5.8 - ] + [14, 1], + [15, 1.9], + [16, 2.7], + [17, 5.8] ] }, - "line-dasharray": [ - 1, - 0.2 - ] + "line-dasharray": [1, 0.2] } }, { @@ -7106,52 +4553,24 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "RUE_PIETONNE_SUP" - ], + "filter": ["==", "symbo", "RUE_PIETONNE_SUP"], "paint": { "line-color": { "stops": [ - [ - 17, - "#555555" - ], - [ - 18, - "#EBEBEB" - ] + [17, "#555555"], + [18, "#EBEBEB"] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ], - [ - 18, - 5 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2], + [18, 5] ] }, - "line-dasharray": [ - 1, - 3 - ] + "line-dasharray": [1, 3] } }, { @@ -7165,52 +4584,24 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "SENTIER_SUP" - ], + "filter": ["==", "symbo", "SENTIER_SUP"], "paint": { "line-color": { "stops": [ - [ - 17, - "#555555" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#555555"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ], - [ - 18, - 6 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2], + [18, 6] ] }, - "line-dasharray": [ - 4, - 3 - ] + "line-dasharray": [4, 3] } }, { @@ -7224,46 +4615,21 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "CHEMIN_SUP" - ], + "filter": ["==", "symbo", "CHEMIN_SUP"], "paint": { "line-color": { "stops": [ - [ - 17, - "#555555" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#555555"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ], - [ - 18, - 7 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2], + [18, 7] ] } } @@ -7279,48 +4645,23 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_REVETUE_CARRO_SUP" - ], + "filter": ["==", "symbo", "NON_REVETUE_CARRO_SUP"], "paint": { "line-color": { "stops": [ - [ - 12, - "#646464" - ], - [ - 17, - "#8C8C8C" - ] + [12, "#646464"], + [17, "#8C8C8C"] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -7347,42 +4688,18 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#000000" - ], - [ - 17, - "#000000" - ], - [ - 18, - "#FFFFFF" - ] + [9, "#000000"], + [17, "#000000"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 12, - 2.5 - ], - [ - 14, - 3.7 - ], - [ - 15, - 6.8 - ], - [ - 16, - 8.4 - ], - [ - 17, - 14 - ] + [12, 2.5], + [14, 3.7], + [15, 6.8], + [16, 8.4], + [17, 14] ] } } @@ -7397,42 +4714,20 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_CLASSEE_RESTREINT_SUP" - ], + "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT_SUP"], "paint": { "line-color": { "stops": [ - [ - 17, - "#969696" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#969696"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] } } @@ -7447,43 +4742,20 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "NON_CLASSEE_4_SUP", - "NON_CLASSEE_SUP" - ], + "filter": ["in", "symbo", "NON_CLASSEE_4_SUP", "NON_CLASSEE_SUP"], "paint": { "line-color": { "stops": [ - [ - 17, - "#969696" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#969696"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 14, - 3.2 - ], - [ - 15, - 5.4 - ], - [ - 16, - 7.7 - ], - [ - 17, - 16.8 - ] + [14, 3.2], + [15, 5.4], + [16, 7.7], + [17, 16.8] ] } } @@ -7510,46 +4782,19 @@ "paint": { "line-color": { "stops": [ - [ - 12, - "#8C8C8C" - ], - [ - 13, - "#B4B4B4" - ], - [ - 17, - "#B4B4B4" - ], - [ - 18, - "#FFFFFF" - ] + [12, "#8C8C8C"], + [13, "#B4B4B4"], + [17, "#B4B4B4"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] } } @@ -7566,35 +4811,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LOCALE_CONSTR_SUP" - ], + "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 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] } } @@ -7622,50 +4848,20 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#828282" - ], - [ - 10, - "#B4B4B4" - ], - [ - 17, - "#B4B4B4" - ], - [ - 18, - "#FFFFFF" - ] + [9, "#828282"], + [10, "#B4B4B4"], + [17, "#B4B4B4"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 6, - 1.5 - ], - [ - 9, - 2.3 - ], - [ - 14, - 5 - ], - [ - 15, - 8.1 - ], - [ - 16, - 11.2 - ], - [ - 17, - 22 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] } } @@ -7682,39 +4878,17 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REGIONALE_CONSTR_SUP" - ], + "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 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] } } @@ -7742,42 +4916,18 @@ "paint": { "line-color": { "stops": [ - [ - 17, - "#000000" - ], - [ - 18, - "#FFFFFF" - ] + [17, "#000000"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 6, - 1.8 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.9 - ], - [ - 15, - 9 - ], - [ - 16, - 12.2 - ], - [ - 17, - 22.5 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] } } @@ -7794,39 +4944,17 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PRINCIPALE_CONSTR_SUP" - ], + "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 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] } } @@ -7842,55 +4970,23 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE_SUP", - "AUTOROU_LIBRE_SUP" - ], + "filter": ["in", "symbo", "AUTOROU_PEAGE_SUP", "AUTOROU_LIBRE_SUP"], "paint": { "line-color": { "stops": [ - [ - 9, - "#000000" - ], - [ - 17, - "#000000" - ], - [ - 18, - "#FFFFFF" - ] + [9, "#000000"], + [17, "#000000"], + [18, "#FFFFFF"] ] }, "line-width": { "stops": [ - [ - 6, - 2.5 - ], - [ - 9, - 3.5 - ], - [ - 14, - 7.5 - ], - [ - 15, - 11 - ], - [ - 16, - 15 - ], - [ - 17, - 26 - ] + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] } } @@ -7907,39 +5003,17 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR_SUP" - ], + "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 - ] + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] } } @@ -7954,35 +5028,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_REVETUE_CARRO_SUP" - ], + "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 - ], - [ - 18, - 16.8 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5], + [18, 16.8] ] } } @@ -8012,38 +5067,17 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#FF0033" - ], - [ - 17, - "#FF476C" - ] + [9, "#FF0033"], + [17, "#FF476C"] ] }, "line-width": { "stops": [ - [ - 12, - 1.5 - ], - [ - 14, - 2.6 - ], - [ - 15, - 5.2 - ], - [ - 16, - 6.7 - ], - [ - 17, - 10.8 - ] + [12, 1.5], + [14, 2.6], + [15, 5.2], + [16, 6.7], + [17, 10.8] ] } } @@ -8059,31 +5093,15 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "NON_CLASSEE_RESTREINT_SUP" - ], + "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT_SUP"], "paint": { "line-color": "#FFFFFF", "line-width": { "stops": [ - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.3 - ], - [ - 17, - 13.5 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -8099,32 +5117,15 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "NON_CLASSEE_4_SUP", - "NON_CLASSEE_SUP" - ], + "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 - ] + [14, 2.3], + [15, 4.1], + [16, 6.3], + [17, 13.5] ] } } @@ -8152,42 +5153,18 @@ "paint": { "line-color": { "stops": [ - [ - 12, - "#FFFFFF" - ], - [ - 13, - "#FFA35D" - ], - [ - 17, - "#FFAD6F" - ] + [12, "#FFFFFF"], + [13, "#FFA35D"], + [17, "#FFAD6F"] ] }, "line-width": { "stops": [ - [ - 9, - 1.3 - ], - [ - 14, - 2.3 - ], - [ - 15, - 4.1 - ], - [ - 16, - 6.1 - ], - [ - 17, - 13.1 - ] + [9, 1.3], + [14, 2.3], + [15, 4.1], + [16, 6.1], + [17, 13.1] ] } } @@ -8204,56 +5181,25 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LOCALE_CONSTR_SUP" - ], + "filter": ["==", "symbo", "LOCALE_CONSTR_SUP"], "paint": { "line-color": { "stops": [ - [ - 12, - "#FFFFFF" - ], - [ - 13, - "#FFA35D" - ], - [ - 17, - "#FFAD6F" - ] + [12, "#FFFFFF"], + [13, "#FFA35D"], + [17, "#FFAD6F"] ] }, "line-width": { "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3.5 - ], - [ - 15, - 6 - ], - [ - 16, - 8.4 - ], - [ - 17, - 18.3 - ] + [9, 2], + [14, 3.5], + [15, 6], + [16, 8.4], + [17, 18.3] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -8279,46 +5225,19 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#FFFFFF" - ], - [ - 10, - "#FF994C" - ], - [ - 17, - "#FFAD6F" - ] + [9, "#FFFFFF"], + [10, "#FF994C"], + [17, "#FFAD6F"] ] }, "line-width": { "stops": [ - [ - 6, - 1.4 - ], - [ - 9, - 1.5 - ], - [ - 14, - 3.2 - ], - [ - 15, - 5.8 - ], - [ - 16, - 8.3 - ], - [ - 17, - 16.2 - ] + [6, 1.4], + [9, 1.5], + [14, 3.2], + [15, 5.8], + [16, 8.3], + [17, 16.2] ] } } @@ -8335,60 +5254,26 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REGIONALE_CONSTR_SUP" - ], + "filter": ["==", "symbo", "REGIONALE_CONSTR_SUP"], "paint": { "line-color": { "stops": [ - [ - 9, - "#FFFFFF" - ], - [ - 10, - "#FF994C" - ], - [ - 17, - "#FFAD6F" - ] + [9, "#FFFFFF"], + [10, "#FF994C"], + [17, "#FFAD6F"] ] }, "line-width": { "stops": [ - [ - 6, - 1.5 - ], - [ - 9, - 2.3 - ], - [ - 14, - 5 - ], - [ - 15, - 8.1 - ], - [ - 16, - 11.2 - ], - [ - 17, - 22 - ] + [6, 1.5], + [9, 2.3], + [14, 5], + [15, 8.1], + [16, 11.2], + [17, 22] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -8414,46 +5299,19 @@ "paint": { "line-color": { "stops": [ - [ - 9, - "#FF0033" - ], - [ - 17, - "#FF476C" - ] + [9, "#FF0033"], + [17, "#FF476C"] ] }, "line-width": { "stops": [ - [ - 4, - 0.5 - ], - [ - 6, - 1.8 - ], - [ - 9, - 2.1 - ], - [ - 14, - 4.4 - ], - [ - 15, - 7.3 - ], - [ - 16, - 10 - ], - [ - 17, - 18.5 - ] + [4, 0.5], + [6, 1.8], + [9, 2.1], + [14, 4.4], + [15, 7.3], + [16, 10], + [17, 18.5] ] } } @@ -8470,56 +5328,25 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PRINCIPALE_CONSTR_SUP" - ], + "filter": ["==", "symbo", "PRINCIPALE_CONSTR_SUP"], "paint": { "line-color": { "stops": [ - [ - 9, - "#FF0033" - ], - [ - 17, - "#FF476C" - ] + [9, "#FF0033"], + [17, "#FF476C"] ] }, "line-width": { "stops": [ - [ - 6, - 1.8 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.9 - ], - [ - 15, - 9 - ], - [ - 16, - 12.2 - ], - [ - 17, - 22.5 - ] + [6, 1.8], + [9, 2.7], + [14, 5.9], + [15, 9], + [16, 12.2], + [17, 22.5] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -8533,55 +5360,23 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE_SUP", - "AUTOROU_LIBRE_SUP" - ], + "filter": ["in", "symbo", "AUTOROU_PEAGE_SUP", "AUTOROU_LIBRE_SUP"], "paint": { "line-color": { "stops": [ - [ - 9, - "#FF0033" - ], - [ - 17, - "#FF476C" - ] + [9, "#FF0033"], + [17, "#FF476C"] ] }, "line-width": { "stops": [ - [ - 4, - 0.7 - ], - [ - 6, - 2.5 - ], - [ - 9, - 2.7 - ], - [ - 14, - 5.8 - ], - [ - 15, - 9 - ], - [ - 16, - 12 - ], - [ - 17, - 20.8 - ] + [4, 0.7], + [6, 2.5], + [9, 2.7], + [14, 5.8], + [15, 9], + [16, 12], + [17, 20.8] ] } } @@ -8598,36 +5393,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "AUTOROU_PEAGE_SUP", - "AUTOROU_LIBRE_SUP" - ], + "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 - ] + [9, 0.6], + [14, 0.7], + [15, 1], + [16, 1.2], + [17, 2.1] ] } } @@ -8644,60 +5419,26 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR_SUP" - ], + "filter": ["==", "symbo", "AUTOROU_CONSTR_SUP"], "paint": { "line-color": { "stops": [ - [ - 9, - "#FF0033" - ], - [ - 17, - "#FF476C" - ] + [9, "#FF0033"], + [17, "#FF476C"] ] }, "line-width": { "stops": [ - [ - 4, - 0.7 - ], - [ - 6, - 2.5 - ], - [ - 9, - 3.5 - ], - [ - 14, - 7.5 - ], - [ - 15, - 11 - ], - [ - 16, - 15 - ], - [ - 17, - 26 - ] + [4, 0.7], + [6, 2.5], + [9, 3.5], + [14, 7.5], + [15, 11], + [16, 15], + [17, 26] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -8712,35 +5453,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "AUTOROU_CONSTR_SUP" - ], + "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 - ] + [9, 0.6], + [14, 0.7], + [15, 1], + [16, 1.2], + [17, 2.1] ] } } @@ -8772,14 +5494,8 @@ "line-color": "#505050", "line-width": { "stops": [ - [ - 10, - 0.8 - ], - [ - 17, - 2.5 - ] + [10, 0.8], + [17, 2.5] ] } } @@ -8811,20 +5527,11 @@ "line-color": "#505050", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 14.7 - ] + [10, 3.5], + [17, 14.7] ] }, - "line-dasharray": [ - 0.1, - 10 - ] + "line-dasharray": [0.1, 10] } }, { @@ -8838,25 +5545,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "VF_ETROITE_1_SUP", - "VF_ETROITE_2_SUP", - "VF_ETROITE_SUP" - ], + "filter": ["in", "symbo", "VF_ETROITE_1_SUP", "VF_ETROITE_2_SUP", "VF_ETROITE_SUP"], "paint": { "line-color": "#505050", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] } } @@ -8872,31 +5567,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "VF_ETROITE_1_SUP", - "VF_ETROITE_2_SUP", - "VF_ETROITE_SUP" - ], + "filter": ["in", "symbo", "VF_ETROITE_1_SUP", "VF_ETROITE_2_SUP", "VF_ETROITE_SUP"], "paint": { "line-color": "#505050", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 14.7 - ] + [10, 3.5], + [17, 14.7] ] }, - "line-dasharray": [ - 0.1, - 10 - ] + "line-dasharray": [0.1, 10] } }, { @@ -8910,32 +5590,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "VF_SERVICE_SUP", - "VF_NON_EXPLOITEE_SUP" - ], + "filter": ["in", "symbo", "VF_SERVICE_SUP", "VF_NON_EXPLOITEE_SUP"], "paint": { "line-color": "#505050", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] }, - "line-dasharray": [ - 5, - 2, - 1, - 2 - ] + "line-dasharray": [5, 2, 1, 2] } }, { @@ -8950,29 +5614,16 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "VF_EN_CONSTR_SUP" - ], + "filter": ["==", "symbo", "VF_EN_CONSTR_SUP"], "paint": { "line-color": "#505050", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -8987,29 +5638,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "VF_EN_CONSTR_SUP" - ], + "filter": ["==", "symbo", "VF_EN_CONSTR_SUP"], "paint": { "line-color": "#505050", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 14.7 - ] + [10, 3.5], + [17, 14.7] ] }, - "line-dasharray": [ - 0.1, - 10 - ] + "line-dasharray": [0.1, 10] } }, { @@ -9022,24 +5660,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "FUNI_CREMAILLERE_SUP", - "TRANSPORT_URBAIN_SUP" - ], + "filter": ["in", "symbo", "FUNI_CREMAILLERE_SUP", "TRANSPORT_URBAIN_SUP"], "paint": { "line-color": "#505050", "line-width": { "stops": [ - [ - 10, - 0.3 - ], - [ - 17, - 1.8 - ] + [10, 0.3], + [17, 1.8] ] } } @@ -9054,32 +5681,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "FUNI_CREMAILLERE_SUP", - "TRANSPORT_URBAIN_SUP" - ], + "filter": ["in", "symbo", "FUNI_CREMAILLERE_SUP", "TRANSPORT_URBAIN_SUP"], "paint": { "line-color": "#505050", "line-width": { "stops": [ - [ - 10, - 3.5 - ], - [ - 17, - 17 - ] + [10, 3.5], + [17, 17] ] }, - "line-dasharray": [ - 0.1, - 0.2, - 0.1, - 10 - ] + "line-dasharray": [0.1, 0.2, 0.1, 10] } }, { @@ -9092,29 +5703,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "CLOTURE" - ], + "filter": ["==", "symbo", "CLOTURE"], "paint": { "line-color": "#000000", "line-width": { "stops": [ - [ - 13, - 0.6 - ], - [ - 17, - 1 - ] + [13, 0.6], + [17, 1] ] }, - "line-dasharray": [ - 1.5, - 4 - ] + "line-dasharray": [1.5, 4] } }, { @@ -9129,37 +5727,18 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LAYON" - ], + "filter": ["==", "symbo", "LAYON"], "paint": { "line-color": "#717171", "line-width": { "stops": [ - [ - 14, - 1 - ], - [ - 15, - 1.2 - ], - [ - 16, - 1.4 - ], - [ - 17, - 2 - ] + [14, 1], + [15, 1.2], + [16, 1.4], + [17, 2] ] }, - "line-dasharray": [ - 4, - 7 - ] + "line-dasharray": [4, 7] } }, { @@ -9184,22 +5763,11 @@ "line-color": "rgba(226, 130, 92, 0.8)", "line-width": { "stops": [ - [ - 13, - 1.7 - ], - [ - 17, - 3.1 - ] + [13, 1.7], + [17, 3.1] ] }, - "line-dasharray": [ - 4, - 1, - 2, - 5 - ] + "line-dasharray": [4, 1, 2, 5] } }, { @@ -9224,20 +5792,11 @@ "line-color": "#FFC2CB", "line-width": { "stops": [ - [ - 13, - 2 - ], - [ - 17, - 4 - ] + [13, 2], + [17, 4] ] }, - "line-dasharray": [ - 2, - 1 - ] + "line-dasharray": [2, 1] } }, { @@ -9251,30 +5810,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_PARC_NATUREL", - "LIM_PARC_NATUREL_ILE" - ], + "filter": ["in", "symbo", "LIM_PARC_NATUREL", "LIM_PARC_NATUREL_ILE"], "paint": { "line-color": "#42A266", "line-width": { "stops": [ - [ - 13, - 2 - ], - [ - 17, - 4 - ] + [13, 2], + [17, 4] ] }, - "line-dasharray": [ - 2, - 1 - ] + "line-dasharray": [2, 1] } }, { @@ -9289,30 +5834,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_PARC_NATUREL", - "LIM_PARC_NATUREL_ILE" - ], + "filter": ["in", "symbo", "LIM_PARC_NATUREL", "LIM_PARC_NATUREL_ILE"], "paint": { "line-color": "#42A266", "line-width": { "stops": [ - [ - 13, - 2 - ], - [ - 17, - 4 - ] + [13, 2], + [17, 4] ] }, - "line-dasharray": [ - 2, - 2 - ] + "line-dasharray": [2, 2] } }, { @@ -9327,30 +5858,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_PARC_NATUREL", - "LIM_PARC_NATUREL_ILE" - ], + "filter": ["in", "symbo", "LIM_PARC_NATUREL", "LIM_PARC_NATUREL_ILE"], "paint": { "line-color": "#42A266", "line-width": { "stops": [ - [ - 13, - 2 - ], - [ - 17, - 4 - ] + [13, 2], + [17, 4] ] }, - "line-dasharray": [ - 2, - 3 - ] + "line-dasharray": [2, 3] } }, { @@ -9365,30 +5882,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_PARC_NATUREL", - "LIM_PARC_NATUREL_ILE" - ], + "filter": ["in", "symbo", "LIM_PARC_NATUREL", "LIM_PARC_NATUREL_ILE"], "paint": { "line-color": "#42A266", "line-width": { "stops": [ - [ - 13, - 2 - ], - [ - 17, - 4 - ] + [13, 2], + [17, 4] ] }, - "line-dasharray": [ - 2, - 4 - ] + "line-dasharray": [2, 4] } }, { @@ -9403,30 +5906,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_PARC_NATUREL", - "LIM_PARC_NATUREL_ILE" - ], + "filter": ["in", "symbo", "LIM_PARC_NATUREL", "LIM_PARC_NATUREL_ILE"], "paint": { "line-color": "rgba(66, 162, 102, 0.7)", "line-width": { "stops": [ - [ - 13, - 2 - ], - [ - 17, - 4 - ] + [13, 2], + [17, 4] ] }, - "line-dasharray": [ - 2, - 5 - ] + "line-dasharray": [2, 5] } }, { @@ -9440,29 +5929,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LIM_PARC_NATUREL_MARIN" - ], + "filter": ["==", "symbo", "LIM_PARC_NATUREL_MARIN"], "paint": { "line-color": "#2A81A2", "line-width": { "stops": [ - [ - 13, - 2 - ], - [ - 17, - 4 - ] + [13, 2], + [17, 4] ] }, - "line-dasharray": [ - 2, - 1 - ] + "line-dasharray": [2, 1] } }, { @@ -9475,11 +5951,7 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "PARCELLE" - ], + "filter": ["==", "symbo", "PARCELLE"], "paint": { "line-color": "#9933FF", "line-width": 1 @@ -9495,19 +5967,11 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "SECTION" - ], + "filter": ["==", "symbo", "SECTION"], "paint": { "line-color": "#287B00", "line-width": 1.9, - "line-dasharray": [ - 2, - 4, - 2 - ] + "line-dasharray": [2, 4, 2] } }, { @@ -9515,25 +5979,16 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_parcellaire_section", - "filter": [ - "==", - "txt_typo", - "SECTION" - ], + "filter": ["==", "txt_typo", "SECTION"], "layout": { "symbol-placement": "line", - "text-offset": [ - 0, - 0 - ], + "text-offset": [0, 0], "text-field": "{texte}", "text-size": 15, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#287B00" @@ -9544,11 +5999,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_parcellaire_parcelle", - "filter": [ - "==", - "txt_typo", - "PARCELLE" - ], + "filter": ["==", "txt_typo", "PARCELLE"], "layout": { "symbol-placement": "point", "text-field": "{texte}", @@ -9556,9 +6007,7 @@ "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#9933FF", @@ -9571,31 +6020,15 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_parcellaire_adresse_ponc", - "filter": [ - "==", - "txt_typo", - "ADRESSE" - ], + "filter": ["==", "txt_typo", "ADRESSE"], "layout": { "symbol-placement": "point", - "text-field": [ - "concat", - [ - "get", - "numero" - ], - [ - "get", - "indice_de_repetition" - ] - ], + "text-field": ["concat", ["get", "numero"], ["get", "indice_de_repetition"]], "text-size": 11, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#695744", @@ -9615,37 +6048,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_COMMUNE", - "LIM_CANTON", - "LIM_ARRONDISSEMENT" - ], + "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 - ] + [13, 3], + [17, 5.5] ] }, - "line-dasharray": [ - 4, - 2, - 1, - 1, - 1, - 1, - 1, - 2 - ] + "line-dasharray": [4, 2, 1, 1, 1, 1, 1, 2] } }, { @@ -9660,23 +6072,13 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LIM_DEPARTEMENT" - ], + "filter": ["==", "symbo", "LIM_DEPARTEMENT"], "paint": { "line-color": "rgba(178, 175, 219, 0.4)", "line-width": { "stops": [ - [ - 9, - 4.1 - ], - [ - 12, - 6 - ] + [9, 4.1], + [12, 6] ] } } @@ -9693,33 +6095,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LIM_DEPARTEMENT" - ], + "filter": ["==", "symbo", "LIM_DEPARTEMENT"], "paint": { "line-color": "rgba(126, 119, 184, 0.5)", "line-width": { "stops": [ - [ - 13, - 3 - ], - [ - 17, - 5.5 - ] + [13, 3], + [17, 5.5] ] }, - "line-dasharray": [ - 4, - 2, - 1, - 1, - 1, - 2 - ] + "line-dasharray": [4, 2, 1, 1, 1, 2] } }, { @@ -9734,23 +6119,13 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LIM_REGION" - ], + "filter": ["==", "symbo", "LIM_REGION"], "paint": { "line-color": "rgba(178, 175, 219, 0.5)", "line-width": { "stops": [ - [ - 9, - 4.5 - ], - [ - 12, - 6.7 - ] + [9, 4.5], + [12, 6.7] ] } } @@ -9767,31 +6142,16 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LIM_REGION" - ], + "filter": ["==", "symbo", "LIM_REGION"], "paint": { "line-color": "rgba(126, 119, 184, 0.5)", "line-width": { "stops": [ - [ - 13, - 3 - ], - [ - 17, - 5.5 - ] + [13, 3], + [17, 5.5] ] }, - "line-dasharray": [ - 4, - 2, - 1, - 2 - ] + "line-dasharray": [4, 2, 1, 2] } }, { @@ -9805,44 +6165,18 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_ETAT", - "LIM_ETAT_ETRANGER" - ], + "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 - ] + [2, 2], + [3, 3.5], + [9, 5], + [14, 13], + [15, 20], + [16, 24], + [17, 42] ] } } @@ -9858,42 +6192,19 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_ETAT", - "LIM_ETAT_ETRANGER" - ], + "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 - ] + [9, 1.5], + [14, 3.5], + [15, 5.5], + [16, 6.5], + [17, 11] ] }, - "line-dasharray": [ - 4, - 2 - ] + "line-dasharray": [4, 2] } }, { @@ -9908,11 +6219,7 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "LIM_COTE" - ], + "filter": ["in", "symbo", "LIM_COTE"], "paint": { "line-color": "#82A3B2", "line-width": 1 @@ -9928,23 +6235,13 @@ "line-cap": "round", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "LIGNE_ELECTRIQUE" - ], + "filter": ["==", "symbo", "LIGNE_ELECTRIQUE"], "paint": { "line-color": "#808080", "line-width": { "stops": [ - [ - 13, - 1 - ], - [ - 17, - 2 - ] + [13, 1], + [17, 2] ] } } @@ -9986,18 +6283,11 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "CABLE" - ], + "filter": ["==", "symbo", "CABLE"], "paint": { "line-color": "#808080", "line-width": 5, - "line-dasharray": [ - 0.5, - 10 - ] + "line-dasharray": [0.5, 10] } }, { @@ -10010,18 +6300,11 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REMONTEE_MEC" - ], + "filter": ["==", "symbo", "REMONTEE_MEC"], "paint": { "line-color": "#808080", "line-width": 6, - "line-dasharray": [ - 1, - 10 - ] + "line-dasharray": [1, 10] } }, { @@ -10034,20 +6317,11 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "==", - "symbo", - "REMONTEE_MEC" - ], + "filter": ["==", "symbo", "REMONTEE_MEC"], "paint": { "line-color": "#BEBEBE", "line-width": 6, - "line-dasharray": [ - 0.3, - 0.4, - 0.3, - 10 - ] + "line-dasharray": [0.3, 0.4, 0.3, 10] } }, { @@ -10060,19 +6334,11 @@ "line-cap": "butt", "line-join": "round" }, - "filter": [ - "in", - "symbo", - "HYDROCARBURES", - "CONDUITE_MATIERES_P" - ], + "filter": ["in", "symbo", "HYDROCARBURES", "CONDUITE_MATIERES_P"], "paint": { "line-color": "#808080", "line-width": 5, - "line-dasharray": [ - 1, - 10 - ] + "line-dasharray": [1, 10] } }, { @@ -10084,22 +6350,12 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "PEAGE_PONC" - ], + "filter": ["==", "symbo", "PEAGE_PONC"], "paint": { "circle-radius": { "stops": [ - [ - 9, - 3.5 - ], - [ - 12, - 6.5 - ] + [9, 3.5], + [12, 6.5] ] }, "circle-color": "#FF6D8A", @@ -10118,31 +6374,15 @@ "icon-image": "Barriere", "icon-size": { "stops": [ - [ - 13, - 0.25 - ], - [ - 16, - 0.45 - ], - [ - 17, - 0.7 - ] + [13, 0.25], + [16, 0.45], + [17, 0.7] ] }, "icon-allow-overlap": true, - "icon-rotate": [ - "get", - "rotation" - ] + "icon-rotate": ["get", "rotation"] }, - "filter": [ - "==", - "symbo", - "BARRIERE" - ], + "filter": ["==", "symbo", "BARRIERE"], "paint": { "icon-color": "#969696" } @@ -10171,28 +6411,16 @@ "paint": { "circle-radius": { "stops": [ - [ - 14, - 3 - ], - [ - 17, - 7 - ] + [14, 3], + [17, 7] ] }, "circle-color": "#FFFFFF", "circle-opacity": 1, "circle-stroke-width": { "stops": [ - [ - 14, - 2 - ], - [ - 17, - 5 - ] + [14, 2], + [17, 5] ] }, "circle-stroke-color": "#0081FF" @@ -10222,14 +6450,9 @@ "text-size": 10, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.2, - 0.4 - ], + "text-offset": [0.2, 0.4], "text-padding": 2, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#505050" @@ -10245,11 +6468,7 @@ "icon-image": "Hopital", "icon-size": 0.33 }, - "filter": [ - "==", - "symbo", - "HOPITAL_PONC" - ], + "filter": ["==", "symbo", "HOPITAL_PONC"], "paint": { "icon-color": "#FE0034" } @@ -10265,14 +6484,8 @@ "icon-image": "Pompage", "icon-size": { "stops": [ - [ - 13, - 0.2 - ], - [ - 17, - 0.6 - ] + [13, 0.2], + [17, 0.6] ] }, "icon-allow-overlap": true @@ -10300,37 +6513,20 @@ "layout": { "visibility": "visible" }, - "filter": [ - "in", - "symbo", - "PUITS", - "ABREUVOIR" - ], + "filter": ["in", "symbo", "PUITS", "ABREUVOIR"], "paint": { "circle-radius": { "stops": [ - [ - 14, - 3 - ], - [ - 17, - 7 - ] + [14, 3], + [17, 7] ] }, "circle-color": "#FFFFFF", "circle-opacity": 1, "circle-stroke-width": { "stops": [ - [ - 14, - 2 - ], - [ - 17, - 5 - ] + [14, 2], + [17, 5] ] }, "circle-stroke-color": "#0081FF" @@ -10347,22 +6543,12 @@ "icon-image": "Phare", "icon-size": { "stops": [ - [ - 13, - 0.7 - ], - [ - 17, - 1.3 - ] + [13, 0.7], + [17, 1.3] ] } }, - "filter": [ - "==", - "symbo", - "PHARE" - ], + "filter": ["==", "symbo", "PHARE"], "paint": { "icon-color": "#505050" } @@ -10378,25 +6564,12 @@ "icon-image": "Feu", "icon-size": { "stops": [ - [ - 13, - 0.7 - ], - [ - 17, - 1.3 - ] + [13, 0.7], + [17, 1.3] ] } }, - "filter": [ - "in", - "symbo", - "AMER", - "FEU", - "FEU_PONC", - "TOURELLE_LUMINEUSE" - ], + "filter": ["in", "symbo", "AMER", "FEU", "FEU_PONC", "TOURELLE_LUMINEUSE"], "paint": { "icon-color": "#505050" } @@ -10412,23 +6585,12 @@ "icon-image": "Balise", "icon-size": { "stops": [ - [ - 13, - 0.7 - ], - [ - 17, - 1.3 - ] + [13, 0.7], + [17, 1.3] ] } }, - "filter": [ - "in", - "symbo", - "BALISE", - "TOURELLE" - ], + "filter": ["in", "symbo", "BALISE", "TOURELLE"], "paint": { "icon-color": "#505050" } @@ -10445,11 +6607,7 @@ "icon-image": "Ecluse", "icon-size": 0.2 }, - "filter": [ - "==", - "symbo", - "ECLUSE_PONC" - ], + "filter": ["==", "symbo", "ECLUSE_PONC"], "paint": { "icon-color": "#0081FF" } @@ -10466,11 +6624,7 @@ "icon-image": "Barrage", "icon-size": 0.25 }, - "filter": [ - "==", - "symbo", - "BARRAGE_PONC" - ], + "filter": ["==", "symbo", "BARRAGE_PONC"], "paint": { "icon-color": "#0081FF" } @@ -10483,22 +6637,12 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "CHATEAU_EAU_PONC" - ], + "filter": ["==", "symbo", "CHATEAU_EAU_PONC"], "paint": { "circle-radius": { "stops": [ - [ - 14, - 3 - ], - [ - 17, - 8 - ] + [14, 3], + [17, 8] ] }, "circle-color": "#0081FF" @@ -10513,36 +6657,20 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "RESERVOIR_EAU_PONC" - ], + "filter": ["==", "symbo", "RESERVOIR_EAU_PONC"], "paint": { "circle-radius": { "stops": [ - [ - 14, - 3 - ], - [ - 17, - 8 - ] + [14, 3], + [17, 8] ] }, "circle-color": "#B3D9FF", "circle-opacity": 1, "circle-stroke-width": { "stops": [ - [ - 14, - 1 - ], - [ - 17, - 2.5 - ] + [14, 1], + [17, 2.5] ] }, "circle-stroke-color": "#0081FF" @@ -10558,14 +6686,8 @@ "icon-image": "ConstrSpeciale", "icon-size": { "stops": [ - [ - 13, - 0.22 - ], - [ - 17, - 0.5 - ] + [13, 0.22], + [17, 0.5] ] } }, @@ -10599,22 +6721,12 @@ "icon-image": "Silo", "icon-size": { "stops": [ - [ - 13, - 0.22 - ], - [ - 17, - 0.5 - ] + [13, 0.22], + [17, 0.5] ] } }, - "filter": [ - "==", - "symbo", - "SILO_PONC" - ], + "filter": ["==", "symbo", "SILO_PONC"], "paint": { "icon-color": "#646464" } @@ -10629,26 +6741,13 @@ "icon-image": "Eolienne", "icon-size": { "stops": [ - [ - 13, - 0.4 - ], - [ - 17, - 1 - ], - [ - 18, - 0.8 - ] + [13, 0.4], + [17, 1], + [18, 0.8] ] } }, - "filter": [ - "==", - "symbo", - "EOLIENNE" - ], + "filter": ["==", "symbo", "EOLIENNE"], "paint": { "icon-color": "#646464" } @@ -10664,22 +6763,12 @@ "icon-image": "Reservoir", "icon-size": { "stops": [ - [ - 13, - 0.26 - ], - [ - 17, - 0.5 - ] + [13, 0.26], + [17, 0.5] ] } }, - "filter": [ - "==", - "symbo", - "RESERVOIR_PONC" - ], + "filter": ["==", "symbo", "RESERVOIR_PONC"], "paint": { "icon-color": "#646464" } @@ -10692,22 +6781,12 @@ "layout": { "visibility": "visible" }, - "filter": [ - "==", - "symbo", - "PYLONE_ELEC" - ], + "filter": ["==", "symbo", "PYLONE_ELEC"], "paint": { "circle-radius": { "stops": [ - [ - 13, - 1 - ], - [ - 17, - 2 - ] + [13, 1], + [17, 2] ] }, "circle-color": "#000000" @@ -10723,26 +6802,13 @@ "icon-image": "Abri", "icon-size": { "stops": [ - [ - 13, - 0.4 - ], - [ - 15, - 0.6 - ], - [ - 17, - 0.9 - ] + [13, 0.4], + [15, 0.6], + [17, 0.9] ] } }, - "filter": [ - "==", - "symbo", - "ABRI" - ], + "filter": ["==", "symbo", "ABRI"], "paint": { "icon-color": "#246138" } @@ -10757,26 +6823,13 @@ "icon-image": "Refugegard", "icon-size": { "stops": [ - [ - 13, - 0.4 - ], - [ - 15, - 0.6 - ], - [ - 17, - 0.9 - ] + [13, 0.4], + [15, 0.6], + [17, 0.9] ] } }, - "filter": [ - "==", - "symbo", - "REFUGE_GARDE" - ], + "filter": ["==", "symbo", "REFUGE_GARDE"], "paint": { "icon-color": "#246138" } @@ -10791,26 +6844,13 @@ "icon-image": "Refugenongard", "icon-size": { "stops": [ - [ - 13, - 0.4 - ], - [ - 15, - 0.6 - ], - [ - 17, - 0.9 - ] + [13, 0.4], + [15, 0.6], + [17, 0.9] ] } }, - "filter": [ - "==", - "symbo", - "REFUGE" - ], + "filter": ["==", "symbo", "REFUGE"], "paint": { "icon-color": "#246138" } @@ -10825,19 +6865,7 @@ "icon-image": "Aeroport", "icon-size": 0.5 }, - "filter": [ - "all", - [ - "==", - "symbo", - "AEROPORT_PONC" - ], - [ - "==", - "territoire", - "FXX" - ] - ], + "filter": ["all", ["==", "symbo", "AEROPORT_PONC"], ["==", "territoire", "FXX"]], "paint": { "icon-color": "#646464" } @@ -10854,17 +6882,8 @@ }, "filter": [ "all", - [ - "in", - "symbo", - "AERODROME_PONC", - "AERODROME_IMPORT_PONC" - ], - [ - "==", - "territoire", - "FXX" - ] + ["in", "symbo", "AERODROME_PONC", "AERODROME_IMPORT_PONC"], + ["==", "territoire", "FXX"] ], "paint": { "icon-color": "#646464" @@ -10881,19 +6900,7 @@ "icon-image": "Aeroport", "icon-size": 0.5 }, - "filter": [ - "all", - [ - "==", - "symbo", - "AEROPORT_PONC" - ], - [ - "!=", - "territoire", - "FXX" - ] - ], + "filter": ["all", ["==", "symbo", "AEROPORT_PONC"], ["!=", "territoire", "FXX"]], "paint": { "icon-color": "#646464" } @@ -10909,19 +6916,7 @@ "icon-image": "Aerodrome", "icon-size": 0.4 }, - "filter": [ - "all", - [ - "==", - "symbo", - "AERODROME_PONC" - ], - [ - "!=", - "territoire", - "FXX" - ] - ], + "filter": ["all", ["==", "symbo", "AERODROME_PONC"], ["!=", "territoire", "FXX"]], "paint": { "icon-color": "#646464" } @@ -10936,11 +6931,7 @@ "icon-image": "Gare", "icon-size": 0.33 }, - "filter": [ - "==", - "symbo", - "GARE_VOYAGEURS" - ], + "filter": ["==", "symbo", "GARE_VOYAGEURS"], "paint": { "icon-color": "#505050" } @@ -10979,13 +6970,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - -1 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, -1], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11019,13 +7005,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - -1.3 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, -1.3], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11064,13 +7045,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - -1.4 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, -1.4], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11107,13 +7083,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - -1.5 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, -1.5], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11151,13 +7122,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - -1.6 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, -1.6], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11199,13 +7165,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - 1 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, 1], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11239,13 +7200,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - 1.3 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, 1.3], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11284,13 +7240,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - 1.4 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, 1.4], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11327,13 +7278,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - 1.5 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, 1.5], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11371,13 +7317,8 @@ "text-size": 11, "text-anchor": "center", "text-allow-overlap": true, - "text-offset": [ - 0, - 1.6 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, 1.6], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#79654F", @@ -11390,11 +7331,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_oro_ponc", - "filter": [ - "==", - "txt_typo", - "ORO_COURBE_ROCHER" - ], + "filter": ["==", "txt_typo", "ORO_COURBE_ROCHER"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -11406,9 +7343,7 @@ "type": "identity", "property": "rotation" }, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#333333", @@ -11421,11 +7356,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_oro_ponc", - "filter": [ - "==", - "txt_typo", - "ORO_COURBE_GLACIER" - ], + "filter": ["==", "txt_typo", "ORO_COURBE_GLACIER"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -11437,9 +7368,7 @@ "type": "identity", "property": "rotation" }, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#629FD9", @@ -11452,11 +7381,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_oro_ponc", - "filter": [ - "==", - "txt_typo", - "ORO_COURBE" - ], + "filter": ["==", "txt_typo", "ORO_COURBE"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -11468,9 +7393,7 @@ "type": "identity", "property": "rotation" }, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#604A2F", @@ -11485,12 +7408,7 @@ "source-layer": "toponyme_routier_liaison_lin", "minzoom": 8, "maxzoom": 18, - "filter": [ - "in", - "txt_typo", - "LIAISON_MARITIME", - "LIAISON_MAR" - ], + "filter": ["in", "txt_typo", "LIAISON_MARITIME", "LIAISON_MAR"], "layout": { "symbol-placement": "line", "text-field": "{texte}", @@ -11499,9 +7417,7 @@ "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#5792C2", @@ -11515,45 +7431,22 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 14, - "filter": [ - "all", - [ - "==", - "txt_typo", - "TYPO_E_1" - ], - [ - "==", - "symbo", - "STATION_METRO" - ] - ], + "filter": ["all", ["==", "txt_typo", "TYPO_E_1"], ["==", "symbo", "STATION_METRO"]], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": 11, "text-allow-overlap": false, - "text-offset": [ - 0.30, - -0.25 - ], + "text-offset": [0.3, -0.25], "text-padding": 3, "text-anchor": "bottom-left", - "text-font": [ - "Source Sans Pro" - ], + "text-font": ["Source Sans Pro"], "icon-image": "Metro", "icon-size": { "stops": [ - [ - 15, - 0.33 - ], - [ - 17, - 0.6 - ] + [15, 0.33], + [17, 0.6] ] } }, @@ -11568,24 +7461,14 @@ "source": "plan_ign", "source-layer": "toponyme_ferre_lin", "minzoom": 12, - "filter": [ - "in", - "txt_typo", - "FER_NOM", - "FER_OUVRAGE" - ], + "filter": ["in", "txt_typo", "FER_NOM", "FER_OUVRAGE"], "layout": { "symbol-placement": "line", "text-field": "{texte}", "text-size": 10, "text-anchor": "center", - "text-offset": [ - 0, - -1 - ], - "text-font": [ - "Source Sans Pro Regular" - ] + "text-offset": [0, -1], + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -11600,11 +7483,7 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 14, "maxzoom": 16, - "filter": [ - "==", - "txt_typo", - "religieux" - ], + "filter": ["==", "txt_typo", "religieux"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -11612,9 +7491,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -11626,11 +7503,7 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 16, - "filter": [ - "==", - "txt_typo", - "religieux" - ], + "filter": ["==", "txt_typo", "religieux"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -11638,9 +7511,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -11655,16 +7526,8 @@ "maxzoom": 14, "filter": [ "all", - [ - "==", - "txt_typo", - "divers_bati" - ], - [ - "==", - "symbo", - "PARC_ATTRACTIONS" - ] + ["==", "txt_typo", "divers_bati"], + ["==", "symbo", "PARC_ATTRACTIONS"] ], "layout": { "visibility": "visible", @@ -11673,9 +7536,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -11689,16 +7550,8 @@ "minzoom": 14, "filter": [ "all", - [ - "==", - "txt_typo", - "divers_bati" - ], - [ - "==", - "symbo", - "PARC_ATTRACTIONS" - ] + ["==", "txt_typo", "divers_bati"], + ["==", "symbo", "PARC_ATTRACTIONS"] ], "layout": { "visibility": "visible", @@ -11707,9 +7560,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -11724,18 +7575,8 @@ "maxzoom": 15, "filter": [ "all", - [ - "==", - "txt_typo", - "divers_bati" - ], - [ - "in", - "symbo", - "CENTRALE_ELECTRIQUE", - "HIPPODROME", - "STADE" - ] + ["==", "txt_typo", "divers_bati"], + ["in", "symbo", "CENTRALE_ELECTRIQUE", "HIPPODROME", "STADE"] ], "layout": { "visibility": "visible", @@ -11744,9 +7585,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -11760,18 +7599,8 @@ "minzoom": 15, "filter": [ "all", - [ - "==", - "txt_typo", - "divers_bati" - ], - [ - "in", - "symbo", - "CENTRALE_ELECTRIQUE", - "HIPPODROME", - "STADE" - ] + ["==", "txt_typo", "divers_bati"], + ["in", "symbo", "CENTRALE_ELECTRIQUE", "HIPPODROME", "STADE"] ], "layout": { "visibility": "visible", @@ -11780,9 +7609,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -11797,17 +7624,8 @@ "maxzoom": 16, "filter": [ "all", - [ - "==", - "txt_typo", - "divers_bati" - ], - [ - "in", - "symbo", - "CHATEAU", - "CHATEAU_FORT" - ] + ["==", "txt_typo", "divers_bati"], + ["in", "symbo", "CHATEAU", "CHATEAU_FORT"] ], "layout": { "visibility": "visible", @@ -11816,9 +7634,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -11832,17 +7648,8 @@ "minzoom": 16, "filter": [ "all", - [ - "==", - "txt_typo", - "divers_bati" - ], - [ - "in", - "symbo", - "CHATEAU", - "CHATEAU_FORT" - ] + ["==", "txt_typo", "divers_bati"], + ["in", "symbo", "CHATEAU", "CHATEAU_FORT"] ], "layout": { "visibility": "visible", @@ -11851,9 +7658,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -11865,26 +7670,17 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 14, - "filter": [ - "==", - "txt_typo", - "station" - ], + "filter": ["==", "txt_typo", "station"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{designation}", "text-anchor": "left", - "text-offset": [ - 0.8, - 0 - ], + "text-offset": [0.8, 0], "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#0080FF" @@ -11896,11 +7692,7 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 15, - "filter": [ - "==", - "txt_typo", - "gore" - ], + "filter": ["==", "txt_typo", "gore"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -11908,9 +7700,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -11922,26 +7712,17 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 12, - "filter": [ - "==", - "txt_typo", - "BARRAGE_PONC" - ], + "filter": ["==", "txt_typo", "BARRAGE_PONC"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-anchor": "left", - "text-offset": [ - 0.8, - 0 - ], + "text-offset": [0.8, 0], "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#0080FF" @@ -11953,11 +7734,7 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "maxzoom": 13, - "filter": [ - "==", - "txt_typo", - "PHARE" - ], + "filter": ["==", "txt_typo", "PHARE"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -11966,9 +7743,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#532A2A" @@ -11982,19 +7757,8 @@ "minzoom": 13, "filter": [ "all", - [ - "==", - "symbo", - "PHARE" - ], - [ - "in", - "txt_typo", - "TYPO_C_6", - "TYPO_C_7", - "TYPO_C_8", - "TYPO_E_GE" - ] + ["==", "symbo", "PHARE"], + ["in", "txt_typo", "TYPO_C_6", "TYPO_C_7", "TYPO_C_8", "TYPO_E_GE"] ], "layout": { "visibility": "visible", @@ -12003,26 +7767,15 @@ "text-anchor": "right", "text-size": { "stops": [ - [ - 13, - 12 - ], - [ - 18, - 18 - ] + [13, 12], + [18, 18] ] }, "text-allow-overlap": false, - "text-offset": [ - -2.00, - 0 - ], + "text-offset": [-2.0, 0], "text-padding": 3, "text-anchor": "right", - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#532A2A" @@ -12034,13 +7787,7 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 12, - "filter": [ - "in", - "txt_typo", - "BAT_ACTIVITE", - "BAT_FORTIF", - "BAT_VILLAGE_DETRUIT" - ], + "filter": ["in", "txt_typo", "BAT_ACTIVITE", "BAT_FORTIF", "BAT_VILLAGE_DETRUIT"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -12049,9 +7796,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#532A2A" @@ -12064,19 +7809,7 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 14, "maxzoom": 17, - "filter": [ - "all", - [ - "==", - "txt_typo", - "TYPO_E_GE" - ], - [ - "==", - "symbo", - "AEROGARE" - ] - ], + "filter": ["all", ["==", "txt_typo", "TYPO_E_GE"], ["==", "symbo", "AEROGARE"]], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -12084,21 +7817,13 @@ "text-anchor": "center", "text-size": { "stops": [ - [ - 12, - 9 - ], - [ - 16, - 11 - ] + [12, 9], + [16, 11] ] }, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#120049", @@ -12113,26 +7838,17 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 11, "maxzoom": 12, - "filter": [ - "==", - "txt_typo", - "AEROPORT_PONC" - ], + "filter": ["==", "txt_typo", "AEROPORT_PONC"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-anchor": "bottom", - "text-offset": [ - 0, - -1.3 - ], + "text-offset": [0, -1.3], "text-size": 10.5, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#120049", @@ -12147,26 +7863,17 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 12, "maxzoom": 13, - "filter": [ - "==", - "txt_typo", - "AEROPORT_PONC" - ], + "filter": ["==", "txt_typo", "AEROPORT_PONC"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-anchor": "bottom", - "text-offset": [ - 0, - -2 - ], + "text-offset": [0, -2], "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#120049", @@ -12181,19 +7888,7 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 13, "maxzoom": 17, - "filter": [ - "all", - [ - "==", - "txt_typo", - "TYPO_A_5" - ], - [ - "==", - "symbo", - "AEROPORT" - ] - ], + "filter": ["all", ["==", "txt_typo", "TYPO_A_5"], ["==", "symbo", "AEROPORT"]], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -12201,21 +7896,13 @@ "text-anchor": "center", "text-size": { "stops": [ - [ - 12, - 11 - ], - [ - 16, - 13 - ] + [12, 11], + [16, 13] ] }, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#120049", @@ -12230,26 +7917,17 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 11, "maxzoom": 12, - "filter": [ - "==", - "txt_typo", - "AERODROME_PONC" - ], + "filter": ["==", "txt_typo", "AERODROME_PONC"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-anchor": "bottom", - "text-offset": [ - 0, - -1.3 - ], + "text-offset": [0, -1.3], "text-size": 9.5, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#120049", @@ -12264,27 +7942,17 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 12, "maxzoom": 13, - "filter": [ - "in", - "txt_typo", - "AERODROME_PONC", - "AERODROME_IMPORT_PONC" - ], + "filter": ["in", "txt_typo", "AERODROME_PONC", "AERODROME_IMPORT_PONC"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-anchor": "bottom", - "text-offset": [ - 0, - -2 - ], + "text-offset": [0, -2], "text-size": 10, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#120049", @@ -12299,19 +7967,7 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 13, "maxzoom": 17, - "filter": [ - "all", - [ - "==", - "txt_typo", - "TYPO_A_7" - ], - [ - "==", - "symbo", - "AERODROME" - ] - ], + "filter": ["all", ["==", "txt_typo", "TYPO_A_7"], ["==", "symbo", "AERODROME"]], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -12319,21 +7975,13 @@ "text-anchor": "center", "text-size": { "stops": [ - [ - 12, - 10 - ], - [ - 16, - 12 - ] + [12, 10], + [16, 12] ] }, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro" - ] + "text-font": ["Source Sans Pro"] }, "paint": { "text-color": "#120049", @@ -12346,34 +7994,20 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", - "filter": [ - "in", - "txt_typo", - "TYPO_D_9", - "TYPO_D_10", - "TYPO_E_1_cyan" - ], + "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": { "stops": [ - [ - 15, - 11 - ], - [ - 17, - 14 - ] + [15, 11], + [17, 14] ] }, "text-allow-overlap": true, "text-padding": 5, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#0080FF", @@ -12386,11 +8020,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", - "filter": [ - "==", - "txt_typo", - "ORO_GLACIER_2" - ], + "filter": ["==", "txt_typo", "ORO_GLACIER_2"], "layout": { "symbol-placement": "point", "text-field": "{texte}", @@ -12398,9 +8028,7 @@ "text-anchor": "center", "text-allow-overlap": true, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#0080FF", @@ -12413,12 +8041,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_limite_ponc", - "filter": [ - "in", - "txt_typo", - "LIM_MILI_3", - "LIM_MILI_4" - ], + "filter": ["in", "txt_typo", "LIM_MILI_3", "LIM_MILI_4"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -12426,9 +8049,7 @@ "text-size": 12, "text-allow-overlap": false, "text-padding": 2, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#0D2000", @@ -12441,13 +8062,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_limite_ponc", - "filter": [ - "in", - "txt_typo", - "LIM_PARC_3", - "LIM_PARC_4", - "RESERVE_NATURELLE_PONC" - ], + "filter": ["in", "txt_typo", "LIM_PARC_3", "LIM_PARC_4", "RESERVE_NATURELLE_PONC"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -12455,9 +8070,7 @@ "text-size": 13, "text-allow-overlap": false, "text-padding": 2, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#287B00", @@ -12472,11 +8085,7 @@ "source-layer": "toponyme_routier_numero_lin", "minzoom": 11, "maxzoom": 16, - "filter": [ - "==", - "txt_typo", - "Départementale" - ], + "filter": ["==", "txt_typo", "Départementale"], "layout": { "visibility": "visible", "symbol-placement": "line", @@ -12485,9 +8094,7 @@ "text-allow-overlap": false, "text-padding": 2, "text-anchor": "center", - "text-font": [ - "Source Sans Pro Semibold" - ], + "text-font": ["Source Sans Pro Semibold"], "text-rotation-alignment": "viewport" }, "paint": { @@ -12503,11 +8110,7 @@ "source-layer": "toponyme_routier_numero_lin", "minzoom": 7, "maxzoom": 16, - "filter": [ - "==", - "txt_typo", - "Nationale" - ], + "filter": ["==", "txt_typo", "Nationale"], "layout": { "visibility": "visible", "symbol-placement": "line", @@ -12516,9 +8119,7 @@ "text-allow-overlap": false, "text-padding": 0, "text-anchor": "center", - "text-font": [ - "Source Sans Pro Regular" - ], + "text-font": ["Source Sans Pro Regular"], "icon-image": "Ecluse", "icon-rotation-alignment": "viewport", "text-rotation-alignment": "viewport", @@ -12539,11 +8140,7 @@ "source-layer": "toponyme_routier_numero_lin", "minzoom": 7, "maxzoom": 16, - "filter": [ - "==", - "txt_typo", - "Autoroute" - ], + "filter": ["==", "txt_typo", "Autoroute"], "layout": { "visibility": "visible", "symbol-placement": "line", @@ -12552,9 +8149,7 @@ "text-allow-overlap": false, "text-padding": 0, "text-anchor": "center", - "text-font": [ - "Source Sans Pro Regular" - ], + "text-font": ["Source Sans Pro Regular"], "icon-image": "Ecluse", "icon-rotation-alignment": "viewport", "text-rotation-alignment": "viewport", @@ -12581,9 +8176,7 @@ "text-size": 10, "text-anchor": "center", "text-max-angle": 30, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -12603,9 +8196,7 @@ "text-size": 11, "text-anchor": "center", "text-max-angle": 30, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -12620,17 +8211,8 @@ "source-layer": "toponyme_ocs_ponc", "filter": [ "all", - [ - "==", - "symbo", - "LIEU-DIT_NON_HABITE" - ], - [ - "in", - "txt_typo", - "TYPO_B_10", - "TYPO_B_11" - ] + ["==", "symbo", "LIEU-DIT_NON_HABITE"], + ["in", "txt_typo", "TYPO_B_10", "TYPO_B_11"] ], "layout": { "visibility": "visible", @@ -12639,9 +8221,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000", @@ -12654,20 +8234,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_ponc", - "filter": [ - "all", - [ - "==", - "symbo", - "BOIS" - ], - [ - "in", - "txt_typo", - "TYPO_F_9", - "TYPO_F_10" - ] - ], + "filter": ["all", ["==", "symbo", "BOIS"], ["in", "txt_typo", "TYPO_F_9", "TYPO_F_10"]], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -12675,9 +8242,7 @@ "text-size": 13, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#287B00", @@ -12690,12 +8255,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_oro_lin", - "filter": [ - "in", - "txt_typo", - "ORO_SOMMET_3", - "ORO_GORGE_2" - ], + "filter": ["in", "txt_typo", "ORO_SOMMET_3", "ORO_GORGE_2"], "layout": { "symbol-placement": "line", "text-field": "{texte}", @@ -12704,9 +8264,7 @@ "text-keep-upright": true, "text-max-angle": 45, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#863831", @@ -12735,21 +8293,13 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 13, - 11 - ], - [ - 16, - 16 - ] + [13, 11], + [16, 16] ] }, "text-allow-overlap": true, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#863831", @@ -12778,21 +8328,13 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 14, - 13 - ], - [ - 17, - 16 - ] + [14, 13], + [17, 16] ] }, "text-allow-overlap": true, "text-padding": 5, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#0080FF", @@ -12805,12 +8347,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_localite_ponc", - "filter": [ - "in", - "txt_typo", - "BAT_QUARTIER", - "BAT_QUARTIER_T" - ], + "filter": ["in", "txt_typo", "BAT_QUARTIER", "BAT_QUARTIER_T"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -12818,9 +8355,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000", @@ -12835,41 +8370,21 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 17, "maxzoom": 18, - "filter": [ - "all", - [ - "==", - "symbo", - "QUARTIER" - ], - [ - "==", - "txt_typo", - "TYPO_E_GE" - ] - ], + "filter": ["all", ["==", "symbo", "QUARTIER"], ["==", "txt_typo", "TYPO_E_GE"]], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 11 - ], - [ - 17, - 13.5 - ] + [15, 11], + [17, 13.5] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -12884,41 +8399,21 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 16, "maxzoom": 18, - "filter": [ - "all", - [ - "==", - "symbo", - "LIEU-DIT-HABITE" - ], - [ - "==", - "txt_typo", - "TYPO_E_GE" - ] - ], + "filter": ["all", ["==", "symbo", "LIEU-DIT-HABITE"], ["==", "txt_typo", "TYPO_E_GE"]], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 11 - ], - [ - 17, - 13.5 - ] + [15, 11], + [17, 13.5] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -12932,33 +8427,21 @@ "source": "plan_ign", "source-layer": "toponyme_localite_ponc", "maxzoom": 18, - "filter": [ - "==", - "txt_typo", - "TYPO_A_10" - ], + "filter": ["==", "txt_typo", "TYPO_A_10"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 11 - ], - [ - 17, - 13.5 - ] + [15, 11], + [17, 13.5] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -12973,18 +8456,8 @@ "source-layer": "toponyme_ocs_ponc", "filter": [ "all", - [ - "==", - "symbo", - "LIEU-DIT_NON_HABITE" - ], - [ - "in", - "txt_typo", - "TYPO_B_7", - "TYPO_B_8", - "TYPO_B_9" - ] + ["==", "symbo", "LIEU-DIT_NON_HABITE"], + ["in", "txt_typo", "TYPO_B_7", "TYPO_B_8", "TYPO_B_9"] ], "layout": { "visibility": "visible", @@ -12993,9 +8466,7 @@ "text-size": 12, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000", @@ -13010,18 +8481,8 @@ "source-layer": "toponyme_ocs_ponc", "filter": [ "all", - [ - "==", - "symbo", - "BOIS" - ], - [ - "in", - "txt_typo", - "TYPO_F_6", - "TYPO_F_7", - "TYPO_F_8" - ] + ["==", "symbo", "BOIS"], + ["in", "txt_typo", "TYPO_F_6", "TYPO_F_7", "TYPO_F_8"] ], "layout": { "visibility": "visible", @@ -13030,9 +8491,7 @@ "text-size": 16, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#287B00", @@ -13047,12 +8506,7 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 11, "maxzoom": 13, - "filter": [ - "in", - "txt_typo", - "BAT_HAMEAU", - "BAT_HAMEAU_T" - ], + "filter": ["in", "txt_typo", "BAT_HAMEAU", "BAT_HAMEAU_T"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13062,14 +8516,9 @@ "text-size": 11, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.30, - 0.10 - ], + "text-offset": [0.3, 0.1], "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -13084,12 +8533,7 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 7, "maxzoom": 13, - "filter": [ - "in", - "txt_typo", - "TYPO_A_6", - "TYPO_A_7" - ], + "filter": ["in", "txt_typo", "TYPO_A_6", "TYPO_A_7"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13099,14 +8543,9 @@ "text-size": 12.5, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.30, - 0.10 - ], + "text-offset": [0.3, 0.1], "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -13145,14 +8584,9 @@ "text-size": 11.5, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.30, - 0.10 - ], + "text-offset": [0.3, 0.1], "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -13165,33 +8599,21 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_lin", - "filter": [ - "==", - "txt_typo", - "OCS_FORET_3" - ], + "filter": ["==", "txt_typo", "OCS_FORET_3"], "layout": { "symbol-placement": "line", "text-field": "{texte}", "text-size": { "stops": [ - [ - 10, - 12 - ], - [ - 12, - 15 - ] + [10, 12], + [12, 15] ] }, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#287B00", @@ -13206,17 +8628,8 @@ "source-layer": "toponyme_ocs_ponc", "filter": [ "all", - [ - "==", - "symbo", - "LIEU-DIT_NON_HABITE" - ], - [ - "in", - "txt_typo", - "TYPO_B_5", - "TYPO_B_4" - ] + ["==", "symbo", "LIEU-DIT_NON_HABITE"], + ["in", "txt_typo", "TYPO_B_5", "TYPO_B_4"] ], "layout": { "visibility": "visible", @@ -13225,9 +8638,7 @@ "text-size": 15, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000", @@ -13240,20 +8651,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_ponc", - "filter": [ - "all", - [ - "==", - "symbo", - "BOIS" - ], - [ - "in", - "txt_typo", - "TYPO_F_5", - "TYPO_F_4" - ] - ], + "filter": ["all", ["==", "symbo", "BOIS"], ["in", "txt_typo", "TYPO_F_5", "TYPO_F_4"]], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13261,9 +8659,7 @@ "text-size": 19, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#287B00", @@ -13276,20 +8672,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_ponc", - "filter": [ - "all", - [ - "==", - "symbo", - "BOIS" - ], - [ - "in", - "txt_typo", - "TYPO_F_3", - "TYPO_F_2" - ] - ], + "filter": ["all", ["==", "symbo", "BOIS"], ["in", "txt_typo", "TYPO_F_3", "TYPO_F_2"]], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13297,9 +8680,7 @@ "text-size": 22, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#287B00", @@ -13312,33 +8693,21 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_ponc", - "filter": [ - "==", - "txt_typo", - "OCS_FORET_3" - ], + "filter": ["==", "txt_typo", "OCS_FORET_3"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 10, - 12 - ], - [ - 12, - 15 - ] + [10, 12], + [12, 15] ] }, "text-allow-overlap": false, "text-padding": 1, "text-anchor": "center", - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#287B00", @@ -13374,9 +8743,7 @@ "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#863831", @@ -13412,21 +8779,13 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 13, - 12 - ], - [ - 16, - 17 - ] + [13, 12], + [16, 17] ] }, "text-allow-overlap": true, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#863831", @@ -13461,23 +8820,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 14, - 12 - ], - [ - 18, - 19 - ] + [14, 12], + [18, 19] ] }, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#0080FF", @@ -13491,36 +8842,21 @@ "source": "plan_ign", "source-layer": "toponyme_hydro_lin", "minzoom": 14, - "filter": [ - "in", - "txt_typo", - "TYPO_D_6", - "TYPO_D_8", - "TYPO_D_9", - "TYPO_D_10" - ], + "filter": ["in", "txt_typo", "TYPO_D_6", "TYPO_D_8", "TYPO_D_9", "TYPO_D_10"], "layout": { "symbol-placement": "line", "text-field": "{texte}", "text-size": { "stops": [ - [ - 14, - 10 - ], - [ - 18, - 16 - ] + [14, 10], + [18, 16] ] }, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#0080FF", @@ -13533,43 +8869,22 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", - "filter": [ - "in", - "txt_typo", - "HYD_SURF_3", - "TYPO_D_5", - "TYPO_D_6", - "TYPO_D_7" - ], + "filter": ["in", "txt_typo", "HYD_SURF_3", "TYPO_D_5", "TYPO_D_6", "TYPO_D_7"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 9, - 13 - ], - [ - 10, - 15 - ], - [ - 15, - 15 - ], - [ - 17, - 18 - ] + [9, 13], + [10, 15], + [15, 15], + [17, 18] ] }, "text-allow-overlap": true, "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#0080FF", @@ -13584,11 +8899,7 @@ "source-layer": "toponyme_bati_ponc", "minzoom": 15, "maxzoom": 16, - "filter": [ - "==", - "txt_typo", - "zai" - ], + "filter": ["==", "txt_typo", "zai"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13596,9 +8907,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -13610,11 +8919,7 @@ "source": "plan_ign", "source-layer": "toponyme_bati_ponc", "minzoom": 16, - "filter": [ - "==", - "txt_typo", - "zai" - ], + "filter": ["==", "txt_typo", "zai"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13622,9 +8927,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#000000" @@ -13637,13 +8940,7 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 7, "maxzoom": 13, - "filter": [ - "in", - "txt_typo", - "TYPO_A_4", - "BAT_COMMUNE_4", - "BAT_COMMUNE_4_T" - ], + "filter": ["in", "txt_typo", "TYPO_A_4", "BAT_COMMUNE_4", "BAT_COMMUNE_4_T"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13653,14 +8950,9 @@ "text-size": 13, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.30, - 0.10 - ], + "text-offset": [0.3, 0.1], "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -13674,33 +8966,21 @@ "source": "plan_ign", "source-layer": "toponyme_localite_ponc", "maxzoom": 18, - "filter": [ - "==", - "txt_typo", - "TYPO_A_9" - ], + "filter": ["==", "txt_typo", "TYPO_A_9"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 11.5 - ], - [ - 17, - 14 - ] + [15, 11.5], + [17, 14] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -13717,21 +8997,9 @@ "maxzoom": 18, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_8" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_8"] ], "layout": { "visibility": "visible", @@ -13739,22 +9007,14 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 12 - ], - [ - 17, - 15 - ] + [15, 12], + [17, 15] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -13767,12 +9027,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_limite_ponc", - "filter": [ - "in", - "txt_typo", - "LIM_MILI_1", - "LIM_MILI_2" - ], + "filter": ["in", "txt_typo", "LIM_MILI_1", "LIM_MILI_2"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13780,9 +9035,7 @@ "text-size": 15, "text-allow-overlap": false, "text-padding": 5, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#0D2000", @@ -13796,12 +9049,7 @@ "source": "plan_ign", "source-layer": "toponyme_limite_ponc", "minzoom": 8, - "filter": [ - "in", - "txt_typo", - "PARC_MARIN_1", - "PARC_MARIN_2" - ], + "filter": ["in", "txt_typo", "PARC_MARIN_1", "PARC_MARIN_2"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13810,9 +9058,7 @@ "text-allow-overlap": false, "text-padding": 10, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#0080FF", @@ -13826,14 +9072,7 @@ "source": "plan_ign", "source-layer": "toponyme_limite_ponc", "minzoom": 8, - "filter": [ - "in", - "txt_typo", - "LIM_PARC_1", - "LIM_PARC_2", - "PARC_1", - "PARC_2" - ], + "filter": ["in", "txt_typo", "LIM_PARC_1", "LIM_PARC_2", "PARC_1", "PARC_2"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -13842,9 +9081,7 @@ "text-allow-overlap": false, "text-padding": 10, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#287B00", @@ -13857,33 +9094,21 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_lin", - "filter": [ - "==", - "txt_typo", - "OCS_FORET_2" - ], + "filter": ["==", "txt_typo", "OCS_FORET_2"], "layout": { "symbol-placement": "line", "text-field": "{texte}", "text-size": { "stops": [ - [ - 10, - 15 - ], - [ - 12, - 18 - ] + [10, 15], + [12, 18] ] }, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#287B00", @@ -13896,33 +9121,21 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_ponc", - "filter": [ - "==", - "txt_typo", - "OCS_FORET_2" - ], + "filter": ["==", "txt_typo", "OCS_FORET_2"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 10, - 15 - ], - [ - 12, - 18 - ] + [10, 15], + [12, 18] ] }, "text-allow-overlap": false, "text-padding": 1, "text-anchor": "center", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#287B00", @@ -13952,9 +9165,7 @@ "text-keep-upright": true, "text-padding": 10, "text-max-angle": 45, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#863831", @@ -13985,29 +9196,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 9, - 13 - ], - [ - 10, - 15 - ], - [ - 13, - 15 - ], - [ - 16, - 19 - ] + [9, 13], + [10, 15], + [13, 15], + [16, 19] ] }, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#863831", @@ -14021,32 +9218,20 @@ "source": "plan_ign", "source-layer": "toponyme_oro_ponc", "minzoom": 8, - "filter": [ - "==", - "txt_typo", - "TYPO_G_4" - ], + "filter": ["==", "txt_typo", "TYPO_G_4"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 13, - 15 - ], - [ - 16, - 19 - ] + [13, 15], + [16, 19] ] }, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#863831", @@ -14073,23 +9258,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 14, - 15 - ], - [ - 18, - 21 - ] + [14, 15], + [18, 21] ] }, "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#0080FF", @@ -14103,42 +9280,22 @@ "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", "minzoom": 5, - "filter": [ - "in", - "txt_typo", - "moyen", - "HYD_SURF_2", - "TYPO_D_2" - ], + "filter": ["in", "txt_typo", "moyen", "HYD_SURF_2", "TYPO_D_2"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 5, - 12 - ], - [ - 6, - 18 - ], - [ - 10, - 17 - ], - [ - 18, - 21 - ] + [5, 12], + [6, 18], + [10, 17], + [18, 21] ] }, "text-allow-overlap": false, "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#0080FF", @@ -14151,37 +9308,21 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", - "filter": [ - "in", - "txt_typo", - "TYPO_D_3", - "TYPO_D_4" - ], + "filter": ["in", "txt_typo", "TYPO_D_3", "TYPO_D_4"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 9, - 15 - ], - [ - 10, - 17 - ], - [ - 18, - 21 - ] + [9, 15], + [10, 17], + [18, 21] ] }, "text-allow-overlap": false, "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#0080FF", @@ -14212,26 +9353,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 5, - 10 - ], - [ - 6, - 15 - ] + [5, 10], + [6, 15] ] }, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.30, - 0.10 - ], + "text-offset": [0.3, 0.1], "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -14248,21 +9378,9 @@ "maxzoom": 18, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_7" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_7"] ], "layout": { "visibility": "visible", @@ -14270,22 +9388,14 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 13 - ], - [ - 17, - 16 - ] + [15, 13], + [17, 16] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -14302,22 +9412,9 @@ "maxzoom": 18, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "in", - "txt_typo", - "TYPO_A_5", - "TYPO_A_6" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["in", "txt_typo", "TYPO_A_5", "TYPO_A_6"] ], "layout": { "visibility": "visible", @@ -14325,22 +9422,14 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 15 - ], - [ - 17, - 18 - ] + [15, 15], + [17, 18] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -14353,13 +9442,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_oro_lin", - "filter": [ - "in", - "txt_typo", - "ORO_ILE_1", - "ORO_RELIEF_1", - "ORO_RELIEF_1_T" - ], + "filter": ["in", "txt_typo", "ORO_ILE_1", "ORO_RELIEF_1", "ORO_RELIEF_1_T"], "layout": { "symbol-placement": "line", "text-field": "{texte}", @@ -14368,9 +9451,7 @@ "text-keep-upright": true, "text-padding": 5, "text-max-angle": 45, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#863831", @@ -14411,9 +9492,7 @@ "text-size": 11, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#863831", @@ -14430,21 +9509,9 @@ "maxzoom": 16, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_4" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_4"] ], "layout": { "visibility": "visible", @@ -14454,9 +9521,7 @@ "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -14469,33 +9534,21 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_lin", - "filter": [ - "==", - "txt_typo", - "OCS_FORET_1" - ], + "filter": ["==", "txt_typo", "OCS_FORET_1"], "layout": { "symbol-placement": "line", "text-field": "{texte}", "text-size": { "stops": [ - [ - 10, - 18 - ], - [ - 12, - 22 - ] + [10, 18], + [12, 22] ] }, "text-anchor": "center", "text-keep-upright": true, "text-padding": 1, "text-max-angle": 45, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#287B00", @@ -14508,32 +9561,20 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_ocs_ponc", - "filter": [ - "==", - "txt_typo", - "OCS_FORET_1" - ], + "filter": ["==", "txt_typo", "OCS_FORET_1"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 10, - 18 - ], - [ - 12, - 22 - ] + [10, 18], + [12, 22] ] }, "text-allow-overlap": true, "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#287B00", @@ -14547,14 +9588,7 @@ "source": "plan_ign", "source-layer": "toponyme_oro_ponc", "minzoom": 8, - "filter": [ - "in", - "txt_typo", - "ORO_ILE_1", - "ORO_RELIEF_1", - "ORO_RELIEF_1_T", - "TYPO_G_1" - ], + "filter": ["in", "txt_typo", "ORO_ILE_1", "ORO_RELIEF_1", "ORO_RELIEF_1_T", "TYPO_G_1"], "layout": { "visibility": "visible", "symbol-placement": "point", @@ -14562,9 +9596,7 @@ "text-size": 21, "text-allow-overlap": true, "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#863831", @@ -14578,33 +9610,20 @@ "source": "plan_ign", "source-layer": "toponyme_oro_ponc", "minzoom": 8, - "filter": [ - "in", - "txt_typo", - "TYPO_G_2", - "TYPO_G_3" - ], + "filter": ["in", "txt_typo", "TYPO_G_2", "TYPO_G_3"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 12, - 15 - ], - [ - 13, - 21 - ] + [12, 15], + [13, 21] ] }, "text-allow-overlap": false, "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#863831", @@ -14617,12 +9636,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_hydro_lin", - "filter": [ - "in", - "txt_typo", - "ORO_GLACIER_1", - "ORO_GLACIER_2" - ], + "filter": ["in", "txt_typo", "ORO_GLACIER_1", "ORO_GLACIER_2"], "layout": { "symbol-placement": "line", "text-field": "{texte}", @@ -14630,9 +9644,7 @@ "text-anchor": "center", "text-keep-upright": true, "text-max-angle": 45, - "text-font": [ - "Source Sans Pro Italic" - ] + "text-font": ["Source Sans Pro Italic"] }, "paint": { "text-color": "#0080FF", @@ -14666,9 +9678,7 @@ "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#0080FF", @@ -14681,11 +9691,7 @@ "type": "symbol", "source": "plan_ign", "source-layer": "toponyme_hydro_lin", - "filter": [ - "==", - "txt_typo", - "OCEAN_MER" - ], + "filter": ["==", "txt_typo", "OCEAN_MER"], "layout": { "symbol-placement": "line", "text-field": "{texte}", @@ -14694,9 +9700,7 @@ "text-keep-upright": true, "text-max-angle": 45, "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#0080FF", @@ -14710,39 +9714,21 @@ "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", "minzoom": 4, - "filter": [ - "in", - "txt_typo", - "mer", - "grand", - "HYD_SURF_1", - "TYPO_D_1" - ], + "filter": ["in", "txt_typo", "mer", "grand", "HYD_SURF_1", "TYPO_D_1"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 4, - 16 - ], - [ - 6, - 30 - ], - [ - 10, - 25 - ] + [4, 16], + [6, 30], + [10, 25] ] }, "text-allow-overlap": true, "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#0080FF", @@ -14774,44 +9760,20 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 4, - 10 - ], - [ - 6, - 17 - ] + [4, 10], + [6, 17] ] }, "text-allow-overlap": true, "text-anchor": "bottom-left", - "text-offset": [ - 0.30, - 0.2 - ], + "text-offset": [0.3, 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" - ] - ] + [1, ["Source Sans Pro Regular"]], + [7, ["Source Sans Pro Bold"]], + [10, ["Source Sans Pro Regular"]] ] } }, @@ -14830,21 +9792,9 @@ "maxzoom": 16, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_3" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_3"] ], "layout": { "visibility": "visible", @@ -14854,9 +9804,7 @@ "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -14873,21 +9821,9 @@ "maxzoom": 16, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_2" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_2"] ], "layout": { "visibility": "visible", @@ -14897,9 +9833,7 @@ "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -14916,17 +9850,8 @@ "maxzoom": 18, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_8" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_8"] ], "layout": { "visibility": "visible", @@ -14934,23 +9859,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 12 - ], - [ - 17, - 15 - ] + [15, 12], + [17, 15] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -14967,17 +9884,8 @@ "maxzoom": 18, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_7" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_7"] ], "layout": { "visibility": "visible", @@ -14985,23 +9893,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 13 - ], - [ - 17, - 16 - ] + [15, 13], + [17, 16] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -15018,18 +9918,8 @@ "maxzoom": 18, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "in", - "txt_typo", - "TYPO_A_5", - "TYPO_A_6" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["in", "txt_typo", "TYPO_A_5", "TYPO_A_6"] ], "layout": { "visibility": "visible", @@ -15037,23 +9927,15 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 15, - 15 - ], - [ - 17, - 18 - ] + [15, 15], + [17, 18] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -15070,21 +9952,9 @@ "maxzoom": 16, "filter": [ "all", - [ - "!=", - "symbo", - "COMMUNE_FUSIONNEE" - ], - [ - "!=", - "symbo", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_1" - ] + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_1"] ], "layout": { "visibility": "visible", @@ -15094,9 +9964,7 @@ "text-allow-overlap": true, "text-anchor": "center", "text-padding": 1, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -15113,17 +9981,8 @@ "maxzoom": 16, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_4" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_4"] ], "layout": { "visibility": "visible", @@ -15134,9 +9993,7 @@ "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -15153,17 +10010,8 @@ "maxzoom": 16, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_3" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_3"] ], "layout": { "visibility": "visible", @@ -15174,9 +10022,7 @@ "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -15193,17 +10039,8 @@ "maxzoom": 16, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_2" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_2"] ], "layout": { "visibility": "visible", @@ -15214,9 +10051,7 @@ "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -15247,44 +10082,20 @@ "text-field": "{texte}", "text-size": { "stops": [ - [ - 3, - 10 - ], - [ - 6, - 20 - ] + [3, 10], + [6, 20] ] }, "text-allow-overlap": false, "text-anchor": "bottom-left", - "text-offset": [ - 0.25, - -0.10 - ], + "text-offset": [0.25, -0.1], "text-padding": 1, "text-transform": "uppercase", "text-font": { "stops": [ - [ - 1, - [ - "Source Sans Pro Regular" - ] - ], - [ - 7, - [ - "Source Sans Pro Bold" - ] - ], - [ - 10, - [ - "Source Sans Pro Regular" - ] - ] + [1, ["Source Sans Pro Regular"]], + [7, ["Source Sans Pro Bold"]], + [10, ["Source Sans Pro Regular"]] ] } }, @@ -15303,17 +10114,8 @@ "maxzoom": 16, "filter": [ "all", - [ - "in", - "symbo", - "COMMUNE_FUSIONNEE", - "COMMUNE_CHEF_LIEU" - ], - [ - "==", - "txt_typo", - "TYPO_A_1" - ] + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_1"] ], "layout": { "visibility": "visible", @@ -15324,9 +10126,7 @@ "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#000000", @@ -15340,33 +10140,21 @@ "source": "plan_ign", "source-layer": "toponyme_hydro_ponc", "minzoom": 1, - "filter": [ - "==", - "txt_typo", - "ocean" - ], + "filter": ["==", "txt_typo", "ocean"], "layout": { "visibility": "visible", "symbol-placement": "point", "text-field": "{texte}", "text-size": { "stops": [ - [ - 1, - 16 - ], - [ - 6, - 30 - ] + [1, 16], + [6, 30] ] }, "text-allow-overlap": true, "text-anchor": "center", "text-padding": 10, - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#0080FF", @@ -15381,11 +10169,7 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 4, "maxzoom": 5, - "filter": [ - "==", - "txt_typo", - "pays 3" - ], + "filter": ["==", "txt_typo", "pays 3"], "layout": { "visibility": "visible", "text-field": "{texte}", @@ -15394,9 +10178,7 @@ "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#787878", @@ -15411,11 +10193,7 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 2, "maxzoom": 5, - "filter": [ - "==", - "txt_typo", - "pays 2" - ], + "filter": ["==", "txt_typo", "pays 2"], "layout": { "visibility": "visible", "text-field": "{texte}", @@ -15424,9 +10202,7 @@ "text-anchor": "center", "text-padding": 2, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#787878", @@ -15441,11 +10217,7 @@ "source-layer": "toponyme_localite_ponc", "minzoom": 2, "maxzoom": 5, - "filter": [ - "==", - "txt_typo", - "pays 1" - ], + "filter": ["==", "txt_typo", "pays 1"], "layout": { "visibility": "visible", "text-field": "{texte}", @@ -15454,9 +10226,7 @@ "text-anchor": "center", "text-padding": 2, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Regular" - ] + "text-font": ["Source Sans Pro Regular"] }, "paint": { "text-color": "#787878", @@ -15470,11 +10240,7 @@ "source": "plan_ign", "source-layer": "toponyme_localite_ponc", "maxzoom": 3, - "filter": [ - "==", - "txt_typo", - "continent" - ], + "filter": ["==", "txt_typo", "continent"], "layout": { "visibility": "visible", "text-field": "{texte}", @@ -15483,9 +10249,7 @@ "text-anchor": "center", "text-padding": 1, "text-transform": "uppercase", - "text-font": [ - "Source Sans Pro Bold" - ] + "text-font": ["Source Sans Pro Bold"] }, "paint": { "text-color": "#787878", @@ -15494,4 +10258,4 @@ } } ] -} \ No newline at end of file +} diff --git a/website/src/lib/assets/example.ts b/website/src/lib/assets/example.ts index 294c712e..24cfaa75 100644 --- a/website/src/lib/assets/example.ts +++ b/website/src/lib/assets/example.ts @@ -1,2 +1,4 @@ -import { parseGPX } from "gpx"; -export const exampleGPXFile = parseGPX(`Examplegpx.studioExamplecycling290.418292.818303.618331.81936622371.22237622376.621377.620376.820410.623390.423419.81943019430.218431.21843417435.617435.618434.618434.218434.219433.219432.819431.619426.819424.818422.218416.617409.817404.416422.416429.616448.617458.418476.21749517537.418553.818580.418604.619650.22267823692236882372822770.61987618920.820923.82091418910.418930.817942.619953.620986.4211029.6221038.8221025.2211002.6191043181030.4161018.61699616951.816906.41684815820.415821.215824.615817.415811.815806.215791.615788.61578715784.21576815769.215766.815757.415746.815735.415723.415726.215725.816727.416726.816720.216723.816732.615731.41570415684.41567515671.815676.416681.416677.21664818632.817612.817`); \ No newline at end of file +import { parseGPX } from 'gpx'; +export const exampleGPXFile = parseGPX( + `Examplegpx.studioExamplecycling290.418292.818303.618331.81936622371.22237622376.621377.620376.820410.623390.423419.81943019430.218431.21843417435.617435.618434.618434.218434.219433.219432.819431.619426.819424.818422.218416.617409.817404.416422.416429.616448.617458.418476.21749517537.418553.818580.418604.619650.22267823692236882372822770.61987618920.820923.82091418910.418930.817942.619953.620986.4211029.6221038.8221025.2211002.6191043181030.4161018.61699616951.816906.41684815820.415821.215824.615817.415811.815806.215791.615788.61578715784.21576815769.215766.815757.415746.815735.415723.415726.215725.816727.416726.816720.216723.816732.615731.41570415684.41567515671.815676.416681.416677.21664818632.817612.817` +); diff --git a/website/src/lib/assets/layers.ts b/website/src/lib/assets/layers.ts index 8559ef34..2de49f01 100644 --- a/website/src/lib/assets/layers.ts +++ b/website/src/lib/assets/layers.ts @@ -1,11 +1,34 @@ -import { TramFront, Utensils, ShoppingBasket, Droplet, ShowerHead, Fuel, CircleParking, Fence, FerrisWheel, Bed, Mountain, Pickaxe, Store, TrainFront, Bus, Ship, Croissant, House, Tent, Wrench, Binoculars, Toilet } from 'lucide-static'; +import { + TramFront, + Utensils, + ShoppingBasket, + Droplet, + ShowerHead, + Fuel, + CircleParking, + Fence, + FerrisWheel, + Bed, + Mountain, + Pickaxe, + Store, + TrainFront, + Bus, + Ship, + Croissant, + House, + Tent, + Wrench, + Binoculars, + Toilet, +} from 'lucide-static'; import { type StyleSpecification } from 'mapbox-gl'; import ignFrTopo from './custom/ign-fr-topo.json'; import ignFrPlan from './custom/ign-fr-plan.json'; import ignFrSatellite from './custom/ign-fr-satellite.json'; import bikerouterGravel from './custom/bikerouter-gravel.json'; -export const basemaps: { [key: string]: string | StyleSpecification; } = { +export const basemaps: { [key: string]: string | StyleSpecification } = { mapboxOutdoors: 'mapbox://styles/mapbox/outdoors-v12', mapboxSatellite: 'mapbox://styles/mapbox/satellite-streets-v12', openStreetMap: { @@ -13,17 +36,24 @@ export const basemaps: { [key: string]: string | StyleSpecification; } = { sources: { openStreetMap: { type: 'raster', - tiles: ['https://a.tile.openstreetmap.org/{z}/{x}/{y}.png', 'https://b.tile.openstreetmap.org/{z}/{x}/{y}.png', 'https://c.tile.openstreetmap.org/{z}/{x}/{y}.png'], + tiles: [ + 'https://a.tile.openstreetmap.org/{z}/{x}/{y}.png', + 'https://b.tile.openstreetmap.org/{z}/{x}/{y}.png', + 'https://c.tile.openstreetmap.org/{z}/{x}/{y}.png', + ], tileSize: 256, maxzoom: 19, - attribution: '© OpenStreetMap' - } + attribution: + '© OpenStreetMap', + }, }, - layers: [{ - id: 'openStreetMap', - type: 'raster', - source: 'openStreetMap', - }], + layers: [ + { + id: 'openStreetMap', + type: 'raster', + source: 'openStreetMap', + }, + ], }, openTopoMap: { version: 8, @@ -33,14 +63,17 @@ export const basemaps: { [key: string]: string | StyleSpecification; } = { tiles: ['https://tile.opentopomap.org/{z}/{x}/{y}.png'], tileSize: 256, maxzoom: 17, - attribution: '© OpenTopoMap © OpenStreetMap' - } + attribution: + '© OpenTopoMap © OpenStreetMap', + }, }, - layers: [{ - id: 'openTopoMap', - type: 'raster', - source: 'openTopoMap', - }], + layers: [ + { + id: 'openTopoMap', + type: 'raster', + source: 'openTopoMap', + }, + ], }, openHikingMap: { version: 8, @@ -50,68 +83,88 @@ export const basemaps: { [key: string]: string | StyleSpecification; } = { tiles: ['https://maps.refuges.info/hiking/{z}/{x}/{y}.png'], tileSize: 256, maxzoom: 18, - attribution: '© sly © OpenStreetMap' - } + attribution: + '© sly © OpenStreetMap', + }, }, - layers: [{ - id: 'openHikingMap', - type: 'raster', - source: 'openHikingMap', - }], + layers: [ + { + id: 'openHikingMap', + type: 'raster', + source: 'openHikingMap', + }, + ], }, cyclOSM: { version: 8, sources: { cyclOSM: { type: 'raster', - tiles: ['https://a.tile-cyclosm.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png', 'https://b.tile-cyclosm.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png', 'https://c.tile-cyclosm.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png'], + tiles: [ + 'https://a.tile-cyclosm.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png', + 'https://b.tile-cyclosm.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png', + 'https://c.tile-cyclosm.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png', + ], tileSize: 256, maxzoom: 18, - attribution: '© CyclOSM © OpenStreetMap' - } + attribution: + '© CyclOSM © OpenStreetMap', + }, }, - layers: [{ - id: 'cyclOSM', - type: 'raster', - source: 'cyclOSM', - }], + layers: [ + { + id: 'cyclOSM', + type: 'raster', + source: 'cyclOSM', + }, + ], }, swisstopoRaster: { version: 8, sources: { swisstopoRaster: { type: 'raster', - tiles: ['https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-farbe/default/current/3857/{z}/{x}/{y}.jpeg'], + tiles: [ + 'https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-farbe/default/current/3857/{z}/{x}/{y}.jpeg', + ], tileSize: 128, maxzoom: 19, - attribution: '© swisstopo' - } + attribution: + '© swisstopo', + }, }, - layers: [{ - id: 'swisstopoRaster', - type: 'raster', - source: 'swisstopoRaster', - }], + layers: [ + { + id: 'swisstopoRaster', + type: 'raster', + source: 'swisstopoRaster', + }, + ], }, swisstopoVector: 'https://vectortiles.geo.admin.ch/styles/ch.swisstopo.basemap.vt/style.json', - swisstopoSatellite: 'https://vectortiles.geo.admin.ch/styles/ch.swisstopo.imagerybasemap.vt/style.json', + swisstopoSatellite: + 'https://vectortiles.geo.admin.ch/styles/ch.swisstopo.imagerybasemap.vt/style.json', linz: 'https://basemaps.linz.govt.nz/v1/tiles/topographic/EPSG:3857/style/topographic.json?api=d01fbtg0ar23gctac5m0jgyy2ds', linzTopo: { version: 8, sources: { linzTopo: { type: 'raster', - tiles: ['https://tiles-cdn.koordinates.com/services;key=39a8b989633a4bef98bc0e065380454a/tiles/v4/layer=50767/EPSG:3857/{z}/{x}/{y}.png'], + tiles: [ + 'https://tiles-cdn.koordinates.com/services;key=39a8b989633a4bef98bc0e065380454a/tiles/v4/layer=50767/EPSG:3857/{z}/{x}/{y}.png', + ], tileSize: 256, maxzoom: 18, - attribution: '© LINZ' - } + attribution: '© LINZ', + }, }, - layers: [{ - id: 'linzTopo', - type: 'raster', - source: 'linzTopo', - }], + layers: [ + { + id: 'linzTopo', + type: 'raster', + source: 'linzTopo', + }, + ], }, ignBe: { version: 8, @@ -121,14 +174,16 @@ export const basemaps: { [key: string]: string | StyleSpecification; } = { tiles: ['https://cartoweb.wmts.ngi.be/1.0.0/topo/default/3857/{z}/{y}/{x}.png'], tileSize: 256, maxzoom: 17, - attribution: '© IGN/NGI' - } + attribution: '© IGN/NGI', + }, }, - layers: [{ - id: 'ignBe', - type: 'raster', - source: 'ignBe', - }], + layers: [ + { + id: 'ignBe', + type: 'raster', + source: 'ignBe', + }, + ], }, ignFrPlan: ignFrPlan, ignFrTopo: ignFrTopo, @@ -137,17 +192,21 @@ export const basemaps: { [key: string]: string | StyleSpecification; } = { sources: { ignFrScan25: { type: 'raster', - tiles: ['https://data.geopf.fr/private/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&TILEMATRIXSET=PM&TILEMATRIX={z}&TILECOL={x}&TILEROW={y}&LAYER=GEOGRAPHICALGRIDSYSTEMS.MAPS.SCAN25TOUR&FORMAT=image/jpeg&STYLE=normal&apikey=ign_scan_ws'], + tiles: [ + 'https://data.geopf.fr/private/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&TILEMATRIXSET=PM&TILEMATRIX={z}&TILECOL={x}&TILEROW={y}&LAYER=GEOGRAPHICALGRIDSYSTEMS.MAPS.SCAN25TOUR&FORMAT=image/jpeg&STYLE=normal&apikey=ign_scan_ws', + ], tileSize: 256, maxzoom: 16, - attribution: 'IGN-F/Géoportail' - } + attribution: 'IGN-F/Géoportail', + }, }, - layers: [{ - id: 'ignFrScan25', - type: 'raster', - source: 'ignFrScan25', - }], + layers: [ + { + id: 'ignFrScan25', + type: 'raster', + source: 'ignFrScan25', + }, + ], }, ignFrSatellite: ignFrSatellite, ignEs: { @@ -155,117 +214,150 @@ export const basemaps: { [key: string]: string | StyleSpecification; } = { sources: { ignEs: { type: 'raster', - tiles: ['https://www.ign.es/wmts/mapa-raster?layer=MTN&style=default&tilematrixset=GoogleMapsCompatible&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image/jpeg&TileMatrix={z}&TileCol={x}&TileRow={y}'], + tiles: [ + 'https://www.ign.es/wmts/mapa-raster?layer=MTN&style=default&tilematrixset=GoogleMapsCompatible&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image/jpeg&TileMatrix={z}&TileCol={x}&TileRow={y}', + ], tileSize: 256, maxzoom: 20, - attribution: '© IGN' - } + attribution: '© IGN', + }, }, - layers: [{ - id: 'ignEs', - type: 'raster', - source: 'ignEs', - }], + layers: [ + { + id: 'ignEs', + type: 'raster', + source: 'ignEs', + }, + ], }, ignEsSatellite: { version: 8, sources: { ignEsSatellite: { type: 'raster', - tiles: ['https://www.ign.es/wmts/pnoa-ma?layer=OI.OrthoimageCoverage&style=default&tilematrixset=GoogleMapsCompatible&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image/jpeg&TileMatrix={z}&TileCol={x}&TileRow={y}'], + tiles: [ + 'https://www.ign.es/wmts/pnoa-ma?layer=OI.OrthoimageCoverage&style=default&tilematrixset=GoogleMapsCompatible&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image/jpeg&TileMatrix={z}&TileCol={x}&TileRow={y}', + ], tileSize: 256, maxzoom: 20, - attribution: '© IGN' - } + attribution: '© IGN', + }, }, - layers: [{ - id: 'ignEsSatellite', - type: 'raster', - source: 'ignEsSatellite', - }], + layers: [ + { + id: 'ignEsSatellite', + type: 'raster', + source: 'ignEsSatellite', + }, + ], }, - ordnanceSurvey: "https://api.os.uk/maps/vector/v1/vts/resources/styles?srs=3857&key=piCT8WysfuC3xLSUW7sGLfrAAJoYDvQz", + ordnanceSurvey: + 'https://api.os.uk/maps/vector/v1/vts/resources/styles?srs=3857&key=piCT8WysfuC3xLSUW7sGLfrAAJoYDvQz', norwayTopo: { version: 8, sources: { norwayTopo: { type: 'raster', - tiles: ['https://cache.kartverket.no/v1/wmts/1.0.0/topo/default/webmercator/{z}/{y}/{x}.png'], + tiles: [ + 'https://cache.kartverket.no/v1/wmts/1.0.0/topo/default/webmercator/{z}/{y}/{x}.png', + ], tileSize: 256, maxzoom: 20, - attribution: '© Geonorge' - } + attribution: + '© Geonorge', + }, }, - layers: [{ - id: 'norwayTopo', - type: 'raster', - source: 'norwayTopo', - }], + layers: [ + { + id: 'norwayTopo', + type: 'raster', + source: 'norwayTopo', + }, + ], }, swedenTopo: { version: 8, sources: { swedenTopoWMTS: { type: 'raster', - tiles: ['https://api.lantmateriet.se/open/topowebb-ccby/v1/wmts/token/1d54dd14-a28c-38a9-b6f3-b4ebfcc3c204/1.0.0/topowebb/default/3857/{z}/{y}/{x}.png'], + tiles: [ + 'https://api.lantmateriet.se/open/topowebb-ccby/v1/wmts/token/1d54dd14-a28c-38a9-b6f3-b4ebfcc3c204/1.0.0/topowebb/default/3857/{z}/{y}/{x}.png', + ], tileSize: 256, maxzoom: 14, - attribution: '© Lantmäteriet' + attribution: + '© Lantmäteriet', }, swedenTopoWMS: { type: 'raster', - tiles: ['https://minkarta.lantmateriet.se/map/topowebb?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&FORMAT=image%2Fpng&STYLES=&TRANSPARENT=false&LAYERS=topowebbkartan&TILED=true&MAP_RESOLUTION=180&WIDTH=512&HEIGHT=512&SRS=EPSG%3A3857&BBOX={bbox-epsg-3857}'], + tiles: [ + 'https://minkarta.lantmateriet.se/map/topowebb?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&FORMAT=image%2Fpng&STYLES=&TRANSPARENT=false&LAYERS=topowebbkartan&TILED=true&MAP_RESOLUTION=180&WIDTH=512&HEIGHT=512&SRS=EPSG%3A3857&BBOX={bbox-epsg-3857}', + ], tileSize: 512, minzoom: 14, maxzoom: 20, - attribution: '© Lantmäteriet' - } + attribution: + '© Lantmäteriet', + }, }, - layers: [{ - id: 'swedenTopoWMTS', - type: 'raster', - source: 'swedenTopoWMTS', - maxzoom: 14 - }, { - id: 'swedenTopoWMS', - type: 'raster', - source: 'swedenTopoWMS', - minzoom: 14 - }], + layers: [ + { + id: 'swedenTopoWMTS', + type: 'raster', + source: 'swedenTopoWMTS', + maxzoom: 14, + }, + { + id: 'swedenTopoWMS', + type: 'raster', + source: 'swedenTopoWMS', + minzoom: 14, + }, + ], }, swedenSatellite: { version: 8, sources: { swedenSatellite: { type: 'raster', - tiles: ['https://minkarta.lantmateriet.se/map/ortofoto?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&FORMAT=image%2Fpng&STYLES=&TRANSPARENT=false&LAYERS=Ortofoto_0.5%2COrtofoto_0.4%2COrtofoto_0.25%2COrtofoto_0.16&TILED=true&MAP_RESOLUTION=180&WIDTH=512&HEIGHT=512&SRS=EPSG%3A3857&BBOX={bbox-epsg-3857}'], + tiles: [ + 'https://minkarta.lantmateriet.se/map/ortofoto?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&FORMAT=image%2Fpng&STYLES=&TRANSPARENT=false&LAYERS=Ortofoto_0.5%2COrtofoto_0.4%2COrtofoto_0.25%2COrtofoto_0.16&TILED=true&MAP_RESOLUTION=180&WIDTH=512&HEIGHT=512&SRS=EPSG%3A3857&BBOX={bbox-epsg-3857}', + ], tileSize: 512, maxzoom: 22, - attribution: '© Lantmäteriet' - } + attribution: + '© Lantmäteriet', + }, }, - layers: [{ - id: 'swedenSatellite', - type: 'raster', - source: 'swedenSatellite', - }], + layers: [ + { + id: 'swedenSatellite', + type: 'raster', + source: 'swedenSatellite', + }, + ], }, finlandTopo: { version: 8, sources: { finlandTopo: { type: 'raster', - tiles: ['https://avoin-karttakuva.maanmittauslaitos.fi/avoin/wmts?layer=maastokartta&style=default&tilematrixset=WGS84_Pseudo-Mercator&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image/png&TileMatrix={z}&TileCol={x}&TileRow={y}&api-key=30cb768c-c968-493c-ae24-2b0b974ebd29'], + tiles: [ + 'https://avoin-karttakuva.maanmittauslaitos.fi/avoin/wmts?layer=maastokartta&style=default&tilematrixset=WGS84_Pseudo-Mercator&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image/png&TileMatrix={z}&TileCol={x}&TileRow={y}&api-key=30cb768c-c968-493c-ae24-2b0b974ebd29', + ], tileSize: 256, maxzoom: 18, - attribution: '© Maanmittauslaitos' - } + attribution: + '© Maanmittauslaitos', + }, }, - layers: [{ - id: 'finlandTopo', - type: 'raster', - source: 'finlandTopo', - }], + layers: [ + { + id: 'finlandTopo', + type: 'raster', + source: 'finlandTopo', + }, + ], }, bgMountains: { version: 8, @@ -275,51 +367,65 @@ export const basemaps: { [key: string]: string | StyleSpecification; } = { tiles: ['https://bgmtile.kade.si/{z}/{x}/{y}.png'], tileSize: 256, maxzoom: 19, - attribution: 'BGM Legend / CART Lab, BGM team, © CC BY-SA 4.0, Garmin version' - } + attribution: + 'BGM Legend / CART Lab, BGM team, © CC BY-SA 4.0, Garmin version', + }, }, - layers: [{ - id: 'bgMountains', - type: 'raster', - source: 'bgMountains', - }], + layers: [ + { + id: 'bgMountains', + type: 'raster', + source: 'bgMountains', + }, + ], }, usgs: { version: 8, sources: { usgs: { type: 'raster', - tiles: ['https://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer/tile/{z}/{y}/{x}?blankTile=false'], + tiles: [ + 'https://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer/tile/{z}/{y}/{x}?blankTile=false', + ], tileSize: 256, maxzoom: 16, - attribution: '© USGS' - } + attribution: '© USGS', + }, }, - layers: [{ - id: 'usgs', - type: 'raster', - source: 'usgs', - }], + layers: [ + { + id: 'usgs', + type: 'raster', + source: 'usgs', + }, + ], }, }; -export const overlays: { [key: string]: string | StyleSpecification; } = { +export const overlays: { [key: string]: string | StyleSpecification } = { cyclOSMlite: { version: 8, sources: { cyclOSMlite: { type: 'raster', - tiles: ['https://a.tile-cyclosm.openstreetmap.fr/cyclosm-lite/{z}/{x}/{y}.png', 'https://b.tile-cyclosm.openstreetmap.fr/cyclosm-lite/{z}/{x}/{y}.png', 'https://c.tile-cyclosm.openstreetmap.fr/cyclosm-lite/{z}/{x}/{y}.png'], + tiles: [ + 'https://a.tile-cyclosm.openstreetmap.fr/cyclosm-lite/{z}/{x}/{y}.png', + 'https://b.tile-cyclosm.openstreetmap.fr/cyclosm-lite/{z}/{x}/{y}.png', + 'https://c.tile-cyclosm.openstreetmap.fr/cyclosm-lite/{z}/{x}/{y}.png', + ], tileSize: 256, maxzoom: 17, - attribution: '© CyclOSM © OpenStreetMap' - } + attribution: + '© CyclOSM © OpenStreetMap', + }, }, - layers: [{ - id: 'cyclOSMlite', - type: 'raster', - source: 'cyclOSMlite', - }], + layers: [ + { + id: 'cyclOSMlite', + type: 'raster', + source: 'cyclOSMlite', + }, + ], }, bikerouterGravel: bikerouterGravel, swisstopoSlope: { @@ -327,183 +433,235 @@ export const overlays: { [key: string]: string | StyleSpecification; } = { sources: { swisstopoSlope: { type: 'raster', - tiles: ['https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.hangneigung-ueber_30/default/current/3857/{z}/{x}/{y}.png'], + tiles: [ + 'https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.hangneigung-ueber_30/default/current/3857/{z}/{x}/{y}.png', + ], tileSize: 256, maxzoom: 17, - attribution: '© swisstopo', + attribution: + '© swisstopo', }, }, - layers: [{ - id: 'swisstopoSlope', - type: 'raster', - source: 'swisstopoSlope', - }], + layers: [ + { + id: 'swisstopoSlope', + type: 'raster', + source: 'swisstopoSlope', + }, + ], }, swisstopoHiking: { version: 8, sources: { swisstopoHiking: { type: 'raster', - tiles: ['https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.swisstlm3d-wanderwege/default/current/3857/{z}/{x}/{y}.png'], + tiles: [ + 'https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.swisstlm3d-wanderwege/default/current/3857/{z}/{x}/{y}.png', + ], tileSize: 256, maxzoom: 18, - attribution: '© swisstopo' + attribution: + '© swisstopo', }, }, - layers: [{ - id: 'swisstopoHiking', - type: 'raster', - source: 'swisstopoHiking', - }], + layers: [ + { + id: 'swisstopoHiking', + type: 'raster', + source: 'swisstopoHiking', + }, + ], }, swisstopoHikingClosures: { version: 8, sources: { swisstopoHikingClosures: { type: 'raster', - tiles: ['https://wms.geo.admin.ch/?version=1.3.0&service=WMS&request=GetMap&sld_version=1.1.0&layers=ch.astra.wanderland-sperrungen_umleitungen&format=image/png&STYLE=default&bbox={bbox-epsg-3857}&width=256&height=256&crs=EPSG:3857&transparent=true'], + tiles: [ + 'https://wms.geo.admin.ch/?version=1.3.0&service=WMS&request=GetMap&sld_version=1.1.0&layers=ch.astra.wanderland-sperrungen_umleitungen&format=image/png&STYLE=default&bbox={bbox-epsg-3857}&width=256&height=256&crs=EPSG:3857&transparent=true', + ], tileSize: 256, - attribution: '© swisstopo' + attribution: + '© swisstopo', }, }, - layers: [{ - id: 'swisstopoHikingClosures', - type: 'raster', - source: 'swisstopoHikingClosures', - }], + layers: [ + { + id: 'swisstopoHikingClosures', + type: 'raster', + source: 'swisstopoHikingClosures', + }, + ], }, swisstopoCycling: { version: 8, sources: { swisstopoCycling: { type: 'raster', - tiles: ['https://wmts.geo.admin.ch/1.0.0/ch.astra.veloland/default/current/3857/{z}/{x}/{y}.png'], + tiles: [ + 'https://wmts.geo.admin.ch/1.0.0/ch.astra.veloland/default/current/3857/{z}/{x}/{y}.png', + ], tileSize: 256, maxzoom: 18, - attribution: '© swisstopo' - } + attribution: + '© swisstopo', + }, }, - layers: [{ - id: 'swisstopoCycling', - type: 'raster', - source: 'swisstopoCycling', - }], + layers: [ + { + id: 'swisstopoCycling', + type: 'raster', + source: 'swisstopoCycling', + }, + ], }, swisstopoCyclingClosures: { version: 8, sources: { swisstopoCyclingClosures: { type: 'raster', - tiles: ['https://wms.geo.admin.ch/?version=1.3.0&service=WMS&request=GetMap&sld_version=1.1.0&layers=ch.astra.veloland-sperrungen_umleitungen&format=image/png&STYLE=default&bbox={bbox-epsg-3857}&width=256&height=256&crs=EPSG:3857&transparent=true'], + tiles: [ + 'https://wms.geo.admin.ch/?version=1.3.0&service=WMS&request=GetMap&sld_version=1.1.0&layers=ch.astra.veloland-sperrungen_umleitungen&format=image/png&STYLE=default&bbox={bbox-epsg-3857}&width=256&height=256&crs=EPSG:3857&transparent=true', + ], tileSize: 256, - attribution: '© swisstopo' - } + attribution: + '© swisstopo', + }, }, - layers: [{ - id: 'swisstopoCyclingClosures', - type: 'raster', - source: 'swisstopoCyclingClosures', - }], + layers: [ + { + id: 'swisstopoCyclingClosures', + type: 'raster', + source: 'swisstopoCyclingClosures', + }, + ], }, swisstopoMountainBike: { version: 8, sources: { swisstopoMountainBike: { type: 'raster', - tiles: ['https://wmts.geo.admin.ch/1.0.0/ch.astra.mountainbikeland/default/current/3857/{z}/{x}/{y}.png'], + tiles: [ + 'https://wmts.geo.admin.ch/1.0.0/ch.astra.mountainbikeland/default/current/3857/{z}/{x}/{y}.png', + ], tileSize: 256, maxzoom: 18, - attribution: '© swisstopo' - } + attribution: + '© swisstopo', + }, }, - layers: [{ - id: 'swisstopoMountainBike', - type: 'raster', - source: 'swisstopoMountainBike', - }], + layers: [ + { + id: 'swisstopoMountainBike', + type: 'raster', + source: 'swisstopoMountainBike', + }, + ], }, swisstopoMountainBikeClosures: { version: 8, sources: { swisstopoMountainBikeClosures: { type: 'raster', - tiles: ['https://wms.geo.admin.ch/?version=1.3.0&service=WMS&request=GetMap&sld_version=1.1.0&layers=ch.astra.mountainbikeland-sperrungen_umleitungen&format=image/png&STYLE=default&bbox={bbox-epsg-3857}&width=256&height=256&crs=EPSG:3857&transparent=true'], + tiles: [ + 'https://wms.geo.admin.ch/?version=1.3.0&service=WMS&request=GetMap&sld_version=1.1.0&layers=ch.astra.mountainbikeland-sperrungen_umleitungen&format=image/png&STYLE=default&bbox={bbox-epsg-3857}&width=256&height=256&crs=EPSG:3857&transparent=true', + ], tileSize: 256, - attribution: '© swisstopo' - } + attribution: + '© swisstopo', + }, }, - layers: [{ - id: 'swisstopoMountainBikeClosures', - type: 'raster', - source: 'swisstopoMountainBikeClosures', - }], + layers: [ + { + id: 'swisstopoMountainBikeClosures', + type: 'raster', + source: 'swisstopoMountainBikeClosures', + }, + ], }, swisstopoSkiTouring: { version: 8, sources: { swisstopoSkiTouring: { type: 'raster', - tiles: ['https://wmts.geo.admin.ch/1.0.0/ch.swisstopo-karto.skitouren/default/current/3857/{z}/{x}/{y}.png'], + tiles: [ + 'https://wmts.geo.admin.ch/1.0.0/ch.swisstopo-karto.skitouren/default/current/3857/{z}/{x}/{y}.png', + ], tileSize: 256, maxzoom: 17, - attribution: '© swisstopo' - } + attribution: + '© swisstopo', + }, }, - layers: [{ - id: 'swisstopoSkiTouring', - type: 'raster', - source: 'swisstopoSkiTouring', - }], + layers: [ + { + id: 'swisstopoSkiTouring', + type: 'raster', + source: 'swisstopoSkiTouring', + }, + ], }, ignFrCadastre: { version: 8, sources: { ignFrCadastre: { type: 'raster', - tiles: ['https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&TILEMATRIXSET=PM&TILEMATRIX={z}&TILECOL={x}&TILEROW={y}&LAYER=CADASTRALPARCELS.PARCELS&FORMAT=image/png&STYLE=normal'], + tiles: [ + 'https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&TILEMATRIXSET=PM&TILEMATRIX={z}&TILECOL={x}&TILEROW={y}&LAYER=CADASTRALPARCELS.PARCELS&FORMAT=image/png&STYLE=normal', + ], tileSize: 256, maxzoom: 20, - attribution: 'IGN-F/Géoportail' - } + attribution: 'IGN-F/Géoportail', + }, }, - layers: [{ - id: 'ignFrCadastre', - type: 'raster', - source: 'ignFrCadastre', - }], + layers: [ + { + id: 'ignFrCadastre', + type: 'raster', + source: 'ignFrCadastre', + }, + ], }, ignSlope: { version: 8, sources: { ignSlope: { type: 'raster', - tiles: ['https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&TileMatrixSet=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&Layer=GEOGRAPHICALGRIDSYSTEMS.SLOPES.MOUNTAIN&FORMAT=image/png&Style=normal'], + tiles: [ + 'https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&TileMatrixSet=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&Layer=GEOGRAPHICALGRIDSYSTEMS.SLOPES.MOUNTAIN&FORMAT=image/png&Style=normal', + ], tileSize: 256, - attribution: 'IGN-F/Géoportail' - } + attribution: 'IGN-F/Géoportail', + }, }, - layers: [{ - id: 'ignSlope', - type: 'raster', - source: 'ignSlope', - }], + layers: [ + { + id: 'ignSlope', + type: 'raster', + source: 'ignSlope', + }, + ], }, ignSkiTouring: { version: 8, sources: { ignSkiTouring: { type: 'raster', - tiles: ['https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&TileMatrixSet=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&Layer=TRACES.RANDO.HIVERNALE&FORMAT=image/png&Style=normal'], + tiles: [ + 'https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&TileMatrixSet=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&Layer=TRACES.RANDO.HIVERNALE&FORMAT=image/png&Style=normal', + ], tileSize: 256, maxzoom: 16, - attribution: 'IGN-F/Géoportail' + attribution: 'IGN-F/Géoportail', }, }, - layers: [{ - id: 'ignSkiTouring', - type: 'raster', - source: 'ignSkiTouring', - }], + layers: [ + { + id: 'ignSkiTouring', + type: 'raster', + source: 'ignSkiTouring', + }, + ], }, waymarkedTrailsHiking: { version: 8, @@ -513,14 +671,17 @@ export const overlays: { [key: string]: string | StyleSpecification; } = { tiles: ['https://tile.waymarkedtrails.org/hiking/{z}/{x}/{y}.png'], tileSize: 256, maxzoom: 18, - attribution: '© Waymarked Trails' - } + attribution: + '© Waymarked Trails', + }, }, - layers: [{ - id: 'waymarkedTrailsHiking', - type: 'raster', - source: 'waymarkedTrailsHiking', - }], + layers: [ + { + id: 'waymarkedTrailsHiking', + type: 'raster', + source: 'waymarkedTrailsHiking', + }, + ], }, waymarkedTrailsCycling: { version: 8, @@ -530,14 +691,17 @@ export const overlays: { [key: string]: string | StyleSpecification; } = { tiles: ['https://tile.waymarkedtrails.org/cycling/{z}/{x}/{y}.png'], tileSize: 256, maxzoom: 18, - attribution: '© Waymarked Trails' - } + attribution: + '© Waymarked Trails', + }, }, - layers: [{ - id: 'waymarkedTrailsCycling', - type: 'raster', - source: 'waymarkedTrailsCycling', - }], + layers: [ + { + id: 'waymarkedTrailsCycling', + type: 'raster', + source: 'waymarkedTrailsCycling', + }, + ], }, waymarkedTrailsMTB: { version: 8, @@ -547,14 +711,17 @@ export const overlays: { [key: string]: string | StyleSpecification; } = { tiles: ['https://tile.waymarkedtrails.org/mtb/{z}/{x}/{y}.png'], tileSize: 256, maxzoom: 18, - attribution: '© Waymarked Trails' - } + attribution: + '© Waymarked Trails', + }, }, - layers: [{ - id: 'waymarkedTrailsMTB', - type: 'raster', - source: 'waymarkedTrailsMTB', - }], + layers: [ + { + id: 'waymarkedTrailsMTB', + type: 'raster', + source: 'waymarkedTrailsMTB', + }, + ], }, waymarkedTrailsSkating: { version: 8, @@ -564,14 +731,17 @@ export const overlays: { [key: string]: string | StyleSpecification; } = { tiles: ['https://tile.waymarkedtrails.org/skating/{z}/{x}/{y}.png'], tileSize: 256, maxzoom: 18, - attribution: '© Waymarked Trails' - } + attribution: + '© Waymarked Trails', + }, }, - layers: [{ - id: 'waymarkedTrailsSkating', - type: 'raster', - source: 'waymarkedTrailsSkating', - }], + layers: [ + { + id: 'waymarkedTrailsSkating', + type: 'raster', + source: 'waymarkedTrailsSkating', + }, + ], }, waymarkedTrailsHorseRiding: { version: 8, @@ -581,14 +751,17 @@ export const overlays: { [key: string]: string | StyleSpecification; } = { tiles: ['https://tile.waymarkedtrails.org/riding/{z}/{x}/{y}.png'], tileSize: 256, maxzoom: 18, - attribution: '© Waymarked Trails' - } + attribution: + '© Waymarked Trails', + }, }, - layers: [{ - id: 'waymarkedTrailsHorseRiding', - type: 'raster', - source: 'waymarkedTrailsHorseRiding', - }], + layers: [ + { + id: 'waymarkedTrailsHorseRiding', + type: 'raster', + source: 'waymarkedTrailsHorseRiding', + }, + ], }, waymarkedTrailsWinter: { version: 8, @@ -598,24 +771,27 @@ export const overlays: { [key: string]: string | StyleSpecification; } = { tiles: ['https://tile.waymarkedtrails.org/slopes/{z}/{x}/{y}.png'], tileSize: 256, maxzoom: 18, - attribution: '© Waymarked Trails' - } + attribution: + '© Waymarked Trails', + }, }, - layers: [{ - id: 'waymarkedTrailsWinter', - type: 'raster', - source: 'waymarkedTrailsWinter', - }], + layers: [ + { + id: 'waymarkedTrailsWinter', + type: 'raster', + source: 'waymarkedTrailsWinter', + }, + ], }, }; -export const defaultOpacities: { [key: string]: number; } = { +export const defaultOpacities: { [key: string]: number } = { ignFrCadastre: 0.5, ignSlope: 0.4, swisstopoSlope: 0.4, }; -export type LayerTreeType = { [key: string]: LayerTreeType | boolean; }; +export type LayerTreeType = { [key: string]: LayerTreeType | boolean }; // Hierarchy containing all basemaps export const basemapTree: LayerTreeType = { @@ -626,7 +802,7 @@ export const basemapTree: LayerTreeType = { openStreetMap: true, openTopoMap: true, openHikingMap: true, - cyclOSM: true + cyclOSM: true, }, countries: { belgium: { @@ -669,10 +845,10 @@ export const basemapTree: LayerTreeType = { }, united_states: { usgs: true, - } + }, }, }, -} +}; // Hierarchy containing all overlays export const overlayTree: LayerTreeType = { @@ -704,25 +880,25 @@ export const overlayTree: LayerTreeType = { swisstopoMountainBike: true, swisstopoMountainBikeClosures: true, swisstopoSkiTouring: true, - } + }, }, }, -} +}; // Hierachy containing all Overpass layers export const overpassTree: LayerTreeType = { points_of_interest: { food: { bakery: true, - "food-store": true, - "eat-and-drink": true, + 'food-store': true, + 'eat-and-drink': true, }, amenities: { toilets: true, - "water": true, + water: true, shower: true, shelter: true, - barrier: true + barrier: true, }, tourism: { attraction: true, @@ -736,20 +912,20 @@ export const overpassTree: LayerTreeType = { climbing: true, }, bicycle: { - "bicycle-parking": true, - "bicycle-rental": true, - "bicycle-shop": true + 'bicycle-parking': true, + 'bicycle-rental': true, + 'bicycle-shop': true, }, - "public-transport": { - "railway-station": true, - "tram-stop": true, - "bus-stop": true, - ferry: true + 'public-transport': { + 'railway-station': true, + 'tram-stop': true, + 'bus-stop': true, + ferry: true, }, motorized: { - "fuel-station": true, + 'fuel-station': true, parking: true, - garage: true + garage: true, }, }, }; @@ -787,7 +963,7 @@ export const defaultOverlays: LayerTreeType = { swisstopoMountainBike: false, swisstopoMountainBikeClosures: false, swisstopoSkiTouring: false, - } + }, }, }, }; @@ -795,17 +971,17 @@ export const defaultOverlays: LayerTreeType = { // Default Overpass queries used (none) export const defaultOverpassQueries: LayerTreeType = { points_of_interest: { - "food": { + food: { bakery: false, - "food-store": false, - "eat-and-drink": false, + 'food-store': false, + 'eat-and-drink': false, }, amenities: { toilets: false, - "water": false, + water: false, shower: false, shelter: false, - barrier: false + barrier: false, }, tourism: { attraction: false, @@ -816,23 +992,23 @@ export const defaultOverpassQueries: LayerTreeType = { picnic: false, summit: false, pass: false, - climbing: false + climbing: false, }, bicycle: { - "bicycle-parking": false, - "bicycle-rental": false, - "bicycle-shop": false + 'bicycle-parking': false, + 'bicycle-rental': false, + 'bicycle-shop': false, }, - "public-transport": { - "railway-station": false, - "tram-stop": false, - "bus-stop": false, - ferry: false + 'public-transport': { + 'railway-station': false, + 'tram-stop': false, + 'bus-stop': false, + ferry: false, }, motorized: { - "fuel-station": false, + 'fuel-station': false, parking: false, - garage: false + garage: false, }, }, }; @@ -846,7 +1022,7 @@ export const defaultBasemapTree: LayerTreeType = { openStreetMap: true, openTopoMap: true, openHikingMap: true, - cyclOSM: true + cyclOSM: true, }, countries: { belgium: { @@ -889,9 +1065,9 @@ export const defaultBasemapTree: LayerTreeType = { }, united_states: { usgs: false, - } + }, }, - } + }, }; // Default overlays shown in the layer menu @@ -924,25 +1100,25 @@ export const defaultOverlayTree: LayerTreeType = { swisstopoMountainBike: false, swisstopoMountainBikeClosures: false, swisstopoSkiTouring: false, - } + }, }, - } -} + }, +}; // Default Overpass queries shown in the layer menu export const defaultOverpassTree: LayerTreeType = { points_of_interest: { - "food": { + food: { bakery: true, - "food-store": true, - "eat-and-drink": true, + 'food-store': true, + 'eat-and-drink': true, }, amenities: { toilets: true, - "water": true, + water: true, shower: false, shelter: false, - barrier: false + barrier: false, }, tourism: { attraction: false, @@ -953,313 +1129,318 @@ export const defaultOverpassTree: LayerTreeType = { picnic: false, summit: true, pass: true, - climbing: false + climbing: false, }, bicycle: { - "bicycle-parking": false, - "bicycle-rental": false, - "bicycle-shop": true + 'bicycle-parking': false, + 'bicycle-rental': false, + 'bicycle-shop': true, }, - "public-transport": { - "railway-station": true, - "tram-stop": true, - "bus-stop": true, - ferry: false + 'public-transport': { + 'railway-station': true, + 'tram-stop': true, + 'bus-stop': true, + ferry: false, }, motorized: { - "fuel-station": false, + 'fuel-station': false, parking: false, - garage: false + garage: false, }, }, }; export type CustomLayer = { - id: string, - name: string, - tileUrls: string[], - maxZoom: number, - layerType: 'basemap' | 'overlay', - resourceType: 'raster' | 'vector', - value: string | {}, + id: string; + name: string; + tileUrls: string[]; + maxZoom: number; + layerType: 'basemap' | 'overlay'; + resourceType: 'raster' | 'vector'; + value: string | {}; }; type OverpassQueryData = { icon: { - svg: string, - color: string, - }, - tags: Record | Record[], - symbol?: string, + svg: string; + color: string; + }; + tags: + | Record + | Record[]; + symbol?: string; }; export const overpassQueryData: Record = { bakery: { icon: { svg: Croissant, - color: "Coral", + color: 'Coral', }, tags: { - shop: "bakery" + shop: 'bakery', }, - symbol: "Convenience Store" + symbol: 'Convenience Store', }, - "food-store": { + 'food-store': { icon: { svg: ShoppingBasket, - color: "Coral", + color: 'Coral', }, tags: { - shop: ["supermarket", "convenience"], + shop: ['supermarket', 'convenience'], }, - symbol: "Convenience Store" + symbol: 'Convenience Store', }, - "eat-and-drink": { + 'eat-and-drink': { icon: { svg: Utensils, - color: "Coral", + color: 'Coral', }, tags: { - amenity: ["restaurant", "fast_food", "cafe", "pub", "bar"] + amenity: ['restaurant', 'fast_food', 'cafe', 'pub', 'bar'], }, - symbol: "Restaurant" + symbol: 'Restaurant', }, toilets: { icon: { svg: Toilet, - color: "DeepSkyBlue", + color: 'DeepSkyBlue', }, tags: { - amenity: "toilets" + amenity: 'toilets', }, - symbol: "Restroom" + symbol: 'Restroom', }, water: { icon: { svg: Droplet, - color: "DeepSkyBlue", + color: 'DeepSkyBlue', }, - tags: [{ - amenity: ["drinking_water", "water_point"] - }, { - natural: "spring", - drinking_water: "yes" - }], - symbol: "Drinking Water" + tags: [ + { + amenity: ['drinking_water', 'water_point'], + }, + { + natural: 'spring', + drinking_water: 'yes', + }, + ], + symbol: 'Drinking Water', }, shower: { icon: { svg: ShowerHead, - color: "DeepSkyBlue", + color: 'DeepSkyBlue', }, tags: { - amenity: "shower" + amenity: 'shower', }, - symbol: "Shower" + symbol: 'Shower', }, shelter: { icon: { svg: Tent, - color: "#000000", + color: '#000000', }, tags: { - amenity: "shelter" + amenity: 'shelter', }, - symbol: "Shelter" + symbol: 'Shelter', }, - "fuel-station": { + 'fuel-station': { icon: { svg: Fuel, - color: "#000000", + color: '#000000', }, tags: { - amenity: "fuel" + amenity: 'fuel', }, - symbol: "Gas Station" + symbol: 'Gas Station', }, parking: { icon: { svg: CircleParking, - color: "#000000", + color: '#000000', }, tags: { - amenity: "parking" + amenity: 'parking', }, - symbol: "Parking Area" + symbol: 'Parking Area', }, garage: { icon: { svg: Wrench, - color: "#000000", + color: '#000000', }, tags: { - shop: ["car_repair", "motorcycle_repair"] + shop: ['car_repair', 'motorcycle_repair'], }, - symbol: "Car Repair" + symbol: 'Car Repair', }, barrier: { icon: { svg: Fence, - color: "#000000", + color: '#000000', }, tags: { - barrier: true - } + barrier: true, + }, }, attraction: { icon: { svg: FerrisWheel, - color: "Green", + color: 'Green', }, tags: { - tourism: "attraction" - } + tourism: 'attraction', + }, }, viewpoint: { icon: { svg: Binoculars, - color: "Green", + color: 'Green', }, tags: { - tourism: "viewpoint" + tourism: 'viewpoint', }, - symbol: "Scenic Area" + symbol: 'Scenic Area', }, hotel: { icon: { svg: Bed, - color: "#e6c100", + color: '#e6c100', }, tags: { - tourism: ["hotel", "hostel", "guest_house", "motel"] + tourism: ['hotel', 'hostel', 'guest_house', 'motel'], }, - symbol: "Hotel" + symbol: 'Hotel', }, campsite: { icon: { svg: Tent, - color: "#e6c100", + color: '#e6c100', }, tags: { - tourism: "camp_site" + tourism: 'camp_site', }, - symbol: "Campground" + symbol: 'Campground', }, hut: { icon: { svg: House, - color: "#e6c100", + color: '#e6c100', }, tags: { - tourism: ["alpine_hut", "wilderness_hut"] + tourism: ['alpine_hut', 'wilderness_hut'], }, - symbol: "Lodge" + symbol: 'Lodge', }, picnic: { icon: { svg: Utensils, - color: "Green", + color: 'Green', }, tags: { - tourism: "picnic_site" + tourism: 'picnic_site', }, - symbol: "Picnic Area" + symbol: 'Picnic Area', }, summit: { icon: { svg: Mountain, - color: "Green", + color: 'Green', }, tags: { - natural: "peak" + natural: 'peak', }, - symbol: "Summit" + symbol: 'Summit', }, pass: { icon: { svg: Mountain, - color: "Green", + color: 'Green', }, tags: { - mountain_pass: "yes" - } + mountain_pass: 'yes', + }, }, climbing: { icon: { svg: Pickaxe, - color: "Green", + color: 'Green', }, tags: { - sport: "climbing" - } + sport: 'climbing', + }, }, - "bicycle-parking": { + 'bicycle-parking': { icon: { svg: CircleParking, - color: "HotPink", + color: 'HotPink', }, tags: { - amenity: "bicycle_parking" + amenity: 'bicycle_parking', }, - symbol: "Parking Area" + symbol: 'Parking Area', }, - "bicycle-rental": { + 'bicycle-rental': { icon: { svg: Store, - color: "HotPink", + color: 'HotPink', }, tags: { - amenity: "bicycle_rental" - } + amenity: 'bicycle_rental', + }, }, - "bicycle-shop": { + 'bicycle-shop': { icon: { svg: Store, - color: "HotPink", + color: 'HotPink', }, tags: { - shop: "bicycle" - } + shop: 'bicycle', + }, }, - "railway-station": { + 'railway-station': { icon: { svg: TrainFront, - color: "DarkBlue", + color: 'DarkBlue', }, tags: { - railway: "station" + railway: 'station', }, - symbol: "Ground Transportation" + symbol: 'Ground Transportation', }, - "tram-stop": { + 'tram-stop': { icon: { svg: TramFront, color: 'DarkBlue', }, tags: { - railway: "tram_stop" + railway: 'tram_stop', }, - symbol: "Ground Transportation" + symbol: 'Ground Transportation', }, - "bus-stop": { + 'bus-stop': { icon: { svg: Bus, - color: "DarkBlue", + color: 'DarkBlue', }, tags: { - "public_transport": ["stop_position", "platform"], - bus: "yes" + public_transport: ['stop_position', 'platform'], + bus: 'yes', }, - symbol: "Ground Transportation" + symbol: 'Ground Transportation', }, ferry: { icon: { svg: Ship, - color: "DarkBlue", + color: 'DarkBlue', }, tags: { - amenity: "ferry_terminal" + amenity: 'ferry_terminal', }, - symbol: "Anchor" - } -}; \ No newline at end of file + symbol: 'Anchor', + }, +}; diff --git a/website/src/lib/assets/symbols.ts b/website/src/lib/assets/symbols.ts index a6141440..ed6dc345 100644 --- a/website/src/lib/assets/symbols.ts +++ b/website/src/lib/assets/symbols.ts @@ -1,6 +1,67 @@ -import { Landmark, Icon, Shell, Bike, Building, Tent, Car, Wrench, ShoppingBasket, Droplet, DoorOpen, Trees, Fuel, Home, Info, TreeDeciduous, CircleParking, Cross, Utensils, Construction, BrickWall, ShowerHead, Mountain, Phone, TrainFront, Bed, Binoculars, TriangleAlert, Anchor, Toilet } from "lucide-svelte"; -import { Landmark as LandmarkSvg, Shell as ShellSvg, Bike as BikeSvg, Building as BuildingSvg, Tent as TentSvg, Car as CarSvg, Wrench as WrenchSvg, ShoppingBasket as ShoppingBasketSvg, Droplet as DropletSvg, DoorOpen as DoorOpenSvg, Trees as TreesSvg, Fuel as FuelSvg, Home as HomeSvg, Info as InfoSvg, TreeDeciduous as TreeDeciduousSvg, CircleParking as CircleParkingSvg, Cross as CrossSvg, Utensils as UtensilsSvg, Construction as ConstructionSvg, BrickWall as BrickWallSvg, ShowerHead as ShowerHeadSvg, Mountain as MountainSvg, Phone as PhoneSvg, TrainFront as TrainFrontSvg, Bed as BedSvg, Binoculars as BinocularsSvg, TriangleAlert as TriangleAlertSvg, Anchor as AnchorSvg, Toilet as ToiletSvg } from "lucide-static"; -import type { ComponentType } from "svelte"; +import { + Landmark, + Icon, + Shell, + Bike, + Building, + Tent, + Car, + Wrench, + ShoppingBasket, + Droplet, + DoorOpen, + Trees, + Fuel, + Home, + Info, + TreeDeciduous, + CircleParking, + Cross, + Utensils, + Construction, + BrickWall, + ShowerHead, + Mountain, + Phone, + TrainFront, + Bed, + Binoculars, + TriangleAlert, + Anchor, + Toilet, +} from 'lucide-svelte'; +import { + Landmark as LandmarkSvg, + Shell as ShellSvg, + Bike as BikeSvg, + Building as BuildingSvg, + Tent as TentSvg, + Car as CarSvg, + Wrench as WrenchSvg, + ShoppingBasket as ShoppingBasketSvg, + Droplet as DropletSvg, + DoorOpen as DoorOpenSvg, + Trees as TreesSvg, + Fuel as FuelSvg, + Home as HomeSvg, + Info as InfoSvg, + TreeDeciduous as TreeDeciduousSvg, + CircleParking as CircleParkingSvg, + Cross as CrossSvg, + Utensils as UtensilsSvg, + Construction as ConstructionSvg, + BrickWall as BrickWallSvg, + ShowerHead as ShowerHeadSvg, + Mountain as MountainSvg, + Phone as PhoneSvg, + TrainFront as TrainFrontSvg, + Bed as BedSvg, + Binoculars as BinocularsSvg, + TriangleAlert as TriangleAlertSvg, + Anchor as AnchorSvg, + Toilet as ToiletSvg, +} from 'lucide-static'; +import type { ComponentType } from 'svelte'; export type Symbol = { value: string; @@ -20,16 +81,28 @@ export const symbols: { [key: string]: Symbol } = { campground: { value: 'Campground', icon: Tent, iconSvg: TentSvg }, car: { value: 'Car', icon: Car, iconSvg: CarSvg }, car_repair: { value: 'Car Repair', icon: Wrench, iconSvg: WrenchSvg }, - convenience_store: { value: 'Convenience Store', icon: ShoppingBasket, iconSvg: ShoppingBasketSvg }, + convenience_store: { + value: 'Convenience Store', + icon: ShoppingBasket, + iconSvg: ShoppingBasketSvg, + }, crossing: { value: 'Crossing' }, - department_store: { value: 'Department Store', icon: ShoppingBasket, iconSvg: ShoppingBasketSvg }, + department_store: { + value: 'Department Store', + icon: ShoppingBasket, + iconSvg: ShoppingBasketSvg, + }, drinking_water: { value: 'Drinking Water', icon: Droplet, iconSvg: DropletSvg }, exit: { value: 'Exit', icon: DoorOpen, iconSvg: DoorOpenSvg }, lodge: { value: 'Lodge', icon: Home, iconSvg: HomeSvg }, lodging: { value: 'Lodging', icon: Bed, iconSvg: BedSvg }, forest: { value: 'Forest', icon: Trees, iconSvg: TreesSvg }, gas_station: { value: 'Gas Station', icon: Fuel, iconSvg: FuelSvg }, - ground_transportation: { value: 'Ground Transportation', icon: TrainFront, iconSvg: TrainFrontSvg }, + ground_transportation: { + value: 'Ground Transportation', + icon: TrainFront, + iconSvg: TrainFrontSvg, + }, hotel: { value: 'Hotel', icon: Bed, iconSvg: BedSvg }, house: { value: 'House', icon: Home, iconSvg: HomeSvg }, information: { value: 'Information', icon: Info, iconSvg: InfoSvg }, @@ -55,6 +128,6 @@ export function getSymbolKey(value: string | undefined): string | undefined { if (value === undefined) { return undefined; } else { - return Object.keys(symbols).find(key => symbols[key].value === value); + return Object.keys(symbols).find((key) => symbols[key].value === value); } -} \ No newline at end of file +} diff --git a/website/src/lib/components/AlgoliaDocSearch.svelte b/website/src/lib/components/AlgoliaDocSearch.svelte index d45091da..afb909e9 100644 --- a/website/src/lib/components/AlgoliaDocSearch.svelte +++ b/website/src/lib/components/AlgoliaDocSearch.svelte @@ -1,60 +1,60 @@ - +
diff --git a/website/src/lib/components/ButtonWithTooltip.svelte b/website/src/lib/components/ButtonWithTooltip.svelte index 7d7b42ed..3f052c89 100644 --- a/website/src/lib/components/ButtonWithTooltip.svelte +++ b/website/src/lib/components/ButtonWithTooltip.svelte @@ -1,28 +1,28 @@ - - - - - {label} - + + + + + {label} + diff --git a/website/src/lib/components/CoordinatesPopup.svelte b/website/src/lib/components/CoordinatesPopup.svelte index 6052dbe3..4d4cc4e2 100644 --- a/website/src/lib/components/CoordinatesPopup.svelte +++ b/website/src/lib/components/CoordinatesPopup.svelte @@ -1,18 +1,18 @@ diff --git a/website/src/lib/components/ElevationProfile.svelte b/website/src/lib/components/ElevationProfile.svelte index d15d9cb2..c7f6c33f 100644 --- a/website/src/lib/components/ElevationProfile.svelte +++ b/website/src/lib/components/ElevationProfile.svelte @@ -1,671 +1,687 @@
- - - {#if showControls} -
- - - - - - - - - -
- {#if elevationFill === 'slope'} - - {/if} -
- - {$_('quantities.slope')} -
- -
- {#if elevationFill === 'surface'} - - {/if} -
- - {$_('quantities.surface')} -
- -
- {#if elevationFill === 'highway'} - - {/if} -
- - {$_('quantities.highway')} -
-
- - -
- {#if additionalDatasets.includes('speed')} - - {/if} -
- - {$velocityUnits === 'speed' ? $_('quantities.speed') : $_('quantities.pace')} -
- -
- {#if additionalDatasets.includes('hr')} - - {/if} -
- - {$_('quantities.heartrate')} -
- -
- {#if additionalDatasets.includes('cad')} - - {/if} -
- - {$_('quantities.cadence')} -
- -
- {#if additionalDatasets.includes('atemp')} - - {/if} -
- - {$_('quantities.temperature')} -
- -
- {#if additionalDatasets.includes('power')} - - {/if} -
- - {$_('quantities.power')} -
-
-
-
-
- {/if} + + + {#if showControls} +
+ + + + + + + + + +
+ {#if elevationFill === 'slope'} + + {/if} +
+ + {$_('quantities.slope')} +
+ +
+ {#if elevationFill === 'surface'} + + {/if} +
+ + {$_('quantities.surface')} +
+ +
+ {#if elevationFill === 'highway'} + + {/if} +
+ + {$_('quantities.highway')} +
+
+ + +
+ {#if additionalDatasets.includes('speed')} + + {/if} +
+ + {$velocityUnits === 'speed' + ? $_('quantities.speed') + : $_('quantities.pace')} +
+ +
+ {#if additionalDatasets.includes('hr')} + + {/if} +
+ + {$_('quantities.heartrate')} +
+ +
+ {#if additionalDatasets.includes('cad')} + + {/if} +
+ + {$_('quantities.cadence')} +
+ +
+ {#if additionalDatasets.includes('atemp')} + + {/if} +
+ + {$_('quantities.temperature')} +
+ +
+ {#if additionalDatasets.includes('power')} + + {/if} +
+ + {$_('quantities.power')} +
+
+
+
+
+ {/if}
diff --git a/website/src/lib/components/Export.svelte b/website/src/lib/components/Export.svelte index dfc75321..8d1bfe7b 100644 --- a/website/src/lib/components/Export.svelte +++ b/website/src/lib/components/Export.svelte @@ -1,186 +1,190 @@ { - if (!isOpen) { - $exportState = ExportState.NONE; - } - }} + bind:open + onOpenChange={(isOpen) => { + if (!isOpen) { + $exportState = ExportState.NONE; + } + }} > - diff --git a/website/src/lib/components/Footer.svelte b/website/src/lib/components/Footer.svelte index a460c7bd..7b04d77f 100644 --- a/website/src/lib/components/Footer.svelte +++ b/website/src/lib/components/Footer.svelte @@ -1,125 +1,125 @@
-
-
-
- - - -
-
-
- {$_('homepage.website')} - - - -
-
- {$_('homepage.contact')} - - - - -
-
- {$_('homepage.contribute')} - - - -
-
-
-
+
+
+
+ + + +
+
+
+ {$_('homepage.website')} + + + +
+
+ {$_('homepage.contact')} + + + + +
+
+ {$_('homepage.contribute')} + + + +
+
+
+
diff --git a/website/src/lib/components/GPXStatistics.svelte b/website/src/lib/components/GPXStatistics.svelte index c8a458ad..d47a76be 100644 --- a/website/src/lib/components/GPXStatistics.svelte +++ b/website/src/lib/components/GPXStatistics.svelte @@ -1,82 +1,88 @@ - - - - - - - - - - - - - - - - {#if panelSize > 120 || orientation === 'horizontal'} - - - - - / - - - - {/if} - {#if panelSize > 160 || orientation === 'horizontal'} - - - - - / - - - - {/if} - + + + + + + + + + + + + + + + + {#if panelSize > 120 || orientation === 'horizontal'} + + + + + / + + + + {/if} + {#if panelSize > 160 || orientation === 'horizontal'} + + + + + / + + + + {/if} + diff --git a/website/src/lib/components/Help.svelte b/website/src/lib/components/Help.svelte index 82d2e17b..abeb1814 100644 --- a/website/src/lib/components/Help.svelte +++ b/website/src/lib/components/Help.svelte @@ -1,20 +1,20 @@
- -
- - {#if link} - - {$_('menu.more')} - - {/if} -
+ +
+ + {#if link} + + {$_('menu.more')} + + {/if} +
diff --git a/website/src/lib/components/LanguageSelect.svelte b/website/src/lib/components/LanguageSelect.svelte index 141550ae..b6cecd6d 100644 --- a/website/src/lib/components/LanguageSelect.svelte +++ b/website/src/lib/components/LanguageSelect.svelte @@ -1,51 +1,51 @@ - - - - - - {#each Object.entries(languages) as [lang, label]} - {#if $page.url.pathname.includes('404')} - - {label} - - {:else} - - {label} - - {/if} - {/each} - + + + + + + {#each Object.entries(languages) as [lang, label]} + {#if $page.url.pathname.includes('404')} + + {label} + + {:else} + + {label} + + {/if} + {/each} + diff --git a/website/src/lib/components/Logo.svelte b/website/src/lib/components/Logo.svelte index c47498e7..a7f4e522 100644 --- a/website/src/lib/components/Logo.svelte +++ b/website/src/lib/components/Logo.svelte @@ -1,73 +1,73 @@ {#if company === 'gpx.studio'} - Logo of gpx.studio. + Logo of gpx.studio. {:else if company === 'mapbox'} - Logo of Mapbox. + Logo of Mapbox. {:else if company === 'github'} - GitHub + GitHub {:else if company === 'crowdin'} - Crowdin + Crowdin {:else if company === 'facebook'} - Facebook + Facebook {:else if company === 'x'} - X + X {:else if company === 'reddit'} - Reddit + Reddit {/if} diff --git a/website/src/lib/components/Map.svelte b/website/src/lib/components/Map.svelte index ee015802..5b217abf 100644 --- a/website/src/lib/components/Map.svelte +++ b/website/src/lib/components/Map.svelte @@ -1,392 +1,393 @@
-
-
- {#if !webgl2Supported} -

{$_('webgl2_required')}

- - {:else if embeddedApp} -

The app cannot be embedded in an iframe.

- - {/if} -
+
+
+ {#if !webgl2Supported} +

{$_('webgl2_required')}

+ + {:else if embeddedApp} +

The app cannot be embedded in an iframe.

+ + {/if} +
diff --git a/website/src/lib/components/MapPopup.svelte b/website/src/lib/components/MapPopup.svelte index e89800b1..b37b7b2d 100644 --- a/website/src/lib/components/MapPopup.svelte +++ b/website/src/lib/components/MapPopup.svelte @@ -1,25 +1,25 @@
- {#if $item} - {#if $item.item instanceof Waypoint} - - {:else if $item.item instanceof TrackPoint} - - {:else} - - {/if} - {/if} + {#if $item} + {#if $item.item instanceof Waypoint} + + {:else if $item.item instanceof TrackPoint} + + {:else} + + {/if} + {/if}
diff --git a/website/src/lib/components/MapPopup.ts b/website/src/lib/components/MapPopup.ts index bfbbf82a..74c7ef30 100644 --- a/website/src/lib/components/MapPopup.ts +++ b/website/src/lib/components/MapPopup.ts @@ -1,8 +1,8 @@ -import { TrackPoint, Waypoint } from "gpx"; -import mapboxgl from "mapbox-gl"; -import { tick } from "svelte"; -import { get, writable, type Writable } from "svelte/store"; -import MapPopupComponent from "./MapPopup.svelte"; +import { TrackPoint, Waypoint } from 'gpx'; +import mapboxgl from 'mapbox-gl'; +import { tick } from 'svelte'; +import { get, writable, type Writable } from 'svelte/store'; +import MapPopupComponent from './MapPopup.svelte'; export type PopupItem = { item: T; @@ -23,16 +23,15 @@ export class MapPopup { let component = new MapPopupComponent({ target: document.body, props: { - item: this.item - } + item: this.item, + }, }); tick().then(() => this.popup.setDOMContent(component.container)); } setItem(item: PopupItem | null) { - if (item) - item.hide = () => this.hide(); + if (item) item.hide = () => this.hide(); this.item.set(item); if (item === null) { this.hide(); @@ -76,6 +75,8 @@ export class MapPopup { if (i === null) { return new mapboxgl.LngLat(0, 0); } - return (i.item instanceof Waypoint || i.item instanceof TrackPoint) ? i.item.getCoordinates() : new mapboxgl.LngLat(i.item.lon, i.item.lat); + return i.item instanceof Waypoint || i.item instanceof TrackPoint + ? i.item.getCoordinates() + : new mapboxgl.LngLat(i.item.lon, i.item.lat); } -} \ No newline at end of file +} diff --git a/website/src/lib/components/Menu.svelte b/website/src/lib/components/Menu.svelte index 704ff936..5faa96b1 100644 --- a/website/src/lib/components/Menu.svelte +++ b/website/src/lib/components/Menu.svelte @@ -1,625 +1,679 @@
-
- - - - - - - - - - - - - {$_('menu.new')} - - - - - - {$_('menu.open')} - - - - - - {$_('menu.duplicate')} - - - - - - {$_('menu.close')} - - - - - {$_('menu.close_all')} - - - - ($exportState = ExportState.SELECTION)} - disabled={$selection.size == 0} - > - - {$_('menu.export')} - - - ($exportState = ExportState.ALL)} - disabled={$fileObservers.size == 0} - > - - {$_('menu.export_all')} - - - - - - - - - - - - - {$_('menu.undo')} - - - - - {$_('menu.redo')} - - - - item instanceof ListFileItem || item instanceof ListTrackItem)} - on:click={() => ($editMetadata = true)} - > - - {$_('menu.metadata.button')} - - - item instanceof ListFileItem || item instanceof ListTrackItem)} - on:click={() => ($editStyle = true)} - > - - {$_('menu.style.button')} - - { - if ($allHidden) { - dbUtils.setHiddenToSelection(false); - } else { - dbUtils.setHiddenToSelection(true); - } - }} - disabled={$selection.size == 0} - > - {#if $allHidden} - - {$_('menu.unhide')} - {:else} - - {$_('menu.hide')} - {/if} - - - {#if $treeFileView} - {#if $selection.getSelected().some((item) => item instanceof ListFileItem)} - - dbUtils.addNewTrack($selection.getSelected()[0].getFileId())} - disabled={$selection.size !== 1} - > - - {$_('menu.new_track')} - - {:else if $selection.getSelected().some((item) => item instanceof ListTrackItem)} - - { - let item = $selection.getSelected()[0]; - dbUtils.addNewSegment(item.getFileId(), item.getTrackIndex()); - }} - disabled={$selection.size !== 1} - > - - {$_('menu.new_segment')} - - {/if} - {/if} - - - - {$_('menu.select_all')} - - - { - if ($selection.size > 0) { - centerMapOnSelection(); - } - }} - > - - {$_('menu.center')} - - - {#if $treeFileView} - - - - {$_('menu.copy')} - - - - - {$_('menu.cut')} - - - 0 && - !allowedPastes[$copied[0].level].includes($selection.getSelected().pop()?.level))} - on:click={pasteSelection} - > - - {$_('menu.paste')} - - - {/if} - - - - {$_('menu.delete')} - - - - - - - - - - - - - {$_('menu.elevation_profile')} - - - - - {$_('menu.tree_file_view')} - - - - - {$_('menu.switch_basemap')} - - - {$_('menu.toggle_overlays')} - - - - {$_('menu.distance_markers')} - - - {$_('menu.direction_markers')} - - - - - {$_('menu.toggle_3d')} - - - - - - - - - - - - - {$_('menu.distance_units')} - - - - {$_('menu.metric')} - {$_('menu.imperial')} - {$_('menu.nautical')} - - - - - - {$_('menu.velocity_units')} - - - - {$_('quantities.speed')} - {$_('quantities.pace')} - - - - - - {$_('menu.temperature_units')} - - - - {$_('menu.celsius')} - {$_('menu.fahrenheit')} - - - - - - - - {$_('menu.language')} - - - - {#each Object.entries(languages) as [lang, label]} - - {label} - - {/each} - - - - - - {#if selectedMode === 'light'} - - {:else} - - {/if} - {$_('menu.mode')} - - - { - setMode(value); - }} - > - {$_('menu.light')} - {$_('menu.dark')} - - - - - - - - {$_('menu.street_view_source')} - - - - {$_('menu.mapillary')} - {$_('menu.google')} - - - - (layerSettingsOpen = true)}> - - {$_('menu.layers')} - - - - -
- - -
-
+
+ + + + + + + + + + + + + {$_('menu.new')} + + + + + + {$_('menu.open')} + + + + + + {$_('menu.duplicate')} + + + + + + {$_('menu.close')} + + + + + {$_('menu.close_all')} + + + + ($exportState = ExportState.SELECTION)} + disabled={$selection.size == 0} + > + + {$_('menu.export')} + + + ($exportState = ExportState.ALL)} + disabled={$fileObservers.size == 0} + > + + {$_('menu.export_all')} + + + + + + + + + + + + + {$_('menu.undo')} + + + + + {$_('menu.redo')} + + + + + item instanceof ListFileItem || + item instanceof ListTrackItem + )} + on:click={() => ($editMetadata = true)} + > + + {$_('menu.metadata.button')} + + + + item instanceof ListFileItem || + item instanceof ListTrackItem + )} + on:click={() => ($editStyle = true)} + > + + {$_('menu.style.button')} + + { + if ($allHidden) { + dbUtils.setHiddenToSelection(false); + } else { + dbUtils.setHiddenToSelection(true); + } + }} + disabled={$selection.size == 0} + > + {#if $allHidden} + + {$_('menu.unhide')} + {:else} + + {$_('menu.hide')} + {/if} + + + {#if $treeFileView} + {#if $selection.getSelected().some((item) => item instanceof ListFileItem)} + + + dbUtils.addNewTrack($selection.getSelected()[0].getFileId())} + disabled={$selection.size !== 1} + > + + {$_('menu.new_track')} + + {:else if $selection + .getSelected() + .some((item) => item instanceof ListTrackItem)} + + { + let item = $selection.getSelected()[0]; + dbUtils.addNewSegment(item.getFileId(), item.getTrackIndex()); + }} + disabled={$selection.size !== 1} + > + + {$_('menu.new_segment')} + + {/if} + {/if} + + + + {$_('menu.select_all')} + + + { + if ($selection.size > 0) { + centerMapOnSelection(); + } + }} + > + + {$_('menu.center')} + + + {#if $treeFileView} + + + + {$_('menu.copy')} + + + + + {$_('menu.cut')} + + + 0 && + !allowedPastes[$copied[0].level].includes( + $selection.getSelected().pop()?.level + ))} + on:click={pasteSelection} + > + + {$_('menu.paste')} + + + {/if} + + + + {$_('menu.delete')} + + + + + + + + + + + + + {$_('menu.elevation_profile')} + + + + + {$_('menu.tree_file_view')} + + + + + {$_('menu.switch_basemap')} + + + {$_('menu.toggle_overlays')} + + + + {$_('menu.distance_markers')} + + + {$_('menu.direction_markers')} + + + + + {$_('menu.toggle_3d')} + + + + + + + + + + + + + {$_('menu.distance_units')} + + + + {$_('menu.metric')} + {$_('menu.imperial')} + {$_('menu.nautical')} + + + + + + {$_('menu.velocity_units')} + + + + {$_('quantities.speed')} + {$_('quantities.pace')} + + + + + + {$_('menu.temperature_units')} + + + + {$_('menu.celsius')} + {$_('menu.fahrenheit')} + + + + + + + + {$_('menu.language')} + + + + {#each Object.entries(languages) as [lang, label]} + + {label} + + {/each} + + + + + + {#if selectedMode === 'light'} + + {:else} + + {/if} + {$_('menu.mode')} + + + { + setMode(value); + }} + > + {$_('menu.light')} + {$_('menu.dark')} + + + + + + + + {$_('menu.street_view_source')} + + + + {$_('menu.mapillary')} + {$_('menu.google')} + + + + (layerSettingsOpen = true)}> + + {$_('menu.layers')} + + + + +
+ + +
+
{ - let targetInput = - e.target.tagName === 'INPUT' || - e.target.tagName === 'TEXTAREA' || - e.target.tagName === 'SELECT' || - e.target.role === 'combobox' || - e.target.role === 'radio' || - e.target.role === 'menu' || - e.target.role === 'menuitem' || - e.target.role === 'menuitemradio' || - e.target.role === 'menuitemcheckbox'; + on:keydown={(e) => { + let targetInput = + e.target.tagName === 'INPUT' || + e.target.tagName === 'TEXTAREA' || + e.target.tagName === 'SELECT' || + e.target.role === 'combobox' || + e.target.role === 'radio' || + e.target.role === 'menu' || + e.target.role === 'menuitem' || + e.target.role === 'menuitemradio' || + e.target.role === 'menuitemcheckbox'; - if (e.key === '+' && (e.metaKey || e.ctrlKey)) { - createFile(); - e.preventDefault(); - } else if (e.key === 'o' && (e.metaKey || e.ctrlKey)) { - triggerFileInput(); - e.preventDefault(); - } else if (e.key === 'd' && (e.metaKey || e.ctrlKey)) { - dbUtils.duplicateSelection(); - e.preventDefault(); - } else if (e.key === 'c' && (e.metaKey || e.ctrlKey)) { - if (!targetInput) { - copySelection(); - e.preventDefault(); - } - } else if (e.key === 'x' && (e.metaKey || e.ctrlKey)) { - if (!targetInput) { - cutSelection(); - e.preventDefault(); - } - } else if (e.key === 'v' && (e.metaKey || e.ctrlKey)) { - if (!targetInput) { - pasteSelection(); - e.preventDefault(); - } - } else if ((e.key === 's' || e.key == 'S') && (e.metaKey || e.ctrlKey)) { - if (e.shiftKey) { - if ($fileObservers.size > 0) { - $exportState = ExportState.ALL; - } - } else if ($selection.size > 0) { - $exportState = ExportState.SELECTION; - } - e.preventDefault(); - } else if ((e.key === 'z' || e.key == 'Z') && (e.metaKey || e.ctrlKey)) { - if (e.shiftKey) { - dbUtils.redo(); - } else { - dbUtils.undo(); - } - e.preventDefault(); - } else if ((e.key === 'Backspace' || e.key === 'Delete') && (e.metaKey || e.ctrlKey)) { - if (!targetInput) { - if (e.shiftKey) { - dbUtils.deleteAllFiles(); - } else { - dbUtils.deleteSelection(); - } - e.preventDefault(); - } - } else if (e.key === 'a' && (e.metaKey || e.ctrlKey)) { - if (!targetInput) { - selectAll(); - e.preventDefault(); - } - } else if (e.key === 'i' && (e.metaKey || e.ctrlKey)) { - if ( - $selection.size === 1 && - $selection - .getSelected() - .every((item) => item instanceof ListFileItem || item instanceof ListTrackItem) - ) { - $editMetadata = true; - } - e.preventDefault(); - } else if (e.key === 'p' && (e.metaKey || e.ctrlKey)) { - $elevationProfile = !$elevationProfile; - e.preventDefault(); - } else if (e.key === 'l' && (e.metaKey || e.ctrlKey)) { - $treeFileView = !$treeFileView; - e.preventDefault(); - } else if (e.key === 'h' && (e.metaKey || e.ctrlKey)) { - if ($allHidden) { - dbUtils.setHiddenToSelection(false); - } else { - dbUtils.setHiddenToSelection(true); - } - e.preventDefault(); - } else if (e.key === 'Enter' && (e.metaKey || e.ctrlKey)) { - if ($selection.size > 0) { - centerMapOnSelection(); - } - } else if (e.key === 'F1') { - switchBasemaps(); - e.preventDefault(); - } else if (e.key === 'F2') { - toggleOverlays(); - e.preventDefault(); - } else if (e.key === 'F3') { - $distanceMarkers = !$distanceMarkers; - e.preventDefault(); - } else if (e.key === 'F4') { - $directionMarkers = !$directionMarkers; - e.preventDefault(); - } else if (e.key === 'F5') { - $routing = !$routing; - e.preventDefault(); - } else if ( - e.key === 'ArrowRight' || - e.key === 'ArrowDown' || - e.key === 'ArrowLeft' || - e.key === 'ArrowUp' - ) { - if (!targetInput) { - updateSelectionFromKey(e.key === 'ArrowRight' || e.key === 'ArrowDown', e.shiftKey); - e.preventDefault(); - } - } - }} - on:dragover={(e) => e.preventDefault()} - on:drop={(e) => { - e.preventDefault(); - if (e.dataTransfer.files.length > 0) { - loadFiles(e.dataTransfer.files); - } - }} + if (e.key === '+' && (e.metaKey || e.ctrlKey)) { + createFile(); + e.preventDefault(); + } else if (e.key === 'o' && (e.metaKey || e.ctrlKey)) { + triggerFileInput(); + e.preventDefault(); + } else if (e.key === 'd' && (e.metaKey || e.ctrlKey)) { + dbUtils.duplicateSelection(); + e.preventDefault(); + } else if (e.key === 'c' && (e.metaKey || e.ctrlKey)) { + if (!targetInput) { + copySelection(); + e.preventDefault(); + } + } else if (e.key === 'x' && (e.metaKey || e.ctrlKey)) { + if (!targetInput) { + cutSelection(); + e.preventDefault(); + } + } else if (e.key === 'v' && (e.metaKey || e.ctrlKey)) { + if (!targetInput) { + pasteSelection(); + e.preventDefault(); + } + } else if ((e.key === 's' || e.key == 'S') && (e.metaKey || e.ctrlKey)) { + if (e.shiftKey) { + if ($fileObservers.size > 0) { + $exportState = ExportState.ALL; + } + } else if ($selection.size > 0) { + $exportState = ExportState.SELECTION; + } + e.preventDefault(); + } else if ((e.key === 'z' || e.key == 'Z') && (e.metaKey || e.ctrlKey)) { + if (e.shiftKey) { + dbUtils.redo(); + } else { + dbUtils.undo(); + } + e.preventDefault(); + } else if ((e.key === 'Backspace' || e.key === 'Delete') && (e.metaKey || e.ctrlKey)) { + if (!targetInput) { + if (e.shiftKey) { + dbUtils.deleteAllFiles(); + } else { + dbUtils.deleteSelection(); + } + e.preventDefault(); + } + } else if (e.key === 'a' && (e.metaKey || e.ctrlKey)) { + if (!targetInput) { + selectAll(); + e.preventDefault(); + } + } else if (e.key === 'i' && (e.metaKey || e.ctrlKey)) { + if ( + $selection.size === 1 && + $selection + .getSelected() + .every((item) => item instanceof ListFileItem || item instanceof ListTrackItem) + ) { + $editMetadata = true; + } + e.preventDefault(); + } else if (e.key === 'p' && (e.metaKey || e.ctrlKey)) { + $elevationProfile = !$elevationProfile; + e.preventDefault(); + } else if (e.key === 'l' && (e.metaKey || e.ctrlKey)) { + $treeFileView = !$treeFileView; + e.preventDefault(); + } else if (e.key === 'h' && (e.metaKey || e.ctrlKey)) { + if ($allHidden) { + dbUtils.setHiddenToSelection(false); + } else { + dbUtils.setHiddenToSelection(true); + } + e.preventDefault(); + } else if (e.key === 'Enter' && (e.metaKey || e.ctrlKey)) { + if ($selection.size > 0) { + centerMapOnSelection(); + } + } else if (e.key === 'F1') { + switchBasemaps(); + e.preventDefault(); + } else if (e.key === 'F2') { + toggleOverlays(); + e.preventDefault(); + } else if (e.key === 'F3') { + $distanceMarkers = !$distanceMarkers; + e.preventDefault(); + } else if (e.key === 'F4') { + $directionMarkers = !$directionMarkers; + e.preventDefault(); + } else if (e.key === 'F5') { + $routing = !$routing; + e.preventDefault(); + } else if ( + e.key === 'ArrowRight' || + e.key === 'ArrowDown' || + e.key === 'ArrowLeft' || + e.key === 'ArrowUp' + ) { + if (!targetInput) { + updateSelectionFromKey(e.key === 'ArrowRight' || e.key === 'ArrowDown', e.shiftKey); + e.preventDefault(); + } + } + }} + on:dragover={(e) => e.preventDefault()} + on:drop={(e) => { + e.preventDefault(); + if (e.dataTransfer.files.length > 0) { + loadFiles(e.dataTransfer.files); + } + }} /> diff --git a/website/src/lib/components/ModeSwitch.svelte b/website/src/lib/components/ModeSwitch.svelte index 8151974e..6ebe3531 100644 --- a/website/src/lib/components/ModeSwitch.svelte +++ b/website/src/lib/components/ModeSwitch.svelte @@ -1,25 +1,25 @@ diff --git a/website/src/lib/components/Nav.svelte b/website/src/lib/components/Nav.svelte index 03eda924..1a414cdb 100644 --- a/website/src/lib/components/Nav.svelte +++ b/website/src/lib/components/Nav.svelte @@ -1,32 +1,32 @@ diff --git a/website/src/lib/components/Resizer.svelte b/website/src/lib/components/Resizer.svelte index f2e33550..9ac6bb93 100644 --- a/website/src/lib/components/Resizer.svelte +++ b/website/src/lib/components/Resizer.svelte @@ -1,41 +1,42 @@
diff --git a/website/src/lib/components/Shortcut.svelte b/website/src/lib/components/Shortcut.svelte index 7c78d26d..2588866c 100644 --- a/website/src/lib/components/Shortcut.svelte +++ b/website/src/lib/components/Shortcut.svelte @@ -1,36 +1,36 @@
- {#if shift} - - {/if} - {#if ctrl} - {mac && !safari ? '⌘' : $_('menu.ctrl') + '+'} - {/if} - {#if key} - {key} - {/if} - {#if click} - {$_('menu.click')} - {/if} + {#if shift} + + {/if} + {#if ctrl} + {mac && !safari ? '⌘' : $_('menu.ctrl') + '+'} + {/if} + {#if key} + {key} + {/if} + {#if click} + {$_('menu.click')} + {/if}
diff --git a/website/src/lib/components/Tooltip.svelte b/website/src/lib/components/Tooltip.svelte index ee8fd41d..282f2c82 100644 --- a/website/src/lib/components/Tooltip.svelte +++ b/website/src/lib/components/Tooltip.svelte @@ -1,18 +1,18 @@ - - - - -
- {label} - -
-
+ + + + +
+ {label} + +
+
diff --git a/website/src/lib/components/WithUnits.svelte b/website/src/lib/components/WithUnits.svelte index e6915abc..3e81da6e 100644 --- a/website/src/lib/components/WithUnits.svelte +++ b/website/src/lib/components/WithUnits.svelte @@ -1,48 +1,48 @@ - {#if type === 'distance'} - {getConvertedDistance(value, $distanceUnits).toFixed(decimals ?? 2)} - {showUnits ? getDistanceUnits($distanceUnits) : ''} - {:else if type === 'elevation'} - {getConvertedElevation(value, $distanceUnits).toFixed(decimals ?? 0)} - {showUnits ? getElevationUnits($distanceUnits) : ''} - {:else if type === 'speed'} - {#if $velocityUnits === 'speed'} - {getConvertedVelocity(value, $velocityUnits, $distanceUnits).toFixed(decimals ?? 2)} - {showUnits ? getVelocityUnits($velocityUnits, $distanceUnits) : ''} - {:else} - {secondsToHHMMSS(getConvertedVelocity(value, $velocityUnits, $distanceUnits))} - {showUnits ? getVelocityUnits($velocityUnits, $distanceUnits) : ''} - {/if} - {:else if type === 'temperature'} - {#if $temperatureUnits === 'celsius'} - {value} {showUnits ? $_('units.celsius') : ''} - {:else} - {celsiusToFahrenheit(value)} {showUnits ? $_('units.fahrenheit') : ''} - {/if} - {:else if type === 'time'} - {secondsToHHMMSS(value)} - {/if} + {#if type === 'distance'} + {getConvertedDistance(value, $distanceUnits).toFixed(decimals ?? 2)} + {showUnits ? getDistanceUnits($distanceUnits) : ''} + {:else if type === 'elevation'} + {getConvertedElevation(value, $distanceUnits).toFixed(decimals ?? 0)} + {showUnits ? getElevationUnits($distanceUnits) : ''} + {:else if type === 'speed'} + {#if $velocityUnits === 'speed'} + {getConvertedVelocity(value, $velocityUnits, $distanceUnits).toFixed(decimals ?? 2)} + {showUnits ? getVelocityUnits($velocityUnits, $distanceUnits) : ''} + {:else} + {secondsToHHMMSS(getConvertedVelocity(value, $velocityUnits, $distanceUnits))} + {showUnits ? getVelocityUnits($velocityUnits, $distanceUnits) : ''} + {/if} + {:else if type === 'temperature'} + {#if $temperatureUnits === 'celsius'} + {value} {showUnits ? $_('units.celsius') : ''} + {:else} + {celsiusToFahrenheit(value)} {showUnits ? $_('units.fahrenheit') : ''} + {/if} + {:else if type === 'time'} + {secondsToHHMMSS(value)} + {/if} diff --git a/website/src/lib/components/collapsible-tree/CollapsibleTree.svelte b/website/src/lib/components/collapsible-tree/CollapsibleTree.svelte index 6a4541ee..e0611587 100644 --- a/website/src/lib/components/collapsible-tree/CollapsibleTree.svelte +++ b/website/src/lib/components/collapsible-tree/CollapsibleTree.svelte @@ -1,20 +1,20 @@ diff --git a/website/src/lib/components/collapsible-tree/CollapsibleTreeNode.svelte b/website/src/lib/components/collapsible-tree/CollapsibleTreeNode.svelte index de0728c3..fb2b269e 100644 --- a/website/src/lib/components/collapsible-tree/CollapsibleTreeNode.svelte +++ b/website/src/lib/components/collapsible-tree/CollapsibleTreeNode.svelte @@ -1,97 +1,97 @@ - {#if slotInsideTrigger} - - - - {:else} - - {/if} + {#if slotInsideTrigger} + + + + {:else} + + {/if} - - - + + + diff --git a/website/src/lib/components/collapsible-tree/index.ts b/website/src/lib/components/collapsible-tree/index.ts index 9b1298b9..3326b273 100644 --- a/website/src/lib/components/collapsible-tree/index.ts +++ b/website/src/lib/components/collapsible-tree/index.ts @@ -1,2 +1,2 @@ export { default as CollapsibleTree } from './CollapsibleTree.svelte'; -export { default as CollapsibleTreeNode } from './CollapsibleTreeNode.svelte'; \ No newline at end of file +export { default as CollapsibleTreeNode } from './CollapsibleTreeNode.svelte'; diff --git a/website/src/lib/components/custom-control/CustomControl.svelte b/website/src/lib/components/custom-control/CustomControl.svelte index f2ebdb2d..81d8aa66 100644 --- a/website/src/lib/components/custom-control/CustomControl.svelte +++ b/website/src/lib/components/custom-control/CustomControl.svelte @@ -1,27 +1,27 @@ diff --git a/website/src/lib/components/custom-control/CustomControl.ts b/website/src/lib/components/custom-control/CustomControl.ts index 481281eb..40a45c2d 100644 --- a/website/src/lib/components/custom-control/CustomControl.ts +++ b/website/src/lib/components/custom-control/CustomControl.ts @@ -17,4 +17,4 @@ export default class CustomControl implements IControl { this._container?.parentNode?.removeChild(this._container); this._map = undefined; } -} \ No newline at end of file +} diff --git a/website/src/lib/components/docs/DocsContainer.svelte b/website/src/lib/components/docs/DocsContainer.svelte index 633c83f1..08806969 100644 --- a/website/src/lib/components/docs/DocsContainer.svelte +++ b/website/src/lib/components/docs/DocsContainer.svelte @@ -1,82 +1,82 @@
- +
diff --git a/website/src/lib/components/docs/DocsImage.svelte b/website/src/lib/components/docs/DocsImage.svelte index 712a48a0..bd9886eb 100644 --- a/website/src/lib/components/docs/DocsImage.svelte +++ b/website/src/lib/components/docs/DocsImage.svelte @@ -1,25 +1,29 @@
-
- {#if src === 'getting-started/interface'} - - {:else if src === 'tools/routing'} - - {:else if src === 'tools/split'} - - {/if} -
-

{alt}

+
+ {#if src === 'getting-started/interface'} + + {:else if src === 'tools/routing'} + + {:else if src === 'tools/split'} + + {/if} +
+

{alt}

diff --git a/website/src/lib/components/docs/DocsLayers.svelte b/website/src/lib/components/docs/DocsLayers.svelte index 64586001..4c5abadc 100644 --- a/website/src/lib/components/docs/DocsLayers.svelte +++ b/website/src/lib/components/docs/DocsLayers.svelte @@ -1,13 +1,13 @@
- - + +
diff --git a/website/src/lib/components/docs/DocsNote.svelte b/website/src/lib/components/docs/DocsNote.svelte index 8cfd9fe1..66604dc8 100644 --- a/website/src/lib/components/docs/DocsNote.svelte +++ b/website/src/lib/components/docs/DocsNote.svelte @@ -1,18 +1,18 @@
- +
diff --git a/website/src/lib/components/docs/docs.ts b/website/src/lib/components/docs/docs.ts index 1e5e16f8..55618af1 100644 --- a/website/src/lib/components/docs/docs.ts +++ b/website/src/lib/components/docs/docs.ts @@ -1,39 +1,64 @@ -import { File, FilePen, View, type Icon, Settings, Pencil, MapPin, Scissors, CalendarClock, Group, Ungroup, Filter, SquareDashedMousePointer, MountainSnow } from "lucide-svelte"; -import type { ComponentType } from "svelte"; +import { + File, + FilePen, + View, + type Icon, + Settings, + Pencil, + MapPin, + Scissors, + CalendarClock, + Group, + Ungroup, + Filter, + SquareDashedMousePointer, + MountainSnow, +} from 'lucide-svelte'; +import type { ComponentType } from 'svelte'; export const guides: Record = { 'getting-started': [], menu: ['file', 'edit', 'view', 'settings'], 'files-and-stats': [], - toolbar: ['routing', 'poi', 'scissors', 'time', 'merge', 'extract', 'elevation', 'minify', 'clean'], + toolbar: [ + 'routing', + 'poi', + 'scissors', + 'time', + 'merge', + 'extract', + 'elevation', + 'minify', + 'clean', + ], 'map-controls': [], - 'gpx': [], - 'integration': [], - 'faq': [], + gpx: [], + integration: [], + faq: [], }; export const guideIcons: Record> = { - "getting-started": "🚀", - "menu": "📂 ⚙️", - "file": File, - "edit": FilePen, - "view": View, - "settings": Settings, - "files-and-stats": "🗂 📈", - "toolbar": "🧰", - "routing": Pencil, - "poi": MapPin, - "scissors": Scissors, - "time": CalendarClock, - "merge": Group, - "extract": Ungroup, - "elevation": MountainSnow, - "minify": Filter, - "clean": SquareDashedMousePointer, - "map-controls": "🗺", - "gpx": "💾", - "integration": "{ 👩‍💻 }", - "faq": "🔮", + 'getting-started': '🚀', + menu: '📂 ⚙️', + file: File, + edit: FilePen, + view: View, + settings: Settings, + 'files-and-stats': '🗂 📈', + toolbar: '🧰', + routing: Pencil, + poi: MapPin, + scissors: Scissors, + time: CalendarClock, + merge: Group, + extract: Ungroup, + elevation: MountainSnow, + minify: Filter, + clean: SquareDashedMousePointer, + 'map-controls': '🗺', + gpx: '💾', + integration: '{ 👩‍💻 }', + faq: '🔮', }; export function getPreviousGuide(currentGuide: string): string | undefined { @@ -96,4 +121,4 @@ export function getNextGuide(currentGuide: string): string | undefined { return undefined; } } -} \ No newline at end of file +} diff --git a/website/src/lib/components/embedding/Embedding.svelte b/website/src/lib/components/embedding/Embedding.svelte index afa1c091..fa8651f9 100644 --- a/website/src/lib/components/embedding/Embedding.svelte +++ b/website/src/lib/components/embedding/Embedding.svelte @@ -1,267 +1,271 @@
-
- - - - - {#if $fileObservers.size > 1} -
- -
- {/if} -
-
- - {#if options.elevation.show} - dataset !== null)} - elevationFill={options.elevation.fill} - showControls={options.elevation.controls} - /> - {/if} -
+
+ + + + + {#if $fileObservers.size > 1} +
+ +
+ {/if} +
+
+ + {#if options.elevation.show} + dataset !== null)} + elevationFill={options.elevation.fill} + showControls={options.elevation.controls} + /> + {/if} +
diff --git a/website/src/lib/components/embedding/Embedding.ts b/website/src/lib/components/embedding/Embedding.ts index 7a44af2c..dc13c9bc 100644 --- a/website/src/lib/components/embedding/Embedding.ts +++ b/website/src/lib/components/embedding/Embedding.ts @@ -39,14 +39,14 @@ export const defaultEmbeddingOptions = { hr: false, cad: false, temp: false, - power: false + power: false, }, distanceMarkers: false, directionMarkers: false, distanceUnits: 'metric', velocityUnits: 'speed', temperatureUnits: 'celsius', - theme: 'system' + theme: 'system', }; export function getDefaultEmbeddingOptions(): EmbeddingOptions { @@ -59,7 +59,11 @@ export function getMergedEmbeddingOptions( ): EmbeddingOptions { const mergedOptions = JSON.parse(JSON.stringify(defaultOptions)); for (const key in options) { - if (typeof options[key] === 'object' && options[key] !== null && !Array.isArray(options[key])) { + if ( + typeof options[key] === 'object' && + options[key] !== null && + !Array.isArray(options[key]) + ) { mergedOptions[key] = getMergedEmbeddingOptions(options[key], defaultOptions[key]); } else { mergedOptions[key] = options[key]; @@ -79,7 +83,10 @@ export function getCleanedEmbeddingOptions( cleanedOptions[key] !== null && !Array.isArray(cleanedOptions[key]) ) { - cleanedOptions[key] = getCleanedEmbeddingOptions(cleanedOptions[key], defaultOptions[key]); + cleanedOptions[key] = getCleanedEmbeddingOptions( + cleanedOptions[key], + defaultOptions[key] + ); if (Object.keys(cleanedOptions[key]).length === 0) { delete cleanedOptions[key]; } @@ -141,7 +148,7 @@ export function convertOldEmbeddingOptions(options: URLSearchParams): any { } if (options.has('slope')) { newOptions.elevation = { - fill: 'slope' + fill: 'slope', }; } return newOptions; diff --git a/website/src/lib/components/embedding/EmbeddingPlayground.svelte b/website/src/lib/components/embedding/EmbeddingPlayground.svelte index c5410099..f64b4f79 100644 --- a/website/src/lib/components/embedding/EmbeddingPlayground.svelte +++ b/website/src/lib/components/embedding/EmbeddingPlayground.svelte @@ -1,328 +1,339 @@ - - {$_('embedding.title')} - - -
- - - - - - - - { - if (selected?.value) { - options.basemap = selected?.value; - } - }} - > - - - - - {#each allowedEmbeddingBasemaps as basemap} - {$_(`layers.label.${basemap}`)} - {/each} - - -
- - -
- {#if options.elevation.show} -
- -
- - {$_('embedding.fill_by')} - - { - let value = selected?.value; - if (value === 'none') { - options.elevation.fill = undefined; - } else if (value === 'slope' || value === 'surface' || value === 'highway') { - options.elevation.fill = value; - } - }} - > - - - - - {$_('quantities.slope')} - {$_('quantities.surface')} - {$_('quantities.highway')} - {$_('embedding.none')} - - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- {/if} -
- - -
-
- - -
-
- - - -
- -
-
- - -
-

- {$_('embedding.manual_camera_description')} -

-
- - - - - -
-
- -
- -
- -
+    
+        {$_('embedding.title')}
+    
+    
+        
+ + + + + + + + { + if (selected?.value) { + options.basemap = selected?.value; + } + }} + > + + + + + {#each allowedEmbeddingBasemaps as basemap} + {$_(`layers.label.${basemap}`)} + {/each} + + +
+ + +
+ {#if options.elevation.show} +
+ +
+ + {$_('embedding.fill_by')} + + { + let value = selected?.value; + if (value === 'none') { + options.elevation.fill = undefined; + } else if ( + value === 'slope' || + value === 'surface' || + value === 'highway' + ) { + options.elevation.fill = value; + } + }} + > + + + + + {$_('quantities.slope')} + {$_('quantities.surface')} + {$_('quantities.highway')} + {$_('embedding.none')} + + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ {/if} +
+ + +
+
+ + +
+
+ + + +
+ +
+
+ + +
+

+ {$_('embedding.manual_camera_description')} +

+
+ + + + + +
+
+ +
+ +
+ +
                 
                     {`