diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index da7d6393..f05cc40d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,7 +36,7 @@ jobs: - name: Build website env: - BASE_PATH: '/${{ github.event.repository.name }}' + BASE_PATH: '' run: | npm run build --prefix website diff --git a/README.md b/README.md index 8a0ce953..261b373c 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,11 @@ Logo of gpx.studio. -**gpx.studio** is an online tool for creating and editing GPX files. +[**gpx.studio**](https://gpx.studio) is an online tool for creating and editing GPX files. ![gpx.studio screenshot](website/src/lib/assets/img/docs/getting-started/interface.png) -This repository contains the source code of the new website, currently available [here](https://gpx.studio/gpx.studio). +This repository contains the source code of the website. ## Contributing @@ -17,8 +17,6 @@ Code contributions are also welcome, but except for obvious bug fixes, please op ## Translation -***Translations for the new website will start once the new version is stable.*** - The website is translated by volunteers on a collaborative translation platform. You can help complete and improve the translations by joining the [Crowdin project](https://crowdin.com/project/gpxstudio). If you would like to start the translation in a new language, please contact me or create an issue. @@ -54,7 +52,7 @@ npm run dev ## Credits -This project has been made possible thanks to the following open-source projects: +This project has been made possible thanks to the following open source projects: - Development: - [Svelte](https://github.com/sveltejs/svelte) and [SvelteKit](https://github.com/sveltejs/kit) — seamless development experience diff --git a/crowdin.yml b/crowdin.yml new file mode 100644 index 00000000..75f124ec --- /dev/null +++ b/crowdin.yml @@ -0,0 +1,5 @@ +files: + - source: /website/src/locales/en.json + translation: /website/src/locales/%two_letters_code%.json + - source: /website/src/lib/docs/en/**/*.mdx + translation: /website/src/lib/docs/%two_letters_code%/**/%original_file_name% diff --git a/gpx/jest.config.ts b/gpx/jest.config.ts deleted file mode 100644 index c48e1d01..00000000 --- a/gpx/jest.config.ts +++ /dev/null @@ -1,198 +0,0 @@ -/** - * For a detailed explanation regarding each configuration property, visit: - * https://jestjs.io/docs/configuration - */ - -/** @type {import('jest').Config} */ -const config = { - // All imported modules in your tests should be mocked automatically - // automock: false, - - // Stop running tests after `n` failures - // bail: 0, - - // The directory where Jest should store its cached dependency information - // cacheDirectory: "/private/var/folders/hf/0lj0fwd15m55qqlzd3d29mtw0000gp/T/jest_dy", - - // Automatically clear mock calls, instances, contexts and results before every test - // clearMocks: false, - - // Indicates whether the coverage information should be collected while executing the test - // collectCoverage: false, - - // An array of glob patterns indicating a set of files for which coverage information should be collected - // collectCoverageFrom: undefined, - - // The directory where Jest should output its coverage files - // coverageDirectory: undefined, - - // An array of regexp pattern strings used to skip coverage collection - // coveragePathIgnorePatterns: [ - // "/node_modules/" - // ], - - // Indicates which provider should be used to instrument code for coverage - coverageProvider: "v8", - - // A list of reporter names that Jest uses when writing coverage reports - // coverageReporters: [ - // "json", - // "text", - // "lcov", - // "clover" - // ], - - // An object that configures minimum threshold enforcement for coverage results - // coverageThreshold: undefined, - - // A path to a custom dependency extractor - // dependencyExtractor: undefined, - - // Make calling deprecated APIs throw helpful error messages - // errorOnDeprecated: false, - - // The default configuration for fake timers - // fakeTimers: { - // "enableGlobally": false - // }, - - // Force coverage collection from ignored files using an array of glob patterns - // forceCoverageMatch: [], - - // A path to a module which exports an async function that is triggered once before all test suites - // globalSetup: undefined, - - // A path to a module which exports an async function that is triggered once after all test suites - // globalTeardown: undefined, - - // A set of global variables that need to be available in all test environments - // globals: {}, - - // The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers. - // maxWorkers: "50%", - - // An array of directory names to be searched recursively up from the requiring module's location - // moduleDirectories: [ - // "node_modules" - // ], - - // An array of file extensions your modules use - // moduleFileExtensions: [ - // "js", - // "mjs", - // "cjs", - // "jsx", - // "ts", - // "tsx", - // "json", - // "node" - // ], - - // A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module - // moduleNameMapper: {}, - - // An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader - // modulePathIgnorePatterns: [], - - // Activates notifications for test results - // notify: false, - - // An enum that specifies notification mode. Requires { notify: true } - // notifyMode: "failure-change", - - // A preset that is used as a base for Jest's configuration - preset: "ts-jest", - - // Run tests from one or more projects - // projects: undefined, - - // Use this configuration option to add custom reporters to Jest - // reporters: undefined, - - // Automatically reset mock state before every test - // resetMocks: false, - - // Reset the module registry before running each individual test - // resetModules: false, - - // A path to a custom resolver - // resolver: undefined, - - // Automatically restore mock state and implementation before every test - // restoreMocks: false, - - // The root directory that Jest should scan for tests and modules within - rootDir: "test", - - // A list of paths to directories that Jest should use to search for files in - // roots: [ - // "" - // ], - - // Allows you to use a custom runner instead of Jest's default test runner - // runner: "jest-runner", - - // The paths to modules that run some code to configure or set up the testing environment before each test - // setupFiles: [], - - // A list of paths to modules that run some code to configure or set up the testing framework before each test - // setupFilesAfterEnv: [], - - // The number of seconds after which a test is considered as slow and reported as such in the results. - // slowTestThreshold: 5, - - // A list of paths to snapshot serializer modules Jest should use for snapshot testing - // snapshotSerializers: [], - - // The test environment that will be used for testing - // testEnvironment: "jest-environment-node", - - // Options that will be passed to the testEnvironment - // testEnvironmentOptions: {}, - - // Adds a location field to test results - // testLocationInResults: false, - - // The glob patterns Jest uses to detect test files - // testMatch: [ - // "**/__tests__/**/*.[jt]s?(x)", - // "**/?(*.)+(spec|test).[tj]s?(x)" - // ], - - // An array of regexp pattern strings that are matched against all test paths, matched tests are skipped - // testPathIgnorePatterns: [ - // "/node_modules/" - // ], - - // The regexp pattern or array of patterns that Jest uses to detect test files - // testRegex: [], - - // This option allows the use of a custom results processor - // testResultsProcessor: undefined, - - // This option allows use of a custom test runner - // testRunner: "jest-circus/runner", - - // A map from regular expressions to paths to transformers - // transform: undefined, - - // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation - // transformIgnorePatterns: [ - // "/node_modules/", - // "\\.pnp\\.[^\\/]+$" - // ], - - // An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them - // unmockedModulePathPatterns: undefined, - - // Indicates whether each individual test should be reported during the run - // verbose: undefined, - - // An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode - // watchPathIgnorePatterns: [], - - // Whether to use watchman for file crawling - // watchman: true, -}; - -export default config; diff --git a/gpx/package-lock.json b/gpx/package-lock.json index d0c76ba0..5250312f 100644 --- a/gpx/package-lock.json +++ b/gpx/package-lock.json @@ -14,578 +14,10 @@ }, "devDependencies": { "@types/geojson": "^7946.0.14", - "@types/jest": "^29.5.12", "@types/node": "^20.14.6", - "jest": "^29.7.0", - "ts-jest": "^29.1.5", "typescript": "^5.4.5" } }, - "node_modules/@ampproject/remapping": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", - "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", - "dev": true, - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.24" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/code-frame": { - "version": "7.24.2", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.2.tgz", - "integrity": "sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ==", - "dev": true, - "dependencies": { - "@babel/highlight": "^7.24.2", - "picocolors": "^1.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/compat-data": { - "version": "7.24.4", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.4.tgz", - "integrity": "sha512-vg8Gih2MLK+kOkHJp4gBEIkyaIi00jgWot2D9QOmmfLC8jINSOzmCLta6Bvz/JSBCqnegV0L80jhxkol5GWNfQ==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/core": { - "version": "7.24.4", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.4.tgz", - "integrity": "sha512-MBVlMXP+kkl5394RBLSxxk/iLTeVGuXTV3cIDXavPpMMqnSnt6apKgan/U8O3USWZCWZT/TbgfEpKa4uMgN4Dg==", - "dev": true, - "dependencies": { - "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.24.2", - "@babel/generator": "^7.24.4", - "@babel/helper-compilation-targets": "^7.23.6", - "@babel/helper-module-transforms": "^7.23.3", - "@babel/helpers": "^7.24.4", - "@babel/parser": "^7.24.4", - "@babel/template": "^7.24.0", - "@babel/traverse": "^7.24.1", - "@babel/types": "^7.24.0", - "convert-source-map": "^2.0.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.3", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@babel/generator": { - "version": "7.24.4", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.4.tgz", - "integrity": "sha512-Xd6+v6SnjWVx/nus+y0l1sxMOTOMBkyL4+BIdbALyatQnAe/SRVjANeDPSCYaX+i1iJmuGSKf3Z+E+V/va1Hvw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.24.0", - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.25", - "jsesc": "^2.5.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-compilation-targets": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz", - "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.23.5", - "@babel/helper-validator-option": "^7.23.5", - "browserslist": "^4.22.2", - "lru-cache": "^5.1.1", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-environment-visitor": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", - "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", - "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", - "dev": true, - "dependencies": { - "@babel/template": "^7.22.15", - "@babel/types": "^7.23.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", - "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-imports": { - "version": "7.24.3", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.3.tgz", - "integrity": "sha512-viKb0F9f2s0BCS22QSF308z/+1YWKV/76mwt61NBzS5izMzDPwdq1pTrzf+Li3npBWX9KdQbkeCt1jSAM7lZqg==", - "dev": true, - "dependencies": { - "@babel/types": "^7.24.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz", - "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==", - "dev": true, - "dependencies": { - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-module-imports": "^7.22.15", - "@babel/helper-simple-access": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/helper-validator-identifier": "^7.22.20" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-plugin-utils": { - "version": "7.24.0", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.0.tgz", - "integrity": "sha512-9cUznXMG0+FxRuJfvL82QlTqIzhVW9sL0KjMPHhAOOvpQGL8QtdxnBKILjBqxlHyliz0yCa1G903ZXI/FuHy2w==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-simple-access": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", - "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", - "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-string-parser": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.1.tgz", - "integrity": "sha512-2ofRCjnnA9y+wk8b9IAREroeUP02KHp431N2mhKniy2yKIDKpbrHv9eXwm8cBeWQYcJmzv5qKCu65P47eCF7CQ==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-option": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz", - "integrity": "sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helpers": { - "version": "7.24.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.4.tgz", - "integrity": "sha512-FewdlZbSiwaVGlgT1DPANDuCHaDMiOo+D/IDYRFYjHOuv66xMSJ7fQwwODwRNAPkADIO/z1EoF/l2BCWlWABDw==", - "dev": true, - "dependencies": { - "@babel/template": "^7.24.0", - "@babel/traverse": "^7.24.1", - "@babel/types": "^7.24.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.24.2", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.2.tgz", - "integrity": "sha512-Yac1ao4flkTxTteCDZLEvdxg2fZfz1v8M4QpaGypq/WPDqg3ijHYbDfs+LG5hvzSoqaSZ9/Z9lKSP3CjZjv+pA==", - "dev": true, - "dependencies": { - "@babel/helper-validator-identifier": "^7.22.20", - "chalk": "^2.4.2", - "js-tokens": "^4.0.0", - "picocolors": "^1.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/@babel/highlight/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/@babel/highlight/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/@babel/highlight/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/parser": { - "version": "7.24.4", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.4.tgz", - "integrity": "sha512-zTvEBcghmeBma9QIGunWevvBAp4/Qu9Bdq+2k0Ot4fVMD6v3dsC9WOcRSKk7tRRyBM/53yKMJko9xOatGQAwSg==", - "dev": true, - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-bigint": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", - "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-meta": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", - "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.24.1.tgz", - "integrity": "sha512-2eCtxZXf+kbkMIsXS4poTvT4Yu5rXiRa+9xGVT56raghjmBTKMpFNc9R4IDiB4emao9eO22Ox7CxuJG7BgExqA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.1.tgz", - "integrity": "sha512-Yhnmvy5HZEnHUty6i++gcfH1/l68AHnItFHnaCv6hn9dNh0hQvvQJsxpi4BMBFN5DLeHBuucT/0DgzXif/OyRw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/template": { - "version": "7.24.0", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.0.tgz", - "integrity": "sha512-Bkf2q8lMB0AFpX0NFEqSbx1OkTHf0f+0j82mkw+ZpzBnkk7e9Ql0891vlfgi+kHwOk8tQjiQHpqh4LaSa0fKEA==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.23.5", - "@babel/parser": "^7.24.0", - "@babel/types": "^7.24.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.1.tgz", - "integrity": "sha512-xuU6o9m68KeqZbQuDt2TcKSxUw/mrsvavlEqQ1leZ/B+C9tk6E4sRWy97WaXgvq5E+nU3cXMxv3WKOCanVMCmQ==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.24.1", - "@babel/generator": "^7.24.1", - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-function-name": "^7.23.0", - "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.24.1", - "@babel/types": "^7.24.0", - "debug": "^4.3.1", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/types": { - "version": "7.24.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.0.tgz", - "integrity": "sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w==", - "dev": true, - "dependencies": { - "@babel/helper-string-parser": "^7.23.4", - "@babel/helper-validator-identifier": "^7.22.20", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@bcoe/v8-coverage": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", - "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", - "dev": true - }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", @@ -606,323 +38,6 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, - "node_modules/@istanbuljs/load-nyc-config": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", - "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", - "dev": true, - "dependencies": { - "camelcase": "^5.3.1", - "find-up": "^4.1.0", - "get-package-type": "^0.1.0", - "js-yaml": "^3.13.1", - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/schema": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", - "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@jest/console": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz", - "integrity": "sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/core": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz", - "integrity": "sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==", - "dev": true, - "dependencies": { - "@jest/console": "^29.7.0", - "@jest/reporters": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "jest-changed-files": "^29.7.0", - "jest-config": "^29.7.0", - "jest-haste-map": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-resolve-dependencies": "^29.7.0", - "jest-runner": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "jest-watcher": "^29.7.0", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/@jest/environment": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz", - "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==", - "dev": true, - "dependencies": { - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-mock": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/expect": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz", - "integrity": "sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==", - "dev": true, - "dependencies": { - "expect": "^29.7.0", - "jest-snapshot": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/expect-utils": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz", - "integrity": "sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==", - "dev": true, - "dependencies": { - "jest-get-type": "^29.6.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/fake-timers": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz", - "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@sinonjs/fake-timers": "^10.0.2", - "@types/node": "*", - "jest-message-util": "^29.7.0", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/globals": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz", - "integrity": "sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/expect": "^29.7.0", - "@jest/types": "^29.6.3", - "jest-mock": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/reporters": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz", - "integrity": "sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==", - "dev": true, - "dependencies": { - "@bcoe/v8-coverage": "^0.2.3", - "@jest/console": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@jridgewell/trace-mapping": "^0.3.18", - "@types/node": "*", - "chalk": "^4.0.0", - "collect-v8-coverage": "^1.0.0", - "exit": "^0.1.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "istanbul-lib-coverage": "^3.0.0", - "istanbul-lib-instrument": "^6.0.0", - "istanbul-lib-report": "^3.0.0", - "istanbul-lib-source-maps": "^4.0.0", - "istanbul-reports": "^3.1.3", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "jest-worker": "^29.7.0", - "slash": "^3.0.0", - "string-length": "^4.0.1", - "strip-ansi": "^6.0.0", - "v8-to-istanbul": "^9.0.1" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/@jest/schemas": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", - "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", - "dev": true, - "dependencies": { - "@sinclair/typebox": "^0.27.8" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/source-map": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz", - "integrity": "sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==", - "dev": true, - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.18", - "callsites": "^3.0.0", - "graceful-fs": "^4.2.9" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/test-result": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz", - "integrity": "sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==", - "dev": true, - "dependencies": { - "@jest/console": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "collect-v8-coverage": "^1.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/test-sequencer": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz", - "integrity": "sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==", - "dev": true, - "dependencies": { - "@jest/test-result": "^29.7.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/transform": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", - "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", - "dev": true, - "dependencies": { - "@babel/core": "^7.11.6", - "@jest/types": "^29.6.3", - "@jridgewell/trace-mapping": "^0.3.18", - "babel-plugin-istanbul": "^6.1.1", - "chalk": "^4.0.0", - "convert-source-map": "^2.0.0", - "fast-json-stable-stringify": "^2.1.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "micromatch": "^4.0.4", - "pirates": "^4.0.4", - "slash": "^3.0.0", - "write-file-atomic": "^4.0.2" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/types": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz", - "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==", - "dev": true, - "dependencies": { - "@jest/schemas": "^29.6.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^17.0.8", - "chalk": "^4.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", - "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", - "dev": true, - "dependencies": { - "@jridgewell/set-array": "^1.2.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.24" - }, - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/@jridgewell/resolve-uri": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", @@ -931,54 +46,11 @@ "node": ">=6.0.0" } }, - "node_modules/@jridgewell/set-array": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", - "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", - "dev": true, - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/@jridgewell/sourcemap-codec": { "version": "1.4.15", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.25", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", - "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", - "dev": true, - "dependencies": { - "@jridgewell/resolve-uri": "^3.1.0", - "@jridgewell/sourcemap-codec": "^1.4.14" - } - }, - "node_modules/@sinclair/typebox": { - "version": "0.27.8", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", - "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", - "dev": true - }, - "node_modules/@sinonjs/commons": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", - "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", - "dev": true, - "dependencies": { - "type-detect": "4.0.8" - } - }, - "node_modules/@sinonjs/fake-timers": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", - "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", - "dev": true, - "dependencies": { - "@sinonjs/commons": "^3.0.0" - } - }, "node_modules/@tsconfig/node10": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz", @@ -999,96 +71,12 @@ "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==" }, - "node_modules/@types/babel__core": { - "version": "7.20.5", - "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", - "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", - "dev": true, - "dependencies": { - "@babel/parser": "^7.20.7", - "@babel/types": "^7.20.7", - "@types/babel__generator": "*", - "@types/babel__template": "*", - "@types/babel__traverse": "*" - } - }, - "node_modules/@types/babel__generator": { - "version": "7.6.8", - "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz", - "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.0.0" - } - }, - "node_modules/@types/babel__template": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", - "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", - "dev": true, - "dependencies": { - "@babel/parser": "^7.1.0", - "@babel/types": "^7.0.0" - } - }, - "node_modules/@types/babel__traverse": { - "version": "7.20.5", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.5.tgz", - "integrity": "sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ==", - "dev": true, - "dependencies": { - "@babel/types": "^7.20.7" - } - }, "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/graceful-fs": { - "version": "4.1.9", - "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz", - "integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/istanbul-lib-coverage": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", - "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", - "dev": true - }, - "node_modules/@types/istanbul-lib-report": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz", - "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==", - "dev": true, - "dependencies": { - "@types/istanbul-lib-coverage": "*" - } - }, - "node_modules/@types/istanbul-reports": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz", - "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==", - "dev": true, - "dependencies": { - "@types/istanbul-lib-report": "*" - } - }, - "node_modules/@types/jest": { - "version": "29.5.12", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.12.tgz", - "integrity": "sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==", - "dev": true, - "dependencies": { - "expect": "^29.0.0", - "pretty-format": "^29.0.0" - } - }, "node_modules/@types/node": { "version": "20.14.6", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.6.tgz", @@ -1097,27 +85,6 @@ "undici-types": "~5.26.4" } }, - "node_modules/@types/stack-utils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz", - "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==", - "dev": true - }, - "node_modules/@types/yargs": { - "version": "17.0.32", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz", - "integrity": "sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==", - "dev": true, - "dependencies": { - "@types/yargs-parser": "*" - } - }, - "node_modules/@types/yargs-parser": { - "version": "21.0.3", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz", - "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", - "dev": true - }, "node_modules/acorn": { "version": "8.11.3", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", @@ -1137,499 +104,16 @@ "node": ">=0.4.0" } }, - "node_modules/ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "dev": true, - "dependencies": { - "type-fest": "^0.21.3" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "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, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/anymatch": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", - "dev": true, - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, "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": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dev": true, - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, - "node_modules/babel-jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", - "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==", - "dev": true, - "dependencies": { - "@jest/transform": "^29.7.0", - "@types/babel__core": "^7.1.14", - "babel-plugin-istanbul": "^6.1.1", - "babel-preset-jest": "^29.6.3", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.8.0" - } - }, - "node_modules/babel-plugin-istanbul": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", - "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@istanbuljs/load-nyc-config": "^1.0.0", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-instrument": "^5.0.4", - "test-exclude": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", - "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", - "dev": true, - "dependencies": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-plugin-jest-hoist": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz", - "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==", - "dev": true, - "dependencies": { - "@babel/template": "^7.3.3", - "@babel/types": "^7.3.3", - "@types/babel__core": "^7.1.14", - "@types/babel__traverse": "^7.0.6" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/babel-preset-current-node-syntax": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", - "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", - "dev": true, - "dependencies": { - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-bigint": "^7.8.3", - "@babel/plugin-syntax-class-properties": "^7.8.3", - "@babel/plugin-syntax-import-meta": "^7.8.3", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.8.3", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-top-level-await": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/babel-preset-jest": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz", - "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==", - "dev": true, - "dependencies": { - "babel-plugin-jest-hoist": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "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 - }, - "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, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/browserslist": { - "version": "4.23.0", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz", - "integrity": "sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "dependencies": { - "caniuse-lite": "^1.0.30001587", - "electron-to-chromium": "^1.4.668", - "node-releases": "^2.0.14", - "update-browserslist-db": "^1.0.13" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - } - }, - "node_modules/bs-logger": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz", - "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==", - "dev": true, - "dependencies": { - "fast-json-stable-stringify": "2.x" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/bser": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", - "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", - "dev": true, - "dependencies": { - "node-int64": "^0.4.0" - } - }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true - }, - "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, - "engines": { - "node": ">=6" - } - }, - "node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/caniuse-lite": { - "version": "1.0.30001610", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001610.tgz", - "integrity": "sha512-QFutAY4NgaelojVMjY63o6XlZyORPaLfyMnsl3HgnWdJUcX6K0oaJymHjH8PT5Gk7sTm8rvC/c5COUQKXqmOMA==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ] - }, - "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, - "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/char-regex": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", - "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/ci-info": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", - "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/sibiraj-s" - } - ], - "engines": { - "node": ">=8" - } - }, - "node_modules/cjs-module-lexer": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz", - "integrity": "sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==", - "dev": true - }, - "node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "dev": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/co": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", - "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", - "dev": true, - "engines": { - "iojs": ">= 1.0.0", - "node": ">= 0.12.0" - } - }, - "node_modules/collect-v8-coverage": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz", - "integrity": "sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==", - "dev": true - }, - "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, - "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 - }, - "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 - }, - "node_modules/convert-source-map": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", - "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", - "dev": true - }, - "node_modules/create-jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz", - "integrity": "sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "jest-config": "^29.7.0", - "jest-util": "^29.7.0", - "prompts": "^2.0.1" - }, - "bin": { - "create-jest": "bin/create-jest.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, "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.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/dedent": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.3.tgz", - "integrity": "sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ==", - "dev": true, - "peerDependencies": { - "babel-plugin-macros": "^3.1.0" - }, - "peerDependenciesMeta": { - "babel-plugin-macros": { - "optional": true - } - } - }, - "node_modules/deepmerge": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", - "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/detect-newline": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", - "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/diff": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", @@ -1638,133 +122,6 @@ "node": ">=0.3.1" } }, - "node_modules/diff-sequences": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", - "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", - "dev": true, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/electron-to-chromium": { - "version": "1.4.736", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.736.tgz", - "integrity": "sha512-Rer6wc3ynLelKNM4lOCg7/zPQj8tPOCB2hzD32PX9wd3hgRRi9MxEbmkFCokzcEhRVMiOVLjnL9ig9cefJ+6+Q==", - "dev": true - }, - "node_modules/emittery": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", - "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sindresorhus/emittery?sponsor=1" - } - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true - }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dev": true, - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, - "node_modules/escalade": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", - "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true, - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/exit": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", - "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/expect": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz", - "integrity": "sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==", - "dev": true, - "dependencies": { - "@jest/expect-utils": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "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 - }, "node_modules/fast-xml-parser": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.4.0.tgz", @@ -1786,179 +143,6 @@ "fxparser": "src/cli/cli.js" } }, - "node_modules/fb-watchman": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz", - "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==", - "dev": true, - "dependencies": { - "bser": "2.1.1" - } - }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true - }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true, - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-package-type": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", - "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", - "dev": true, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true - }, - "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, - "engines": { - "node": ">=8" - } - }, - "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/html-escaper": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", - "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", - "dev": true - }, - "node_modules/human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", - "dev": true, - "engines": { - "node": ">=10.17.0" - } - }, "node_modules/immer": { "version": "10.1.1", "resolved": "https://registry.npmjs.org/immer/-/immer-10.1.1.tgz", @@ -1968,1636 +152,16 @@ "url": "https://opencollective.com/immer" } }, - "node_modules/import-local": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", - "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", - "dev": true, - "dependencies": { - "pkg-dir": "^4.2.0", - "resolve-cwd": "^3.0.0" - }, - "bin": { - "import-local-fixture": "fixtures/cli.js" - }, - "engines": { - "node": ">=8" - }, - "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, - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dev": true, - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", - "dev": true - }, - "node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", - "dev": true, - "dependencies": { - "hasown": "^2.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-generator-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", - "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "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, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true - }, - "node_modules/istanbul-lib-coverage": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", - "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/istanbul-lib-instrument": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.2.tgz", - "integrity": "sha512-1WUsZ9R1lA0HtBSohTkm39WTPlNKSJ5iFk7UwqXkBLoHQT+hfqPsfsTDVuZdKGaBwn7din9bS7SsnoAr943hvw==", - "dev": true, - "dependencies": { - "@babel/core": "^7.23.9", - "@babel/parser": "^7.23.9", - "@istanbuljs/schema": "^0.1.3", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^7.5.4" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-lib-instrument/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-lib-instrument/node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-lib-instrument/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "node_modules/istanbul-lib-report": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", - "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", - "dev": true, - "dependencies": { - "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^4.0.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-lib-source-maps": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", - "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", - "dev": true, - "dependencies": { - "debug": "^4.1.1", - "istanbul-lib-coverage": "^3.0.0", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-reports": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz", - "integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==", - "dev": true, - "dependencies": { - "html-escaper": "^2.0.0", - "istanbul-lib-report": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz", - "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==", - "dev": true, - "dependencies": { - "@jest/core": "^29.7.0", - "@jest/types": "^29.6.3", - "import-local": "^3.0.2", - "jest-cli": "^29.7.0" - }, - "bin": { - "jest": "bin/jest.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/jest-changed-files": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz", - "integrity": "sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==", - "dev": true, - "dependencies": { - "execa": "^5.0.0", - "jest-util": "^29.7.0", - "p-limit": "^3.1.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-circus": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz", - "integrity": "sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/expect": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "co": "^4.6.0", - "dedent": "^1.0.0", - "is-generator-fn": "^2.0.0", - "jest-each": "^29.7.0", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "p-limit": "^3.1.0", - "pretty-format": "^29.7.0", - "pure-rand": "^6.0.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-cli": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz", - "integrity": "sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==", - "dev": true, - "dependencies": { - "@jest/core": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "create-jest": "^29.7.0", - "exit": "^0.1.2", - "import-local": "^3.0.2", - "jest-config": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "yargs": "^17.3.1" - }, - "bin": { - "jest": "bin/jest.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/jest-config": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz", - "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==", - "dev": true, - "dependencies": { - "@babel/core": "^7.11.6", - "@jest/test-sequencer": "^29.7.0", - "@jest/types": "^29.6.3", - "babel-jest": "^29.7.0", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "deepmerge": "^4.2.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-circus": "^29.7.0", - "jest-environment-node": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-runner": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "micromatch": "^4.0.4", - "parse-json": "^5.2.0", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@types/node": "*", - "ts-node": ">=9.0.0" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - }, - "ts-node": { - "optional": true - } - } - }, - "node_modules/jest-diff": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", - "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==", - "dev": true, - "dependencies": { - "chalk": "^4.0.0", - "diff-sequences": "^29.6.3", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-docblock": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz", - "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==", - "dev": true, - "dependencies": { - "detect-newline": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-each": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz", - "integrity": "sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "jest-get-type": "^29.6.3", - "jest-util": "^29.7.0", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-environment-node": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz", - "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-get-type": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz", - "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==", - "dev": true, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-haste-map": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz", - "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@types/graceful-fs": "^4.1.3", - "@types/node": "*", - "anymatch": "^3.0.3", - "fb-watchman": "^2.0.0", - "graceful-fs": "^4.2.9", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "jest-worker": "^29.7.0", - "micromatch": "^4.0.4", - "walker": "^1.0.8" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "optionalDependencies": { - "fsevents": "^2.3.2" - } - }, - "node_modules/jest-leak-detector": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz", - "integrity": "sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==", - "dev": true, - "dependencies": { - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-matcher-utils": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz", - "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==", - "dev": true, - "dependencies": { - "chalk": "^4.0.0", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-message-util": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz", - "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-mock": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz", - "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-pnp-resolver": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", - "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", - "dev": true, - "engines": { - "node": ">=6" - }, - "peerDependencies": { - "jest-resolve": "*" - }, - "peerDependenciesMeta": { - "jest-resolve": { - "optional": true - } - } - }, - "node_modules/jest-regex-util": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz", - "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==", - "dev": true, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-resolve": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz", - "integrity": "sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==", - "dev": true, - "dependencies": { - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-pnp-resolver": "^1.2.2", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "resolve": "^1.20.0", - "resolve.exports": "^2.0.0", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-resolve-dependencies": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz", - "integrity": "sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==", - "dev": true, - "dependencies": { - "jest-regex-util": "^29.6.3", - "jest-snapshot": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-runner": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz", - "integrity": "sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==", - "dev": true, - "dependencies": { - "@jest/console": "^29.7.0", - "@jest/environment": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "emittery": "^0.13.1", - "graceful-fs": "^4.2.9", - "jest-docblock": "^29.7.0", - "jest-environment-node": "^29.7.0", - "jest-haste-map": "^29.7.0", - "jest-leak-detector": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-resolve": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-util": "^29.7.0", - "jest-watcher": "^29.7.0", - "jest-worker": "^29.7.0", - "p-limit": "^3.1.0", - "source-map-support": "0.5.13" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-runtime": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz", - "integrity": "sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/fake-timers": "^29.7.0", - "@jest/globals": "^29.7.0", - "@jest/source-map": "^29.6.3", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "cjs-module-lexer": "^1.0.0", - "collect-v8-coverage": "^1.0.0", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-mock": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "slash": "^3.0.0", - "strip-bom": "^4.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-snapshot": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz", - "integrity": "sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==", - "dev": true, - "dependencies": { - "@babel/core": "^7.11.6", - "@babel/generator": "^7.7.2", - "@babel/plugin-syntax-jsx": "^7.7.2", - "@babel/plugin-syntax-typescript": "^7.7.2", - "@babel/types": "^7.3.3", - "@jest/expect-utils": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0", - "chalk": "^4.0.0", - "expect": "^29.7.0", - "graceful-fs": "^4.2.9", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "natural-compare": "^1.4.0", - "pretty-format": "^29.7.0", - "semver": "^7.5.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-snapshot/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/jest-snapshot/node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/jest-snapshot/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "node_modules/jest-util": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz", - "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "graceful-fs": "^4.2.9", - "picomatch": "^2.2.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-validate": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz", - "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "camelcase": "^6.2.0", - "chalk": "^4.0.0", - "jest-get-type": "^29.6.3", - "leven": "^3.1.0", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-validate/node_modules/camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/jest-watcher": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz", - "integrity": "sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==", - "dev": true, - "dependencies": { - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "emittery": "^0.13.1", - "jest-util": "^29.7.0", - "string-length": "^4.0.1" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-worker": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", - "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", - "dev": true, - "dependencies": { - "@types/node": "*", - "jest-util": "^29.7.0", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-worker/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true - }, - "node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "dev": true, - "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "dev": true, - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true - }, - "node_modules/json5": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", - "dev": true, - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/kleur": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/leven": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", - "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", - "dev": true - }, - "node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/lodash.memoize": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", - "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", - "dev": true - }, - "node_modules/lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "dev": true, - "dependencies": { - "yallist": "^3.0.2" - } - }, - "node_modules/make-dir": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", - "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", - "dev": true, - "dependencies": { - "semver": "^7.5.3" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/make-dir/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/make-dir/node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/make-dir/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": 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/makeerror": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", - "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", - "dev": true, - "dependencies": { - "tmpl": "1.0.5" - } - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "dev": true, - "dependencies": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "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, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "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 - }, - "node_modules/node-int64": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", - "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", - "dev": true - }, - "node_modules/node-releases": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", - "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", - "dev": true - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "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, - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-locate/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "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, - "engines": { - "node": ">=8" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "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, - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", - "dev": true - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pirates": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", - "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pretty-format": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", - "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", - "dev": true, - "dependencies": { - "@jest/schemas": "^29.6.3", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/pretty-format/node_modules/ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/prompts": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", - "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", - "dev": true, - "dependencies": { - "kleur": "^3.0.3", - "sisteransi": "^1.0.5" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/pure-rand": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz", - "integrity": "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/dubzzz" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fast-check" - } - ] - }, - "node_modules/react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", - "dev": true - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "dev": true, - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve-cwd": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", - "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", - "dev": true, - "dependencies": { - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve.exports": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.2.tgz", - "integrity": "sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "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, - "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, - "engines": { - "node": ">=8" - } - }, - "node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true - }, - "node_modules/sisteransi": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", - "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", - "dev": true - }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-support": { - "version": "0.5.13", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", - "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", - "dev": true, - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "dev": true - }, - "node_modules/stack-utils": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", - "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", - "dev": true, - "dependencies": { - "escape-string-regexp": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/string-length": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", - "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", - "dev": true, - "dependencies": { - "char-regex": "^1.0.2", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", - "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-final-newline": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "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, - "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, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/test-exclude": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", - "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", - "dev": true, - "dependencies": { - "@istanbuljs/schema": "^0.1.2", - "glob": "^7.1.4", - "minimatch": "^3.0.4" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/tmpl": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", - "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", - "dev": true - }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "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, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/ts-jest": { - "version": "29.1.5", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.5.tgz", - "integrity": "sha512-UuClSYxM7byvvYfyWdFI+/2UxMmwNyJb0NPkZPQE2hew3RurV7l7zURgOHAd/1I1ZdPpe3GUsXNXAcN8TFKSIg==", - "dev": true, - "dependencies": { - "bs-logger": "0.x", - "fast-json-stable-stringify": "2.x", - "jest-util": "^29.0.0", - "json5": "^2.2.3", - "lodash.memoize": "4.x", - "make-error": "1.x", - "semver": "^7.5.3", - "yargs-parser": "^21.0.1" - }, - "bin": { - "ts-jest": "cli.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0" - }, - "peerDependencies": { - "@babel/core": ">=7.0.0-beta.0 <8", - "@jest/transform": "^29.0.0", - "@jest/types": "^29.0.0", - "babel-jest": "^29.0.0", - "jest": "^29.0.0", - "typescript": ">=4.3 <6" - }, - "peerDependenciesMeta": { - "@babel/core": { - "optional": true - }, - "@jest/transform": { - "optional": true - }, - "@jest/types": { - "optional": true - }, - "babel-jest": { - "optional": true - }, - "esbuild": { - "optional": true - } - } - }, - "node_modules/ts-jest/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/ts-jest/node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/ts-jest/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/ts-node": { "version": "10.9.2", "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", @@ -3640,27 +204,6 @@ } } }, - "node_modules/type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/typescript": { "version": "5.4.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", @@ -3678,157 +221,11 @@ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" }, - "node_modules/update-browserslist-db": { - "version": "1.0.13", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", - "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "dependencies": { - "escalade": "^3.1.1", - "picocolors": "^1.0.0" - }, - "bin": { - "update-browserslist-db": "cli.js" - }, - "peerDependencies": { - "browserslist": ">= 4.21.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/v8-to-istanbul": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.2.0.tgz", - "integrity": "sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==", - "dev": true, - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.12", - "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^2.0.0" - }, - "engines": { - "node": ">=10.12.0" - } - }, - "node_modules/walker": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", - "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", - "dev": true, - "dependencies": { - "makeerror": "1.0.12" - } - }, - "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, - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true - }, - "node_modules/write-file-atomic": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", - "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", - "dev": true, - "dependencies": { - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.7" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true - }, - "node_modules/yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", - "dev": true, - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true, - "engines": { - "node": ">=12" - } - }, "node_modules/yn": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", @@ -3836,18 +233,6 @@ "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, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } } } } diff --git a/gpx/package.json b/gpx/package.json index 27a3c15a..106b9af4 100644 --- a/gpx/package.json +++ b/gpx/package.json @@ -2,8 +2,8 @@ "name": "gpx", "version": "1.0.0", "type": "module", - "exports": "./dist/src/index.js", - "types": "dist/src/index.d.ts", + "exports": "./dist/index.js", + "types": "dist/index.d.ts", "repository": { "type": "git", "url": "https://github.com/gpxstudio/gpx.studio.git", @@ -16,15 +16,11 @@ "ts-node": "^10.9.2" }, "scripts": { - "build": "tsc", - "test": "jest" + "build": "tsc" }, "devDependencies": { "@types/geojson": "^7946.0.14", - "@types/jest": "^29.5.12", "@types/node": "^20.14.6", - "jest": "^29.7.0", - "ts-jest": "^29.1.5", "typescript": "^5.4.5" } -} +} \ No newline at end of file diff --git a/gpx/src/gpx.ts b/gpx/src/gpx.ts index 6d695d44..7271bc50 100644 --- a/gpx/src/gpx.ts +++ b/gpx/src/gpx.ts @@ -117,7 +117,15 @@ export class GPXFile extends GPXTreeNode{ super(); if (gpx) { this.attributes = gpx.attributes - this.metadata = gpx.metadata; + 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)) : []; if (gpx.rte && gpx.rte.length > 0) { @@ -125,6 +133,23 @@ export class GPXFile extends GPXTreeNode{ } if (gpx.hasOwnProperty('_data')) { this._data = gpx._data; + + if (!this._data.hasOwnProperty('style')) { + let style = this.getStyle(); + let fileStyle = {}; + if (style.color.length === 1) { + fileStyle['color'] = style.color[0]; + } + if (style.weight.length === 1) { + fileStyle['weight'] = style.weight[0]; + } + if (style.opacity.length === 1) { + fileStyle['opacity'] = style.opacity[0]; + } + if (Object.keys(fileStyle).length > 0) { + this.setStyle(fileStyle); + } + } } } else { this.attributes = {}; @@ -200,14 +225,32 @@ export class GPXFile extends GPXTreeNode{ }; } - toGPXFileType(): GPXFileType { - return { + toGPXFileType(exclude: string[] = []): GPXFileType { + let file: GPXFileType = { attributes: cloneJSON(this.attributes), - metadata: cloneJSON(this.metadata), - wpt: this.wpt, - trk: this.trk.map((track) => track.toTrackType()), + metadata: {}, + wpt: this.wpt.map((wpt) => wpt.toWaypointType(exclude)), + trk: this.trk.map((track) => track.toTrackType(exclude)), rte: [], }; + if (this.metadata) { + if (this.metadata.name) { + file.metadata.name = this.metadata.name; + } + if (this.metadata.desc) { + file.metadata.desc = this.metadata.desc; + } + if (this.metadata.author) { + file.metadata.author = cloneJSON(this.metadata.author); + } + if (this.metadata.link) { + file.metadata.link = cloneJSON(this.metadata.link); + } + if (this.metadata.time && !exclude.includes('time')) { + file.metadata.time = this.metadata.time; + } + } + return file; } // Producers @@ -320,6 +363,15 @@ export class GPXFile extends GPXTreeNode{ }); } + createArtificialTimestamps(startTime: Date, totalTime: number, trackIndex?: number, segmentIndex?: number) { + let lastPoint = undefined; + this.trk.forEach((track, index) => { + if (trackIndex === undefined || trackIndex === index) { + track.createArtificialTimestamps(startTime, totalTime, lastPoint, segmentIndex); + } + }); + } + addElevation(callback: (Coordinates) => number, trackIndices?: number[], segmentIndices?: number[], waypointIndices?: number[]) { let og = getOriginal(this); // Read as much as possible from the original object because it is faster this.trk.forEach((track, trackIndex) => { @@ -348,7 +400,7 @@ export class GPXFile extends GPXTreeNode{ this._data.style = {}; } if (style.color) { - this._data.style.color = style.color; + this._data.style.color = style.color.replace('#', ''); } if (style.opacity) { this._data.style.opacity = style.opacity; @@ -412,8 +464,8 @@ export class Track extends GPXTreeNode { src?: string; link?: Link; type?: string; - trkseg: TrackSegment[]; extensions?: TrackExtensions; + trkseg: TrackSegment[]; constructor(track?: TrackType & { _data?: any } | Track) { super(); @@ -446,14 +498,23 @@ export class Track extends GPXTreeNode { src: this.src, link: cloneJSON(this.link), type: this.type, - trkseg: this.trkseg.map((seg) => seg.clone()), extensions: cloneJSON(this.extensions), + trkseg: this.trkseg.map((seg) => seg.clone()), _data: cloneJSON(this._data), }); } getStyle(): LineStyleExtension | undefined { - return this.extensions && this.extensions['gpx_style:line']; + if (this.extensions && this.extensions['gpx_style:line']) { + if (this.extensions["gpx_style:line"].color) { + return { + ...this.extensions["gpx_style:line"], + color: `#${this.extensions["gpx_style:line"].color}` + } + } + return this.extensions['gpx_style:line']; + } + return undefined; } toGeoJSON(): GeoJSON.Feature[] { @@ -461,7 +522,7 @@ export class Track extends GPXTreeNode { let geoJSON = child.toGeoJSON(); if (this.extensions && this.extensions['gpx_style:line']) { if (this.extensions['gpx_style:line'].color) { - geoJSON.properties['color'] = this.extensions['gpx_style:line'].color; + geoJSON.properties['color'] = `#${this.extensions['gpx_style:line'].color}`; } if (this.extensions['gpx_style:line'].opacity) { geoJSON.properties['opacity'] = this.extensions['gpx_style:line'].opacity; @@ -474,7 +535,7 @@ export class Track extends GPXTreeNode { }); } - toTrackType(): TrackType { + toTrackType(exclude: string[] = []): TrackType { return { name: this.name, cmt: this.cmt, @@ -482,8 +543,8 @@ export class Track extends GPXTreeNode { src: this.src, link: this.link, type: this.type, - trkseg: this.trkseg.map((seg) => seg.toTrackSegmentType()), extensions: this.extensions, + trkseg: this.trkseg.map((seg) => seg.toTrackSegmentType(exclude)), }; } @@ -562,6 +623,17 @@ export class Track extends GPXTreeNode { }); } + 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); + if (segment.trkpt.length > 0) { + lastPoint = segment.trkpt[segment.trkpt.length - 1]; + } + } + }); + } + setStyle(style: LineStyleExtension, force: boolean = true) { if (!this.extensions) { this.extensions = {}; @@ -570,7 +642,7 @@ export class Track extends GPXTreeNode { this.extensions['gpx_style:line'] = {}; } if (style.color !== undefined && (force || this.extensions['gpx_style:line'].color === undefined)) { - this.extensions['gpx_style:line'].color = style.color; + this.extensions['gpx_style:line'].color = style.color.replace('#', ''); } if (style.opacity !== undefined && (force || this.extensions['gpx_style:line'].opacity === undefined)) { this.extensions['gpx_style:line'].opacity = style.opacity; @@ -663,7 +735,7 @@ export class TrackSegment extends GPXTreeLeaf { const time = (points[i].time.getTime() - points[i - 1].time.getTime()) / 1000; speed = dist / (time / 3600); - if (speed >= 0.5) { + if (speed >= 0.5 && speed <= 1500) { statistics.global.distance.moving += dist; statistics.global.time.moving += time; } @@ -677,6 +749,30 @@ export class TrackSegment extends GPXTreeLeaf { 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); + 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); + 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); + 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); + statistics.global.power.count++; + } + } } [statistics.local.slope.segment, statistics.local.slope.length] = this._computeSlopeSegments(statistics); @@ -741,7 +837,7 @@ export class TrackSegment extends GPXTreeLeaf { 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 ele = simplified[i + 1].point.ele - simplified[i].point.ele; + 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); @@ -793,9 +889,9 @@ export class TrackSegment extends GPXTreeLeaf { }; } - toTrackSegmentType(): TrackSegmentType { + toTrackSegmentType(exclude: string[] = []): TrackSegmentType { return { - trkpt: this.trkpt.map((point) => point.toTrackPointType()) + trkpt: this.trkpt.map((point) => point.toTrackPointType(exclude)) }; } @@ -905,6 +1001,14 @@ export class TrackSegment extends GPXTreeLeaf { this.trkpt = freeze(trkpt); // Pre-freeze the array, faster as well } } + + 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); + this.trkpt = freeze(trkpt); // Pre-freeze the array, faster as well + } + setHidden(hidden: boolean) { this._data.hidden = hidden; } @@ -945,6 +1049,10 @@ export class TrackPoint { return this.attributes.lon; } + getTemperature(): number { + 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; } @@ -953,10 +1061,6 @@ export class TrackPoint { return this.extensions && this.extensions['gpxtpx:TrackPointExtension'] && this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:cad'] ? this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:cad'] : undefined; } - getTemperature(): number { - return this.extensions && this.extensions['gpxtpx:TrackPointExtension'] && this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:atemp'] ? this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:atemp'] : undefined; - } - getPower(): number { return this.extensions && this.extensions["gpxpx:PowerExtension"] && this.extensions["gpxpx:PowerExtension"]["gpxpx:PowerInWatts"] ? this.extensions["gpxpx:PowerExtension"]["gpxpx:PowerInWatts"] : undefined; } @@ -978,13 +1082,38 @@ export class TrackPoint { this.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:Extensions"]["surface"] = surface; } - toTrackPointType(): TrackPointType { - return { + toTrackPointType(exclude: string[] = []): TrackPointType { + let trkpt: TrackPointType = { attributes: this.attributes, ele: this.ele, - time: this.time, - extensions: this.extensions, }; + if (!exclude.includes('time')) { + trkpt = { ...trkpt, time: this.time }; + } + if (this.extensions) { + trkpt = { + ...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: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["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"] && this.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:Extensions"].surface && !exclude.includes('surface')) { + trkpt.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:Extensions"] = { surface: this.extensions["gpxtpx:TrackPointExtension"]["gpxtpx:Extensions"].surface }; + } + } + return trkpt; } clone(): TrackPoint { @@ -1043,6 +1172,34 @@ export class Waypoint { return this.attributes.lon; } + toWaypointType(exclude: string[] = []): WaypointType { + if (!exclude.includes('time')) { + return { + attributes: this.attributes, + ele: this.ele, + time: this.time, + name: this.name, + cmt: this.cmt, + desc: this.desc, + link: this.link, + sym: this.sym, + type: this.type, + + } + } else { + return { + attributes: this.attributes, + ele: this.ele, + name: this.name, + cmt: this.cmt, + desc: this.desc, + link: this.link, + sym: this.sym, + type: this.type, + }; + } + } + clone(): Waypoint { return new Waypoint({ attributes: cloneJSON(this.attributes), @@ -1087,6 +1244,22 @@ export class GPXStatistics { southWest: Coordinates, northEast: Coordinates, }, + atemp: { + avg: number, + count: number, + }, + hr: { + avg: number, + count: number, + }, + cad: { + avg: number, + count: number, + }, + power: { + avg: number, + count: number, + } }; local: { points: TrackPoint[], @@ -1141,6 +1314,22 @@ export class GPXStatistics { lon: -180, }, }, + atemp: { + avg: 0, + count: 0, + }, + hr: { + avg: 0, + count: 0, + }, + cad: { + avg: 0, + count: 0, + }, + power: { + avg: 0, + count: 0, + } }; this.local = { points: [], @@ -1201,9 +1390,29 @@ export class GPXStatistics { 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.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.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.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.count += other.global.power.count; } slice(start: number, end: number): GPXStatistics { + if (start < 0) { + start = 0; + } else if (start >= this.local.points.length) { + return new GPXStatistics(); + } + if (end < start) { + return new GPXStatistics(); + } else if (end >= this.local.points.length) { + end = this.local.points.length - 1; + } + let statistics = new GPXStatistics(); statistics.local.points = this.local.points.slice(start, end + 1); @@ -1228,12 +1437,23 @@ export class GPXStatistics { statistics.global.bounds.northEast.lat = this.global.bounds.northEast.lat; statistics.global.bounds.northEast.lon = this.global.bounds.northEast.lon; + statistics.global.atemp = this.global.atemp; + statistics.global.hr = this.global.hr; + statistics.global.cad = this.global.cad; + statistics.global.power = this.global.power; + return statistics; } } const earthRadius = 6371008.8; -export function distance(coord1: Coordinates, coord2: Coordinates): number { +export function distance(coord1: TrackPoint | Coordinates, coord2: TrackPoint | Coordinates): number { + if (coord1 instanceof TrackPoint) { + coord1 = coord1.getCoordinates(); + } + if (coord2 instanceof TrackPoint) { + coord2 = coord2.getCoordinates(); + } const rad = Math.PI / 180; const lat1 = coord1.lat * rad; const lat2 = coord2.lat * rad; @@ -1285,9 +1505,39 @@ function withTimestamps(points: TrackPoint[], speed: number, lastPoint: TrackPoi 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) => { let pt = point.clone(); - pt.time = new Date(start.getTime() + ratio * (point.time.getTime() - points[0].time.getTime())); + 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())); + } + last = pt; + return pt; + }); +} + +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]))); + weight.push(w); + totalWeight += w; + } + + let last = lastPoint; + return points.map((point, i) => { + let pt = point.clone(); + if (i === 0) { + pt.time = lastPoint?.time ?? startTime; + } else { + pt.time = new Date(last.time.getTime() + totalTime * 1000 * weight[i - 1] / totalWeight); + } + last = pt; return pt; }); } @@ -1318,8 +1568,8 @@ function convertRouteToTrack(route: RouteType): Track { src: route.src, link: route.link, type: route.type, - trkseg: [], extensions: route.extensions, + trkseg: [], }); if (route.rtept) { diff --git a/gpx/src/io.ts b/gpx/src/io.ts index 5da6b97f..490204df 100644 --- a/gpx/src/io.ts +++ b/gpx/src/io.ts @@ -23,6 +23,7 @@ export function parseGPX(gpxData: string): GPXFile { } return tagName; }, + parseTagValue: false, tagValueProcessor(tagName, tagValue, jPath, hasAttributes, isLeafNode) { if (isLeafNode) { if (tagName === 'ele') { @@ -33,7 +34,7 @@ export function parseGPX(gpxData: string): GPXFile { return new Date(tagValue); } - if (tagName === 'gpxtpx:hr' || tagName === 'gpxtpx:cad' || tagName === 'gpxtpx:atemp' || tagName === 'gpxpx:PowerInWatts' || tagName === 'opacity' || tagName === 'weight') { + if (tagName === 'gpxtpx:atemp' || tagName === 'gpxtpx:hr' || tagName === 'gpxtpx:cad' || tagName === 'gpxpx:PowerInWatts' || tagName === 'opacity' || tagName === 'weight') { return parseFloat(tagValue); } @@ -60,9 +61,8 @@ export function parseGPX(gpxData: string): GPXFile { return new GPXFile(parsed); } - -export function buildGPX(file: GPXFile): string { - const gpx = file.toGPXFileType(); +export function buildGPX(file: GPXFile, exclude: string[]): string { + const gpx = file.toGPXFileType(exclude); const builder = new XMLBuilder({ format: true, @@ -87,14 +87,6 @@ export function buildGPX(file: GPXFile): string { gpx.attributes['xmlns:gpxx'] = 'http://www.garmin.com/xmlschemas/GpxExtensions/v3'; gpx.attributes['xmlns:gpxpx'] = 'http://www.garmin.com/xmlschemas/PowerExtension/v1'; gpx.attributes['xmlns:gpx_style'] = 'http://www.topografix.com/GPX/gpx_style/0/2'; - gpx.metadata.author = { - name: 'gpx.studio', - link: { - attributes: { - href: 'https://gpx.studio', - } - } - }; if (gpx.trk.length === 1 && (gpx.trk[0].name === undefined || gpx.trk[0].name === '')) { gpx.trk[0].name = gpx.metadata.name; diff --git a/gpx/src/simplify.ts b/gpx/src/simplify.ts index 16d6d8fe..bffdba1e 100644 --- a/gpx/src/simplify.ts +++ b/gpx/src/simplify.ts @@ -5,7 +5,7 @@ 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 = computeCrossarc): 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) { @@ -45,8 +45,8 @@ function ramerDouglasPeuckerRecursive(points: TrackPoint[], epsilon: number, mea } } -function computeCrossarc(point1: TrackPoint, point2: TrackPoint, point3: TrackPoint): number { - return crossarc(point1.getCoordinates(), point2.getCoordinates(), point3.getCoordinates()); +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 { @@ -101,4 +101,55 @@ 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)); +} + +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 { + // Calculates the point on the line defined by p1 and p2 + // that is closest to the third point, p3. + // Input lat1,lon1,lat2,lon2,lat3,lon3 in degrees. + + const rad = Math.PI / 180; + const lat1 = coord1.lat * rad; + const lat2 = coord2.lat * rad; + const lat3 = coord3.lat * rad; + + const lon1 = coord1.lon * rad; + const lon2 = coord2.lon * rad; + const lon3 = coord3.lon * rad; + + // Prerequisites for the formulas + const bear12 = bearing(lat1, lon1, lat2, lon2); + const bear13 = bearing(lat1, lon1, lat3, lon3); + let dis13 = distance(lat1, lon1, lat3, lon3); + + let diff = Math.abs(bear13 - bear12); + if (diff > Math.PI) { + diff = 2 * Math.PI - diff; + } + + // Is relative bearing obtuse? + if (diff > (Math.PI / 2)) { + return coord1; + } + + // Find the cross-track distance. + let dxt = Math.asin(Math.sin(dis13 / earthRadius) * Math.sin(bear13 - bear12)) * earthRadius; + + // 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; + 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)); + + 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 a48a307d..c845a3f8 100644 --- a/gpx/src/types.ts +++ b/gpx/src/types.ts @@ -58,8 +58,8 @@ export type TrackType = { src?: string; link?: Link; type?: string; - trkseg: TrackSegmentType[]; extensions?: TrackExtensions; + trkseg: TrackSegmentType[]; }; export type TrackExtensions = { @@ -89,9 +89,9 @@ export type TrackPointExtensions = { }; export type TrackPointExtension = { + 'gpxtpx:atemp'?: number; 'gpxtpx:hr'?: number; 'gpxtpx:cad'?: number; - 'gpxtpx:atemp'?: number; 'gpxtpx:Extensions'?: { surface?: string; }; diff --git a/gpx/test/gpx.test.ts b/gpx/test/gpx.test.ts deleted file mode 100644 index 54c60f22..00000000 --- a/gpx/test/gpx.test.ts +++ /dev/null @@ -1,59 +0,0 @@ -import * as fs from 'fs'; - -import { parseGPX, buildGPX } from '../src/io'; - -describe('GPX operations', () => { - it('Clone', () => { - const path = "test-data/with_tracks_and_segments.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const original = parseGPX(data); - - const cloned = original.clone(); - - expect(cloned).not.toBe(original); - - const originalString = buildGPX(original); - const clonedString = buildGPX(cloned); - - expect(clonedString).toBe(originalString); - }); - - it('Reverse', () => { - const path = "test-data/with_tracks_and_segments.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const original = parseGPX(data); - - let reversed = original.clone(); - reversed.reverse(); - - expect(original.getStartTimestamp().getTime()).toBe(reversed.getStartTimestamp().getTime()); - expect(original.getEndTimestamp().getTime()).toBe(reversed.getEndTimestamp().getTime()); - - expect(reversed.trk.length).toBe(original.trk.length); - - for (let i = 0; i < original.trk.length; i++) { - const originalTrack = original.trk[i]; - const reversedTrack = reversed.trk[original.trk.length - i - 1]; - - expect(reversedTrack.trkseg.length).toBe(originalTrack.trkseg.length); - - for (let j = 0; j < originalTrack.trkseg.length; j++) { - const originalSegment = originalTrack.trkseg[j]; - const reversedSegment = reversedTrack.trkseg[originalTrack.trkseg.length - j - 1]; - - expect(reversedSegment.trkpt.length).toBe(originalSegment.trkpt.length); - - for (let k = 0; k < originalSegment.trkpt.length; k++) { - const originalPoint = originalSegment.trkpt[k]; - const reversedPoint = reversedSegment.trkpt[originalSegment.trkpt.length - k - 1]; - - expect(reversedPoint.attributes.lat).toBe(originalPoint.attributes.lat); - expect(reversedPoint.attributes.lon).toBe(originalPoint.attributes.lon); - expect(reversedPoint.ele).toBe(originalPoint.ele); - - expect(reversed.getEndTimestamp().getTime() - reversedPoint.time.getTime()).toBe(originalPoint.time.getTime() - original.getStartTimestamp().getTime()); - } - } - } - }); -}); \ No newline at end of file diff --git a/gpx/test/io.test.ts b/gpx/test/io.test.ts deleted file mode 100644 index b42a7c3c..00000000 --- a/gpx/test/io.test.ts +++ /dev/null @@ -1,364 +0,0 @@ -import * as fs from 'fs'; - -import { parseGPX, buildGPX } from '../src/io'; - -describe("Parsing", () => { - it("Simple", () => { - const path = "test-data/simple.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const result = parseGPX(data); - - expect(result.attributes.creator).toBe("https://gpx.studio"); - expect(result.metadata.name).toBe("simple"); - expect(result.metadata.author.name).toBe("gpx.studio"); - expect(result.metadata.author.link.attributes.href).toBe("https://gpx.studio"); - - expect(result.trk.length).toBe(1); - - const track = result.trk[0]; - expect(track.name).toBe("simple"); - expect(track.type).toBe("Cycling"); - expect(track.trkseg.length).toBe(1); - - const segment = track.trkseg[0]; - expect(segment.trkpt.length).toBe(80); - - for (let i = 0; i < segment.trkpt.length; i++) { - const point = segment.trkpt[i]; - expect(point).toHaveProperty('attributes'); - expect(point.attributes).toHaveProperty('lat'); - expect(point.attributes).toHaveProperty('lon'); - expect(point).toHaveProperty('ele'); - } - - expect(segment.trkpt[0].attributes.lat).toBe(50.790867); - expect(segment.trkpt[0].attributes.lon).toBe(4.404968); - expect(segment.trkpt[0].ele).toBe(109.0); - }); - - it("Multiple tracks", () => { - const path = "test-data/with_tracks.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const result = parseGPX(data); - - expect(result.trk.length).toBe(2); - - const track_1 = result.trk[0]; - expect(track_1.name).toBe("track 1"); - expect(track_1.trkseg.length).toBe(1); - expect(track_1.trkseg[0].trkpt.length).toBe(49); - - const track_2 = result.trk[1]; - expect(track_2.name).toBe("track 2"); - expect(track_2.trkseg.length).toBe(1); - expect(track_2.trkseg[0].trkpt.length).toBe(28); - }); - - it("Multiple segments", () => { - const path = "test-data/with_segments.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const result = parseGPX(data); - - expect(result.trk.length).toBe(1); - - const track = result.trk[0]; - expect(track.trkseg.length).toBe(2); - expect(track.trkseg[0].trkpt.length).toBe(49); - expect(track.trkseg[1].trkpt.length).toBe(28); - }); - - it("Waypoint", () => { - const path = "test-data/with_waypoint.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const result = parseGPX(data); - - expect(result.wpt.length).toBe(1); - - const waypoint = result.wpt[0]; - expect(waypoint.attributes.lat).toBe(50.7836710064975); - expect(waypoint.attributes.lon).toBe(4.410764082658738); - expect(waypoint.ele).toBe(122.0); - expect(waypoint.name).toBe("Waypoint"); - expect(waypoint.cmt).toBe("Comment"); - expect(waypoint.desc).toBe("Description"); - expect(waypoint.sym).toBe("Bike Trail"); - }); - - it("Time", () => { - const path = "test-data/with_time.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const result = parseGPX(data); - - const track = result.trk[0]; - const segment = track.trkseg[0]; - - for (let i = 0; i < segment.trkpt.length; i++) { - expect(segment.trkpt[i].time).toBeInstanceOf(Date); - } - - expect(segment.trkpt[0].time).toEqual(new Date("2023-12-31T23:00:00.000Z")); - expect(segment.trkpt[segment.trkpt.length - 1].time).toEqual(new Date("2023-12-31T23:06:40.567Z")); - }); - - it("Heart rate", () => { - const path = "test-data/with_hr.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const result = parseGPX(data); - - const track = result.trk[0]; - const segment = track.trkseg[0]; - - for (let i = 0; i < segment.trkpt.length; i++) { - expect(segment.trkpt[i]).toHaveProperty('extensions'); - expect(segment.trkpt[i].extensions).toHaveProperty('gpxtpx:TrackPointExtension'); - expect(segment.trkpt[i].extensions['gpxtpx:TrackPointExtension']).toHaveProperty('gpxtpx:hr'); - } - - expect(segment.trkpt[0].extensions['gpxtpx:TrackPointExtension']['gpxtpx:hr']).toBe(150); - expect(segment.trkpt[segment.trkpt.length - 1].extensions['gpxtpx:TrackPointExtension']['gpxtpx:hr']).toBe(160); - }); - - it("Cadence", () => { - const path = "test-data/with_cad.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const result = parseGPX(data); - - const track = result.trk[0]; - const segment = track.trkseg[0]; - - for (let i = 0; i < segment.trkpt.length; i++) { - expect(segment.trkpt[i]).toHaveProperty('extensions'); - expect(segment.trkpt[i].extensions).toHaveProperty('gpxtpx:TrackPointExtension'); - expect(segment.trkpt[i].extensions['gpxtpx:TrackPointExtension']).toHaveProperty('gpxtpx:cad'); - } - - expect(segment.trkpt[0].extensions['gpxtpx:TrackPointExtension']['gpxtpx:cad']).toBe(80); - expect(segment.trkpt[segment.trkpt.length - 1].extensions['gpxtpx:TrackPointExtension']['gpxtpx:cad']).toBe(90); - }); - - it("Temperature", () => { - const path = "test-data/with_temp.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const result = parseGPX(data); - - const track = result.trk[0]; - const segment = track.trkseg[0]; - - for (let i = 0; i < segment.trkpt.length; i++) { - expect(segment.trkpt[i]).toHaveProperty('extensions'); - expect(segment.trkpt[i].extensions).toHaveProperty('gpxtpx:TrackPointExtension'); - expect(segment.trkpt[i].extensions['gpxtpx:TrackPointExtension']).toHaveProperty('gpxtpx:atemp'); - } - - expect(segment.trkpt[0].extensions['gpxtpx:TrackPointExtension']['gpxtpx:atemp']).toBe(21); - expect(segment.trkpt[segment.trkpt.length - 1].extensions['gpxtpx:TrackPointExtension']['gpxtpx:atemp']).toBe(22); - }); - - it("Power 1", () => { - const path = "test-data/with_power_1.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const result = parseGPX(data); - - const track = result.trk[0]; - const segment = track.trkseg[0]; - - for (let i = 0; i < segment.trkpt.length; i++) { - expect(segment.trkpt[i]).toHaveProperty('extensions'); - expect(segment.trkpt[i].extensions).toHaveProperty('gpxpx:PowerExtension'); - expect(segment.trkpt[i].extensions['gpxpx:PowerExtension']).toHaveProperty('gpxpx:PowerInWatts'); - } - - expect(segment.trkpt[0].extensions['gpxpx:PowerExtension']['gpxpx:PowerInWatts']).toBe(200); - expect(segment.trkpt[segment.trkpt.length - 1].extensions['gpxpx:PowerExtension']['gpxpx:PowerInWatts']).toBe(210); - }); - - it("Power 2", () => { - const path = "test-data/with_power_2.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const result = parseGPX(data); - - const track = result.trk[0]; - const segment = track.trkseg[0]; - - for (let i = 0; i < segment.trkpt.length; i++) { - expect(segment.trkpt[i]).toHaveProperty('extensions'); - expect(segment.trkpt[i].extensions).toHaveProperty('gpxpx:PowerExtension'); - expect(segment.trkpt[i].extensions['gpxpx:PowerExtension']).toHaveProperty('gpxpx:PowerInWatts'); - } - - expect(segment.trkpt[0].extensions['gpxpx:PowerExtension']['gpxpx:PowerInWatts']).toBe(200); - expect(segment.trkpt[segment.trkpt.length - 1].extensions['gpxpx:PowerExtension']['gpxpx:PowerInWatts']).toBe(210); - }); - - it("Surface", () => { - const path = "test-data/with_surface.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const result = parseGPX(data); - - const track = result.trk[0]; - const segment = track.trkseg[0]; - - for (let i = 0; i < segment.trkpt.length; i++) { - expect(segment.trkpt[i]).toHaveProperty('extensions'); - expect(segment.trkpt[i].extensions).toHaveProperty('gpxtpx:TrackPointExtension'); - expect(segment.trkpt[i].extensions['gpxtpx:TrackPointExtension']).toHaveProperty('gpxtpx:Extensions'); - expect(segment.trkpt[i].extensions['gpxtpx:TrackPointExtension']['gpxtpx:Extensions']).toHaveProperty('surface'); - } - - expect(segment.trkpt[0].extensions['gpxtpx:TrackPointExtension']['gpxtpx:Extensions'].surface).toBe("asphalt"); - expect(segment.trkpt[segment.trkpt.length - 1].extensions['gpxtpx:TrackPointExtension']['gpxtpx:Extensions'].surface).toBe("cobblestone"); - }); - - it("Track style", () => { - const path = "test-data/with_style.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const result = parseGPX(data); - - const track = result.trk[0]; - - expect(track).toHaveProperty('extensions'); - expect(track.extensions).toHaveProperty('gpx_style:line'); - - expect(track.extensions['gpx_style:line']).toHaveProperty('color'); - expect(track.extensions['gpx_style:line']).toHaveProperty('opacity'); - expect(track.extensions['gpx_style:line']).toHaveProperty('weight'); - - expect(track.extensions['gpx_style:line'].color).toBe("#2d3ee9"); - expect(track.extensions['gpx_style:line'].opacity).toBe(0.5); - expect(track.extensions['gpx_style:line'].weight).toBe(6); - }); -}); - -describe("Building", () => { - it("Simple", () => { - const path = "test-data/simple.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const original = parseGPX(data); - - const built = buildGPX(original); - const rebuilt = parseGPX(built); - - expect(rebuilt).toEqual(original); - }); - - it("Multiple tracks", () => { - const path = "test-data/with_tracks.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const original = parseGPX(data); - - const built = buildGPX(original); - const rebuilt = parseGPX(built); - - expect(rebuilt).toEqual(original); - }); - - it("Multiple segments", () => { - const path = "test-data/with_segments.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const original = parseGPX(data); - - const built = buildGPX(original); - const rebuilt = parseGPX(built); - - expect(rebuilt).toEqual(original); - }); - - it("Waypoint", () => { - const path = "test-data/with_waypoint.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const original = parseGPX(data); - - const built = buildGPX(original); - const rebuilt = parseGPX(built); - - expect(rebuilt).toEqual(original); - }); - - it("Time", () => { - const path = "test-data/with_time.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const original = parseGPX(data); - - const built = buildGPX(original); - const rebuilt = parseGPX(built); - - expect(rebuilt).toEqual(original); - }); - - it("Heart rate", () => { - const path = "test-data/with_hr.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const original = parseGPX(data); - - const built = buildGPX(original); - const rebuilt = parseGPX(built); - - expect(rebuilt).toEqual(original); - }); - - it("Cadence", () => { - const path = "test-data/with_cad.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const original = parseGPX(data); - - const built = buildGPX(original); - const rebuilt = parseGPX(built); - - expect(rebuilt).toEqual(original); - }); - - it("Temperature", () => { - const path = "test-data/with_temp.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const original = parseGPX(data); - - const built = buildGPX(original); - const rebuilt = parseGPX(built); - - expect(rebuilt).toEqual(original); - }); - - it("Power 1", () => { - const path = "test-data/with_power_1.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const original = parseGPX(data); - - const built = buildGPX(original); - const rebuilt = parseGPX(built); - - expect(rebuilt).toEqual(original); - }); - - it("Power 2", () => { - const path = "test-data/with_power_2.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const original = parseGPX(data); - - const built = buildGPX(original); - const rebuilt = parseGPX(built); - - expect(rebuilt).toEqual(original); - }); - - it("Surface", () => { - const path = "test-data/with_surface.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const original = parseGPX(data); - - const built = buildGPX(original); - const rebuilt = parseGPX(built); - - expect(rebuilt).toEqual(original); - }); - - it("Track style", () => { - const path = "test-data/with_style.gpx"; - const data = fs.readFileSync(path, 'utf8'); - const original = parseGPX(data); - - const built = buildGPX(original); - const rebuilt = parseGPX(built); - - expect(rebuilt).toEqual(original); - }); -}); \ No newline at end of file diff --git a/gpx/tsconfig.json b/gpx/tsconfig.json index b07c04c0..e6976b26 100644 --- a/gpx/tsconfig.json +++ b/gpx/tsconfig.json @@ -7,7 +7,6 @@ "moduleResolution": "node", }, "include": [ - "src", - "test" + "src" ], } \ No newline at end of file diff --git a/website/package-lock.json b/website/package-lock.json index 6fc955e2..97140425 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -14,15 +14,17 @@ "@types/mapbox__sphericalmercator": "^1.2.3", "bits-ui": "^0.21.12", "chart.js": "^4.4.3", + "chartjs-plugin-zoom": "^2.0.1", "clsx": "^2.1.1", "dexie": "^4.0.7", "gpx": "file:../gpx", "immer": "^10.1.1", - "lucide-static": "^0.408.0", - "lucide-svelte": "^0.395.0", + "lucide-static": "^0.427.0", + "lucide-svelte": "^0.427.0", "mapbox-gl": "^3.4.0", "mapillary-js": "^4.1.2", "mode-watcher": "^0.3.1", + "sanitize-html": "^2.13.0", "sortablejs": "^1.15.2", "svelte-i18n": "^4.0.0", "svelte-sonner": "^0.3.24", @@ -40,6 +42,7 @@ "@types/mapbox__mapbox-gl-geocoder": "^5.0.0", "@types/mapbox-gl": "^3.1.0", "@types/node": "^20.14.6", + "@types/sanitize-html": "^2.11.0", "@types/sortablejs": "^1.15.8", "@typescript-eslint/eslint-plugin": "^7.13.1", "@typescript-eslint/parser": "^7.13.1", @@ -71,10 +74,7 @@ }, "devDependencies": { "@types/geojson": "^7946.0.14", - "@types/jest": "^29.5.12", "@types/node": "^20.14.6", - "jest": "^29.7.0", - "ts-jest": "^29.1.5", "typescript": "^5.4.5" } }, @@ -2042,6 +2042,15 @@ "@types/node": "*" } }, + "node_modules/@types/sanitize-html": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@types/sanitize-html/-/sanitize-html-2.11.0.tgz", + "integrity": "sha512-7oxPGNQHXLHE48r/r/qjn7q0hlrs3kL7oZnGj0Wf/h9tj/6ibFyRkNbsDxaBBZ4XUZ0Dx5LGCyDJ04ytSofacQ==", + "dev": true, + "dependencies": { + "htmlparser2": "^8.0.0" + } + }, "node_modules/@types/sortablejs": { "version": "1.15.8", "resolved": "https://registry.npmjs.org/@types/sortablejs/-/sortablejs-1.15.8.tgz", @@ -2678,6 +2687,17 @@ "pnpm": ">=8" } }, + "node_modules/chartjs-plugin-zoom": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/chartjs-plugin-zoom/-/chartjs-plugin-zoom-2.0.1.tgz", + "integrity": "sha512-ogOmLu6e+Q7E1XWOCOz9YwybMslz9qNfGV2a+qjfmqJYpsw5ZMoRHZBUyW+NGhkpQ5PwwPA/+rikHpBZb7PZuA==", + "dependencies": { + "hammerjs": "^2.0.8" + }, + "peerDependencies": { + "chart.js": ">=3.2.0" + } + }, "node_modules/cheap-ruler": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/cheap-ruler/-/cheap-ruler-3.0.2.tgz", @@ -3063,11 +3083,62 @@ "node": ">=6.0.0" } }, + "node_modules/dom-serializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", + "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, "node_modules/dom-walk": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.2.tgz", "integrity": "sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==" }, + "node_modules/domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ] + }, + "node_modules/domhandler": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", + "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/domutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz", + "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, "node_modules/earcut": { "version": "2.2.4", "resolved": "https://registry.npmjs.org/earcut/-/earcut-2.2.4.tgz", @@ -3097,6 +3168,17 @@ "once": "^1.4.0" } }, + "node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, "node_modules/error": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/error/-/error-4.4.0.tgz", @@ -3236,7 +3318,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "dev": true, "engines": { "node": ">=10" }, @@ -3889,6 +3970,14 @@ "resolved": "https://registry.npmjs.org/grid-index/-/grid-index-1.1.0.tgz", "integrity": "sha512-HZRwumpOGUrHyxO5bqKZL0B0GlUpwtCAzZ42sgxUPniu33R1LSFH5yrIcBCHjkctCAh3mtWKcKd9J4vDDdeVHA==" }, + "node_modules/hammerjs": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/hammerjs/-/hammerjs-2.0.8.tgz", + "integrity": "sha512-tSQXBXS/MWQOn/RKckawJ61vvsDpCom87JgxiYdGwHdOa0ht0vzUWDlfioofFCRU0L+6NGDt6XzbgoJvZkMeRQ==", + "engines": { + "node": ">=0.8.0" + } + }, "node_modules/hard-rejection": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", @@ -3928,6 +4017,24 @@ "node": ">=10" } }, + "node_modules/htmlparser2": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz", + "integrity": "sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==", + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "entities": "^4.4.0" + } + }, "node_modules/http-cache-semantics": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", @@ -4157,6 +4264,14 @@ "node": ">=0.10.0" } }, + "node_modules/is-plain-object": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-promise": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", @@ -4373,14 +4488,14 @@ } }, "node_modules/lucide-static": { - "version": "0.408.0", - "resolved": "https://registry.npmjs.org/lucide-static/-/lucide-static-0.408.0.tgz", - "integrity": "sha512-XJioz3vKagiyA6qMDWkYqU1RUS/bMjqio0/TCOItievnV/C4wwgJZGAbk6eVDe6Wv+d0e9NbhS7Y8yMEpGkElQ==" + "version": "0.427.0", + "resolved": "https://registry.npmjs.org/lucide-static/-/lucide-static-0.427.0.tgz", + "integrity": "sha512-lsUNKUv6rZrRyQa5KMHZwxKMP1Am2L9BqQGxSvFhcPvZW86sF0YcLZFQ+V5SrBPr3VhNnebMS4SqloMDucd/YQ==" }, "node_modules/lucide-svelte": { - "version": "0.395.0", - "resolved": "https://registry.npmjs.org/lucide-svelte/-/lucide-svelte-0.395.0.tgz", - "integrity": "sha512-gl4HIIGUyj3seZf/CQ6vG38oMnNmdO1lcBQaMsB5pFpnL1T13qlfqjMjfTCnsKMFjiIFr3LttE/LFVi/GXmV0A==", + "version": "0.427.0", + "resolved": "https://registry.npmjs.org/lucide-svelte/-/lucide-svelte-0.427.0.tgz", + "integrity": "sha512-l0IJqYVBTxMkJPvZqyIMyVFlbZ18Mjg0n6p7Zo9bSQNvsmeviTyOxYmYdp/G5gXcSHaOGL6YoQW7fmbFklbW/w==", "peerDependencies": { "svelte": "^3 || ^4 || ^5.0.0-next.42" } @@ -4921,6 +5036,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/parse-srcset": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/parse-srcset/-/parse-srcset-1.0.2.tgz", + "integrity": "sha512-/2qh0lav6CmI15FzA3i/2Bzk2zCgQhGMkvhOhKNcBVQ1ldgpbfiNTVslmooUmWJcADi1f1kIeynbDRVzNlfR6Q==" + }, "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", @@ -5780,6 +5900,19 @@ "rimraf": "bin.js" } }, + "node_modules/sanitize-html": { + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.13.0.tgz", + "integrity": "sha512-Xff91Z+4Mz5QiNSLdLWwjgBDm5b1RU6xBT0+12rapjiaR7SwfRdjw8f+6Rir2MXKLrDicRFHdb51hGOAxmsUIA==", + "dependencies": { + "deepmerge": "^4.2.2", + "escape-string-regexp": "^4.0.0", + "htmlparser2": "^8.0.0", + "is-plain-object": "^5.0.0", + "parse-srcset": "^1.0.2", + "postcss": "^8.3.11" + } + }, "node_modules/semver": { "version": "7.6.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", diff --git a/website/package.json b/website/package.json index 15093849..94dc6267 100644 --- a/website/package.json +++ b/website/package.json @@ -23,6 +23,7 @@ "@types/mapbox__mapbox-gl-geocoder": "^5.0.0", "@types/mapbox-gl": "^3.1.0", "@types/node": "^20.14.6", + "@types/sanitize-html": "^2.11.0", "@types/sortablejs": "^1.15.8", "@typescript-eslint/eslint-plugin": "^7.13.1", "@typescript-eslint/parser": "^7.13.1", @@ -52,15 +53,17 @@ "@types/mapbox__sphericalmercator": "^1.2.3", "bits-ui": "^0.21.12", "chart.js": "^4.4.3", + "chartjs-plugin-zoom": "^2.0.1", "clsx": "^2.1.1", "dexie": "^4.0.7", "gpx": "file:../gpx", "immer": "^10.1.1", - "lucide-static": "^0.408.0", - "lucide-svelte": "^0.395.0", + "lucide-static": "^0.427.0", + "lucide-svelte": "^0.427.0", "mapbox-gl": "^3.4.0", "mapillary-js": "^4.1.2", "mode-watcher": "^0.3.1", + "sanitize-html": "^2.13.0", "sortablejs": "^1.15.2", "svelte-i18n": "^4.0.0", "svelte-sonner": "^0.3.24", diff --git a/website/src/hooks.server.js b/website/src/hooks.server.js new file mode 100644 index 00000000..049a2ea8 --- /dev/null +++ b/website/src/hooks.server.js @@ -0,0 +1,43 @@ +import { base } from '$app/paths'; +import { languages } from '$lib/languages'; +import { getURLForLanguage } from '$lib/utils'; + +export async function handle({ event, resolve }) { + let language = event.params.language ?? 'en'; + const strings = await import(`./locales/${language}.json`); + + let path = event.url.pathname; + let page = event.route.id?.replace('/[[language]]', '').split('/')[1] ?? 'home'; + + let title = strings.metadata[`${page}_title`]; + let description = strings.metadata[`description`]; + + let head = ` + gpx.studio — ${title} + + + + + + + + + + + + + + + `; + + for (let lang of Object.keys(languages)) { + head += ` +`; + } + + const response = await resolve(event, { + transformPageChunk: ({ html }) => html.replace('', head) + }); + + return response; +} \ 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 new file mode 100644 index 00000000..d466cc67 --- /dev/null +++ b/website/src/lib/assets/custom/bikerouter-gravel.json @@ -0,0 +1,1864 @@ +{ + "_info": "Taken from https://github.com/mjaschen/gravel-overlay, with prior authorization from the author (https://github.com/gpxstudio/gpx.studio/issues/32#issuecomment-2320219804).", + "version": 8, + "name": "Gravel Overlay", + "metadata": { + "mapbox:autocomposite": false, + "mapbox:type": "template", + "maputnik:renderer": "mbgljs", + "openmaptiles:version": "3.x", + "openmaptiles:mapbox:owner": "openmaptiles", + "openmaptiles:mapbox:source:url": "mapbox://openmaptiles.4qljc88t" + }, + "sources": { + "openmaptiles": { + "type": "vector", + "url": "https://tiles.bikerouter.de/services/gravel/" + } + }, + "sprite": "https://demotiles.maplibre.org/styles/osm-bright-gl-style/sprite", + "glyphs": "https://api.maptiler.com/fonts/{fontstack}/{range}.pbf?key={key}", + "layers": [ + { + "id": "background", + "type": "background", + "layout": { + "visibility": "none" + }, + "paint": { + "background-color": "rgba(145, 211, 164, 1)" + } + }, + { + "id": "debug_rail", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "class", + "rail" + ] + ], + "layout": { + "visibility": "none" + }, + "paint": { + "line-color": "rgba(144, 144, 144, 1)" + } + }, + { + "id": "debug_road", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "class", + "motorway", + "trunk", + "primary", + "secondary", + "tertiary", + "minor", + "residential", + "track", + "path" + ] + ], + "layout": { + "visibility": "none" + }, + "paint": { + "line-color": "rgba(204, 204, 204, 1)", + "line-width": { + "stops": [ + [ + 10, + 0.5 + ], + [ + 12, + 1 + ] + ] + } + } + }, + { + "id": "tr_X_g45-bg", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 10, + "filter": [ + "all", + [ + "==", + [ + "geometry-type" + ], + "LineString" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "track" + ], + true, + false + ], + [ + "any", + [ + "match", + [ + "get", + "tracktype" + ], + [ + "grade5" + ], + true, + false + ], + [ + "all", + [ + "match", + [ + "get", + "tracktype" + ], + [ + "grade4" + ], + true, + false + ], + [ + "match", + [ + "get", + "surface" + ], + [ + "dirt", + "grass", + "mud", + "sand" + ], + true, + false + ] + ] + ] + ], + "layout": { + "line-cap": "square", + "line-join": "bevel", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(255, 0, 0, 0.7)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 10, + 0.4 + ], + [ + 12, + 1.3 + ], + [ + 14, + 1.7 + ] + ] + }, + "line-dasharray": [ + 1 + ], + "line-offset": { + "stops": [ + [ + 12, + 0 + ], + [ + 13, + 1.8 + ], + [ + 15, + 3 + ], + [ + 16, + 4 + ] + ], + "base": 1.55 + } + } + }, + { + "id": "tr_X_g45", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 10, + "filter": [ + "all", + [ + "==", + [ + "geometry-type" + ], + "LineString" + ], + [ + "match", + [ + "get", + "class" + ], + [ + "track" + ], + true, + false + ], + [ + "any", + [ + "match", + [ + "get", + "tracktype" + ], + [ + "grade5" + ], + true, + false + ], + [ + "all", + [ + "match", + [ + "get", + "tracktype" + ], + [ + "grade4" + ], + true, + false + ], + [ + "match", + [ + "get", + "surface" + ], + [ + "dirt", + "grass", + "mud", + "sand" + ], + true, + false + ] + ] + ] + ], + "layout": { + "line-cap": "square", + "line-join": "bevel", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(255, 255, 0, 0.7)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 10, + 0.4 + ], + [ + 12, + 1.3 + ], + [ + 14, + 1.7 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ], + "line-offset": { + "stops": [ + [ + 12, + 0 + ], + [ + 13, + 1.8 + ], + [ + 15, + 3 + ], + [ + 16, + 4 + ] + ], + "base": 1.55 + } + } + }, + { + "id": "tr_B_g3", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 10, + "filter": [ + "all", + [ + "==", + [ + "geometry-type" + ], + "LineString" + ], + [ + "==", + [ + "get", + "class" + ], + "track" + ], + [ + "match", + [ + "get", + "tracktype" + ], + [ + "grade3" + ], + true, + false + ], + [ + "any", + [ + "match", + [ + "get", + "smoothness" + ], + [ + "bad", + "good", + "intermediate" + ], + true, + false + ], + [ + "match", + [ + "get", + "surface" + ], + [ + "compacted", + "fine_gravel", + "gravel" + ], + true, + false + ] + ] + ], + "layout": { + "line-cap": "butt", + "line-join": "miter", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(235, 6, 158, 1)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 10, + 0.4 + ], + [ + 12, + 1.3 + ], + [ + 14, + 1.7 + ] + ] + }, + "line-offset": { + "stops": [ + [ + 12, + 0 + ], + [ + 13, + 2 + ], + [ + 15, + 4 + ], + [ + 16, + 5 + ] + ], + "base": 1.55 + }, + "line-dasharray": [ + 3, + 1.5 + ] + } + }, + { + "id": "tr_A_g2-plain-case", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 10, + "filter": [ + "all", + [ + "==", + [ + "geometry-type" + ], + "LineString" + ], + [ + "==", + [ + "get", + "class" + ], + "track" + ], + [ + "match", + [ + "get", + "tracktype" + ], + [ + "grade2" + ], + true, + false + ], + [ + "!", + [ + "has", + "surface" + ] + ], + [ + "!", + [ + "has", + "smoothness" + ] + ] + ], + "layout": { + "line-cap": "butt", + "line-join": "miter", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(255, 255, 255, 0.6)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 10, + 0.8 + ], + [ + 12, + 3 + ], + [ + 14, + 4 + ] + ] + }, + "line-offset": { + "stops": [ + [ + 12, + 0 + ], + [ + 13, + 1.5 + ], + [ + 15, + 3 + ], + [ + 16, + 4 + ] + ], + "base": 1.55 + } + } + }, + { + "id": "tr_A_g2-plain", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 10, + "filter": [ + "all", + [ + "==", + [ + "geometry-type" + ], + "LineString" + ], + [ + "==", + [ + "get", + "class" + ], + "track" + ], + [ + "match", + [ + "get", + "tracktype" + ], + [ + "grade2" + ], + true, + false + ], + [ + "!", + [ + "has", + "surface" + ] + ], + [ + "!", + [ + "has", + "smoothness" + ] + ] + ], + "layout": { + "line-cap": "butt", + "line-join": "miter", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(235, 6, 158, 0.6)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 10, + 0.5 + ], + [ + 12, + 1.5 + ], + [ + 14, + 2 + ] + ] + }, + "line-offset": { + "stops": [ + [ + 12, + 0 + ], + [ + 13, + 1.5 + ], + [ + 15, + 3 + ], + [ + 16, + 4 + ] + ], + "base": 1.55 + }, + "line-dasharray": [ + 5, + 1 + ] + } + }, + { + "id": "tr_A_g2-case", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 10, + "filter": [ + "all", + [ + "==", + [ + "geometry-type" + ], + "LineString" + ], + [ + "==", + [ + "get", + "class" + ], + "track" + ], + [ + "match", + [ + "get", + "tracktype" + ], + [ + "grade2" + ], + true, + false + ], + [ + "any", + [ + "match", + [ + "get", + "surface" + ], + [ + "compacted", + "fine_gravel", + "gravel" + ], + true, + false + ], + [ + "match", + [ + "get", + "smoothness" + ], + [ + "bad", + "good", + "intermediate" + ], + true, + false + ] + ] + ], + "layout": { + "line-cap": "butt", + "line-join": "miter", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(255, 255, 255, 1)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 10, + 0.8 + ], + [ + 12, + 3 + ], + [ + 14, + 4 + ] + ] + }, + "line-offset": { + "stops": [ + [ + 12, + 0 + ], + [ + 13, + 2 + ], + [ + 15, + 4 + ], + [ + 16, + 5 + ] + ], + "base": 1.55 + } + } + }, + { + "id": "tr_A_g2", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 10, + "filter": [ + "all", + [ + "==", + [ + "geometry-type" + ], + "LineString" + ], + [ + "==", + [ + "get", + "class" + ], + "track" + ], + [ + "match", + [ + "get", + "tracktype" + ], + [ + "grade2" + ], + true, + false + ], + [ + "any", + [ + "match", + [ + "get", + "surface" + ], + [ + "compacted", + "fine_gravel", + "gravel" + ], + true, + false + ], + [ + "match", + [ + "get", + "smoothness" + ], + [ + "bad", + "good", + "intermediate" + ], + true, + false + ] + ] + ], + "layout": { + "line-cap": "butt", + "line-join": "miter", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(235, 6, 158, 1)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 10, + 0.5 + ], + [ + 12, + 1.5 + ], + [ + 14, + 2 + ] + ] + }, + "line-offset": { + "stops": [ + [ + 12, + 0 + ], + [ + 13, + 2 + ], + [ + 15, + 4 + ], + [ + 16, + 5 + ] + ], + "base": 1.55 + } + } + }, + { + "id": "p_X-bg", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 10, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "class", + "path" + ], + [ + "in", + "smoothness", + "very_bad", + "horrible", + "very_horrible", + "impassable" + ], + [ + "!in", + "tracktype", + "grade5", + "grade4" + ] + ], + "layout": { + "line-cap": "square", + "line-join": "bevel", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(255, 0, 0, 0.7)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 10, + 0.4 + ], + [ + 12, + 1.1 + ], + [ + 14, + 1.5 + ] + ] + }, + "line-offset": { + "stops": [ + [ + 12, + 0 + ], + [ + 13, + 1.8 + ], + [ + 15, + 3 + ], + [ + 16, + 4 + ] + ], + "base": 1.55 + } + } + }, + { + "id": "p_X", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 10, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "class", + "path" + ], + [ + "in", + "smoothness", + "very_bad", + "horrible", + "very_horrible", + "impassable" + ], + [ + "!in", + "tracktype", + "grade5", + "grade4" + ] + ], + "layout": { + "line-cap": "square", + "line-join": "bevel", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(255, 255, 0, 0.7)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 10, + 0.4 + ], + [ + 12, + 1.1 + ], + [ + 14, + 1.5 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ], + "line-offset": { + "stops": [ + [ + 12, + 0 + ], + [ + 13, + 1.8 + ], + [ + 15, + 3 + ], + [ + 16, + 4 + ] + ], + "base": 1.55 + } + } + }, + { + "id": "p_B", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 10, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "==", + "class", + "path" + ], + [ + "in", + "smoothness", + "good", + "intermediate", + "bad" + ], + [ + "!in", + "surface", + "gravel", + "fine_gravel", + "compacted", + "cobblestone", + "sett", + "unhewn_cobblestone", + "paving_stones" + ], + [ + "!in", + "bicycle", + "no" + ], + [ + "!in", + "access", + "no" + ] + ], + "layout": { + "line-cap": "butt", + "line-join": "miter", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(235, 6, 158, 1)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 10, + 0.4 + ], + [ + 12, + 1.1 + ], + [ + 14, + 1.5 + ] + ] + }, + "line-offset": { + "stops": [ + [ + 12, + 0 + ], + [ + 13, + 2 + ], + [ + 15, + 4 + ], + [ + 16, + 5 + ] + ], + "base": 1.55 + }, + "line-dasharray": [ + 1.5, + 1 + ] + } + }, + { + "id": "p_A-case", + "type": "line", + "metadata": { + "maputnik:comment": "Gravel surface with ok-ish smoothness" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 10, + "filter": [ + "all", + [ + "==", + [ + "geometry-type" + ], + "LineString" + ], + [ + "==", + [ + "get", + "class" + ], + "path" + ], + [ + "any", + [ + "match", + [ + "get", + "surface" + ], + [ + "compacted", + "fine_gravel" + ], + true, + false + ], + [ + "all", + [ + "match", + [ + "get", + "surface" + ], + [ + "gravel" + ], + true, + false + ], + [ + "match", + [ + "get", + "smoothness" + ], + [ + "bad", + "good", + "intermediate" + ], + true, + false + ] + ] + ], + [ + "match", + [ + "get", + "bicycle" + ], + [ + "no" + ], + false, + true + ], + [ + "match", + [ + "get", + "access" + ], + [ + "no" + ], + false, + true + ] + ], + "layout": { + "line-cap": "butt", + "line-join": "miter", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(255, 255, 255, 1)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 10, + 0.7 + ], + [ + 12, + 2.5 + ], + [ + 14, + 3.2 + ] + ] + }, + "line-offset": { + "stops": [ + [ + 12, + 0 + ], + [ + 13, + 2 + ], + [ + 15, + 4 + ], + [ + 16, + 5 + ] + ], + "base": 1.55 + } + } + }, + { + "id": "p_A", + "type": "line", + "metadata": { + "maputnik:comment": "Gravel surface with ok-ish smoothness" + }, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 10, + "filter": [ + "all", + [ + "==", + [ + "geometry-type" + ], + "LineString" + ], + [ + "==", + [ + "get", + "class" + ], + "path" + ], + [ + "any", + [ + "match", + [ + "get", + "surface" + ], + [ + "compacted", + "fine_gravel" + ], + true, + false + ], + [ + "all", + [ + "match", + [ + "get", + "surface" + ], + [ + "gravel" + ], + true, + false + ], + [ + "match", + [ + "get", + "smoothness" + ], + [ + "bad", + "good", + "intermediate" + ], + true, + false + ] + ] + ], + [ + "match", + [ + "get", + "bicycle" + ], + [ + "no" + ], + false, + true + ], + [ + "match", + [ + "get", + "access" + ], + [ + "no" + ], + false, + true + ] + ], + "layout": { + "line-cap": "butt", + "line-join": "miter", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(235, 6, 158, 1)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 10, + 0.5 + ], + [ + 12, + 1.5 + ], + [ + 14, + 2 + ] + ] + }, + "line-offset": { + "stops": [ + [ + 12, + 0 + ], + [ + 13, + 2 + ], + [ + 15, + 4 + ], + [ + 16, + 5 + ] + ], + "base": 1.55 + } + } + }, + { + "id": "r_X_cobbles-case", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 10, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "class", + "minor", + "service", + "track", + "path", + "residential" + ], + [ + "in", + "surface", + "sett", + "cobblestone", + "unhewn_cobblestone" + ], + [ + "!in", + "service", + "driveway" + ] + ], + "layout": { + "line-cap": "butt", + "line-join": "miter", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(0, 0, 0, 1)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 10, + 0.5 + ], + [ + 12, + 1.5 + ], + [ + 14, + 2 + ] + ] + } + } + }, + { + "id": "r_X_cobbles", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 10, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "class", + "minor", + "service", + "track", + "path", + "residential" + ], + [ + "in", + "surface", + "sett", + "cobblestone", + "unhewn_cobblestone" + ], + [ + "!in", + "service", + "driveway" + ] + ], + "layout": { + "line-cap": "butt", + "line-join": "miter", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(245, 255, 0, 1)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 10, + 0.5 + ], + [ + 12, + 1.5 + ], + [ + 14, + 2 + ] + ] + }, + "line-dasharray": [ + 1.5, + 1 + ] + } + }, + { + "id": "r_X-bg", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 10, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "class", + "minor" + ], + [ + "in", + "smoothness", + "very_bad", + "horrible", + "very_horrible", + "impassable" + ], + [ + "!in", + "surface", + "sett", + "cobblestone", + "unhewn_cobblestone" + ] + ], + "layout": { + "line-cap": "square", + "line-join": "bevel", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(255, 0, 0, 0.7)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 10, + 0.4 + ], + [ + 12, + 1.1 + ], + [ + 14, + 1.5 + ] + ] + } + } + }, + { + "id": "r_X", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 10, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "class", + "minor" + ], + [ + "in", + "smoothness", + "very_bad", + "horrible", + "very_horrible", + "impassable" + ], + [ + "!in", + "surface", + "sett", + "cobblestone", + "unhewn_cobblestone" + ] + ], + "layout": { + "line-cap": "square", + "line-join": "bevel", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(255, 255, 0, 0.7)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 10, + 0.4 + ], + [ + 12, + 1.1 + ], + [ + 14, + 1.5 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "r_A_case", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "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" + ] + ], + "layout": { + "line-cap": "square", + "line-join": "bevel", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(255, 255, 255, 1)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 10, + 0.8 + ], + [ + 12, + 3 + ], + [ + 14, + 4 + ] + ] + } + } + }, + { + "id": "r_A", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "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" + ] + ], + "layout": { + "line-cap": "square", + "line-join": "bevel", + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(235, 6, 158, 1)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 10, + 0.5 + ], + [ + 12, + 1.5 + ], + [ + 14, + 2 + ] + ] + } + } + }, + { + "id": "cemetery", + "type": "symbol", + "source": "openmaptiles", + "source-layer": "landuse", + "filter": [ + "all", + [ + "==", + "class", + "cemetery" + ] + ], + "layout": { + "icon-image": "cemetery_11", + "icon-rotation-alignment": "map", + "icon-size": 1.5 + } + }, + { + "id": "drinking_water", + "type": "symbol", + "source": "openmaptiles", + "source-layer": "poi", + "minzoom": 9, + "maxzoom": 20, + "filter": [ + "any", + [ + "==", + "class", + "drinking_water" + ], + [ + "==", + "subclass", + "drinking_water" + ] + ], + "layout": { + "icon-image": "drinking_water_11", + "visibility": "visible", + "icon-rotation-alignment": "map", + "icon-size": 1.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 new file mode 100644 index 00000000..a645b4f3 --- /dev/null +++ b/website/src/lib/assets/custom/ign-fr-plan.json @@ -0,0 +1,15495 @@ +{ + "_info": "This style is an adaptation of the official IGN 'standard' style (https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/standard.json) to which hillshading is added.", + "version": 8, + "name": "PLAN IGN", + "glyphs": "https://data.geopf.fr/annexes/ressources/vectorTiles/fonts/{fontstack}/{range}.pbf", + "sprite": "https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/sprite/PlanIgn", + "sources": { + "plan_ign": { + "type": "vector", + "tiles": [ + "https://data.geopf.fr/tms/1.0.0/PLAN.IGN/{z}/{x}/{y}.pbf" + ] + }, + "terrain": { + "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=ELEVATION.ELEVATIONGRIDCOVERAGE.SHADOW&FORMAT=image/png&STYLE=estompage_grayscale" + ], + "maxzoom": 15 + } + }, + "transition": { + "duration": 300, + "delay": 0 + }, + "layers": [ + { + "id": "bckgrd", + "type": "fill", + "source": "plan_ign", + "source-layer": "fond_opaque", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "#FFFFFF", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 0m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "HYPSO_0" + ], + "paint": { + "fill-color": "#D6E5BA", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 100m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "HYPSO_100" + ], + "paint": { + "fill-color": "#F7F2DA", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 200m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "HYPSO_200" + ], + "paint": { + "fill-color": "#EBDEBF", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 1000m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "HYPSO_1000" + ], + "paint": { + "fill-color": "#DABE97", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 3000m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "HYPSO_3000" + ], + "paint": { + "fill-color": "#B28773", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 4000m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "HYPSO_4000" + ], + "paint": { + "fill-color": "#9E6A54", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 5000m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "HYPSO_5000" + ], + "paint": { + "fill-color": "#773A2B", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - glacier", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "GLACIER" + ], + "paint": { + "fill-color": "#FFFFFF", + "fill-opacity": 0.7 + } + }, + { + "id": "ocs - vegetation - zone boiséee, foret fermee, peupleraie", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "ZONE_BOISEE", + "ZONE_FORET_FERMEE_FEUIL", + "ZONE_FORET_FERMEE_CONI", + "ZONE_FORET_FERMEE_MIXTE", + "ZONE_PEUPLERAIE" + ], + "paint": { + "fill-color": "#DFE8D5", + "fill-outline-color": "#DFE8D5" + } + }, + { + "id": "ocs - vegetation - forêt ouverte", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "ZONE_FORET_OUVERTE" + ], + "paint": { + "fill-color": "#EDF2D9", + "fill-outline-color": "#EDF2D9" + } + }, + { + "id": "ocs - vegetation - lande ligneuse", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_LANDE_LIGNEUSE" + ], + "paint": { + "fill-color": "#F2EECD" + } + }, + { + "id": "ocs - vegetation - vigne", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_VIGNE" + ], + "paint": { + "fill-color": "#FFEDD9" + } + }, + { + "id": "ocs - vegetation - verger", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_VERGER" + ], + "paint": { + "fill-color": "#FAE2C5" + } + }, + { + "id": "ocs - vegetation - canne à sucre, bananeraie", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_CANNE_BANANE" + ], + "paint": { + "fill-color": "#FAEDFA" + } + }, + { + "id": "hydro surfacique - Estran", + "type": "fill", + "source": "plan_ign", + "source-layer": "hydro_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_D_ESTRAN" + ], + "paint": { + "fill-color": "#C3DDE9", + "fill-outline-color": "#C3DDE9" + } + }, + { + "id": "ocs - vegetation - mangrovre", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_MANGROVE" + ], + "paint": { + "fill-color": { + "stops": [ + [ + 9, + "#85CCCB" + ], + [ + 10, + "#90CCCB" + ] + ] + } + } + }, + { + "id": "ocs - vegetation - marais", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_MARAIS" + ], + "paint": { + "fill-pattern": "Marais" + } + }, + { + "id": "hydro surfacique - marais", + "type": "fill", + "source": "plan_ign", + "source-layer": "hydro_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_MARAIS" + ], + "paint": { + "fill-pattern": "Marais" + } + }, + { + "id": "ocs - vegetation - marais salant", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_MARAIS_SALANT" + ], + "paint": { + "fill-pattern": "MaraisSalant" + } + }, + { + "id": "ocs - Zone", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_ROCHEUSE" + ], + "paint": { + "fill-color": "#D0D0D0", + "fill-opacity": 0.3 + } + }, + { + "id": "ocs - Zone sable sec", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_SABLE_SEC" + ], + "paint": { + "fill-pattern": "Sable" + } + }, + { + "id": "ocs - Zone sable humide", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "ZONE_SABLE_HUMIDE", + "FOND_CUVETTE_HUMIDE" + ], + "paint": { + "fill-pattern": "SableHumide" + } + }, + { + "id": "ocs - Zone graviers galets secs", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "GRAVIERS_GALETS_SEC" + ], + "paint": { + "fill-pattern": "GravierSec" + } + }, + { + "id": "ocs - Zone graviers galets humides", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "GRAVIERS_GALETS_HUM" + ], + "paint": { + "fill-pattern": "Gravier" + } + }, + { + "id": "ocs - Zone rocher hydro", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_ROCHER_HYDRO" + ], + "paint": { + "fill-pattern": "RocherHydro" + } + }, + { + "id": "ocs - Zone glacier", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_GLACIER" + ], + "paint": { + "fill-pattern": "Glacier", + "fill-opacity": { + "stops": [ + [ + 10, + 0.5 + ], + [ + 12, + 0.3 + ] + ] + } + } + }, + { + "id": "zone batie", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zone_surf", + "minzoom": 7, + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_BATI" + ], + "paint": { + "fill-color": "#E8E2D1", + "fill-opacity": { + "stops": [ + [ + 12, + 1 + ], + [ + 13, + 0.9 + ], + [ + 14, + 0.5 + ] + ] + } + } + }, + { + "id": "zone d'activité", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zone_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_INDUS_ACTI" + ], + "paint": { + "fill-color": "#D9D9D9" + } + }, + { + "id": "terrain", + "type": "raster", + "source": "terrain" + }, + { + "id": "oro - courbe et cuvette maitresse", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_MAITRESSE", + "CUVETTE_MAITRESSE" + ], + "paint": { + "line-color": "#D9C8A9", + "line-width": { + "stops": [ + [ + 13, + 1.7 + ], + [ + 15, + 2 + ] + ] + } + } + }, + { + "id": "oro - courbe et cuvette normale", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_NORMALE", + "CUVETTE_NORMALE" + ], + "paint": { + "line-color": "#D9C8A9", + "line-width": { + "stops": [ + [ + 13, + 1 + ], + [ + 15, + 1.2 + ] + ] + } + } + }, + { + "id": "oro - courbe et cuvette intercalaire", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_INTERCALAIRE", + "CUVETTE_INTERCAL", + "CNV_SS_INTERCALAIRE" + ], + "paint": { + "line-color": "#D9C8A9", + "line-width": 0.7, + "line-dasharray": [ + 20, + 7 + ] + } + }, + { + "id": "oro - courbe et cuvette glacier maitresse", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_GLACIER_MAITRESSE", + "CUV_GLACIER_MAITRESSE" + ], + "paint": { + "line-color": "#A4BFD9", + "line-width": { + "stops": [ + [ + 13, + 1.7 + ], + [ + 15, + 2 + ] + ] + } + } + }, + { + "id": "oro - courbe et cuvette glacier normale", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_GLACIER_NORMALE", + "CUV_GLACIER_NORMALE" + ], + "paint": { + "line-color": "#A4BFD9", + "line-width": { + "stops": [ + [ + 13, + 1 + ], + [ + 15, + 1.2 + ] + ] + } + } + }, + { + "id": "oro - courbe et cuvette glacier intercalaire", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_GLACIER_INTERCAL", + "CUV_GLACIER_INTERCAL" + ], + "paint": { + "line-color": "#A4BFD9", + "line-width": { + "stops": [ + [ + 13, + 0.7 + ], + [ + 15, + 0.9 + ] + ] + }, + "line-dasharray": [ + 20, + 7 + ] + } + }, + { + "id": "oro - courbe et cuvette rocher maitresse", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_ROCHER_MAITRESSE", + "CUV_ROCHER_MAITRESSE" + ], + "paint": { + "line-color": "#AAAAAA", + "line-width": 1.7 + } + }, + { + "id": "oro - courbe et cuvette rocher normale", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_ROCHER_NORMALE", + "CUV_ROCHER_NORMALE" + ], + "paint": { + "line-color": "#AAAAAA", + "line-width": 1 + } + }, + { + "id": "oro - courbe et cuvette rocher intercalaire", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_ROCHER_INTERCAL", + "CUV_ROCHER_INTERCAL" + ], + "paint": { + "line-color": "#AAAAAA", + "line-width": { + "stops": [ + [ + 13, + 0.7 + ], + [ + 15, + 0.9 + ] + ] + }, + "line-dasharray": [ + 20, + 7 + ] + } + }, + { + "id": "oro - courbe et cuvette bathymetrique", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_BATHYMETRIQUE", + "CUV_BATHYMETRIQUE" + ], + "paint": { + "line-color": "#0000FF", + "line-width": 1 + } + }, + { + "id": "oro lin - talus", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_lin", + "minzoom": 14, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "TALUS" + ], + "paint": { + "line-color": "#D9C8A9", + "line-width": 1 + } + }, + { + "id": "oro lin - talus - trait perpendiculaire", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_lin", + "minzoom": 14, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "TALUS" + ], + "paint": { + "line-color": "#D9C8A9", + "line-width": { + "stops": [ + [ + 14, + 7 + ], + [ + 16, + 9 + ] + ] + }, + "line-dasharray": [ + 0.1, + 1 + ], + "line-offset": 4 + } + }, + { + "id": "toponyme - cote de courbe normale", + "type": "symbol", + "source": "plan_ign", + "source-layer": "oro_courbe", + "minzoom": 13, + "maxzoom": 16, + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 13, + 10 + ], + [ + 15, + 13 + ] + ] + }, + "text-anchor": "center", + "text-rotation-alignment": "map", + "text-pitch-alignment": "viewport", + "text-keep-upright": false, + "text-max-angle": 20, + "text-max-width": 100, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "filter": [ + "all", + [ + "!=", + "texte", + "0" + ], + [ + "==", + "hors_zone", + true + ], + [ + "in", + "symbo", + "CNV_MAITRESSE", + "CUVETTE_MAITRESSE" + ] + ], + "paint": { + "text-color": "#604A2F", + "text-halo-width": 0.5, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - cote de courbe rocher", + "type": "symbol", + "source": "plan_ign", + "source-layer": "oro_courbe", + "minzoom": 13, + "maxzoom": 16, + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 13, + 10 + ], + [ + 15, + 13 + ] + ] + }, + "text-anchor": "center", + "text-rotation-alignment": "map", + "text-pitch-alignment": "viewport", + "text-keep-upright": false, + "text-max-angle": 20, + "text-max-width": 100, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "filter": [ + "all", + [ + "!=", + "texte", + "0" + ], + [ + "==", + "hors_zone", + true + ], + [ + "in", + "symbo", + "CNV_ROCHER_MAITRESSE", + "CUV_ROCHER_MAITRESSE" + ] + ], + "paint": { + "text-color": "#333333", + "text-halo-width": 0.5, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - cote de courbe glacier", + "type": "symbol", + "source": "plan_ign", + "source-layer": "oro_courbe", + "minzoom": 13, + "maxzoom": 16, + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 13, + 10 + ], + [ + 15, + 13 + ] + ] + }, + "text-anchor": "center", + "text-rotation-alignment": "map", + "text-pitch-alignment": "viewport", + "text-keep-upright": false, + "text-max-angle": 20, + "text-max-width": 100, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "filter": [ + "all", + [ + "!=", + "texte", + "0" + ], + [ + "==", + "hors_zone", + true + ], + [ + "in", + "symbo", + "CNV_GLACIER_MAITRESSE", + "CUV_GLACIER_MAITRESSE" + ] + ], + "paint": { + "text-color": "#629FD9", + "text-halo-width": 0.5, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "hydro surfacique", + "type": "fill", + "source": "plan_ign", + "source-layer": "hydro_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "SURFACE_D_EAU", + "BASSIN", + "ZONE_MARINE" + ], + "paint": { + "fill-color": "#AAD5E9", + "fill-outline-color": "#AAD5E9" + } + }, + { + "id": "hydro surfacique temporaire", + "type": "fill", + "source": "plan_ign", + "source-layer": "hydro_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "SURFACE_D_EAU_TEMP" + ], + "paint": { + "fill-color": "rgba(168, 203, 220, 0.5)" + } + }, + { + "id": "réseau hydro - cours d'eau souterrain", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "réseau hydro - filet interieur - aqueduc souterrain", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sou", + "minzoom": 12, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AQUEDUC_SOU" + ], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [ + [ + 12, + 1.4 + ], + [ + 16, + 3.5 + ], + [ + 17, + 5.9 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "réseau hydro - carre - aqueduc souterrain", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sou", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AQUEDUC_SOU" + ], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [ + [ + 12, + 3.5 + ], + [ + 16, + 8.7 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 1, + 5 + ] + } + }, + { + "id": "Ferre souterrain - voie normale", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_1_SOU", + "VF_2_SOU", + "VF_3_SOU", + "VF_4_SOU", + "VF_ELEC_1_SOU", + "VF_ELEC_2_SOU", + "VF_ELEC_3_SOU", + "VF_ELEC_4_SOU", + "VF_FERRO_ROUTIER_SOU" + ], + "paint": { + "line-color": "#B4B4B4", + "line-width": { + "stops": [ + [ + 10, + 0.8 + ], + [ + 17, + 2.5 + ] + ] + } + } + }, + { + "id": "Ferre souterrain - trait perpendic épais", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_1_SOU", + "VF_2_SOU", + "VF_3_SOU", + "VF_4_SOU", + "VF_ELEC_1_SOU", + "VF_ELEC_2_SOU", + "VF_ELEC_3_SOU", + "VF_ELEC_4_SOU", + "VF_FERRO_ROUTIER_SOU" + ], + "paint": { + "line-color": "#B4B4B4", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 0.1, + 10 + ] + } + }, + { + "id": "Ferre souterrain - voie etroite", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "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 + ] + ] + } + } + }, + { + "id": "Ferre souterrain - trait perpendic fin", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "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 + ] + ] + }, + "line-dasharray": [ + 0.1, + 10 + ] + } + }, + { + "id": "Ferre souterrain - voie service", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "minzoom": 14, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_SERVICE_SOU", + "VF_NON_EXPLOITEE_SOU" + ], + "paint": { + "line-color": "#B4B4B4", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + }, + "line-dasharray": [ + 5, + 2, + 1, + 2 + ] + } + }, + { + "id": "Ferre souterrain - funic/urbain", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "FUNI_CREMAILLERE_SOU", + "TRANSPORT_URBAIN_SOU" + ], + "paint": { + "line-color": "#B4B4B4", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + } + } + }, + { + "id": "Ferre souterrain - 2 trait perpendic - funic/urbain", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "FUNI_CREMAILLERE_SOU", + "TRANSPORT_URBAIN_SOU" + ], + "paint": { + "line-color": "#B4B4B4", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 17 + ] + ] + }, + "line-dasharray": [ + 0.1, + 0.2, + 0.1, + 10 + ] + } + }, + { + "id": "Chemin souterrain - piste cyclable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "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 + ] + ] + }, + "line-dasharray": [ + 6, + 2 + ] + } + }, + { + "id": "Chemin souterrain - filet exterieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 14, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "ESCALIER_SOU" + ], + "paint": { + "line-color": "#B3989A", + "line-width": { + "stops": [ + [ + 14, + 1.75 + ], + [ + 15, + 3 + ], + [ + 16, + 4.2 + ], + [ + 17, + 9.5 + ] + ] + } + } + }, + { + "id": "Chemin souterrain - filet interieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 14, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "ESCALIER_SOU" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.9 + ], + [ + 16, + 2.7 + ], + [ + 17, + 5.8 + ] + ] + }, + "line-dasharray": [ + 1, + 0.2 + ] + } + }, + { + "id": "Chemin souterrain - Rue pietonne", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 14, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "RUE_PIETONNE_SOU" + ], + "paint": { + "line-color": "#B3989A", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ] + ] + }, + "line-dasharray": [ + 1, + 3 + ] + } + }, + { + "id": "Chemin souterrain - sentier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "SENTIER_SOU" + ], + "paint": { + "line-color": "#B3989A", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ] + ] + }, + "line-dasharray": [ + 4, + 3 + ] + } + }, + { + "id": "Chemin souterrain - chemin", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 12, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "CHEMIN_SOU" + ], + "paint": { + "line-color": "#B3989A", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_REVETUE_CARRO_SOU" + ], + "paint": { + "line-color": "#AFAFAF", + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier souterrain - filet extérieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 12, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_AUTO_PEAGE_3_SOU", + "BRET_AUTO_PEAGE_2_SOU", + "BRET_AUTO_PEAGE_1_SOU", + "BRET_AUTO_LIBRE_3_SOU", + "BRET_AUTO_LIBRE_2_SOU", + "BRET_AUTO_LIBRE_1_SOU" + ], + "paint": { + "line-color": "rgba(222, 70, 14, 0.5)", + "line-width": { + "stops": [ + [ + 12, + 2.5 + ], + [ + 14, + 3.7 + ], + [ + 15, + 6.8 + ], + [ + 16, + 8.4 + ], + [ + 17, + 14 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "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 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "NON_CLASSEE_4_SOU", + "NON_CLASSEE_SOU" + ], + "paint": { + "line-color": "#AFAFAF", + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_LOCALE_SOU", + "LOCALE_4_SOU", + "LOCALE_3_SOU", + "LOCALE_2_SOU", + "LOCALE_1_SOU" + ], + "paint": { + "line-color": "rgba(130, 130, 130, 0.5)", + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 11, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LOCALE_CONSTR_SOU" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_REGIONALE_SOU", + "REGIONALE_4_SOU", + "REGIONALE_3_SOU", + "REGIONALE_2_SOU", + "REGIONALE_1_SOU" + ], + "paint": { + "line-color": "rgba(130, 130, 130, 0.5)", + "line-width": { + "stops": [ + [ + 6, + 1.5 + ], + [ + 9, + 2.3 + ], + [ + 14, + 5 + ], + [ + 15, + 8.1 + ], + [ + 16, + 11.2 + ], + [ + 17, + 22 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REGIONALE_CONSTR_SOU" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 6, + 1.5 + ], + [ + 9, + 2.3 + ], + [ + 14, + 5 + ], + [ + 15, + 8.1 + ], + [ + 16, + 11.2 + ], + [ + 17, + 22 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 7, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_PRINCIPALE_SOU", + "PRINCIPALE_4_SOU", + "PRINCIPALE_3_SOU", + "PRINCIPALE_2_SOU", + "PRINCIPALE_1_SOU" + ], + "paint": { + "line-color": "rgba(222, 70, 14, 0.5)", + "line-width": { + "stops": [ + [ + 6, + 1.8 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.9 + ], + [ + 15, + 9 + ], + [ + 16, + 12.2 + ], + [ + 17, + 22.5 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PRINCIPALE_CONSTR_SOU" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 6, + 1.8 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.9 + ], + [ + 15, + 9 + ], + [ + 16, + 12.2 + ], + [ + 17, + 22.5 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 7, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE_SOU", + "AUTOROU_LIBRE_SOU" + ], + "paint": { + "line-color": "rgba(222, 70, 14, 0.5)", + "line-width": { + "stops": [ + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR_SOU" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_REVETUE_CARRO_SOU" + ], + "paint": { + "line-color": "#DCDCDC", + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 12, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_AUTO_PEAGE_3_SOU", + "BRET_AUTO_PEAGE_2_SOU", + "BRET_AUTO_PEAGE_1_SOU", + "BRET_AUTO_LIBRE_3_SOU", + "BRET_AUTO_LIBRE_2_SOU", + "BRET_AUTO_LIBRE_1_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [ + [ + 12, + 1.5 + ], + [ + 14, + 2.6 + ], + [ + 15, + 5.2 + ], + [ + 16, + 6.7 + ], + [ + 17, + 10.8 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "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 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "NON_CLASSEE_4_SOU", + "NON_CLASSEE_SOU" + ], + "paint": { + "line-color": "#DCDCDC", + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_LOCALE_SOU", + "LOCALE_4_SOU", + "LOCALE_3_SOU", + "LOCALE_2_SOU", + "LOCALE_1_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [ + [ + 9, + 1.3 + ], + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.1 + ], + [ + 17, + 13.1 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 11, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LOCALE_CONSTR_SOU" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#FFFFFF" + ], + [ + 13, + "#FCF4A8" + ], + [ + 17, + "#FCF7C1" + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier souterrain - filet interieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_REGIONALE_SOU", + "REGIONALE_4_SOU", + "REGIONALE_3_SOU", + "REGIONALE_2_SOU", + "REGIONALE_1_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [ + [ + 6, + 1.4 + ], + [ + 9, + 1.5 + ], + [ + 14, + 3.2 + ], + [ + 15, + 5.8 + ], + [ + 16, + 8.3 + ], + [ + 17, + 16.2 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REGIONALE_CONSTR_SOU" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#FFFFFF" + ], + [ + 10, + "#FDF28B" + ], + [ + 17, + "#FCF6BD" + ] + ] + }, + "line-width": { + "stops": [ + [ + 4, + 0.4 + ], + [ + 6, + 1.5 + ], + [ + 9, + 2.3 + ], + [ + 14, + 5 + ], + [ + 15, + 8.1 + ], + [ + 16, + 11.2 + ], + [ + 17, + 22 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier souterrain - filet interieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_PRINCIPALE_SOU", + "PRINCIPALE_4_SOU", + "PRINCIPALE_3_SOU", + "PRINCIPALE_2_SOU", + "PRINCIPALE_1_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [ + [ + 4, + 0.5 + ], + [ + 6, + 1.8 + ], + [ + 9, + 2.1 + ], + [ + 14, + 4.4 + ], + [ + 15, + 7.3 + ], + [ + 16, + 10 + ], + [ + 17, + 18.5 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PRINCIPALE_CONSTR_SOU" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F3C66D" + ], + [ + 17, + "#F2DDB3" + ] + ] + }, + "line-width": { + "stops": [ + [ + 4, + 0.5 + ], + [ + 6, + 1.8 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.9 + ], + [ + 15, + 9 + ], + [ + 16, + 12.2 + ], + [ + 17, + 22.5 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier souterrain - filet interieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE_SOU", + "AUTOROU_LIBRE_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [ + [ + 4, + 0.7 + ], + [ + 6, + 2.5 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.8 + ], + [ + 15, + 9 + ], + [ + 16, + 12 + ], + [ + 17, + 20.8 + ] + ] + } + } + }, + { + "id": "Routier souterrain - axe central - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE_SOU", + "AUTOROU_LIBRE_SOU" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 9, + 0.6 + ], + [ + 14, + 0.7 + ], + [ + 15, + 1 + ], + [ + 16, + 1.2 + ], + [ + 17, + 2.1 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR_SOU" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F2BA59" + ], + [ + 17, + "#F2C261" + ] + ] + }, + "line-width": { + "stops": [ + [ + 4, + 0.7 + ], + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier souterrain - axe central - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR_SOU" + ], + "paint": { + "line-color": "#808080", + "line-width": { + "stops": [ + [ + 9, + 0.6 + ], + [ + 14, + 0.7 + ], + [ + 15, + 1 + ], + [ + 16, + 1.2 + ], + [ + 17, + 2.1 + ] + ] + } + } + }, + { + "id": "réseau hydro - cours d'eau temporaire", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "COURS_D_EAU_TEMP", + "COURS_D_EAU_TEMP_MOY" + ], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [ + [ + 12, + 1.5 + ], + [ + 17, + 4 + ] + ] + }, + "line-dasharray": [ + 6, + 2 + ] + } + }, + { + "id": "réseau hydro - cours d'eau", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "minzoom": 3, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "COURS_D_EAU" + ], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [ + [ + 4, + 0.3 + ], + [ + 7, + 1.5 + ], + [ + 12, + 1.5 + ], + [ + 17, + 6.5 + ] + ] + } + } + }, + { + "id": "réseau hydro - canal", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "CANAL" + ], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [ + [ + 12, + 1.4 + ], + [ + 17, + 5.9 + ] + ] + } + } + }, + { + "id": "réseau hydro - filet interieur - aqueduc", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AQUEDUC_AU_SOL" + ], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [ + [ + 12, + 1.4 + ], + [ + 16, + 3.5 + ], + [ + 17, + 5.9 + ] + ] + } + } + }, + { + "id": "réseau hydro - carre - aqueduc", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AQUEDUC_AU_SOL" + ], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [ + [ + 12, + 3.5 + ], + [ + 16, + 8.7 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 1, + 5 + ] + } + }, + { + "id": "réseau hydro - cours d'eau moyen ", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "COURS_D_EAU_MOY" + ], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [ + [ + 7, + 2 + ], + [ + 12, + 2.5 + ] + ] + } + } + }, + { + "id": "réseau hydro - cours d'eau large ", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "COURS_D_EAU_LAR" + ], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [ + [ + 7, + 3 + ], + [ + 11, + 5 + ] + ] + } + } + }, + { + "id": "parcellaire - parcelle surface", + "type": "fill", + "source": "plan_ign", + "source-layer": "parcellaire_parcelle", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "PARCELLE" + ], + "paint": { + "fill-color": "#FFFFD1", + "fill-opacity": 0.7 + } + }, + { + "id": "cimetiere surfacique 1", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "CIMETIERE_SURF", + "CIMETIERE_MILI_SURF", + "NECROPOLE_NATIONALE" + ], + "paint": { + "fill-color": "#F0F0F0", + "fill-opacity": 0.5, + "fill-outline-color": "#818181" + } + }, + { + "id": "cimetiere surfacique 2", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "CIMETIERE_SURF", + "CIMETIERE_MILI_SURF", + "NECROPOLE_NATIONALE" + ], + "paint": { + "fill-pattern": "Cimetiere" + } + }, + { + "id": "bati surfacique mairie - Zoom 14", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "maxzoom": 14, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "MAIRIE", + "MAIRIE_ANNEXE" + ], + "paint": { + "fill-color": "#FFA6A6" + } + }, + { + "id": "bati surfacique mairie - Zoom 15,16,17,18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 14, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "MAIRIE", + "MAIRIE_ANNEXE" + ], + "paint": { + "fill-color": { + "stops": [ + [ + 14, + "#FFA6A6" + ], + [ + 15, + "#FFAEAE" + ] + ] + }, + "fill-outline-color": "#FF7C7C" + } + }, + { + "id": "bati surfacique fonctionnel industriel ou commercial - Zoom 14,15", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "BATI_COMMERCIAL", + "BATI_INDUSTRIEL", + "HANGAR", + "HANGAR_COMMERCIAL", + "HANGAR_INDUSTRIEL" + ], + "paint": { + "fill-color": "#C8C8C8" + } + }, + { + "id": "bati surfacique fonctionnel industriel ou commercial - Zoom 16,17,18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "BATI_COMMERCIAL", + "BATI_INDUSTRIEL", + "HANGAR", + "HANGAR_COMMERCIAL", + "HANGAR_INDUSTRIEL" + ], + "paint": { + "fill-color": { + "stops": [ + [ + 15, + "#D1D1D1" + ], + [ + 16, + "#E6E6E6" + ] + ] + }, + "fill-outline-color": "#B8B8B8" + } + }, + { + "id": "bati surfacique fonctionnel public - Zoom 14,15", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "BATI_PUBLIC", + "HANGAR_PUBLIC" + ], + "paint": { + "fill-color": "#B9B6D6" + } + }, + { + "id": "bati surfacique fonctionnel public - Zoom 16,17,18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "BATI_PUBLIC", + "HANGAR_PUBLIC" + ], + "paint": { + "fill-color": { + "stops": [ + [ + 15, + "#CFC5DE" + ], + [ + 16, + "#E4DAF3" + ] + ] + }, + "fill-outline-color": "#A6A1D6" + } + }, + { + "id": "bati surfacique fonctionnel sportif - bordure", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 15, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "BATI_SPORTIF" + ], + "paint": { + "line-color": "#BCD9AB", + "line-width": 4 + } + }, + { + "id": "bati surfacique fonctionnel sportif", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 13, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "BATI_SPORTIF" + ], + "paint": { + "fill-color": { + "stops": [ + [ + 14, + "#C9E1DD" + ], + [ + 15, + "#DCE6E4" + ] + ] + } + } + }, + { + "id": "bati surfacique fonctionnel gare - Zoom 14,15", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "BATI_GARE" + ], + "paint": { + "fill-color": "#B3B5F5" + } + }, + { + "id": "bati surfacique fonctionnel gare - Zoom 16,17,18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "BATI_GARE" + ], + "paint": { + "fill-color": { + "stops": [ + [ + 15, + "#BFC1F5" + ], + [ + 16, + "#CBCDF5" + ] + ] + }, + "fill-outline-color": "#9B9EF6" + } + }, + { + "id": "bati surfacique quelconque - Zoom 15", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 14, + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "BATI_QQUE" + ], + "paint": { + "fill-color": "#D6C6B8" + } + }, + { + "id": "bati surfacique quelconque - Zoom 16,17,18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "BATI_QQUE" + ], + "paint": { + "fill-color": { + "stops": [ + [ + 15, + "#E6E0CF" + ], + [ + 16, + "#F1EBD9" + ] + ] + }, + "fill-outline-color": "#C3AA8E" + } + }, + { + "id": "bati hydro surfacique - Autre", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "ECLUSE_SURF", + "RESERVOIR_EAU_SURF" + ], + "paint": { + "fill-color": "#ADCCD9", + "fill-outline-color": "#336699" + } + }, + { + "id": "bati hydro surfacique - Pecherie", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "PECHERIE_SURF" + ], + "paint": { + "fill-color": "#BFE2F0", + "fill-outline-color": "#509FEF" + } + }, + { + "id": "bati hydro surfacique - Barrage", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "BARRAGE_SURF" + ], + "paint": { + "fill-color": "#FFFFFF", + "fill-outline-color": "#464646" + } + }, + { + "id": "bati hydro surfacique - Chateau d'eau", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "CHATEAU_EAU_SURF" + ], + "paint": { + "fill-color": "#1466B2" + } + }, + { + "id": "bati infra surfacique - Silo", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "SILO_SURF" + ], + "paint": { + "fill-color": "#C7A9AA", + "fill-outline-color": "#696969" + } + }, + { + "id": "bati infra surfacique - Reservoir indus", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 14, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "RESERVOIR_INDUS_SURF" + ], + "paint": { + "fill-color": "#8D9DAA", + "fill-outline-color": "#464646" + } + }, + { + "id": "bati infra surfacique - Serre", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 13, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "SERRE_SURF" + ], + "paint": { + "fill-color": "#CAD6D9", + "fill-outline-color": "#8C8C8C" + } + }, + { + "id": "bati infra surfacique - poste electrique", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "POSTE_ELEC_SURF" + ], + "paint": { + "fill-color": "#7993B6", + "fill-opacity": 0.3 + } + }, + { + "id": "bati infra surfacique - poste electrique bord", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "POSTE_ELEC_SURF" + ], + "paint": { + "line-color": "#000000", + "line-width": { + "stops": [ + [ + 12, + 0.3 + ], + [ + 17, + 1.2 + ] + ] + } + } + }, + { + "id": "bati religieux surfacique - Zoom 14", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "maxzoom": 14, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "CHAPELLE_SURF", + "EGLISE_SURF", + "CHRETIEN_SURF", + "SYNAGOGUE_SURF", + "MOSQUEE_SURF", + "AUTRE_CULTE_SURF", + "RELIGIEUX_QQUE" + ], + "paint": { + "fill-color": "#F7CBCB" + } + }, + { + "id": "bati religieux surfacique - Zoom 15,16,17,18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 14, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "CHAPELLE_SURF", + "EGLISE_SURF", + "CHRETIEN_SURF", + "SYNAGOGUE_SURF", + "MOSQUEE_SURF", + "AUTRE_CULTE_SURF", + "RELIGIEUX_QQUE" + ], + "paint": { + "fill-color": { + "stops": [ + [ + 14, + "#F7CBCB" + ], + [ + 15, + "#F7E1E1" + ] + ] + }, + "fill-outline-color": { + "stops": [ + [ + 14, + "#F7A8A8" + ], + [ + 15, + "#F7B7B7" + ] + ] + } + } + }, + { + "id": "bati remarquable surfacique", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 13, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "FORTIF_SURF", + "CHATEAU_SURF", + "TOUR_MOULIN_SURF", + "ARENE_THEATRE", + "ARC_TRIOMPHE_SURF", + "MONUMENT_SURF" + ], + "paint": { + "fill-color": "#9B9B9B", + "fill-outline-color": "#6E6E6E" + } + }, + { + "id": "bati sportif surfacique fond", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "TENNIS_SURF", + "SPORT_INDIF_SURF", + "FOOT_SURF", + "MULTI_SPORT_SURF", + "PISTE_SPORT_SURF", + "NATATION_SURF" + ], + "paint": { + "fill-color": "#FFFFFF", + "fill-outline-color": "#FFFFFF" + } + }, + { + "id": "bati sportif surfacique", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "TENNIS_SURF", + "SPORT_INDIF_SURF", + "FOOT_SURF", + "MULTI_SPORT_SURF", + "PISTE_SPORT_SURF", + "NATATION_SURF" + ], + "paint": { + "line-color": "#BCD9AB", + "line-width": 2 + } + }, + { + "id": "bati transport surfacique - piste", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "PISTE_DUR", + "PISTE_HERBE" + ], + "paint": { + "fill-color": "#DBDBDB", + "fill-outline-color": "#808080" + } + }, + { + "id": "bati ZAI - Autres", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zai", + "minzoom": 15, + "maxzoom": 18, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "nature", + "Lycée", + "Université", + "Capitainerie", + "Gendarmerie", + "Siège d'EPCI", + "Musée", + "Collège", + "Maison de retraite", + "Etablissement thermal", + "Autre service déconcentré de l'Etat", + "Etablissement pénitentiaire", + "Divers public ou administratif", + "Autre établissement d'enseignement", + "Maison du parc", + "Palais de justice", + "Enseignement primaire", + "Office de tourisme", + "Hôpital", + "Police", + "Piscine", + "Enseignement supérieur", + "Poste", + "Caserne", + "Etablissement hospitalier", + "Etablissement extraterritorial", + "Science", + "Structure d'accueil pour personnes handicapées", + "Administration centrale de l'Etat", + "Caserne de pompiers" + ], + "paint": { + "fill-color": "#E3BFE2", + "fill-opacity": 0.5, + "fill-outline-color": "#E39FE1" + } + }, + { + "id": "bati ZAI - Commandement", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zai", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "nature", + "Hôtel de département", + "Hôtel de région", + "Hôtel de collectivité", + "Préfecture de région", + "Préfecture", + "Sous-préfecture" + ], + "paint": { + "fill-color": "#FF0000", + "fill-opacity": 0.3, + "fill-outline-color": "#B40000" + } + }, + { + "id": "construction linéaire - mur", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "MUR" + ], + "paint": { + "line-color": "#8C8C8C", + "line-width": 0.3 + } + }, + { + "id": "construction linéaire - autre", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "RUINE_LIN", + "MUR_SOUTENEMENT", + "FORTIF_LIN" + ], + "paint": { + "line-color": "#646464", + "line-width": 0.5 + } + }, + { + "id": "construction hydrographique linéaire - Barrage", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "BARRAGE_LIN" + ], + "paint": { + "line-color": "#646464", + "line-width": { + "stops": [ + [ + 13, + 1.5 + ], + [ + 17, + 5 + ] + ] + } + } + }, + { + "id": "construction hydrographique linéaire - Quai", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "QUAI", + "DIGUE" + ], + "paint": { + "line-color": "#828282", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 17, + 2.5 + ] + ] + } + } + }, + { + "id": "construction hydrographique linéaire - Pecherie", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PECHERIE_LIN" + ], + "paint": { + "line-color": "#0066CC", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 17, + 2.5 + ] + ] + } + } + }, + { + "id": "Chemin a niveau - piste cyclable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "PISTE_CYCLABLE", + "VOIE_VERTE" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#9B5CCC" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1.1 + ], + [ + 15, + 1.7 + ], + [ + 16, + 2 + ], + [ + 17, + 3.5 + ], + [ + 18, + 6 + ] + ] + }, + "line-dasharray": [ + 6, + 2 + ] + } + }, + { + "id": "Chemin a niveau - filet exterieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "ESCALIER" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#8C7274" + ], + [ + 18, + "#C8C8C8" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1.75 + ], + [ + 15, + 3 + ], + [ + 16, + 4.2 + ], + [ + 17, + 9.5 + ] + ] + } + } + }, + { + "id": "Chemin a niveau - filet interieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "ESCALIER" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.9 + ], + [ + 16, + 2.7 + ], + [ + 17, + 5.8 + ] + ] + }, + "line-dasharray": [ + 1, + 0.2 + ] + } + }, + { + "id": "Chemin a niveau - Rue pietonne", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "RUE_PIETONNE" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#8C7274" + ], + [ + 18, + "#F8E5D5" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ], + [ + 18, + 5 + ] + ] + }, + "line-dasharray": [ + 1, + 3 + ] + } + }, + { + "id": "Chemin a niveau - sentier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "SENTIER" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#8C7274" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ], + [ + 18, + 6 + ] + ] + }, + "line-dasharray": [ + 4, + 3 + ] + } + }, + { + "id": "Chemin a niveau - chemin", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "CHEMIN" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#8C7274" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ], + [ + 18, + 7 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_REVETUE_CARRO" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#646464" + ], + [ + 17, + "#8C8C8C" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier a niveau - filet interieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_REVETUE_CARRO" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ], + [ + 18, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_AUTO_PEAGE_3", + "BRET_AUTO_PEAGE_2", + "BRET_AUTO_PEAGE_1", + "BRET_AUTO_LIBRE_3", + "BRET_AUTO_LIBRE_2", + "BRET_AUTO_LIBRE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#DE460E" + ], + [ + 17, + "#F18800" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 12, + 2.5 + ], + [ + 14, + 3.7 + ], + [ + 15, + 6.8 + ], + [ + 16, + 8.4 + ], + [ + 17, + 14 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_CLASSEE_RESTREINT" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#969696" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "NON_CLASSEE_4", + "NON_CLASSEE" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#969696" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 7, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_LOCALE", + "LOCALE_4", + "LOCALE_3", + "LOCALE_2", + "LOCALE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#8C8C8C" + ], + [ + 13, + "#B4B4B4" + ], + [ + 17, + "#B4B4B4" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 11, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LOCALE_CONSTR" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_REGIONALE", + "REGIONALE_4", + "REGIONALE_3", + "REGIONALE_2", + "REGIONALE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#828282" + ], + [ + 10, + "#B4B4B4" + ], + [ + 17, + "#B4B4B4" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 1.5 + ], + [ + 9, + 2.3 + ], + [ + 14, + 5 + ], + [ + 15, + 8.1 + ], + [ + 16, + 11.2 + ], + [ + 17, + 22 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REGIONALE_CONSTR" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 6, + 1.5 + ], + [ + 9, + 2.3 + ], + [ + 14, + 5 + ], + [ + 15, + 8.1 + ], + [ + 16, + 11.2 + ], + [ + 17, + 22 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_PRINCIPALE", + "PRINCIPALE_4", + "PRINCIPALE_3", + "PRINCIPALE_2", + "PRINCIPALE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#E2A52A" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 1.8 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.9 + ], + [ + 15, + 9 + ], + [ + 16, + 12.2 + ], + [ + 17, + 22.5 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PRINCIPALE_CONSTR" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 6, + 1.8 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.9 + ], + [ + 15, + 9 + ], + [ + 16, + 12.2 + ], + [ + 17, + 22.5 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE", + "AUTOROU_LIBRE" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#DE460E" + ], + [ + 17, + "#F18800" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 12, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_AUTO_PEAGE_3", + "BRET_AUTO_PEAGE_2", + "BRET_AUTO_PEAGE_1", + "BRET_AUTO_LIBRE_3", + "BRET_AUTO_LIBRE_2", + "BRET_AUTO_LIBRE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F18800" + ], + [ + 17, + "#F2B230" + ] + ] + }, + "line-width": { + "stops": [ + [ + 12, + 1.5 + ], + [ + 14, + 2.6 + ], + [ + 15, + 5.2 + ], + [ + 16, + 6.7 + ], + [ + 17, + 10.8 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_CLASSEE_RESTREINT" + ], + "paint": { + "line-color": "#EDF1FF", + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "NON_CLASSEE_4", + "NON_CLASSEE" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_LOCALE", + "LOCALE_4", + "LOCALE_3", + "LOCALE_2", + "LOCALE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 11, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LOCALE_CONSTR" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#FFFFFF" + ], + [ + 13, + "#FCF4A8" + ], + [ + 17, + "#FCF7C1" + ], + [ + 18, + "#EDEDED" + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier a niveau - filet interieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_REGIONALE", + "REGIONALE_4", + "REGIONALE_3", + "REGIONALE_2", + "REGIONALE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REGIONALE_CONSTR" + ], + "paint": { + "line-color": { + "stops": [ + [ + 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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier a niveau - filet interieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_PRINCIPALE", + "PRINCIPALE_4", + "PRINCIPALE_3", + "PRINCIPALE_2", + "PRINCIPALE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PRINCIPALE_CONSTR" + ], + "paint": { + "line-color": { + "stops": [ + [ + 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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier a niveau - filet interieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE", + "AUTOROU_LIBRE" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F18800" + ], + [ + 17, + "#F2B230" + ] + ] + }, + "line-width": { + "stops": [ + [ + 4, + 0.7 + ], + [ + 6, + 2.5 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.8 + ], + [ + 15, + 9 + ], + [ + 16, + 12 + ], + [ + 17, + 20.8 + ] + ] + } + } + }, + { + "id": "Routier a niveau - axe central - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE", + "AUTOROU_LIBRE" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 9, + 0.6 + ], + [ + 14, + 0.7 + ], + [ + 15, + 1 + ], + [ + 16, + 1.2 + ], + [ + 17, + 2.1 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F18800" + ], + [ + 17, + "#F2B230" + ], + [ + 18, + "#EDEDED" + ] + ] + }, + "line-width": { + "stops": [ + [ + 4, + 0.7 + ], + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier a niveau - axe centrale - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR" + ], + "paint": { + "line-color": "#808080", + "line-width": { + "stops": [ + [ + 9, + 0.6 + ], + [ + 14, + 0.7 + ], + [ + 15, + 1 + ], + [ + 16, + 1.2 + ], + [ + 17, + 2.1 + ] + ] + } + } + }, + { + "id": "Ferre a niveau - voie normale", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_1", + "VF_2", + "VF_3", + "VF_4", + "VF_ELEC_1", + "VF_ELEC_2", + "VF_ELEC_3", + "VF_ELEC_4" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [ + [ + 10, + 0.8 + ], + [ + 17, + 2.5 + ] + ] + } + } + }, + { + "id": "Ferre a niveau - voie normale trait perpendic", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_1", + "VF_2", + "VF_3", + "VF_4", + "VF_ELEC_1", + "VF_ELEC_2", + "VF_ELEC_3", + "VF_ELEC_4" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 0.1, + 10 + ] + } + }, + { + "id": "Ferre a niveau - voie etroite", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_ETROITE_1", + "VF_ETROITE_2", + "VF_ETROITE" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + } + } + }, + { + "id": "Ferre a niveau - voie etroite trait perpendic", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_ETROITE_1", + "VF_ETROITE_2", + "VF_ETROITE" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 0.1, + 10 + ] + } + }, + { + "id": "Ferre a niveau - voie service", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_SERVICE", + "VF_NON_EXPLOITEE" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + }, + "line-dasharray": [ + 5, + 2, + 1, + 2 + ] + } + }, + { + "id": "Ferre a niveau - voie en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "VF_EN_CONSTR" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Ferre a niveau - voie en construction trait perpendic", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "VF_EN_CONSTR" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 0.1, + 10 + ] + } + }, + { + "id": "Ferre a niveau - funic/urbain", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "FUNI_CREMAILLERE", + "TRANSPORT_URBAIN" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + } + } + }, + { + "id": "Ferre a niveau - 2 trait perpendic - funic/urbain", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "FUNI_CREMAILLERE", + "TRANSPORT_URBAIN" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 17 + ] + ] + }, + "line-dasharray": [ + 0.1, + 0.2, + 0.1, + 10 + ] + } + }, + { + "id": "liaison routiere - Bac Liaison Maritime", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "minzoom": 8, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BAC_AUTO", + "LIAISON_MARITIME", + "BAC_LIAISON_MARITIME" + ], + "paint": { + "line-color": "#5792C2", + "line-width": { + "stops": [ + [ + 8, + 1 + ], + [ + 13, + 2.5 + ] + ] + } + } + }, + { + "id": "liaison routiere - Gue route", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "GUE_ROUTE" + ], + "paint": { + "line-color": { + "stops": [ + [ + 13, + "#BEBEBE" + ], + [ + 17, + "#646464" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "liaison routiere - Gue chemin", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "GUE_CHEMIN" + ], + "paint": { + "line-color": { + "stops": [ + [ + 13, + "#BEBEBE" + ], + [ + 17, + "#646464" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1.6 + ], + [ + 15, + 2.9 + ], + [ + 16, + 4.4 + ], + [ + 17, + 6.5 + ] + ] + } + } + }, + { + "id": "liaison routiere - filet extérieur - Pont passerelle", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "PONT_PASSERELLE", + "PONT_LIN", + "PONT_MOBILE_LIN" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#C8C8C8" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 2.2 + ], + [ + 15, + 3.8 + ], + [ + 16, + 5.4 + ], + [ + 17, + 11.8 + ] + ] + } + } + }, + { + "id": "liaison routiere - filet intérieur - Pont passerelle", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "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 + ] + ] + } + } + }, + { + "id": "Routier surfacique", + "type": "fill", + "source": "plan_ign", + "source-layer": "routier_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "SURF_ROUT_PRINC", + "SURF_ROUT_REG", + "SURF_ROUT_LOC", + "SURF_ROUT_NON_CLA" + ], + "paint": { + "fill-color": "#FFFFFF", + "fill-outline-color": "#000000" + } + }, + { + "id": "Routier surfacique - Dalle de protection", + "type": "fill", + "source": "plan_ign", + "source-layer": "routier_surf", + "maxzoom": 18, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "DALLE_DE_PROTECTION" + ], + "paint": { + "fill-opacity": 0.5, + "fill-color": "#FFFFFF", + "fill-outline-color": "#000000" + } + }, + { + "id": "Routier surfacique - Escalier surfacique", + "type": "fill", + "source": "plan_ign", + "source-layer": "routier_surf", + "maxzoom": 18, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ESCALIER_SURF" + ], + "paint": { + "fill-opacity": 0.8, + "fill-color": "#FFFFFF", + "fill-outline-color": "#918091" + } + }, + { + "id": "Routier surfacique - Péage surfacique", + "type": "fill", + "source": "plan_ign", + "source-layer": "routier_surf", + "maxzoom": 18, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "SURF_PEAGE" + ], + "paint": { + "fill-color": "#F2DAAA", + "fill-outline-color": "#E2A52A" + } + }, + { + "id": "bati transport surfacique - bati peage", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 13, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "BATI_PEAGE" + ], + "paint": { + "fill-color": "#DCDCDC", + "fill-outline-color": "#808080" + } + }, + { + "id": "réseau hydro - cours d'eau superieur", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sup", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "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 + ] + ] + } + } + }, + { + "id": "réseau hydro - canal superieur", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sup", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "CANAL_SUP" + ], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [ + [ + 12, + 1.4 + ], + [ + 17, + 5.9 + ] + ] + } + } + }, + { + "id": "réseau hydro - filet interieur - aqueduc superieur", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sup", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AQUEDUC_SUP" + ], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [ + [ + 12, + 1.4 + ], + [ + 16, + 3.5 + ], + [ + 17, + 5.9 + ] + ] + } + } + }, + { + "id": "réseau hydro - carre - aqueduc superieur", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AQUEDUC_SUP" + ], + "paint": { + "line-color": "#AAD5E9", + "line-width": { + "stops": [ + [ + 12, + 3.5 + ], + [ + 16, + 8.7 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 1, + 5 + ] + } + }, + { + "id": "Chemin superieur - piste cyclable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "PISTE_CYCLABLE_SUP", + "VOIE_VERTE_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#9B5CCC" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1.1 + ], + [ + 15, + 1.7 + ], + [ + 16, + 2 + ], + [ + 17, + 3.5 + ], + [ + 18, + 6 + ] + ] + }, + "line-dasharray": [ + 6, + 2 + ] + } + }, + { + "id": "Chemin superieur - filet exterieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "ESCALIER_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#8C7274" + ], + [ + 18, + "#C8C8C8" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1.75 + ], + [ + 15, + 3 + ], + [ + 16, + 4.2 + ], + [ + 17, + 9.5 + ] + ] + } + } + }, + { + "id": "Chemin superieur - filet interieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "ESCALIER_SUP" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.9 + ], + [ + 16, + 2.7 + ], + [ + 17, + 5.8 + ] + ] + }, + "line-dasharray": [ + 1, + 0.2 + ] + } + }, + { + "id": "Chemin superieur - Rue pietonne", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "RUE_PIETONNE_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#8C7274" + ], + [ + 18, + "#EBEBEB" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ], + [ + 18, + 5 + ] + ] + }, + "line-dasharray": [ + 1, + 3 + ] + } + }, + { + "id": "Chemin superieur - sentier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "SENTIER_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#8C7274" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ], + [ + 18, + 6 + ] + ] + }, + "line-dasharray": [ + 4, + 3 + ] + } + }, + { + "id": "Chemin superieur - chemin", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "CHEMIN_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#8C7274" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ], + [ + 18, + 7 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_REVETUE_CARRO_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#646464" + ], + [ + 17, + "#8C8C8C" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier superieur - filet extérieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_AUTO_PEAGE_3_SUP", + "BRET_AUTO_PEAGE_2_SUP", + "BRET_AUTO_PEAGE_1_SUP", + "BRET_AUTO_LIBRE_3_SUP", + "BRET_AUTO_LIBRE_2_SUP", + "BRET_AUTO_LIBRE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#DE460E" + ], + [ + 17, + "#F18800" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 12, + 2.5 + ], + [ + 14, + 3.7 + ], + [ + 15, + 6.8 + ], + [ + 16, + 8.4 + ], + [ + 17, + 14 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_CLASSEE_RESTREINT_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#969696" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "NON_CLASSEE_4_SUP", + "NON_CLASSEE_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#969696" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_LOCALE_SUP", + "LOCALE_4_SUP", + "LOCALE_3_SUP", + "LOCALE_2_SUP", + "LOCALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#8C8C8C" + ], + [ + 13, + "#B4B4B4" + ], + [ + 17, + "#B4B4B4" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 11, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LOCALE_CONSTR_SUP" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_REGIONALE_SUP", + "REGIONALE_4_SUP", + "REGIONALE_3_SUP", + "REGIONALE_2_SUP", + "REGIONALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#828282" + ], + [ + 10, + "#B4B4B4" + ], + [ + 17, + "#B4B4B4" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 1.5 + ], + [ + 9, + 2.3 + ], + [ + 14, + 5 + ], + [ + 15, + 8.1 + ], + [ + 16, + 11.2 + ], + [ + 17, + 22 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REGIONALE_CONSTR_SUP" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 6, + 1.5 + ], + [ + 9, + 2.3 + ], + [ + 14, + 5 + ], + [ + 15, + 8.1 + ], + [ + 16, + 11.2 + ], + [ + 17, + 22 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_PRINCIPALE_SUP", + "PRINCIPALE_4_SUP", + "PRINCIPALE_3_SUP", + "PRINCIPALE_2_SUP", + "PRINCIPALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#E2A52A" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 1.8 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.9 + ], + [ + 15, + 9 + ], + [ + 16, + 12.2 + ], + [ + 17, + 22.5 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PRINCIPALE_CONSTR_SUP" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 6, + 1.8 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.9 + ], + [ + 15, + 9 + ], + [ + 16, + 12.2 + ], + [ + 17, + 22.5 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE_SUP", + "AUTOROU_LIBRE_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#DE460E" + ], + [ + 17, + "#F18800" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR_SUP" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_REVETUE_CARRO_SUP" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ], + [ + 18, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 12, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_AUTO_PEAGE_3_SUP", + "BRET_AUTO_PEAGE_2_SUP", + "BRET_AUTO_PEAGE_1_SUP", + "BRET_AUTO_LIBRE_3_SUP", + "BRET_AUTO_LIBRE_2_SUP", + "BRET_AUTO_LIBRE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F18800" + ], + [ + 17, + "#F2B230" + ] + ] + }, + "line-width": { + "stops": [ + [ + 12, + 1.5 + ], + [ + 14, + 2.6 + ], + [ + 15, + 5.2 + ], + [ + 16, + 6.7 + ], + [ + 17, + 10.8 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "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 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "NON_CLASSEE_4_SUP", + "NON_CLASSEE_SUP" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_LOCALE_SUP", + "LOCALE_4_SUP", + "LOCALE_3_SUP", + "LOCALE_2_SUP", + "LOCALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#FFFFFF" + ], + [ + 13, + "#FCF4A8" + ], + [ + 17, + "#FCF7C1" + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 1.3 + ], + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.1 + ], + [ + 17, + 13.1 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 11, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LOCALE_CONSTR_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#FFFFFF" + ], + [ + 13, + "#FCF4A8" + ], + [ + 17, + "#FCF7C1" + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier superieur - filet interieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_REGIONALE_SUP", + "REGIONALE_4_SUP", + "REGIONALE_3_SUP", + "REGIONALE_2_SUP", + "REGIONALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#FFFFFF" + ], + [ + 10, + "#FDF28B" + ], + [ + 17, + "#FCF6BD" + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 1.4 + ], + [ + 9, + 1.5 + ], + [ + 14, + 3.2 + ], + [ + 15, + 5.8 + ], + [ + 16, + 8.3 + ], + [ + 17, + 16.2 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REGIONALE_CONSTR_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#FFFFFF" + ], + [ + 10, + "#FDF28B" + ], + [ + 17, + "#FCF6BD" + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 1.5 + ], + [ + 9, + 2.3 + ], + [ + 14, + 5 + ], + [ + 15, + 8.1 + ], + [ + 16, + 11.2 + ], + [ + 17, + 22 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier superieur - filet interieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_PRINCIPALE_SUP", + "PRINCIPALE_4_SUP", + "PRINCIPALE_3_SUP", + "PRINCIPALE_2_SUP", + "PRINCIPALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F3C66D" + ], + [ + 17, + "#F2DDB3" + ] + ] + }, + "line-width": { + "stops": [ + [ + 4, + 0.5 + ], + [ + 6, + 1.8 + ], + [ + 9, + 2.1 + ], + [ + 14, + 4.4 + ], + [ + 15, + 7.3 + ], + [ + 16, + 10 + ], + [ + 17, + 18.5 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PRINCIPALE_CONSTR_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F3C66D" + ], + [ + 17, + "#F2DDB3" + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 1.8 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.9 + ], + [ + 15, + 9 + ], + [ + 16, + 12.2 + ], + [ + 17, + 22.5 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier superieur - filet interieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE_SUP", + "AUTOROU_LIBRE_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F18800" + ], + [ + 17, + "#F2B230" + ] + ] + }, + "line-width": { + "stops": [ + [ + 4, + 0.7 + ], + [ + 6, + 2.5 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.8 + ], + [ + 15, + 9 + ], + [ + 16, + 12 + ], + [ + 17, + 20.8 + ] + ] + } + } + }, + { + "id": "Routier superieur - axe central - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE_SUP", + "AUTOROU_LIBRE_SUP" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 9, + 0.6 + ], + [ + 14, + 0.7 + ], + [ + 15, + 1 + ], + [ + 16, + 1.2 + ], + [ + 17, + 2.1 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F18800" + ], + [ + 17, + "#F2B230" + ] + ] + }, + "line-width": { + "stops": [ + [ + 4, + 0.7 + ], + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier superieur - axe centrale - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR_SUP" + ], + "paint": { + "line-color": "#808080", + "line-width": { + "stops": [ + [ + 9, + 0.6 + ], + [ + 14, + 0.7 + ], + [ + 15, + 1 + ], + [ + 16, + 1.2 + ], + [ + 17, + 2.1 + ] + ] + } + } + }, + { + "id": "Ferre superieur - voie normale", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_1_SUP", + "VF_2_SUP", + "VF_3_SUP", + "VF_4_SUP", + "VF_ELEC_1_SUP", + "VF_ELEC_2_SUP", + "VF_ELEC_3_SUP", + "VF_ELEC_4_SUP" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [ + [ + 10, + 0.8 + ], + [ + 17, + 2.5 + ] + ] + } + } + }, + { + "id": "Ferre superieur - voie normale trait perpendic", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_1_SUP", + "VF_2_SUP", + "VF_3_SUP", + "VF_4_SUP", + "VF_ELEC_1_SUP", + "VF_ELEC_2_SUP", + "VF_ELEC_3_SUP", + "VF_ELEC_4_SUP" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 0.1, + 10 + ] + } + }, + { + "id": "Ferre superieur - voie etroite", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_ETROITE_1_SUP", + "VF_ETROITE_2_SUP", + "VF_ETROITE_SUP" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + } + } + }, + { + "id": "Ferre superieur - voie etroite trait perpendic", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_ETROITE_1_SUP", + "VF_ETROITE_2_SUP", + "VF_ETROITE_SUP" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 0.1, + 10 + ] + } + }, + { + "id": "Ferre superieur - voie service", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_SERVICE_SUP", + "VF_NON_EXPLOITEE_SUP" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + }, + "line-dasharray": [ + 5, + 2, + 1, + 2 + ] + } + }, + { + "id": "Ferre superieur - voie en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "VF_EN_CONSTR_SUP" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Ferre superieur - voie en construction trait perpendic", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "VF_EN_CONSTR_SUP" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 0.1, + 10 + ] + } + }, + { + "id": "Ferre superieur - funic/urbain", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "FUNI_CREMAILLERE_SUP", + "TRANSPORT_URBAIN_SUP" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + } + } + }, + { + "id": "Ferre superieur - 2 trait perpendic - funic/urbain", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "FUNI_CREMAILLERE_SUP", + "TRANSPORT_URBAIN_SUP" + ], + "paint": { + "line-color": "#787878", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 17 + ] + ] + }, + "line-dasharray": [ + 0.1, + 0.2, + 0.1, + 10 + ] + } + }, + { + "id": "Limite - cloture", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "CLOTURE" + ], + "paint": { + "line-color": "#000000", + "line-width": { + "stops": [ + [ + 13, + 0.6 + ], + [ + 17, + 1 + ] + ] + }, + "line-dasharray": [ + 1.5, + 4 + ] + } + }, + { + "id": "Limite - layon", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 14, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LAYON" + ], + "paint": { + "line-color": "#B3989A", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ] + ] + }, + "line-dasharray": [ + 4, + 7 + ] + } + }, + { + "id": "Zone Règlementee - Enceinte militaire", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_ZONE_REGLEMENTEE", + "LIM_ENCEINTE_MILITAIRE", + "LIM_ENCEINTE_MILI", + "LIM_CHAMP_TIR" + ], + "paint": { + "line-color": "rgba(226, 130, 92, 0.8)", + "line-width": { + "stops": [ + [ + 13, + 1.7 + ], + [ + 17, + 3.1 + ] + ] + }, + "line-dasharray": [ + 4, + 1, + 2, + 5 + ] + } + }, + { + "id": "limite zone naturelle", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_ZONE_NATURELLE", + "LIM_ZONE_NATURELLE_ILE", + "LIM_RESERVE_NATURELLE" + ], + "paint": { + "line-color": "#FFC2CB", + "line-width": { + "stops": [ + [ + 13, + 2 + ], + [ + 17, + 4 + ] + ] + }, + "line-dasharray": [ + 2, + 1 + ] + } + }, + { + "id": "limite zone naturelle - Parc naturel 10", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "maxzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_PARC_NATUREL", + "LIM_PARC_NATUREL_ILE" + ], + "paint": { + "line-color": "#42A266", + "line-width": { + "stops": [ + [ + 13, + 2 + ], + [ + 17, + 4 + ] + ] + }, + "line-dasharray": [ + 2, + 1 + ] + } + }, + { + "id": "limite zone naturelle - Parc naturel 11", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 10, + "maxzoom": 11, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_PARC_NATUREL", + "LIM_PARC_NATUREL_ILE" + ], + "paint": { + "line-color": "#42A266", + "line-width": { + "stops": [ + [ + 13, + 2 + ], + [ + 17, + 4 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "limite zone naturelle - Parc naturel 12", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 11, + "maxzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_PARC_NATUREL", + "LIM_PARC_NATUREL_ILE" + ], + "paint": { + "line-color": "#42A266", + "line-width": { + "stops": [ + [ + 13, + 2 + ], + [ + 17, + 4 + ] + ] + }, + "line-dasharray": [ + 2, + 3 + ] + } + }, + { + "id": "limite zone naturelle - Parc naturel 13", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 12, + "maxzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_PARC_NATUREL", + "LIM_PARC_NATUREL_ILE" + ], + "paint": { + "line-color": "#42A266", + "line-width": { + "stops": [ + [ + 13, + 2 + ], + [ + 17, + 4 + ] + ] + }, + "line-dasharray": [ + 2, + 4 + ] + } + }, + { + "id": "limite zone naturelle - Parc naturel 14", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "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 + ] + ] + }, + "line-dasharray": [ + 2, + 5 + ] + } + }, + { + "id": "limite zone naturelle - Parc marin", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LIM_PARC_NATUREL_MARIN" + ], + "paint": { + "line-color": "#2A81A2", + "line-width": { + "stops": [ + [ + 13, + 2 + ], + [ + 17, + 4 + ] + ] + }, + "line-dasharray": [ + 2, + 1 + ] + } + }, + { + "id": "parcellaire - parcelle bordure", + "type": "line", + "source": "plan_ign", + "source-layer": "parcellaire_parcelle", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PARCELLE" + ], + "paint": { + "line-color": "#9933FF", + "line-width": 1 + } + }, + { + "id": "parcellaire - section", + "type": "line", + "source": "plan_ign", + "source-layer": "parcellaire_section", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "SECTION" + ], + "paint": { + "line-color": "#287B00", + "line-width": 1.9, + "line-dasharray": [ + 2, + 4, + 2 + ] + } + }, + { + "id": "toponyme - parcellaire - section", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_parcellaire_section", + "filter": [ + "==", + "txt_typo", + "SECTION" + ], + "layout": { + "symbol-placement": "line", + "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" + ] + }, + "paint": { + "text-color": "#287B00" + } + }, + { + "id": "toponyme - parcellaire - parcelle", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_parcellaire_parcelle", + "filter": [ + "==", + "txt_typo", + "PARCELLE" + ], + "layout": { + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#9933FF", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - parcellaire - adresse", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_parcellaire_adresse_ponc", + "filter": [ + "==", + "txt_typo", + "ADRESSE" + ], + "layout": { + "symbol-placement": "point", + "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" + ] + }, + "paint": { + "text-color": "#695744", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "limite admin - limite de commune", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_COMMUNE", + "LIM_CANTON", + "LIM_ARRONDISSEMENT" + ], + "paint": { + "line-color": "rgba(126, 119, 184, 0.5)", + "line-width": { + "stops": [ + [ + 13, + 3 + ], + [ + 17, + 5.5 + ] + ] + }, + "line-dasharray": [ + 4, + 2, + 1, + 1, + 1, + 1, + 1, + 2 + ] + } + }, + { + "id": "limite admin - limite de département bandeau", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 8, + "maxzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LIM_DEPARTEMENT" + ], + "paint": { + "line-color": "rgba(178, 175, 219, 0.4)", + "line-width": { + "stops": [ + [ + 9, + 4.1 + ], + [ + 12, + 6 + ] + ] + } + } + }, + { + "id": "limite admin - limite de département tiret", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LIM_DEPARTEMENT" + ], + "paint": { + "line-color": "rgba(126, 119, 184, 0.5)", + "line-width": { + "stops": [ + [ + 13, + 3 + ], + [ + 17, + 5.5 + ] + ] + }, + "line-dasharray": [ + 4, + 2, + 1, + 1, + 1, + 2 + ] + } + }, + { + "id": "limite admin - limite de région bandeau", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 7, + "maxzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LIM_REGION" + ], + "paint": { + "line-color": "rgba(178, 175, 219, 0.5)", + "line-width": { + "stops": [ + [ + 9, + 4.5 + ], + [ + 12, + 6.7 + ] + ] + } + } + }, + { + "id": "limite admin - limite de région tiret", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LIM_REGION" + ], + "paint": { + "line-color": "rgba(126, 119, 184, 0.5)", + "line-width": { + "stops": [ + [ + 13, + 3 + ], + [ + 17, + 5.5 + ] + ] + }, + "line-dasharray": [ + 4, + 2, + 1, + 2 + ] + } + }, + { + "id": "limite etat 1", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 2, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_ETAT", + "LIM_ETAT_ETRANGER" + ], + "paint": { + "line-color": "rgba(178, 175, 219, 0.6)", + "line-width": { + "stops": [ + [ + 2, + 2 + ], + [ + 3, + 3.5 + ], + [ + 9, + 5 + ], + [ + 14, + 13 + ], + [ + 15, + 20 + ], + [ + 16, + 24 + ], + [ + 17, + 42 + ] + ] + } + } + }, + { + "id": "limite etat 2", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 7, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_ETAT", + "LIM_ETAT_ETRANGER" + ], + "paint": { + "line-color": "#9F9CB8", + "line-width": { + "stops": [ + [ + 9, + 1.5 + ], + [ + 14, + 3.5 + ], + [ + 15, + 5.5 + ], + [ + 16, + 6.5 + ], + [ + 17, + 11 + ] + ] + }, + "line-dasharray": [ + 4, + 2 + ] + } + }, + { + "id": "limite cote", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 7, + "maxzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_COTE" + ], + "paint": { + "line-color": "#82A3B2", + "line-width": 1 + } + }, + { + "id": "ligne electrique", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LIGNE_ELECTRIQUE" + ], + "paint": { + "line-color": "#808080", + "line-width": { + "stops": [ + [ + 13, + 1 + ], + [ + 17, + 2 + ] + ] + } + } + }, + { + "id": "autre construction linéaire", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CABLE", + "REMONTEE_MEC", + "HYDROCARBURES", + "CONDUITE_MATIERES_P", + "SPORT_MONTAGNE_LIN", + "PISTE_BOBSLEIGH", + "PISTE_LUGE", + "PISTE_AERO_LIN" + ], + "paint": { + "line-color": "#808080", + "line-width": 1 + } + }, + { + "id": "autre construction linéaire - trait perpend cable", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "CABLE" + ], + "paint": { + "line-color": "#808080", + "line-width": 5, + "line-dasharray": [ + 0.5, + 10 + ] + } + }, + { + "id": "autre construction linéaire - trait perpend 1 remont", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REMONTEE_MEC" + ], + "paint": { + "line-color": "#808080", + "line-width": 6, + "line-dasharray": [ + 1, + 10 + ] + } + }, + { + "id": "autre construction linéaire - trait perpend 2 remont", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REMONTEE_MEC" + ], + "paint": { + "line-color": "#BEBEBE", + "line-width": 6, + "line-dasharray": [ + 0.3, + 0.4, + 0.3, + 10 + ] + } + }, + { + "id": "autre construction linéaire - trait perpend carbur", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "HYDROCARBURES", + "CONDUITE_MATIERES_P" + ], + "paint": { + "line-color": "#808080", + "line-width": 5, + "line-dasharray": [ + 1, + 10 + ] + } + }, + { + "id": "routier ponctuel - peage ponctuel", + "type": "circle", + "source": "plan_ign", + "source-layer": "routier_ponc", + "minzoom": 8, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "PEAGE_PONC" + ], + "paint": { + "circle-radius": { + "stops": [ + [ + 9, + 3.5 + ], + [ + 12, + 6.5 + ] + ] + }, + "circle-color": "#E2A52A", + "circle-stroke-width": 1, + "circle-stroke-color": "#808080" + } + }, + { + "id": "routier ponctuel - barriere", + "type": "symbol", + "source": "plan_ign", + "source-layer": "routier_ponc", + "minzoom": 12, + "layout": { + "visibility": "visible", + "icon-image": "Barriere", + "icon-size": { + "stops": [ + [ + 13, + 0.25 + ], + [ + 16, + 0.45 + ], + [ + 17, + 0.7 + ] + ] + }, + "icon-allow-overlap": true, + "icon-rotate": [ + "get", + "rotation" + ] + }, + "filter": [ + "==", + "symbo", + "BARRIERE" + ], + "paint": { + "icon-color": "#969696" + } + }, + { + "id": "hydro ponctuel", + "type": "circle", + "source": "plan_ign", + "source-layer": "hydro_ponc", + "minzoom": 13, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "FONTAINE", + "POINT_D_EAU", + "SOURCE", + "SOURCE_CAPTEE", + "PERTE", + "RESURGENCE", + "CASCADE", + "AUTRE_HYDRO_PONC" + ], + "paint": { + "circle-radius": { + "stops": [ + [ + 14, + 3 + ], + [ + 17, + 7 + ] + ] + }, + "circle-color": "#FFFFFF", + "circle-opacity": 1, + "circle-stroke-width": { + "stops": [ + [ + 14, + 2 + ], + [ + 17, + 5 + ] + ] + }, + "circle-stroke-color": "#1466B2" + } + }, + { + "id": "point coté", + "type": "symbol", + "source": "plan_ign", + "source-layer": "oro_ponc", + "minzoom": 11, + "maxzoom": 16, + "filter": [ + "in", + "symbo", + "POINT_COTE", + "POINT_COTE_TOPO", + "POINT_COTE_RESEAU", + "POINT_RBF" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.1, + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.2, + 0.4 + ], + "text-padding": 2, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#505050" + } + }, + { + "id": "bati ponctuel : Hopital", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Hopital", + "icon-size": 0.33 + }, + "filter": [ + "==", + "symbo", + "HOPITAL_PONC" + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel hydrographique", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 14, + "layout": { + "visibility": "visible", + "icon-image": "Pompage", + "icon-size": { + "stops": [ + [ + 13, + 0.2 + ], + [ + 17, + 0.6 + ] + ] + }, + "icon-allow-overlap": true + }, + "filter": [ + "in", + "symbo", + "CITERNE", + "LAVOIR", + "STATION_EPURATION", + "STATION_DE_POMPAGE", + "USINE_PRODUCTION_EAU", + "USINE_ELEVATRICE" + ], + "paint": { + "icon-color": "#1C62A6" + } + }, + { + "id": "bati ponctuel hydrographique - Puits-Abreuvoir", + "type": "circle", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 13, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "PUITS", + "ABREUVOIR" + ], + "paint": { + "circle-radius": { + "stops": [ + [ + 14, + 3 + ], + [ + 17, + 7 + ] + ] + }, + "circle-color": "#FFFFFF", + "circle-opacity": 1, + "circle-stroke-width": { + "stops": [ + [ + 14, + 2 + ], + [ + 17, + 5 + ] + ] + }, + "circle-stroke-color": "#1466B2" + } + }, + { + "id": "bati ponctuel hydrographique - Phare", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 13, + "layout": { + "visibility": "visible", + "icon-image": "Phare", + "icon-size": { + "stops": [ + [ + 13, + 0.7 + ], + [ + 17, + 1.3 + ] + ] + } + }, + "filter": [ + "==", + "symbo", + "PHARE" + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel hydrographique - Amer-Feu", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 13, + "layout": { + "visibility": "visible", + "icon-image": "Feu", + "icon-size": { + "stops": [ + [ + 13, + 0.7 + ], + [ + 17, + 1.3 + ] + ] + } + }, + "filter": [ + "in", + "symbo", + "AMER", + "FEU", + "FEU_PONC", + "TOURELLE_LUMINEUSE" + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel hydrographique - Balise", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 13, + "layout": { + "visibility": "visible", + "icon-image": "Balise", + "icon-size": { + "stops": [ + [ + 13, + 0.7 + ], + [ + 17, + 1.3 + ] + ] + } + }, + "filter": [ + "in", + "symbo", + "BALISE", + "TOURELLE" + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel hydrographique - Ecluse", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 12, + "maxzoom": 15, + "layout": { + "visibility": "visible", + "icon-image": "Ecluse", + "icon-size": 0.2 + }, + "filter": [ + "==", + "symbo", + "ECLUSE_PONC" + ], + "paint": { + "icon-color": "#1C62A6" + } + }, + { + "id": "bati ponctuel hydrographique - Barrage", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 12, + "maxzoom": 14, + "layout": { + "visibility": "visible", + "icon-image": "Barrage", + "icon-size": 0.25 + }, + "filter": [ + "==", + "symbo", + "BARRAGE_PONC" + ], + "paint": { + "icon-color": "#1C62A6" + } + }, + { + "id": "bati ponctuel hydrographique - Chateau d'eau", + "type": "circle", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "CHATEAU_EAU_PONC" + ], + "paint": { + "circle-radius": { + "stops": [ + [ + 14, + 3 + ], + [ + 17, + 8 + ] + ] + }, + "circle-color": "#1466B2" + } + }, + { + "id": "bati ponctuel hydrographique - Réservoir d'eau", + "type": "circle", + "source": "plan_ign", + "source-layer": "bati_ponc", + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "RESERVOIR_EAU_PONC" + ], + "paint": { + "circle-radius": { + "stops": [ + [ + 14, + 3 + ], + [ + 17, + 8 + ] + ] + }, + "circle-color": "#AAD5E9", + "circle-opacity": 1, + "circle-stroke-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 17, + 2.5 + ] + ] + }, + "circle-stroke-color": "#1466B2" + } + }, + { + "id": "bati ponctuel infrastructure - Constr spé", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "ConstrSpeciale", + "icon-size": { + "stops": [ + [ + 13, + 0.22 + ], + [ + 17, + 0.5 + ] + ] + } + }, + "filter": [ + "in", + "symbo", + "ANTENNE", + "TRANSFORMATEUR", + "CONSTR_INDIF_PONC", + "CHEMINEE", + "CHEVALEMENT", + "PUITS_GAZ", + "PUITS_PETROLE", + "PYLONE_METEO", + "TORCHERE", + "TOUR_GUET", + "TOUR_HERTZIENNE" + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel infrastructure - Silo", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "maxzoom": 15, + "layout": { + "visibility": "visible", + "icon-image": "Silo", + "icon-size": { + "stops": [ + [ + 13, + 0.22 + ], + [ + 17, + 0.5 + ] + ] + } + }, + "filter": [ + "==", + "symbo", + "SILO_PONC" + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel infrastructure - Eolienne", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Eolienne", + "icon-size": { + "stops": [ + [ + 13, + 0.4 + ], + [ + 17, + 1 + ], + [ + 18, + 0.8 + ] + ] + } + }, + "filter": [ + "==", + "symbo", + "EOLIENNE" + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel infrastructure - Reservoir", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "maxzoom": 15, + "layout": { + "visibility": "visible", + "icon-image": "Reservoir", + "icon-size": { + "stops": [ + [ + 13, + 0.26 + ], + [ + 17, + 0.5 + ] + ] + } + }, + "filter": [ + "==", + "symbo", + "RESERVOIR_PONC" + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel infrastructure - pylone électrique", + "type": "circle", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "PYLONE_ELEC" + ], + "paint": { + "circle-radius": { + "stops": [ + [ + 13, + 1 + ], + [ + 17, + 2 + ] + ] + }, + "circle-color": "#000000" + } + }, + { + "id": "bati ponctuel montagne - Abri", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Abri", + "icon-size": { + "stops": [ + [ + 13, + 0.4 + ], + [ + 15, + 0.6 + ], + [ + 17, + 0.9 + ] + ] + } + }, + "filter": [ + "==", + "symbo", + "ABRI" + ], + "paint": { + "icon-color": "#246138" + } + }, + { + "id": "bati ponctuel montagne - Refuge Garde", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Refugegard", + "icon-size": { + "stops": [ + [ + 13, + 0.4 + ], + [ + 15, + 0.6 + ], + [ + 17, + 0.9 + ] + ] + } + }, + "filter": [ + "==", + "symbo", + "REFUGE_GARDE" + ], + "paint": { + "icon-color": "#246138" + } + }, + { + "id": "bati ponctuel montagne - Refuge Non Garde", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Refugenongard", + "icon-size": { + "stops": [ + [ + 13, + 0.4 + ], + [ + 15, + 0.6 + ], + [ + 17, + 0.9 + ] + ] + } + }, + "filter": [ + "==", + "symbo", + "REFUGE" + ], + "paint": { + "icon-color": "#246138" + } + }, + { + "id": "bati ponctuel transport aerien - Aeroport FXX", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Aeroport", + "icon-size": 0.5 + }, + "filter": [ + "all", + [ + "==", + "symbo", + "AEROPORT_PONC" + ], + [ + "==", + "territoire", + "FXX" + ] + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel transport aerien - Aerodrome FXX", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Aerodrome", + "icon-size": 0.4 + }, + "filter": [ + "all", + [ + "in", + "symbo", + "AERODROME_PONC", + "AERODROME_IMPORT_PONC" + ], + [ + "==", + "territoire", + "FXX" + ] + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel transport aerien - Aeroport DOM", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 8, + "layout": { + "visibility": "visible", + "icon-image": "Aeroport", + "icon-size": 0.5 + }, + "filter": [ + "all", + [ + "==", + "symbo", + "AEROPORT_PONC" + ], + [ + "!=", + "territoire", + "FXX" + ] + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel transport aerien - Aerodrome DOM", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 8, + "layout": { + "visibility": "visible", + "icon-image": "Aerodrome", + "icon-size": 0.4 + }, + "filter": [ + "all", + [ + "==", + "symbo", + "AERODROME_PONC" + ], + [ + "!=", + "territoire", + "FXX" + ] + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel transport ferroviaire", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Gare", + "icon-size": 0.33 + }, + "filter": [ + "==", + "symbo", + "GARE_VOYAGEURS" + ], + "paint": { + "icon-color": "#787878" + } + }, + { + "id": "toponyme - bornes postales haute - chemins", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "CHEMIN", + "CHEMIN_SOU", + "CHEMIN_SUP", + "PISTE_CYCLABLE", + "PISTE_CYCLABLE_SOU", + "PISTE_CYCLABLE_SUP", + "VOIE_VERTE", + "VOIE_VERTE_SOU", + "VOIE_VERTE_SUP", + "RUE_PIETONNE", + "RUE_PIETONNE_SOU", + "RUE_PIETONNE_SUP", + "SENTIER", + "SENTIER_SOU", + "SENTIER_SUP", + "ESCALIER", + "ESCALIER_SUP" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales haute - non revetue, non classee", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "NON_CLASSEE", + "NON_CLASSEE_4", + "NON_CLASSEE_4_SUP", + "NON_CLASSEE_RESTREINT", + "NON_CLASSEE_RESTREINT_SUP", + "NON_CLASSEE_SOU", + "NON_CLASSEE_SUP", + "NON_REVETUE_CARRO", + "NON_REVETUE_CARRO_SUP" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1.3 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales haute - locales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "LOCALE_1", + "LOCALE_1_SOU", + "LOCALE_1_SUP", + "LOCALE_2", + "LOCALE_2_SOU", + "LOCALE_2_SUP", + "LOCALE_3", + "LOCALE_3_SOU", + "LOCALE_3_SUP", + "LOCALE_4", + "LOCALE_4_SOU", + "LOCALE_4_SUP", + "LOCALE_CONSTR", + "LOCALE_CONSTR_SUP" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1.4 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales haute - regionales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "REGIONALE_1", + "REGIONALE_1_SOU", + "REGIONALE_1_SUP", + "REGIONALE_2", + "REGIONALE_2_SOU", + "REGIONALE_2_SUP", + "REGIONALE_3", + "REGIONALE_3_SOU", + "REGIONALE_3_SUP", + "REGIONALE_4", + "REGIONALE_4_SUP", + "REGIONALE_CONSTR" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1.5 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales haute - principales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "PRINCIPALE_1", + "PRINCIPALE_1_SOU", + "PRINCIPALE_1_SUP", + "PRINCIPALE_2", + "PRINCIPALE_2_SOU", + "PRINCIPALE_2_SUP", + "PRINCIPALE_3", + "PRINCIPALE_3_SOU", + "PRINCIPALE_3_SUP", + "PRINCIPALE_4", + "PRINCIPALE_4_SOU", + "PRINCIPALE_4_SUP", + "PRINCIPALE_CONSTR" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1.6 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - chemins", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "CHEMIN", + "CHEMIN_SOU", + "CHEMIN_SUP", + "PISTE_CYCLABLE", + "PISTE_CYCLABLE_SOU", + "PISTE_CYCLABLE_SUP", + "VOIE_VERTE", + "VOIE_VERTE_SOU", + "VOIE_VERTE_SUP", + "RUE_PIETONNE", + "RUE_PIETONNE_SOU", + "RUE_PIETONNE_SUP", + "SENTIER", + "SENTIER_SOU", + "SENTIER_SUP", + "ESCALIER", + "ESCALIER_SUP" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - non revetue, non classee", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "NON_CLASSEE", + "NON_CLASSEE_4", + "NON_CLASSEE_4_SUP", + "NON_CLASSEE_RESTREINT", + "NON_CLASSEE_RESTREINT_SUP", + "NON_CLASSEE_SOU", + "NON_CLASSEE_SUP", + "NON_REVETUE_CARRO", + "NON_REVETUE_CARRO_SUP" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1.3 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - locales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "LOCALE_1", + "LOCALE_1_SOU", + "LOCALE_1_SUP", + "LOCALE_2", + "LOCALE_2_SOU", + "LOCALE_2_SUP", + "LOCALE_3", + "LOCALE_3_SOU", + "LOCALE_3_SUP", + "LOCALE_4", + "LOCALE_4_SOU", + "LOCALE_4_SUP", + "LOCALE_CONSTR", + "LOCALE_CONSTR_SUP" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1.4 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - regionales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "REGIONALE_1", + "REGIONALE_1_SOU", + "REGIONALE_1_SUP", + "REGIONALE_2", + "REGIONALE_2_SOU", + "REGIONALE_2_SUP", + "REGIONALE_3", + "REGIONALE_3_SOU", + "REGIONALE_3_SUP", + "REGIONALE_4", + "REGIONALE_4_SUP", + "REGIONALE_CONSTR" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1.5 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - principales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "PRINCIPALE_1", + "PRINCIPALE_1_SOU", + "PRINCIPALE_1_SUP", + "PRINCIPALE_2", + "PRINCIPALE_2_SOU", + "PRINCIPALE_2_SUP", + "PRINCIPALE_3", + "PRINCIPALE_3_SOU", + "PRINCIPALE_3_SUP", + "PRINCIPALE_4", + "PRINCIPALE_4_SOU", + "PRINCIPALE_4_SUP", + "PRINCIPALE_CONSTR" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1.6 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - courbe rocher maitresse", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": [ + "==", + "txt_typo", + "ORO_COURBE_ROCHER" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 30, + "text-rotate": { + "type": "identity", + "property": "rotation" + }, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#333333", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - courbe glacier maitresse", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": [ + "==", + "txt_typo", + "ORO_COURBE_GLACIER" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 30, + "text-rotate": { + "type": "identity", + "property": "rotation" + }, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#629FD9", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - courbe maitresse", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": [ + "==", + "txt_typo", + "ORO_COURBE" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 30, + "text-rotate": { + "type": "identity", + "property": "rotation" + }, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#604A2F", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - liaison maritime", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_liaison_lin", + "minzoom": 8, + "maxzoom": 18, + "filter": [ + "in", + "txt_typo", + "LIAISON_MARITIME", + "LIAISON_MAR" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#5792C2", + "text-halo-width": 5, + "text-halo-color": "#AAD5E9" + } + }, + { + "id": "toponyme bati station de métro + bati ponctuel metro", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "filter": [ + "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-padding": 3, + "text-anchor": "bottom-left", + "text-font": [ + "Source Sans Pro" + ], + "icon-image": "Metro", + "icon-size": { + "stops": [ + [ + 15, + 0.33 + ], + [ + 17, + 0.6 + ] + ] + } + }, + "paint": { + "text-color": "#3C3C3C", + "icon-color": "#646464" + } + }, + { + "id": "toponyme ferre lineaire", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ferre_lin", + "minzoom": 12, + "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" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-width": 1, + "text-halo-color": "rgba(255, 255, 255, 1)" + } + }, + { + "id": "toponyme religieux zoom 15 16", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "maxzoom": 16, + "filter": [ + "==", + "txt_typo", + "religieux" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme religieux zoom 17 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 16, + "filter": [ + "==", + "txt_typo", + "religieux" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme parc d'attractions zoom 14", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 13, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "txt_typo", + "divers_bati" + ], + [ + "==", + "symbo", + "PARC_ATTRACTIONS" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme parc d'attractions zoom 15 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "filter": [ + "all", + [ + "==", + "txt_typo", + "divers_bati" + ], + [ + "==", + "symbo", + "PARC_ATTRACTIONS" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme bati divers zoom 15", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "maxzoom": 15, + "filter": [ + "all", + [ + "==", + "txt_typo", + "divers_bati" + ], + [ + "in", + "symbo", + "CENTRALE_ELECTRIQUE", + "HIPPODROME", + "STADE" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme bati divers zoom 16 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 15, + "filter": [ + "all", + [ + "==", + "txt_typo", + "divers_bati" + ], + [ + "in", + "symbo", + "CENTRALE_ELECTRIQUE", + "HIPPODROME", + "STADE" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme chateau zoom 16", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 15, + "maxzoom": 16, + "filter": [ + "all", + [ + "==", + "txt_typo", + "divers_bati" + ], + [ + "in", + "symbo", + "CHATEAU", + "CHATEAU_FORT" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme chateau zoom 17 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 16, + "filter": [ + "all", + [ + "==", + "txt_typo", + "divers_bati" + ], + [ + "in", + "symbo", + "CHATEAU", + "CHATEAU_FORT" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme station epuration, de pompage, usine de production eau", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "filter": [ + "==", + "txt_typo", + "station" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-anchor": "left", + "text-offset": [ + 0.8, + 0 + ], + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#447FB3" + } + }, + { + "id": "toponyme bati ponc gare", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 15, + "filter": [ + "==", + "txt_typo", + "gore" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme bati ponc barrage", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 12, + "filter": [ + "==", + "txt_typo", + "BARRAGE_PONC" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "left", + "text-offset": [ + 0.8, + 0 + ], + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#447FB3" + } + }, + { + "id": "toponyme bati ponc phare - niveau 13", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "maxzoom": 13, + "filter": [ + "==", + "txt_typo", + "PHARE" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "right", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#532A2A" + } + }, + { + "id": "toponyme bati ponc phare - niveau 14à19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 13, + "filter": [ + "all", + [ + "==", + "symbo", + "PHARE" + ], + [ + "in", + "txt_typo", + "TYPO_C_6", + "TYPO_C_7", + "TYPO_C_8", + "TYPO_E_GE" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "right", + "text-size": { + "stops": [ + [ + 13, + 12 + ], + [ + 18, + 18 + ] + ] + }, + "text-allow-overlap": false, + "text-offset": [ + -2.00, + 0 + ], + "text-padding": 3, + "text-anchor": "right", + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#532A2A" + } + }, + { + "id": "toponyme bati ponc autre", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 12, + "filter": [ + "in", + "txt_typo", + "BAT_ACTIVITE", + "BAT_FORTIF", + "BAT_VILLAGE_DETRUIT" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "center", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#532A2A" + } + }, + { + "id": "toponyme bati ponc aerogare", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "maxzoom": 17, + "filter": [ + "all", + [ + "==", + "txt_typo", + "TYPO_E_GE" + ], + [ + "==", + "symbo", + "AEROGARE" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "center", + "text-size": { + "stops": [ + [ + 12, + 9 + ], + [ + 16, + 11 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme bati ponc aeroport 12", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 11, + "maxzoom": 12, + "filter": [ + "==", + "txt_typo", + "AEROPORT_PONC" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "bottom", + "text-offset": [ + 0, + -1.3 + ], + "text-size": 10.5, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aeroport 13", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 12, + "maxzoom": 13, + "filter": [ + "==", + "txt_typo", + "AEROPORT_PONC" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "bottom", + "text-offset": [ + 0, + -2 + ], + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aeroport", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 13, + "maxzoom": 17, + "filter": [ + "all", + [ + "==", + "txt_typo", + "TYPO_A_5" + ], + [ + "==", + "symbo", + "AEROPORT" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "center", + "text-size": { + "stops": [ + [ + 12, + 11 + ], + [ + 16, + 13 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aerodrome 12", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 11, + "maxzoom": 12, + "filter": [ + "==", + "txt_typo", + "AERODROME_PONC" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "bottom", + "text-offset": [ + 0, + -1.3 + ], + "text-size": 9.5, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aerodrome 13", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 12, + "maxzoom": 13, + "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-size": 10, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aerodrome", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 13, + "maxzoom": 17, + "filter": [ + "all", + [ + "==", + "txt_typo", + "TYPO_A_7" + ], + [ + "==", + "symbo", + "AERODROME" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "center", + "text-size": { + "stops": [ + [ + 12, + 10 + ], + [ + 16, + 12 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - hydro ponc 5", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "filter": [ + "in", + "txt_typo", + "TYPO_D_9", + "TYPO_D_10", + "TYPO_E_1_cyan" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 11 + ], + [ + 17, + 14 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 5, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - hydro ponc glacier", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "filter": [ + "==", + "txt_typo", + "ORO_GLACIER_2" + ], + "layout": { + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 14, + "text-anchor": "center", + "text-allow-overlap": true, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - limite militaire ponc 3 et 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "filter": [ + "in", + "txt_typo", + "LIM_MILI_3", + "LIM_MILI_4" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": false, + "text-padding": 2, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#0D2000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - limite parc ponc 3 et 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "filter": [ + "in", + "txt_typo", + "LIM_PARC_3", + "LIM_PARC_4", + "RESERVE_NATURELLE_PONC" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": false, + "text-padding": 2, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme numéro de route - départementale", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_numero_lin", + "minzoom": 11, + "maxzoom": 16, + "filter": [ + "==", + "txt_typo", + "Départementale" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 10.5, + "text-allow-overlap": false, + "text-padding": 2, + "text-anchor": "center", + "text-font": [ + "Source Sans Pro Semibold" + ], + "text-rotation-alignment": "viewport" + }, + "paint": { + "text-color": "#4D4D4D", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme numéro de route - nationale", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_numero_lin", + "minzoom": 7, + "maxzoom": 16, + "filter": [ + "==", + "txt_typo", + "Nationale" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": false, + "text-padding": 0, + "text-anchor": "center", + "text-font": [ + "Source Sans Pro Regular" + ], + "icon-image": "Ecluse", + "icon-rotation-alignment": "viewport", + "text-rotation-alignment": "viewport", + "icon-text-fit": "both", + "icon-size": 0 + }, + "paint": { + "text-color": "#F0F0F0", + "icon-color": "#646464", + "text-halo-color": "rgba(80, 80, 80, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme numéro de route - autoroute", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_numero_lin", + "minzoom": 7, + "maxzoom": 16, + "filter": [ + "==", + "txt_typo", + "Autoroute" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 0, + "text-anchor": "center", + "text-font": [ + "Source Sans Pro Regular" + ], + "icon-image": "Ecluse", + "icon-rotation-alignment": "viewport", + "text-rotation-alignment": "viewport", + "icon-text-fit": "both", + "icon-size": 0 + }, + "paint": { + "text-color": "#F0F0F0", + "icon-color": "#646464", + "text-halo-color": "rgba(80, 80, 80, 0.5)", + "text-halo-width": 5 + } + }, + { + "id": "toponyme - odonyme abrégé", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_odonyme_lin", + "minzoom": 15, + "maxzoom": 17, + "layout": { + "symbol-placement": "line", + "text-field": "{nom_gauche}", + "text-size": 10, + "text-anchor": "center", + "text-max-angle": 30, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 1)" + } + }, + { + "id": "toponyme - odonyme desabrégé", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_odonyme_lin", + "minzoom": 17, + "layout": { + "symbol-placement": "line", + "text-field": "{nom_desabrege}", + "text-size": 11, + "text-anchor": "center", + "text-max-angle": 30, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 1)" + } + }, + { + "id": "toponyme - lieu dit non habité 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "LIEU-DIT_NON_HABITE" + ], + [ + "in", + "txt_typo", + "TYPO_B_10", + "TYPO_B_11" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - bois", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "BOIS" + ], + [ + "in", + "txt_typo", + "TYPO_F_9", + "TYPO_F_10" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - oro lineaire 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": [ + "in", + "txt_typo", + "ORO_SOMMET_3", + "ORO_GORGE_2" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 11, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-width": 1.5, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - oro ponc 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": [ + "in", + "txt_typo", + "ORO_SOMMET_3", + "ORO_GORGE_2", + "GROTTE", + "GORGE", + "TYPO_G_8", + "TYPO_G_9" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 13, + 11 + ], + [ + 16, + 16 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1.5 + } + }, + { + "id": "toponyme - hydro ponc 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "filter": [ + "in", + "txt_typo", + "HYD_SURF_4", + "HYD_SURF_4_T", + "HYD_SURF_5", + "HYD_SURF_5_T", + "TYPO_D_8", + "SOURCE" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 14, + 13 + ], + [ + 17, + 16 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 5, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 1 + } + }, + { + "id": "toponyme quartier ", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "filter": [ + "in", + "txt_typo", + "BAT_QUARTIER", + "BAT_QUARTIER_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typo_E_GE Quartier", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 17, + "maxzoom": 18, + "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 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typo_E_GE Lieu-dit", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 16, + "maxzoom": 18, + "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 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA10", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "maxzoom": 18, + "filter": [ + "==", + "txt_typo", + "TYPO_A_10" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 11 + ], + [ + 17, + 13.5 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - lieu dit non habité", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "LIEU-DIT_NON_HABITE" + ], + [ + "in", + "txt_typo", + "TYPO_B_7", + "TYPO_B_8", + "TYPO_B_9" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - bois 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "BOIS" + ], + [ + "in", + "txt_typo", + "TYPO_F_6", + "TYPO_F_7", + "TYPO_F_8" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 16, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite hameau ", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 11, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "BAT_HAMEAU", + "BAT_HAMEAU_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.17, + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.30, + 0.10 + ], + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite importance 6et7 - Special DOM", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 7, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "TYPO_A_6", + "TYPO_A_7" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.21, + "text-field": "{texte}", + "text-size": 12.5, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.30, + 0.10 + ], + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite importance 5", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 9, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "TYPO_A_5", + "BAT_COMMUNE_5", + "BAT_COMMUNE_5_T", + "BAT_CHEF_LIEU_COM", + "BAT_CHEF_LIEU_COM_T", + "BAT_CHEF_LIEU_COM-T", + "BAT_ANCIENNE_COM", + "BAT_ANCIENNE_COM_T", + "BAT_COMMUNE_ASSOCIEE", + "BAT_COMMUNE_ASSOCIEE_T", + "Commune très petite" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.21, + "text-field": "{texte}", + "text-size": 11.5, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.30, + 0.10 + ], + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - ocs lineaire 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_lin", + "filter": [ + "==", + "txt_typo", + "OCS_FORET_3" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 10, + 12 + ], + [ + 12, + 15 + ] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-width": 1, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - lieu dit non habité 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "LIEU-DIT_NON_HABITE" + ], + [ + "in", + "txt_typo", + "TYPO_B_5", + "TYPO_B_4" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - bois 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "BOIS" + ], + [ + "in", + "txt_typo", + "TYPO_F_5", + "TYPO_F_4" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 19, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - bois 0", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "BOIS" + ], + [ + "in", + "txt_typo", + "TYPO_F_3", + "TYPO_F_2" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 22, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - ocs ponc 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "==", + "txt_typo", + "OCS_FORET_3" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 10, + 12 + ], + [ + 12, + 15 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-anchor": "center", + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - oro lineaire 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": [ + "in", + "txt_typo", + "ORO_ILE_3", + "ORO_RELIEF_3", + "ORO_RELIEF_3_T", + "ORO_RELIEF_4", + "ORO_RELIEF_4_T", + "ORO_CAP_2", + "ORO_CAP_3", + "ORO_SOMMET_2", + "ORO_COL_2", + "ORO_GORGE_1", + "ORO_GORGE-1" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 12, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-width": 1.5, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - oro ponc 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": [ + "in", + "txt_typo", + "ORO_ILE_3", + "ORO_RELIEF_3", + "ORO_RELIEF_3_T", + "ORO_RELIEF_4", + "ORO_RELIEF_4_T", + "ORO_CAP_2", + "ORO_CAP_3", + "ORO_SOMMET_2", + "ORO_COL_2", + "ORO_GORGE_1", + "ORO_GORGE-1", + "TYPO_G_6", + "TYPO_G_7" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 13, + 12 + ], + [ + 16, + 17 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "#FFFFFF", + "text-halo-width": 1.5 + } + }, + { + "id": "toponyme - hydro lineaire 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": [ + "in", + "txt_typo", + "HYD_LIN_3", + "HYD_LIN_4", + "HYD_LIN_5", + "TYPO_D_LIN_3", + "TYPO_D_LIN_4", + "HYD_SURF_3", + "HYD_SURF_3_T", + "HYD_SURF_4", + "HYD_SURF_4_T", + "HYD_SURF_5", + "HYD_SURF_5_T", + "TYPO_D_5", + "TYPO_D_7" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 14, + 12 + ], + [ + 18, + 19 + ] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 1.5, + "text-halo-color": "rgba(255, 255, 255, 0.7)" + } + }, + { + "id": "toponyme - hydro lineaire 4", + "type": "symbol", + "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" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 14, + 10 + ], + [ + 18, + 16 + ] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 1.5, + "text-halo-color": "rgba(255, 255, 255, 0.7)" + } + }, + { + "id": "toponyme - hydro ponc 3", + "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" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 9, + 13 + ], + [ + 10, + 15 + ], + [ + 15, + 15 + ], + [ + 17, + 18 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc zai zoom 16", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 15, + "maxzoom": 16, + "filter": [ + "==", + "txt_typo", + "zai" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme bati ponc zai zoom 17 et 18", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 16, + "filter": [ + "==", + "txt_typo", + "zai" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme localite importance 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 7, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "TYPO_A_4", + "BAT_COMMUNE_4", + "BAT_COMMUNE_4_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.21, + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.30, + 0.10 + ], + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA9", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "maxzoom": 18, + "filter": [ + "==", + "txt_typo", + "TYPO_A_9" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 11.5 + ], + [ + 17, + 14 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA8 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_8" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 12 + ], + [ + 17, + 15 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - limite militaire ponc 1 et 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "filter": [ + "in", + "txt_typo", + "LIM_MILI_1", + "LIM_MILI_2" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 5, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#0D2000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - limite parc marin", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "minzoom": 8, + "filter": [ + "in", + "txt_typo", + "PARC_MARIN_1", + "PARC_MARIN_2" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 10, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#2A81A2", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - limite parc ponc 1 et 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "minzoom": 8, + "filter": [ + "in", + "txt_typo", + "LIM_PARC_1", + "LIM_PARC_2", + "PARC_1", + "PARC_2" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 10, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - ocs lineaire 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_lin", + "filter": [ + "==", + "txt_typo", + "OCS_FORET_2" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 10, + 15 + ], + [ + 12, + 18 + ] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - ocs ponc 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "==", + "txt_typo", + "OCS_FORET_2" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 10, + 15 + ], + [ + 12, + 18 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-anchor": "center", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro lineaire 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": [ + "in", + "txt_typo", + "ORO_ILE_2", + "ORO_RELIEF_2", + "ORO_RELIEF_2_T", + "ORO_CAP_1", + "ORO_SOMMET_1" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-anchor": "center", + "text-keep-upright": true, + "text-padding": 10, + "text-max-angle": 45, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - oro ponc 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "minzoom": 9, + "filter": [ + "in", + "txt_typo", + "ORO_ILE_2", + "ORO_RELIEF_2", + "ORO_RELIEF_2_T", + "ORO_CAP_1", + "ORO_COL_1", + "TYPO_G_5", + "ORO_SOMMET_1" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 9, + 13 + ], + [ + 10, + 15 + ], + [ + 13, + 15 + ], + [ + 16, + 19 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro ponc 2B", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "minzoom": 8, + "filter": [ + "==", + "txt_typo", + "TYPO_G_4" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 13, + 15 + ], + [ + 16, + 19 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - hydro lineaire 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": [ + "in", + "txt_typo", + "HYD_LIN_2", + "TYPO_D_LIN_2", + "HYD_SURF_2", + "HYD_SURF_2_T", + "TYPO_D_4" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 14, + 15 + ], + [ + 18, + 21 + ] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - hydro ponc 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "minzoom": 5, + "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 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - hydro ponc 2B", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "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 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite importance 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 5, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "commune 3", + "TYPO_A_3", + "BAT_COMMUNE_3", + "BAT_COMMUNE_3_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.21, + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 5, + 10 + ], + [ + 6, + 15 + ] + ] + }, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.30, + 0.10 + ], + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA7 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_7" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 13 + ], + [ + 17, + 16 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA5etA6 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "in", + "txt_typo", + "TYPO_A_5", + "TYPO_A_6" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 15 + ], + [ + 17, + 18 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro lineaire 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": [ + "in", + "txt_typo", + "ORO_ILE_1", + "ORO_RELIEF_1", + "ORO_RELIEF_1_T" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 20, + "text-anchor": "center", + "text-keep-upright": true, + "text-padding": 5, + "text-max-angle": 45, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - oro ponc monde", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "minzoom": 5, + "filter": [ + "in", + "txt_typo", + "Basin", + "Depression", + "Desert", + "Geoarea", + "Gorge", + "Isthmus", + "Lake", + "Lowland", + "Pen/cape", + "Plain", + "Plateau", + "Range/mtn", + "Tundra", + "Valley", + "Island", + "Island group" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA4 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_4" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 17, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme - ocs lineaire 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_lin", + "filter": [ + "==", + "txt_typo", + "OCS_FORET_1" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 10, + 18 + ], + [ + 12, + 22 + ] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-padding": 1, + "text-max-angle": 45, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - ocs ponc 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "==", + "txt_typo", + "OCS_FORET_1" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 10, + 18 + ], + [ + 12, + 22 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro ponc 1", + "type": "symbol", + "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" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 21, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro ponc 1B", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "minzoom": 8, + "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 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - hydro lineaire glacier", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": [ + "in", + "txt_typo", + "ORO_GLACIER_1", + "ORO_GLACIER_2" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - hydro lineaire 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": [ + "in", + "txt_typo", + "HYD_LIN_1", + "HYD-LIN-1", + "TYPO_D_LIN_1", + "HYD_SURF_1", + "HYD_SURF_1_T", + "TYPO_D_1", + "TYPO_D_2", + "TYPO_D_3_T", + "TYPO_D_4_T" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 18, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - hydro lineaire ocean", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": [ + "==", + "txt_typo", + "OCEAN_MER" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 30, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 4, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - hydro ponc 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "minzoom": 4, + "filter": [ + "in", + "txt_typo", + "mer", + "grand", + "HYD_SURF_1", + "TYPO_D_1" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 4, + 16 + ], + [ + 6, + 30 + ], + [ + 10, + 25 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite importance 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 4, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "commune 2", + "TYPO_A_2", + "BAT_COMMUNE_2", + "BAT_COMMUNE-2", + "BAT_COMMUNE_2_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.25, + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 4, + 10 + ], + [ + 6, + 17 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "bottom-left", + "text-offset": [ + 0.30, + 0.2 + ], + "text-padding": 1, + "text-transform": "uppercase", + "text-font": { + "stops": [ + [ + 1, + [ + "Source Sans Pro Regular" + ] + ], + [ + 7, + [ + "Source Sans Pro Bold" + ] + ], + [ + 10, + [ + "Source Sans Pro Regular" + ] + ] + ] + } + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme localite n0 typoA3 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_3" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 19, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme localite n0 typoA2 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_2" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 21, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite n0 typoA8 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_8" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 12 + ], + [ + 17, + 15 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA7 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_7" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 13 + ], + [ + 17, + 16 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA5etA6 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "in", + "txt_typo", + "TYPO_A_5", + "TYPO_A_6" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 15 + ], + [ + 17, + 18 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA1 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_1" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 23, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite n0 typoA4 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_4" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 17, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme localite n0 typoA3 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_3" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 19, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme localite n0 typoA2 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_2" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 21, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite importance 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 3, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "commune 1", + "TYPO_A_1", + "BAT_COMMUNE_1", + "BAT_COMMUNE_1_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.3, + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 3, + 10 + ], + [ + 6, + 20 + ] + ] + }, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.25, + -0.10 + ], + "text-padding": 1, + "text-transform": "uppercase", + "text-font": { + "stops": [ + [ + 1, + [ + "Source Sans Pro Regular" + ] + ], + [ + 7, + [ + "Source Sans Pro Bold" + ] + ], + [ + 10, + [ + "Source Sans Pro Regular" + ] + ] + ] + } + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite n0 typoA1 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_1" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 23, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme - hydro ponc ocean", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "minzoom": 1, + "filter": [ + "==", + "txt_typo", + "ocean" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 1, + 16 + ], + [ + 6, + 30 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme pays 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 4, + "maxzoom": 5, + "filter": [ + "==", + "txt_typo", + "pays 3" + ], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 9, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme pays 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 2, + "maxzoom": 5, + "filter": [ + "==", + "txt_typo", + "pays 2" + ], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 2, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme pays 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 2, + "maxzoom": 5, + "filter": [ + "==", + "txt_typo", + "pays 1" + ], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 2, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme continent", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "maxzoom": 3, + "filter": [ + "==", + "txt_typo", + "continent" + ], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 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 new file mode 100644 index 00000000..7ecb0536 --- /dev/null +++ b/website/src/lib/assets/custom/ign-fr-satellite.json @@ -0,0 +1,10837 @@ +{ + "_info": "This style is an adaptation of the official IGN 'toponymes' style (https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/toponymes.json) below which satellite imagery is added.", + "version": 8, + "name": "PLAN IGN", + "glyphs": "https://data.geopf.fr/annexes/ressources/vectorTiles/fonts/{fontstack}/{range}.pbf", + "sprite": "https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/sprite/PlanIgn", + "sources": { + "plan_ign": { + "type": "vector", + "tiles": [ + "https://data.geopf.fr/tms/1.0.0/PLAN.IGN/{z}/{x}/{y}.pbf" + ] + }, + "satellite": { + "type": "raster", + "tiles": [ + "https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE=normal&TILEMATRIXSET=PM&FORMAT=image/jpeg&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}" + ], + "tileSize": 256, + "maxzoom": 19 + } + }, + "transition": { + "duration": 300, + "delay": 0 + }, + "layers": [ + { + "id": "satellite", + "type": "raster", + "source": "satellite" + }, + { + "id": "Chemin souterrain - piste cyclable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "PISTE_CYCLABLE_SOU", + "VOIE_VERTE_SOU" + ], + "paint": { + "line-color": "#AB81CC", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1.1 + ], + [ + 15, + 1.7 + ], + [ + 16, + 2 + ], + [ + 17, + 3.5 + ] + ] + }, + "line-dasharray": [ + 6, + 2 + ] + } + }, + { + "id": "Chemin souterrain - filet exterieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "ESCALIER_SOU" + ], + "paint": { + "line-color": "#B3989A", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1.75 + ], + [ + 15, + 3 + ], + [ + 16, + 4.2 + ], + [ + 17, + 9.5 + ] + ] + } + } + }, + { + "id": "Chemin souterrain - filet interieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "ESCALIER_SOU" + ], + "paint": { + "line-color": "#FFFFFF", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.9 + ], + [ + 16, + 2.7 + ], + [ + 17, + 5.8 + ] + ] + }, + "line-dasharray": [ + 1, + 0.2 + ] + } + }, + { + "id": "Chemin souterrain - Rue pietonne", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "RUE_PIETONNE_SOU" + ], + "paint": { + "line-color": "#B3989A", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ] + ] + }, + "line-dasharray": [ + 1, + 3 + ] + } + }, + { + "id": "Chemin souterrain - sentier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "SENTIER_SOU" + ], + "paint": { + "line-color": "#B3989A", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ] + ] + }, + "line-dasharray": [ + 4, + 3 + ] + } + }, + { + "id": "Chemin souterrain - chemin", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "CHEMIN_SOU" + ], + "paint": { + "line-color": "#B3989A", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_REVETUE_CARRO_SOU" + ], + "paint": { + "line-color": "#AFAFAF", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier souterrain - filet extérieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_AUTO_PEAGE_3_SOU", + "BRET_AUTO_PEAGE_2_SOU", + "BRET_AUTO_PEAGE_1_SOU", + "BRET_AUTO_LIBRE_3_SOU", + "BRET_AUTO_LIBRE_2_SOU", + "BRET_AUTO_LIBRE_1_SOU" + ], + "paint": { + "line-color": "rgba(222, 70, 14, 0.5)", + "line-width": { + "stops": [ + [ + 12, + 2.5 + ], + [ + 14, + 3.7 + ], + [ + 15, + 6.8 + ], + [ + 16, + 8.4 + ], + [ + 17, + 14 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_CLASSEE_RESTREINT_SOU" + ], + "paint": { + "line-color": "#AFAFAF", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "NON_CLASSEE_4_SOU", + "NON_CLASSEE_SOU" + ], + "paint": { + "line-color": "#AFAFAF", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_LOCALE_SOU", + "LOCALE_4_SOU", + "LOCALE_3_SOU", + "LOCALE_2_SOU", + "LOCALE_1_SOU" + ], + "paint": { + "line-color": "rgba(130, 130, 130, 0.5)", + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 11, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LOCALE_CONSTR_SOU" + ], + "paint": { + "line-color": "#C8C8C8", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_REGIONALE_SOU", + "REGIONALE_4_SOU", + "REGIONALE_3_SOU", + "REGIONALE_2_SOU", + "REGIONALE_1_SOU" + ], + "paint": { + "line-color": "rgba(130, 130, 130, 0.5)", + "line-width": { + "stops": [ + [ + 6, + 1.5 + ], + [ + 9, + 2.3 + ], + [ + 14, + 5 + ], + [ + 15, + 8.1 + ], + [ + 16, + 11.2 + ], + [ + 17, + 22 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REGIONALE_CONSTR_SOU" + ], + "paint": { + "line-color": "#C8C8C8", + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 7, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_PRINCIPALE_SOU", + "PRINCIPALE_4_SOU", + "PRINCIPALE_3_SOU", + "PRINCIPALE_2_SOU", + "PRINCIPALE_1_SOU" + ], + "paint": { + "line-color": "rgba(222, 70, 14, 0.5)", + "line-width": { + "stops": [ + [ + 6, + 1.8 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.9 + ], + [ + 15, + 9 + ], + [ + 16, + 12.2 + ], + [ + 17, + 22.5 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PRINCIPALE_CONSTR_SOU" + ], + "paint": { + "line-color": "#C8C8C8", + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 7, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE_SOU", + "AUTOROU_LIBRE_SOU" + ], + "paint": { + "line-color": "rgba(222, 70, 14, 0.5)", + "line-width": { + "stops": [ + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR_SOU" + ], + "paint": { + "line-color": "#C8C8C8", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_REVETUE_CARRO_SOU" + ], + "paint": { + "line-color": "#DCDCDC", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_AUTO_PEAGE_3_SOU", + "BRET_AUTO_PEAGE_2_SOU", + "BRET_AUTO_PEAGE_1_SOU", + "BRET_AUTO_LIBRE_3_SOU", + "BRET_AUTO_LIBRE_2_SOU", + "BRET_AUTO_LIBRE_1_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [ + [ + 12, + 1.5 + ], + [ + 14, + 2.6 + ], + [ + 15, + 5.2 + ], + [ + 16, + 6.7 + ], + [ + 17, + 10.8 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_CLASSEE_RESTREINT_SOU" + ], + "paint": { + "line-color": "#F2F5FF", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "NON_CLASSEE_4_SOU", + "NON_CLASSEE_SOU" + ], + "paint": { + "line-color": "#DCDCDC", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_LOCALE_SOU", + "LOCALE_4_SOU", + "LOCALE_3_SOU", + "LOCALE_2_SOU", + "LOCALE_1_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [ + [ + 9, + 1.3 + ], + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.1 + ], + [ + 17, + 13.1 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 11, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LOCALE_CONSTR_SOU" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#FFFFFF" + ], + [ + 13, + "#FCF4A8" + ], + [ + 17, + "#FCF7C1" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier souterrain - filet interieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_REGIONALE_SOU", + "REGIONALE_4_SOU", + "REGIONALE_3_SOU", + "REGIONALE_2_SOU", + "REGIONALE_1_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [ + [ + 6, + 1.4 + ], + [ + 9, + 1.5 + ], + [ + 14, + 3.2 + ], + [ + 15, + 5.8 + ], + [ + 16, + 8.3 + ], + [ + 17, + 16.2 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REGIONALE_CONSTR_SOU" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#FFFFFF" + ], + [ + 10, + "#FDF28B" + ], + [ + 17, + "#FCF6BD" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier souterrain - filet interieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_PRINCIPALE_SOU", + "PRINCIPALE_4_SOU", + "PRINCIPALE_3_SOU", + "PRINCIPALE_2_SOU", + "PRINCIPALE_1_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [ + [ + 4, + 0.5 + ], + [ + 6, + 1.8 + ], + [ + 9, + 2.1 + ], + [ + 14, + 4.4 + ], + [ + 15, + 7.3 + ], + [ + 16, + 10 + ], + [ + 17, + 18.5 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PRINCIPALE_CONSTR_SOU" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F3C66D" + ], + [ + 17, + "#F2DDB3" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier souterrain - filet interieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE_SOU", + "AUTOROU_LIBRE_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [ + [ + 4, + 0.7 + ], + [ + 6, + 2.5 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.8 + ], + [ + 15, + 9 + ], + [ + 16, + 12 + ], + [ + 17, + 20.8 + ] + ] + } + } + }, + { + "id": "Routier souterrain - axe central - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE_SOU", + "AUTOROU_LIBRE_SOU" + ], + "paint": { + "line-color": "#FFFFFF", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 0.6 + ], + [ + 14, + 0.7 + ], + [ + 15, + 1 + ], + [ + 16, + 1.2 + ], + [ + 17, + 2.1 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR_SOU" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F2BA59" + ], + [ + 17, + "#F2C261" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier souterrain - axe central - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR_SOU" + ], + "paint": { + "line-color": "#808080", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 0.6 + ], + [ + 14, + 0.7 + ], + [ + 15, + 1 + ], + [ + 16, + 1.2 + ], + [ + 17, + 2.1 + ] + ] + } + } + }, + { + "id": "bati ZAI - Autres", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zai", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "nature", + "Lycée", + "Université", + "Capitainerie", + "Gendarmerie", + "Siège d'EPCI", + "Musée", + "Collège", + "Maison de retraite", + "Etablissement thermal", + "Autre service déconcentré de l'Etat", + "Etablissement pénitentiaire", + "Divers public ou administratif", + "Autre établissement d'enseignement", + "Maison du parc", + "Palais de justice", + "Enseignement primaire", + "Office de tourisme", + "Hôpital", + "Police", + "Piscine", + "Enseignement supérieur", + "Poste", + "Caserne", + "Etablissement hospitalier", + "Etablissement extraterritorial", + "Science", + "Structure d'accueil pour personnes handicapées", + "Administration centrale de l'Etat", + "Caserne de pompiers" + ], + "paint": { + "fill-color": "#E3BFE2", + "fill-opacity": 0.4, + "fill-outline-color": "#E39FE1" + } + }, + { + "id": "bati ZAI - Commandement", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zai", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "nature", + "Hôtel de département", + "Hôtel de région", + "Hôtel de collectivité", + "Préfecture de région", + "Préfecture", + "Sous-préfecture" + ], + "paint": { + "fill-color": "#FF0000", + "fill-opacity": 0.2, + "fill-outline-color": "#B40000" + } + }, + { + "id": "Chemin a niveau - piste cyclable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "PISTE_CYCLABLE", + "VOIE_VERTE" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#9B5CCC" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1.1 + ], + [ + 15, + 1.7 + ], + [ + 16, + 2 + ], + [ + 17, + 3.5 + ], + [ + 18, + 6 + ] + ] + }, + "line-dasharray": [ + 6, + 2 + ] + } + }, + { + "id": "Chemin a niveau - filet exterieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "ESCALIER" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#8C7274" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1.75 + ], + [ + 15, + 3 + ], + [ + 16, + 4.2 + ], + [ + 17, + 9.5 + ] + ] + } + } + }, + { + "id": "Chemin a niveau - filet interieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "ESCALIER" + ], + "paint": { + "line-color": "#FFFFFF", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.9 + ], + [ + 16, + 2.7 + ], + [ + 17, + 5.8 + ] + ] + }, + "line-dasharray": [ + 1, + 0.2 + ] + } + }, + { + "id": "Chemin a niveau - Rue pietonne", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "RUE_PIETONNE" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#8C7274" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ], + [ + 18, + 5 + ] + ] + }, + "line-dasharray": [ + 1, + 3 + ] + } + }, + { + "id": "Chemin a niveau - sentier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "SENTIER" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#8C7274" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ], + [ + 18, + 6 + ] + ] + }, + "line-dasharray": [ + 4, + 3 + ] + } + }, + { + "id": "Chemin a niveau - chemin", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "CHEMIN" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#8C7274" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ], + [ + 18, + 7 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_REVETUE_CARRO" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#646464" + ], + [ + 17, + "#8C8C8C" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier a niveau - filet interieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_REVETUE_CARRO" + ], + "paint": { + "line-color": "#FFFFFF", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_AUTO_PEAGE_3", + "BRET_AUTO_PEAGE_2", + "BRET_AUTO_PEAGE_1", + "BRET_AUTO_LIBRE_3", + "BRET_AUTO_LIBRE_2", + "BRET_AUTO_LIBRE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#DE460E" + ], + [ + 17, + "#F18800" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 12, + 2.5 + ], + [ + 14, + 3.7 + ], + [ + 15, + 6.8 + ], + [ + 16, + 8.4 + ], + [ + 17, + 14 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_CLASSEE_RESTREINT" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#969696" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "NON_CLASSEE_4", + "NON_CLASSEE" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#969696" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 7, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_LOCALE", + "LOCALE_4", + "LOCALE_3", + "LOCALE_2", + "LOCALE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#8C8C8C" + ], + [ + 13, + "#B4B4B4" + ], + [ + 17, + "#B4B4B4" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 11, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LOCALE_CONSTR" + ], + "paint": { + "line-color": "#C8C8C8", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_REGIONALE", + "REGIONALE_4", + "REGIONALE_3", + "REGIONALE_2", + "REGIONALE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#828282" + ], + [ + 10, + "#B4B4B4" + ], + [ + 17, + "#B4B4B4" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REGIONALE_CONSTR" + ], + "paint": { + "line-color": "#C8C8C8", + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_PRINCIPALE", + "PRINCIPALE_4", + "PRINCIPALE_3", + "PRINCIPALE_2", + "PRINCIPALE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#E2A52A" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PRINCIPALE_CONSTR" + ], + "paint": { + "line-color": "#C8C8C8", + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE", + "AUTOROU_LIBRE" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#DE460E" + ], + [ + 17, + "#F18800" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR" + ], + "paint": { + "line-color": "#C8C8C8", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_AUTO_PEAGE_3", + "BRET_AUTO_PEAGE_2", + "BRET_AUTO_PEAGE_1", + "BRET_AUTO_LIBRE_3", + "BRET_AUTO_LIBRE_2", + "BRET_AUTO_LIBRE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F18800" + ], + [ + 17, + "#F2B230" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 12, + 1.5 + ], + [ + 14, + 2.6 + ], + [ + 15, + 5.2 + ], + [ + 16, + 6.7 + ], + [ + 17, + 10.8 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_CLASSEE_RESTREINT" + ], + "paint": { + "line-color": "#EDF1FF", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "NON_CLASSEE_4", + "NON_CLASSEE" + ], + "paint": { + "line-color": "#FFFFFF", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_LOCALE", + "LOCALE_4", + "LOCALE_3", + "LOCALE_2", + "LOCALE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 6, + "#F2B361" + ], + [ + 7, + "#FFFFFF" + ], + [ + 12, + "#FFFFFF" + ], + [ + 13, + "#FCF4A8" + ], + [ + 17, + "#FCF7C1" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 1.3 + ], + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.1 + ], + [ + 17, + 13.1 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 11, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LOCALE_CONSTR" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#FFFFFF" + ], + [ + 13, + "#FCF4A8" + ], + [ + 17, + "#FCF7C1" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier a niveau - filet interieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_REGIONALE", + "REGIONALE_4", + "REGIONALE_3", + "REGIONALE_2", + "REGIONALE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 6, + "#F2A949" + ], + [ + 7, + "#FFFFFF" + ], + [ + 9, + "#FFFFFF" + ], + [ + 10, + "#FDF28B" + ], + [ + 17, + "#FCF6BD" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REGIONALE_CONSTR" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#FFFFFF" + ], + [ + 10, + "#FDF28B" + ], + [ + 17, + "#FCF6BD" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier a niveau - filet interieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_PRINCIPALE", + "PRINCIPALE_4", + "PRINCIPALE_3", + "PRINCIPALE_2", + "PRINCIPALE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 6, + "#F29924" + ], + [ + 7, + "#F3C66D" + ], + [ + 9, + "#F3C66D" + ], + [ + 17, + "#F2DDB3" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PRINCIPALE_CONSTR" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F3C66D" + ], + [ + 17, + "#F2DDB3" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier a niveau - filet interieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE", + "AUTOROU_LIBRE" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F18800" + ], + [ + 17, + "#F2B230" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier a niveau - axe central - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE", + "AUTOROU_LIBRE" + ], + "paint": { + "line-color": "#FFFFFF", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 0.6 + ], + [ + 14, + 0.7 + ], + [ + 15, + 1 + ], + [ + 16, + 1.2 + ], + [ + 17, + 2.1 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F18800" + ], + [ + 17, + "#F2B230" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier a niveau - axe centrale - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR" + ], + "paint": { + "line-color": "#808080", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 0.6 + ], + [ + 14, + 0.7 + ], + [ + 15, + 1 + ], + [ + 16, + 1.2 + ], + [ + 17, + 2.1 + ] + ] + } + } + }, + { + "id": "liaison routiere - Bac Liaison Maritime", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "minzoom": 8, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BAC_AUTO", + "LIAISON_MARITIME", + "BAC_LIAISON_MARITIME" + ], + "paint": { + "line-color": "#5792C2", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 8, + 1 + ], + [ + 13, + 2.5 + ] + ] + } + } + }, + { + "id": "liaison routiere - Gue route", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "GUE_ROUTE" + ], + "paint": { + "line-color": { + "stops": [ + [ + 13, + "#BEBEBE" + ], + [ + 17, + "#646464" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "liaison routiere - Gue chemin", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "GUE_CHEMIN" + ], + "paint": { + "line-color": { + "stops": [ + [ + 13, + "#BEBEBE" + ], + [ + 17, + "#646464" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1.6 + ], + [ + 15, + 2.9 + ], + [ + 16, + 4.4 + ], + [ + 17, + 6.5 + ] + ] + } + } + }, + { + "id": "liaison routiere - filet extérieur - Pont passerelle", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "PONT_PASSERELLE", + "PONT_LIN", + "PONT_MOBILE_LIN" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#C8C8C8" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 2.2 + ], + [ + 15, + 3.8 + ], + [ + 16, + 5.4 + ], + [ + 17, + 11.8 + ] + ] + } + } + }, + { + "id": "liaison routiere - filet intérieur - Pont passerelle", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "PONT_PASSERELLE", + "PONT_LIN", + "PONT_MOBILE_LIN" + ], + "paint": { + "line-color": "#FFFFFF", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 0.7 + ], + [ + 15, + 1.1 + ], + [ + 16, + 1.7 + ], + [ + 17, + 3.8 + ] + ] + } + } + }, + { + "id": "Routier surfacique - Péage surfacique", + "type": "fill", + "source": "plan_ign", + "source-layer": "routier_surf", + "maxzoom": 18, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "SURF_PEAGE" + ], + "paint": { + "fill-color": "#F2DAAA", + "fill-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "fill-outline-color": "#E2A52A" + } + }, + { + "id": "bati transport surfacique - bati peage", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 13, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "BATI_PEAGE" + ], + "paint": { + "fill-color": "#DCDCDC", + "fill-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "fill-outline-color": "#808080" + } + }, + { + "id": "Chemin superieur - piste cyclable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "PISTE_CYCLABLE_SUP", + "VOIE_VERTE_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#9B5CCC" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1.1 + ], + [ + 15, + 1.7 + ], + [ + 16, + 2 + ], + [ + 17, + 3.5 + ], + [ + 18, + 6 + ] + ] + }, + "line-dasharray": [ + 6, + 2 + ] + } + }, + { + "id": "Chemin superieur - filet exterieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "ESCALIER_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#8C7274" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1.75 + ], + [ + 15, + 3 + ], + [ + 16, + 4.2 + ], + [ + 17, + 9.5 + ] + ] + } + } + }, + { + "id": "Chemin superieur - filet interieur - escalier", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "ESCALIER_SUP" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.9 + ], + [ + 16, + 2.7 + ], + [ + 17, + 5.8 + ] + ] + }, + "line-dasharray": [ + 1, + 0.2 + ] + } + }, + { + "id": "Chemin superieur - Rue pietonne", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "RUE_PIETONNE_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#8C7274" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ], + [ + 18, + 5 + ] + ] + }, + "line-dasharray": [ + 1, + 3 + ] + } + }, + { + "id": "Chemin superieur - sentier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "SENTIER_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#8C7274" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ], + [ + 18, + 6 + ] + ] + }, + "line-dasharray": [ + 4, + 3 + ] + } + }, + { + "id": "Chemin superieur - chemin", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "CHEMIN_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#8C7274" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ], + [ + 18, + 7 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_REVETUE_CARRO_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#646464" + ], + [ + 17, + "#8C8C8C" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier superieur - filet extérieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_AUTO_PEAGE_3_SUP", + "BRET_AUTO_PEAGE_2_SUP", + "BRET_AUTO_PEAGE_1_SUP", + "BRET_AUTO_LIBRE_3_SUP", + "BRET_AUTO_LIBRE_2_SUP", + "BRET_AUTO_LIBRE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#DE460E" + ], + [ + 17, + "#F18800" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 12, + 2.5 + ], + [ + 14, + 3.7 + ], + [ + 15, + 6.8 + ], + [ + 16, + 8.4 + ], + [ + 17, + 14 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_CLASSEE_RESTREINT_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#969696" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "NON_CLASSEE_4_SUP", + "NON_CLASSEE_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#969696" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_LOCALE_SUP", + "LOCALE_4_SUP", + "LOCALE_3_SUP", + "LOCALE_2_SUP", + "LOCALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#8C8C8C" + ], + [ + 13, + "#B4B4B4" + ], + [ + 17, + "#B4B4B4" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 11, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LOCALE_CONSTR_SUP" + ], + "paint": { + "line-color": "#C8C8C8", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_REGIONALE_SUP", + "REGIONALE_4_SUP", + "REGIONALE_3_SUP", + "REGIONALE_2_SUP", + "REGIONALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#828282" + ], + [ + 10, + "#B4B4B4" + ], + [ + 17, + "#B4B4B4" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REGIONALE_CONSTR_SUP" + ], + "paint": { + "line-color": "#C8C8C8", + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_PRINCIPALE_SUP", + "PRINCIPALE_4_SUP", + "PRINCIPALE_3_SUP", + "PRINCIPALE_2_SUP", + "PRINCIPALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#E2A52A" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PRINCIPALE_CONSTR_SUP" + ], + "paint": { + "line-color": "#C8C8C8", + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE_SUP", + "AUTOROU_LIBRE_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#DE460E" + ], + [ + 17, + "#F18800" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR_SUP" + ], + "paint": { + "line-color": "#C8C8C8", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_REVETUE_CARRO_SUP" + ], + "paint": { + "line-color": "#FFFFFF", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_AUTO_PEAGE_3_SUP", + "BRET_AUTO_PEAGE_2_SUP", + "BRET_AUTO_PEAGE_1_SUP", + "BRET_AUTO_LIBRE_3_SUP", + "BRET_AUTO_LIBRE_2_SUP", + "BRET_AUTO_LIBRE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F18800" + ], + [ + 17, + "#F2B230" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 12, + 1.5 + ], + [ + 14, + 2.6 + ], + [ + 15, + 5.2 + ], + [ + 16, + 6.7 + ], + [ + 17, + 10.8 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_CLASSEE_RESTREINT_SUP" + ], + "paint": { + "line-color": "#EDF1FF", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "NON_CLASSEE_4_SUP", + "NON_CLASSEE_SUP" + ], + "paint": { + "line-color": "#FFFFFF", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_LOCALE_SUP", + "LOCALE_4_SUP", + "LOCALE_3_SUP", + "LOCALE_2_SUP", + "LOCALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#FFFFFF" + ], + [ + 13, + "#FCF4A8" + ], + [ + 17, + "#FCF7C1" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 1.3 + ], + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.1 + ], + [ + 17, + 13.1 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 11, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LOCALE_CONSTR_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#FFFFFF" + ], + [ + 13, + "#FCF4A8" + ], + [ + 17, + "#FCF7C1" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier superieur - filet interieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_REGIONALE_SUP", + "REGIONALE_4_SUP", + "REGIONALE_3_SUP", + "REGIONALE_2_SUP", + "REGIONALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#FFFFFF" + ], + [ + 10, + "#FDF28B" + ], + [ + 17, + "#FCF6BD" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REGIONALE_CONSTR_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#FFFFFF" + ], + [ + 10, + "#FDF28B" + ], + [ + 17, + "#FCF6BD" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier superieur - filet interieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_PRINCIPALE_SUP", + "PRINCIPALE_4_SUP", + "PRINCIPALE_3_SUP", + "PRINCIPALE_2_SUP", + "PRINCIPALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F3C66D" + ], + [ + 17, + "#F2DDB3" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PRINCIPALE_CONSTR_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F3C66D" + ], + [ + 17, + "#F2DDB3" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier superieur - filet interieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE_SUP", + "AUTOROU_LIBRE_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F18800" + ], + [ + 17, + "#F2B230" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier superieur - axe central - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE_SUP", + "AUTOROU_LIBRE_SUP" + ], + "paint": { + "line-color": "#FFFFFF", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 0.6 + ], + [ + 14, + 0.7 + ], + [ + 15, + 1 + ], + [ + 16, + 1.2 + ], + [ + 17, + 2.1 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#F18800" + ], + [ + 17, + "#F2B230" + ] + ] + }, + "line-opacity": { + "stops": [ + [ + 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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier superieur - axe centrale - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR_SUP" + ], + "paint": { + "line-color": "#808080", + "line-opacity": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 14, + 0.4 + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 0.6 + ], + [ + 14, + 0.7 + ], + [ + 15, + 1 + ], + [ + 16, + 1.2 + ], + [ + 17, + 2.1 + ] + ] + } + } + }, + { + "id": "toponyme - parcellaire - adresse", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_parcellaire_adresse_ponc", + "filter": [ + "==", + "txt_typo", + "ADRESSE" + ], + "layout": { + "symbol-placement": "point", + "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" + ] + }, + "paint": { + "text-color": "#695744", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "limite admin - limite de département bandeau", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 8, + "maxzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LIM_DEPARTEMENT" + ], + "paint": { + "line-color": "rgba(178, 175, 219, 0.4)", + "line-width": { + "stops": [ + [ + 9, + 4.1 + ], + [ + 12, + 6 + ] + ] + } + } + }, + { + "id": "limite admin - limite de département tiret", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LIM_DEPARTEMENT" + ], + "paint": { + "line-color": "rgba(126, 119, 184, 0.5)", + "line-width": { + "stops": [ + [ + 13, + 3 + ], + [ + 17, + 5.5 + ] + ] + }, + "line-dasharray": [ + 4, + 2, + 1, + 1, + 1, + 2 + ] + } + }, + { + "id": "limite admin - limite de région bandeau", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 7, + "maxzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LIM_REGION" + ], + "paint": { + "line-color": "rgba(178, 175, 219, 0.5)", + "line-width": { + "stops": [ + [ + 9, + 4.5 + ], + [ + 12, + 6.7 + ] + ] + } + } + }, + { + "id": "limite admin - limite de région tiret", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LIM_REGION" + ], + "paint": { + "line-color": "rgba(126, 119, 184, 0.5)", + "line-width": { + "stops": [ + [ + 13, + 3 + ], + [ + 17, + 5.5 + ] + ] + }, + "line-dasharray": [ + 4, + 2, + 1, + 2 + ] + } + }, + { + "id": "limite etat 1", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 2, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_ETAT", + "LIM_ETAT_ETRANGER" + ], + "paint": { + "line-color": "rgba(178, 175, 219, 0.6)", + "line-width": { + "stops": [ + [ + 2, + 2 + ], + [ + 3, + 3.5 + ], + [ + 9, + 5 + ], + [ + 14, + 13 + ], + [ + 15, + 20 + ], + [ + 16, + 24 + ], + [ + 17, + 42 + ] + ] + } + } + }, + { + "id": "limite etat 2", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 7, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_ETAT", + "LIM_ETAT_ETRANGER" + ], + "paint": { + "line-color": "#9F9CB8", + "line-width": { + "stops": [ + [ + 9, + 1.5 + ], + [ + 14, + 3.5 + ], + [ + 15, + 5.5 + ], + [ + 16, + 6.5 + ], + [ + 17, + 11 + ] + ] + }, + "line-dasharray": [ + 4, + 2 + ] + } + }, + { + "id": "toponyme - liaison maritime", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_liaison_lin", + "minzoom": 8, + "maxzoom": 18, + "filter": [ + "in", + "txt_typo", + "LIAISON_MARITIME", + "LIAISON_MAR" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Bold Italic" + ] + }, + "paint": { + "text-color": "#5792C2", + "text-halo-width": 3, + "text-halo-color": "#AAD5E9" + } + }, + { + "id": "toponyme bati station de métro + bati ponctuel metro", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "filter": [ + "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-padding": 3, + "text-anchor": "bottom-left", + "text-font": [ + "Source Sans Pro" + ], + "icon-image": "Metro", + "icon-size": { + "stops": [ + [ + 15, + 0.33 + ], + [ + 17, + 0.6 + ] + ] + } + }, + "paint": { + "text-color": "#FFFFFF", + "icon-color": "#D3D3D3" + } + }, + { + "id": "toponyme religieux zoom 15 16", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "maxzoom": 16, + "filter": [ + "==", + "txt_typo", + "religieux" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#FFFFFF" + } + }, + { + "id": "toponyme religieux zoom 17 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 16, + "filter": [ + "==", + "txt_typo", + "religieux" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#FFFFFF" + } + }, + { + "id": "toponyme parc d'attractions zoom 14", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 13, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "txt_typo", + "divers_bati" + ], + [ + "==", + "symbo", + "PARC_ATTRACTIONS" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#FFFFFF" + } + }, + { + "id": "toponyme parc d'attractions zoom 15 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "filter": [ + "all", + [ + "==", + "txt_typo", + "divers_bati" + ], + [ + "==", + "symbo", + "PARC_ATTRACTIONS" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#FFFFFF" + } + }, + { + "id": "toponyme bati divers zoom 15", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "maxzoom": 15, + "filter": [ + "all", + [ + "==", + "txt_typo", + "divers_bati" + ], + [ + "in", + "symbo", + "CENTRALE_ELECTRIQUE", + "HIPPODROME", + "STADE" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#FFFFFF" + } + }, + { + "id": "toponyme bati divers zoom 16 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 15, + "filter": [ + "all", + [ + "==", + "txt_typo", + "divers_bati" + ], + [ + "in", + "symbo", + "CENTRALE_ELECTRIQUE", + "HIPPODROME", + "STADE" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#FFFFFF" + } + }, + { + "id": "toponyme chateau zoom 16", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 15, + "maxzoom": 16, + "filter": [ + "all", + [ + "==", + "txt_typo", + "divers_bati" + ], + [ + "in", + "symbo", + "CHATEAU", + "CHATEAU_FORT" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#FFFFFF" + } + }, + { + "id": "toponyme chateau zoom 17 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 16, + "filter": [ + "all", + [ + "==", + "txt_typo", + "divers_bati" + ], + [ + "in", + "symbo", + "CHATEAU", + "CHATEAU_FORT" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#FFFFFF" + } + }, + { + "id": "toponyme station epuration, de pompage, usine de production eau", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "filter": [ + "==", + "txt_typo", + "station" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-anchor": "left", + "text-offset": [ + 0.8, + 0 + ], + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "rgba(255, 255, 255, 0.7)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme bati ponc gare", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 15, + "filter": [ + "==", + "txt_typo", + "gore" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#FFFFFF" + } + }, + { + "id": "toponyme bati ponc barrage", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 12, + "filter": [ + "==", + "txt_typo", + "BARRAGE_PONC" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "left", + "text-offset": [ + 0.8, + 0 + ], + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "rgba(255, 255, 255, 0.7)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme bati ponc phare - niveau 13", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "maxzoom": 13, + "filter": [ + "==", + "txt_typo", + "PHARE" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "right", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#C56464", + "text-halo-color": "rgba(255, 255, 255, 0.7)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme bati ponc phare - niveau 14à19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 13, + "filter": [ + "all", + [ + "==", + "symbo", + "PHARE" + ], + [ + "in", + "txt_typo", + "TYPO_C_6", + "TYPO_C_7", + "TYPO_C_8", + "TYPO_E_GE" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "right", + "text-size": { + "stops": [ + [ + 13, + 12 + ], + [ + 18, + 18 + ] + ] + }, + "text-allow-overlap": false, + "text-offset": [ + -2.00, + 0 + ], + "text-padding": 3, + "text-anchor": "right", + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#532A2A", + "text-halo-color": "rgba(255, 255, 255, 0.7)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme bati ponc autre", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 12, + "filter": [ + "in", + "txt_typo", + "BAT_ACTIVITE", + "BAT_FORTIF", + "BAT_VILLAGE_DETRUIT" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "center", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#532A2A" + } + }, + { + "id": "toponyme bati ponc aerogare", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "maxzoom": 17, + "filter": [ + "all", + [ + "==", + "txt_typo", + "TYPO_E_GE" + ], + [ + "==", + "symbo", + "AEROGARE" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "center", + "text-size": { + "stops": [ + [ + 12, + 9 + ], + [ + 16, + 11 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme bati ponc aeroport 12", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 11, + "maxzoom": 12, + "filter": [ + "==", + "txt_typo", + "AEROPORT_PONC" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "bottom", + "text-offset": [ + 0, + -1.3 + ], + "text-size": 10.5, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aeroport 13", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 12, + "maxzoom": 13, + "filter": [ + "==", + "txt_typo", + "AEROPORT_PONC" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "bottom", + "text-offset": [ + 0, + -2 + ], + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aeroport", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 13, + "maxzoom": 17, + "filter": [ + "all", + [ + "==", + "txt_typo", + "TYPO_A_5" + ], + [ + "==", + "symbo", + "AEROPORT" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "center", + "text-size": { + "stops": [ + [ + 12, + 11 + ], + [ + 16, + 13 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aerodrome 12", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 11, + "maxzoom": 12, + "filter": [ + "==", + "txt_typo", + "AERODROME_PONC" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "bottom", + "text-offset": [ + 0, + -1.3 + ], + "text-size": 9.5, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aerodrome 13", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 12, + "maxzoom": 13, + "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-size": 10, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aerodrome", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 13, + "maxzoom": 17, + "filter": [ + "all", + [ + "==", + "txt_typo", + "TYPO_A_7" + ], + [ + "==", + "symbo", + "AERODROME" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "center", + "text-size": { + "stops": [ + [ + 12, + 10 + ], + [ + 16, + 12 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - hydro ponc 5", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "filter": [ + "in", + "txt_typo", + "TYPO_D_9", + "TYPO_D_10", + "TYPO_E_1_cyan" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 11 + ], + [ + 17, + 14 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 5, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - hydro ponc glacier", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "filter": [ + "==", + "txt_typo", + "ORO_GLACIER_2" + ], + "layout": { + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 14, + "text-anchor": "center", + "text-allow-overlap": true, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Bold Italic" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.9)" + } + }, + { + "id": "toponyme - limite militaire ponc 3 et 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "filter": [ + "in", + "txt_typo", + "LIM_MILI_3", + "LIM_MILI_4" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": false, + "text-padding": 2, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#0D2000", + "text-halo-color": "rgba(255, 255, 255, 0.8)", + "text-halo-width": 1.5 + } + }, + { + "id": "toponyme - limite parc ponc 3 et 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "filter": [ + "in", + "txt_typo", + "LIM_PARC_3", + "LIM_PARC_4", + "RESERVE_NATURELLE_PONC" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": false, + "text-padding": 2, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.9)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme numéro de route - départementale", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_numero_lin", + "minzoom": 11, + "maxzoom": 16, + "filter": [ + "==", + "txt_typo", + "Départementale" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 10.5, + "text-allow-overlap": false, + "text-padding": 2, + "text-anchor": "center", + "text-font": [ + "Source Sans Pro Semibold" + ], + "text-rotation-alignment": "viewport" + }, + "paint": { + "text-color": "#4D4D4D", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme numéro de route - nationale", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_numero_lin", + "minzoom": 7, + "maxzoom": 16, + "filter": [ + "==", + "txt_typo", + "Nationale" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": false, + "text-padding": 0, + "text-anchor": "center", + "text-font": [ + "Source Sans Pro Regular" + ], + "icon-image": "Ecluse", + "icon-rotation-alignment": "viewport", + "text-rotation-alignment": "viewport", + "icon-text-fit": "both", + "icon-size": 0 + }, + "paint": { + "text-color": "#F0F0F0", + "icon-color": "#646464", + "text-halo-color": "rgba(80, 80, 80, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme numéro de route - autoroute", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_numero_lin", + "minzoom": 7, + "maxzoom": 16, + "filter": [ + "==", + "txt_typo", + "Autoroute" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 0, + "text-anchor": "center", + "text-font": [ + "Source Sans Pro Regular" + ], + "icon-image": "Ecluse", + "icon-rotation-alignment": "viewport", + "text-rotation-alignment": "viewport", + "icon-text-fit": "both", + "icon-size": 0 + }, + "paint": { + "text-color": "#F0F0F0", + "icon-color": "#646464", + "text-halo-color": "rgba(80, 80, 80, 0.5)", + "text-halo-width": 5 + } + }, + { + "id": "toponyme - odonyme abrégé", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_odonyme_lin", + "minzoom": 15, + "maxzoom": 17, + "layout": { + "symbol-placement": "line", + "text-field": "{nom_gauche}", + "text-size": 10, + "text-anchor": "center", + "text-max-angle": 30, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-width": 2, + "text-halo-color": "rgba(0, 0, 0, 1)" + } + }, + { + "id": "toponyme - odonyme desabrégé", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_odonyme_lin", + "minzoom": 17, + "layout": { + "symbol-placement": "line", + "text-field": "{nom_desabrege}", + "text-size": 11, + "text-anchor": "center", + "text-max-angle": 30, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-width": 2, + "text-halo-color": "rgba(0, 0, 0, 1)" + } + }, + { + "id": "toponyme - lieu dit non habité 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "LIEU-DIT_NON_HABITE" + ], + [ + "in", + "txt_typo", + "TYPO_B_10", + "TYPO_B_11" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - bois", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "BOIS" + ], + [ + "in", + "txt_typo", + "TYPO_F_9", + "TYPO_F_10" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Bold Italic" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 1)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - oro lineaire 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": [ + "in", + "txt_typo", + "ORO_SOMMET_3", + "ORO_GORGE_2" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 11, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Bold Italic" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-width": 1.5, + "text-halo-color": "rgba(255, 255, 255, 0.7)" + } + }, + { + "id": "toponyme - oro ponc 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": [ + "in", + "txt_typo", + "ORO_SOMMET_3", + "ORO_GORGE_2", + "GROTTE", + "GORGE", + "TYPO_G_8", + "TYPO_G_9" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 13, + 11 + ], + [ + 16, + 16 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Bold Italic" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.7)", + "text-halo-width": 1.5 + } + }, + { + "id": "toponyme - hydro ponc 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "filter": [ + "in", + "txt_typo", + "HYD_SURF_4", + "HYD_SURF_4_T", + "HYD_SURF_5", + "HYD_SURF_5_T", + "TYPO_D_8", + "SOURCE" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 14, + 13 + ], + [ + 17, + 16 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 5, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 1 + } + }, + { + "id": "toponyme quartier ", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "filter": [ + "in", + "txt_typo", + "BAT_QUARTIER", + "BAT_QUARTIER_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typo_E_GE Quartier", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 17, + "maxzoom": 18, + "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 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typo_E_GE Lieu-dit", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 16, + "maxzoom": 18, + "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 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA10", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "maxzoom": 18, + "filter": [ + "==", + "txt_typo", + "TYPO_A_10" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 11 + ], + [ + 17, + 13.5 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - lieu dit non habité", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "LIEU-DIT_NON_HABITE" + ], + [ + "in", + "txt_typo", + "TYPO_B_7", + "TYPO_B_8", + "TYPO_B_9" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - bois 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "BOIS" + ], + [ + "in", + "txt_typo", + "TYPO_F_6", + "TYPO_F_7", + "TYPO_F_8" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 16, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Bold Italic" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 1)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite hameau ", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 11, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "BAT_HAMEAU", + "BAT_HAMEAU_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.17, + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.30, + 0.10 + ], + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite importance 6et7 - Special DOM", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 7, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "TYPO_A_6", + "TYPO_A_7" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.21, + "text-field": "{texte}", + "text-size": 12.5, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.30, + 0.10 + ], + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite importance 5", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 9, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "TYPO_A_5", + "BAT_COMMUNE_5", + "BAT_COMMUNE_5_T", + "BAT_CHEF_LIEU_COM", + "BAT_CHEF_LIEU_COM_T", + "BAT_CHEF_LIEU_COM-T", + "BAT_ANCIENNE_COM", + "BAT_ANCIENNE_COM_T", + "BAT_COMMUNE_ASSOCIEE", + "BAT_COMMUNE_ASSOCIEE_T", + "Commune très petite" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.21, + "text-field": "{texte}", + "text-size": 11.5, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.30, + 0.10 + ], + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - ocs lineaire 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_lin", + "filter": [ + "==", + "txt_typo", + "OCS_FORET_3" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 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" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.8)" + } + }, + { + "id": "toponyme - lieu dit non habité 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "LIEU-DIT_NON_HABITE" + ], + [ + "in", + "txt_typo", + "TYPO_B_5", + "TYPO_B_4" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - bois 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "BOIS" + ], + [ + "in", + "txt_typo", + "TYPO_F_5", + "TYPO_F_4" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 19, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Bold Italic" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 1)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - bois 0", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "BOIS" + ], + [ + "in", + "txt_typo", + "TYPO_F_3", + "TYPO_F_2" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 22, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Bold Italic" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - ocs ponc 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "==", + "txt_typo", + "OCS_FORET_3" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 10, + 12 + ], + [ + 12, + 15 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-anchor": "center", + "text-font": [ + "Source Sans Pro Bold Italic" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.8)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - oro lineaire 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": [ + "in", + "txt_typo", + "ORO_ILE_3", + "ORO_RELIEF_3", + "ORO_RELIEF_3_T", + "ORO_RELIEF_4", + "ORO_RELIEF_4_T", + "ORO_CAP_2", + "ORO_CAP_3", + "ORO_SOMMET_2", + "ORO_COL_2", + "ORO_GORGE_1", + "ORO_GORGE-1" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 12, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Bold Italic" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-width": 1.5, + "text-halo-color": "rgba(255, 255, 255, 0.7)" + } + }, + { + "id": "toponyme - oro ponc 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": [ + "in", + "txt_typo", + "ORO_ILE_3", + "ORO_RELIEF_3", + "ORO_RELIEF_3_T", + "ORO_RELIEF_4", + "ORO_RELIEF_4_T", + "ORO_CAP_2", + "ORO_CAP_3", + "ORO_SOMMET_2", + "ORO_COL_2", + "ORO_GORGE_1", + "ORO_GORGE-1", + "TYPO_G_6", + "TYPO_G_7" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 13, + 12 + ], + [ + 16, + 17 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Bold Italic" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "#FFFFFF", + "text-halo-width": 1.5 + } + }, + { + "id": "toponyme - hydro lineaire 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "minzoom": 13, + "filter": [ + "in", + "txt_typo", + "HYD_LIN_3", + "HYD_LIN_4", + "HYD_LIN_5", + "TYPO_D_LIN_3", + "TYPO_D_LIN_4", + "HYD_SURF_3", + "HYD_SURF_3_T", + "HYD_SURF_4", + "HYD_SURF_4_T", + "HYD_SURF_5", + "HYD_SURF_5_T", + "TYPO_D_5", + "TYPO_D_7" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 14, + 12 + ], + [ + 18, + 19 + ] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 1, + "text-halo-color": "rgba(255, 255, 255, 0.9)" + } + }, + { + "id": "toponyme - hydro lineaire 4", + "type": "symbol", + "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" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 14, + 10 + ], + [ + 18, + 16 + ] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 1.5, + "text-halo-color": "rgba(255, 255, 255, 0.9)" + } + }, + { + "id": "toponyme - hydro ponc 3", + "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" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 9, + 13 + ], + [ + 10, + 15 + ], + [ + 15, + 15 + ], + [ + 17, + 18 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 1 + } + }, + { + "id": "toponyme bati ponc zai zoom 16", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 15, + "maxzoom": 16, + "filter": [ + "==", + "txt_typo", + "zai" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#FFFFFF" + } + }, + { + "id": "toponyme bati ponc zai zoom 17 et 18", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 16, + "filter": [ + "==", + "txt_typo", + "zai" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 17, + 11 + ], + [ + 18, + 15 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#FFFFFF" + } + }, + { + "id": "toponyme localite importance 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 7, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "TYPO_A_4", + "BAT_COMMUNE_4", + "BAT_COMMUNE_4_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.21, + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.30, + 0.10 + ], + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA9", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "maxzoom": 18, + "filter": [ + "==", + "txt_typo", + "TYPO_A_9" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 11.5 + ], + [ + 17, + 14 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA8 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_8" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 12 + ], + [ + 17, + 15 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - limite militaire ponc 1 et 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "filter": [ + "in", + "txt_typo", + "LIM_MILI_1", + "LIM_MILI_2" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 5, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#0D2000", + "text-halo-color": "rgba(255, 255, 255, 0.8)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - limite parc marin", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "minzoom": 8, + "filter": [ + "in", + "txt_typo", + "PARC_MARIN_1", + "PARC_MARIN_2" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 10, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#2A81A2", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - limite parc ponc 1 et 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "minzoom": 10, + "filter": [ + "in", + "txt_typo", + "LIM_PARC_1", + "LIM_PARC_2", + "PARC_1", + "PARC_2" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 10, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.9)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - ocs lineaire 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_lin", + "filter": [ + "==", + "txt_typo", + "OCS_FORET_2" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 10, + 15 + ], + [ + 12, + 18 + ] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.8)" + } + }, + { + "id": "toponyme - ocs ponc 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "==", + "txt_typo", + "OCS_FORET_2" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 10, + 15 + ], + [ + 12, + 18 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-anchor": "center", + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.8)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro lineaire 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": [ + "in", + "txt_typo", + "ORO_ILE_2", + "ORO_RELIEF_2", + "ORO_RELIEF_2_T", + "ORO_CAP_1", + "ORO_SOMMET_1" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-anchor": "center", + "text-keep-upright": true, + "text-padding": 10, + "text-max-angle": 45, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.7)" + } + }, + { + "id": "toponyme - oro ponc 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "minzoom": 9, + "filter": [ + "in", + "txt_typo", + "ORO_ILE_2", + "ORO_RELIEF_2", + "ORO_RELIEF_2_T", + "ORO_CAP_1", + "ORO_COL_1", + "TYPO_G_5", + "ORO_SOMMET_1" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 9, + 13 + ], + [ + 10, + 15 + ], + [ + 13, + 15 + ], + [ + 16, + 19 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.7)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro ponc 2B", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "minzoom": 8, + "filter": [ + "==", + "txt_typo", + "TYPO_G_4" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 13, + 15 + ], + [ + 16, + 19 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.7)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - hydro lineaire 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "minzoom": 13, + "filter": [ + "in", + "txt_typo", + "HYD_LIN_2", + "TYPO_D_LIN_2", + "HYD_SURF_2", + "HYD_SURF_2_T", + "TYPO_D_4" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 14, + 15 + ], + [ + 18, + 21 + ] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 1, + "text-halo-color": "rgba(255, 255, 255, 0.8)" + } + }, + { + "id": "toponyme - hydro ponc 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "minzoom": 5, + "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 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 1.5 + } + }, + { + "id": "toponyme - hydro ponc 2B", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "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 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite importance 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 5, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "commune 3", + "TYPO_A_3", + "BAT_COMMUNE_3", + "BAT_COMMUNE_3_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.21, + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 5, + 10 + ], + [ + 6, + 15 + ] + ] + }, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.30, + 0.10 + ], + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA7 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_7" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 13 + ], + [ + 17, + 16 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA5etA6 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "in", + "txt_typo", + "TYPO_A_5", + "TYPO_A_6" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 15 + ], + [ + 17, + 18 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro lineaire 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": [ + "in", + "txt_typo", + "ORO_ILE_1", + "ORO_RELIEF_1", + "ORO_RELIEF_1_T" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 20, + "text-anchor": "center", + "text-keep-upright": true, + "text-padding": 5, + "text-max-angle": 45, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.7)" + } + }, + { + "id": "toponyme - oro ponc monde", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "minzoom": 5, + "filter": [ + "in", + "txt_typo", + "Basin", + "Depression", + "Desert", + "Geoarea", + "Gorge", + "Isthmus", + "Lake", + "Lowland", + "Pen/cape", + "Plain", + "Plateau", + "Range/mtn", + "Tundra", + "Valley", + "Island", + "Island group" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.7)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA4 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_4" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 17, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme - ocs lineaire 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_lin", + "filter": [ + "==", + "txt_typo", + "OCS_FORET_1" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 10, + 18 + ], + [ + 12, + 22 + ] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-padding": 1, + "text-max-angle": 45, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.8)" + } + }, + { + "id": "toponyme - ocs ponc 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "==", + "txt_typo", + "OCS_FORET_1" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 10, + 18 + ], + [ + 12, + 22 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.8)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro ponc 1", + "type": "symbol", + "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" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 21, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.7)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro ponc 1B", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "minzoom": 8, + "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 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.7)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - hydro lineaire glacier", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": [ + "in", + "txt_typo", + "ORO_GLACIER_1", + "ORO_GLACIER_2" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-font": [ + "Source Sans Pro Bold Italic" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.9)" + } + }, + { + "id": "toponyme - hydro lineaire 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "minzoom": 13, + "filter": [ + "in", + "txt_typo", + "HYD_LIN_1", + "HYD-LIN-1", + "TYPO_D_LIN_1", + "HYD_SURF_1", + "HYD_SURF_1_T", + "TYPO_D_1", + "TYPO_D_2", + "TYPO_D_3_T", + "TYPO_D_4_T" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 18, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.8)" + } + }, + { + "id": "toponyme - hydro lineaire ocean", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": [ + "==", + "txt_typo", + "OCEAN_MER" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 30, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 4, + "text-halo-color": "rgba(0, 0, 0, 0.5)" + } + }, + { + "id": "toponyme - hydro ponc 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "minzoom": 4, + "filter": [ + "in", + "txt_typo", + "mer", + "grand", + "HYD_SURF_1", + "TYPO_D_1" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 4, + 16 + ], + [ + 6, + 30 + ], + [ + 10, + 25 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite importance 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 4, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "commune 2", + "TYPO_A_2", + "BAT_COMMUNE_2", + "BAT_COMMUNE-2", + "BAT_COMMUNE_2_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.25, + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 4, + 10 + ], + [ + 6, + 17 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "bottom-left", + "text-offset": [ + 0.30, + 0.2 + ], + "text-padding": 1, + "text-transform": "uppercase", + "text-font": { + "stops": [ + [ + 1, + [ + "Source Sans Pro Regular" + ] + ], + [ + 7, + [ + "Source Sans Pro Bold" + ] + ], + [ + 10, + [ + "Source Sans Pro Regular" + ] + ] + ] + } + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme localite n0 typoA3 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_3" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 19, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme localite n0 typoA2 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_2" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 21, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite n0 typoA8 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_8" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 12 + ], + [ + 17, + 15 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA7 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_7" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 13 + ], + [ + 17, + 16 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA5etA6 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "in", + "txt_typo", + "TYPO_A_5", + "TYPO_A_6" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 15 + ], + [ + 17, + 18 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA1 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_1" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 23, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite n0 typoA4 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_4" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 17, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme localite n0 typoA3 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_3" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 19, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme localite n0 typoA2 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_2" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 21, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite importance 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 3, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "commune 1", + "TYPO_A_1", + "BAT_COMMUNE_1", + "BAT_COMMUNE_1_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.3, + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 3, + 10 + ], + [ + 6, + 20 + ] + ] + }, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.25, + -0.10 + ], + "text-padding": 1, + "text-transform": "uppercase", + "text-font": { + "stops": [ + [ + 1, + [ + "Source Sans Pro Regular" + ] + ], + [ + 7, + [ + "Source Sans Pro Bold" + ] + ], + [ + 10, + [ + "Source Sans Pro Regular" + ] + ] + ] + } + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite n0 typoA1 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_1" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 23, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#FFFFFF", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme - hydro ponc ocean", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "minzoom": 1, + "filter": [ + "==", + "txt_typo", + "ocean" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 1, + 16 + ], + [ + 6, + 30 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "rgba(0, 0, 0, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme pays 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 4, + "maxzoom": 5, + "filter": [ + "==", + "txt_typo", + "pays 3" + ], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 9, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme pays 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 2, + "maxzoom": 5, + "filter": [ + "==", + "txt_typo", + "pays 2" + ], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 2, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme pays 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 2, + "maxzoom": 5, + "filter": [ + "==", + "txt_typo", + "pays 1" + ], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 2, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme continent", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "maxzoom": 3, + "filter": [ + "==", + "txt_typo", + "continent" + ], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 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 new file mode 100644 index 00000000..851a7754 --- /dev/null +++ b/website/src/lib/assets/custom/ign-fr-topo.json @@ -0,0 +1,15495 @@ +{ + "_info": "This style is an adaptation of the official IGN 'classique' style (https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/classique.json) to which hillshading is added.", + "version": 8, + "name": "PLAN IGN", + "glyphs": "https://data.geopf.fr/annexes/ressources/vectorTiles/fonts/{fontstack}/{range}.pbf", + "sprite": "https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/sprite/PlanIgn", + "sources": { + "plan_ign": { + "type": "vector", + "tiles": [ + "https://data.geopf.fr/tms/1.0.0/PLAN.IGN/{z}/{x}/{y}.pbf" + ] + }, + "terrain": { + "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=ELEVATION.ELEVATIONGRIDCOVERAGE.SHADOW&FORMAT=image/png&STYLE=estompage_grayscale" + ], + "maxzoom": 15 + } + }, + "transition": { + "duration": 300, + "delay": 0 + }, + "layers": [ + { + "id": "bckgrd", + "type": "fill", + "source": "plan_ign", + "source-layer": "fond_opaque", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "#FFFFFF", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 0m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "HYPSO_0" + ], + "paint": { + "fill-color": "#D6E5BA", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 100m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "HYPSO_100" + ], + "paint": { + "fill-color": "#F7F2DA", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 200m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "HYPSO_200" + ], + "paint": { + "fill-color": "#EBDEBF", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 1000m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "HYPSO_1000" + ], + "paint": { + "fill-color": "#DABE97", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 3000m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "HYPSO_3000" + ], + "paint": { + "fill-color": "#B28773", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 4000m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "HYPSO_4000" + ], + "paint": { + "fill-color": "#9E6A54", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - 5000m", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "HYPSO_5000" + ], + "paint": { + "fill-color": "#773A2B", + "fill-opacity": 1 + } + }, + { + "id": "orographie : relief - glacier", + "type": "fill", + "source": "plan_ign", + "source-layer": "oro_relief", + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "GLACIER" + ], + "paint": { + "fill-color": "#FFFFFF", + "fill-opacity": 0.7 + } + }, + { + "id": "ocs - vegetation - zone boiséee, foret fermee, peupleraie", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "ZONE_BOISEE", + "ZONE_FORET_FERMEE_FEUIL", + "ZONE_FORET_FERMEE_CONI", + "ZONE_FORET_FERMEE_MIXTE", + "ZONE_PEUPLERAIE" + ], + "paint": { + "fill-color": "#D1FFBA", + "fill-outline-color": "#D1FFBA" + } + }, + { + "id": "ocs - vegetation - forêt ouverte", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "ZONE_FORET_OUVERTE" + ], + "paint": { + "fill-color": "#D1FFBA", + "fill-outline-color": "#D1FFBA" + } + }, + { + "id": "ocs - vegetation - lande ligneuse", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_LANDE_LIGNEUSE" + ], + "paint": { + "fill-color": "#E0FFD1" + } + }, + { + "id": "ocs - vegetation - vigne", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_VIGNE" + ], + "paint": { + "fill-color": "#F4D5B3" + } + }, + { + "id": "ocs - vegetation - verger", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_VERGER" + ], + "paint": { + "fill-color": "#F4C795" + } + }, + { + "id": "ocs - vegetation - canne à sucre, bananeraie", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_CANNE_BANANE" + ], + "paint": { + "fill-color": "#FAEDFA" + } + }, + { + "id": "hydro surfacique - Estran", + "type": "fill", + "source": "plan_ign", + "source-layer": "hydro_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_D_ESTRAN" + ], + "paint": { + "fill-color": "#D3E9FF", + "fill-outline-color": "#D3E9FF" + } + }, + { + "id": "ocs - vegetation - mangrovre", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_MANGROVE" + ], + "paint": { + "fill-color": { + "stops": [ + [ + 9, + "#85CCCB" + ], + [ + 10, + "#90CCCB" + ] + ] + } + } + }, + { + "id": "ocs - vegetation - marais", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_MARAIS" + ], + "paint": { + "fill-pattern": "Marais" + } + }, + { + "id": "hydro surfacique - marais", + "type": "fill", + "source": "plan_ign", + "source-layer": "hydro_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_MARAIS" + ], + "paint": { + "fill-pattern": "Marais" + } + }, + { + "id": "ocs - vegetation - marais salant", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_vegetation_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_MARAIS_SALANT" + ], + "paint": { + "fill-pattern": "MaraisSalant" + } + }, + { + "id": "ocs - Zone", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_ROCHEUSE" + ], + "paint": { + "fill-color": "#D0D0D0", + "fill-opacity": 0.3 + } + }, + { + "id": "ocs - Zone sable sec", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_SABLE_SEC" + ], + "paint": { + "fill-pattern": "Sable" + } + }, + { + "id": "ocs - Zone sable humide", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "ZONE_SABLE_HUMIDE", + "FOND_CUVETTE_HUMIDE" + ], + "paint": { + "fill-pattern": "SableHumide" + } + }, + { + "id": "ocs - Zone graviers galets secs", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "GRAVIERS_GALETS_SEC" + ], + "paint": { + "fill-pattern": "GravierSec" + } + }, + { + "id": "ocs - Zone graviers galets humides", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "GRAVIERS_GALETS_HUM" + ], + "paint": { + "fill-pattern": "Gravier" + } + }, + { + "id": "ocs - Zone rocher hydro", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_ROCHER_HYDRO" + ], + "paint": { + "fill-pattern": "RocherHydro" + } + }, + { + "id": "ocs - Zone glacier", + "type": "fill", + "source": "plan_ign", + "source-layer": "ocs_nature_sol_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_GLACIER" + ], + "paint": { + "fill-pattern": "Glacier", + "fill-opacity": { + "stops": [ + [ + 10, + 0.5 + ], + [ + 12, + 0.3 + ] + ] + } + } + }, + { + "id": "zone batie", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zone_surf", + "minzoom": 7, + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_BATI" + ], + "paint": { + "fill-color": "#ADADAD", + "fill-opacity": { + "stops": [ + [ + 12, + 1 + ], + [ + 13, + 0.9 + ], + [ + 14, + 0.5 + ] + ] + } + } + }, + { + "id": "zone d'activité", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zone_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ZONE_INDUS_ACTI" + ], + "paint": { + "fill-color": "#CBCBCB" + } + }, + { + "id": "terrain", + "type": "raster", + "source": "terrain" + }, + { + "id": "oro - courbe et cuvette maitresse", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_MAITRESSE", + "CUVETTE_MAITRESSE" + ], + "paint": { + "line-color": "#D9C8A9", + "line-width": { + "stops": [ + [ + 13, + 1.7 + ], + [ + 15, + 2 + ] + ] + } + } + }, + { + "id": "oro - courbe et cuvette normale", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_NORMALE", + "CUVETTE_NORMALE" + ], + "paint": { + "line-color": "#D9C8A9", + "line-width": { + "stops": [ + [ + 13, + 1 + ], + [ + 15, + 1.2 + ] + ] + } + } + }, + { + "id": "oro - courbe et cuvette intercalaire", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_INTERCALAIRE", + "CUVETTE_INTERCAL", + "CNV_SS_INTERCALAIRE" + ], + "paint": { + "line-color": "#D9C8A9", + "line-width": 0.7, + "line-dasharray": [ + 20, + 7 + ] + } + }, + { + "id": "oro - courbe et cuvette glacier maitresse", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_GLACIER_MAITRESSE", + "CUV_GLACIER_MAITRESSE" + ], + "paint": { + "line-color": "#A4BFD9", + "line-width": { + "stops": [ + [ + 13, + 1.7 + ], + [ + 15, + 2 + ] + ] + } + } + }, + { + "id": "oro - courbe et cuvette glacier normale", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_GLACIER_NORMALE", + "CUV_GLACIER_NORMALE" + ], + "paint": { + "line-color": "#A4BFD9", + "line-width": { + "stops": [ + [ + 13, + 1 + ], + [ + 15, + 1.2 + ] + ] + } + } + }, + { + "id": "oro - courbe et cuvette glacier intercalaire", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_GLACIER_INTERCAL", + "CUV_GLACIER_INTERCAL" + ], + "paint": { + "line-color": "#A4BFD9", + "line-width": { + "stops": [ + [ + 13, + 0.7 + ], + [ + 15, + 0.9 + ] + ] + }, + "line-dasharray": [ + 20, + 7 + ] + } + }, + { + "id": "oro - courbe et cuvette rocher maitresse", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_ROCHER_MAITRESSE", + "CUV_ROCHER_MAITRESSE" + ], + "paint": { + "line-color": "#AAAAAA", + "line-width": 1.7 + } + }, + { + "id": "oro - courbe et cuvette rocher normale", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_ROCHER_NORMALE", + "CUV_ROCHER_NORMALE" + ], + "paint": { + "line-color": "#AAAAAA", + "line-width": 1 + } + }, + { + "id": "oro - courbe et cuvette rocher intercalaire", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_ROCHER_INTERCAL", + "CUV_ROCHER_INTERCAL" + ], + "paint": { + "line-color": "#AAAAAA", + "line-width": { + "stops": [ + [ + 13, + 0.7 + ], + [ + 15, + 0.9 + ] + ] + }, + "line-dasharray": [ + 20, + 7 + ] + } + }, + { + "id": "oro - courbe et cuvette bathymetrique", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_courbe", + "maxzoom": 16, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CNV_BATHYMETRIQUE", + "CUV_BATHYMETRIQUE" + ], + "paint": { + "line-color": "#0000FF", + "line-width": 1 + } + }, + { + "id": "oro lin - talus", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_lin", + "minzoom": 14, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "TALUS" + ], + "paint": { + "line-color": "#D9C8A9", + "line-width": 1 + } + }, + { + "id": "oro lin - talus - trait perpendiculaire", + "type": "line", + "source": "plan_ign", + "source-layer": "oro_lin", + "minzoom": 14, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "TALUS" + ], + "paint": { + "line-color": "#D9C8A9", + "line-width": { + "stops": [ + [ + 14, + 7 + ], + [ + 16, + 9 + ] + ] + }, + "line-dasharray": [ + 0.1, + 1 + ], + "line-offset": 4 + } + }, + { + "id": "toponyme - cote de courbe normale", + "type": "symbol", + "source": "plan_ign", + "source-layer": "oro_courbe", + "minzoom": 13, + "maxzoom": 16, + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 13, + 10 + ], + [ + 15, + 13 + ] + ] + }, + "text-anchor": "center", + "text-rotation-alignment": "map", + "text-pitch-alignment": "viewport", + "text-keep-upright": false, + "text-max-angle": 20, + "text-max-width": 100, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "filter": [ + "all", + [ + "!=", + "texte", + "0" + ], + [ + "==", + "hors_zone", + true + ], + [ + "in", + "symbo", + "CNV_MAITRESSE", + "CUVETTE_MAITRESSE" + ] + ], + "paint": { + "text-color": "#604A2F", + "text-halo-width": 0.5, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - cote de courbe rocher", + "type": "symbol", + "source": "plan_ign", + "source-layer": "oro_courbe", + "minzoom": 13, + "maxzoom": 16, + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 13, + 10 + ], + [ + 15, + 13 + ] + ] + }, + "text-anchor": "center", + "text-rotation-alignment": "map", + "text-pitch-alignment": "viewport", + "text-keep-upright": false, + "text-max-angle": 20, + "text-max-width": 100, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "filter": [ + "all", + [ + "!=", + "texte", + "0" + ], + [ + "==", + "hors_zone", + true + ], + [ + "in", + "symbo", + "CNV_ROCHER_MAITRESSE", + "CUV_ROCHER_MAITRESSE" + ] + ], + "paint": { + "text-color": "#333333", + "text-halo-width": 0.5, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - cote de courbe glacier", + "type": "symbol", + "source": "plan_ign", + "source-layer": "oro_courbe", + "minzoom": 13, + "maxzoom": 16, + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 13, + 10 + ], + [ + 15, + 13 + ] + ] + }, + "text-anchor": "center", + "text-rotation-alignment": "map", + "text-pitch-alignment": "viewport", + "text-keep-upright": false, + "text-max-angle": 20, + "text-max-width": 100, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "filter": [ + "all", + [ + "!=", + "texte", + "0" + ], + [ + "==", + "hors_zone", + true + ], + [ + "in", + "symbo", + "CNV_GLACIER_MAITRESSE", + "CUV_GLACIER_MAITRESSE" + ] + ], + "paint": { + "text-color": "#629FD9", + "text-halo-width": 0.5, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "hydro surfacique", + "type": "fill", + "source": "plan_ign", + "source-layer": "hydro_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "SURFACE_D_EAU", + "BASSIN", + "ZONE_MARINE" + ], + "paint": { + "fill-color": "#B3D9FF", + "fill-outline-color": "#B3D9FF" + } + }, + { + "id": "hydro surfacique temporaire", + "type": "fill", + "source": "plan_ign", + "source-layer": "hydro_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "SURFACE_D_EAU_TEMP" + ], + "paint": { + "fill-color": "rgba(164, 198, 233, 0.5)" + } + }, + { + "id": "réseau hydro - cours d'eau souterrain", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "réseau hydro - filet interieur - aqueduc souterrain", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sou", + "minzoom": 12, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AQUEDUC_SOU" + ], + "paint": { + "line-color": "#B3D9FF", + "line-width": { + "stops": [ + [ + 12, + 1.4 + ], + [ + 16, + 3.5 + ], + [ + 17, + 5.9 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "réseau hydro - carre - aqueduc souterrain", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sou", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AQUEDUC_SOU" + ], + "paint": { + "line-color": "#B3D9FF", + "line-width": { + "stops": [ + [ + 12, + 3.5 + ], + [ + 16, + 8.7 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 1, + 5 + ] + } + }, + { + "id": "Ferre souterrain - voie normale", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_1_SOU", + "VF_2_SOU", + "VF_3_SOU", + "VF_4_SOU", + "VF_ELEC_1_SOU", + "VF_ELEC_2_SOU", + "VF_ELEC_3_SOU", + "VF_ELEC_4_SOU", + "VF_FERRO_ROUTIER_SOU" + ], + "paint": { + "line-color": "#838383", + "line-width": { + "stops": [ + [ + 10, + 0.8 + ], + [ + 17, + 2.5 + ] + ] + } + } + }, + { + "id": "Ferre souterrain - trait perpendic épais", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_1_SOU", + "VF_2_SOU", + "VF_3_SOU", + "VF_4_SOU", + "VF_ELEC_1_SOU", + "VF_ELEC_2_SOU", + "VF_ELEC_3_SOU", + "VF_ELEC_4_SOU", + "VF_FERRO_ROUTIER_SOU" + ], + "paint": { + "line-color": "#838383", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 0.1, + 10 + ] + } + }, + { + "id": "Ferre souterrain - voie etroite", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "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 + ] + ] + } + } + }, + { + "id": "Ferre souterrain - trait perpendic fin", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "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 + ] + ] + }, + "line-dasharray": [ + 0.1, + 10 + ] + } + }, + { + "id": "Ferre souterrain - voie service", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "minzoom": 14, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_SERVICE_SOU", + "VF_NON_EXPLOITEE_SOU" + ], + "paint": { + "line-color": "#838383", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + }, + "line-dasharray": [ + 5, + 2, + 1, + 2 + ] + } + }, + { + "id": "Ferre souterrain - funic/urbain", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "FUNI_CREMAILLERE_SOU", + "TRANSPORT_URBAIN_SOU" + ], + "paint": { + "line-color": "#838383", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + } + } + }, + { + "id": "Ferre souterrain - 2 trait perpendic - funic/urbain", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "FUNI_CREMAILLERE_SOU", + "TRANSPORT_URBAIN_SOU" + ], + "paint": { + "line-color": "#838383", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 17 + ] + ] + }, + "line-dasharray": [ + 0.1, + 0.2, + 0.1, + 10 + ] + } + }, + { + "id": "Chemin souterrain - piste cyclable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "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 + ] + ] + }, + "line-dasharray": [ + 6, + 2 + ] + } + }, + { + "id": "Chemin souterrain - filet exterieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 14, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "ESCALIER_SOU" + ], + "paint": { + "line-color": "#717171", + "line-width": { + "stops": [ + [ + 14, + 1.75 + ], + [ + 15, + 3 + ], + [ + 16, + 4.2 + ], + [ + 17, + 9.5 + ] + ] + } + } + }, + { + "id": "Chemin souterrain - filet interieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 14, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "ESCALIER_SOU" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.9 + ], + [ + 16, + 2.7 + ], + [ + 17, + 5.8 + ] + ] + }, + "line-dasharray": [ + 1, + 0.2 + ] + } + }, + { + "id": "Chemin souterrain - Rue pietonne", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 14, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "RUE_PIETONNE_SOU" + ], + "paint": { + "line-color": "#717171", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ] + ] + }, + "line-dasharray": [ + 1, + 3 + ] + } + }, + { + "id": "Chemin souterrain - sentier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "SENTIER_SOU" + ], + "paint": { + "line-color": "#717171", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ] + ] + }, + "line-dasharray": [ + 4, + 3 + ] + } + }, + { + "id": "Chemin souterrain - chemin", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sou", + "minzoom": 12, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "CHEMIN_SOU" + ], + "paint": { + "line-color": "#717171", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_REVETUE_CARRO_SOU" + ], + "paint": { + "line-color": "#AFAFAF", + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier souterrain - filet extérieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 12, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_AUTO_PEAGE_3_SOU", + "BRET_AUTO_PEAGE_2_SOU", + "BRET_AUTO_PEAGE_1_SOU", + "BRET_AUTO_LIBRE_3_SOU", + "BRET_AUTO_LIBRE_2_SOU", + "BRET_AUTO_LIBRE_1_SOU" + ], + "paint": { + "line-color": "rgba(255, 0, 51, 0.5)", + "line-width": { + "stops": [ + [ + 12, + 2.5 + ], + [ + 14, + 3.7 + ], + [ + 15, + 6.8 + ], + [ + 16, + 8.4 + ], + [ + 17, + 14 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "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 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "NON_CLASSEE_4_SOU", + "NON_CLASSEE_SOU" + ], + "paint": { + "line-color": "#AFAFAF", + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_LOCALE_SOU", + "LOCALE_4_SOU", + "LOCALE_3_SOU", + "LOCALE_2_SOU", + "LOCALE_1_SOU" + ], + "paint": { + "line-color": "rgba(130, 130, 130, 0.5)", + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 11, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LOCALE_CONSTR_SOU" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_REGIONALE_SOU", + "REGIONALE_4_SOU", + "REGIONALE_3_SOU", + "REGIONALE_2_SOU", + "REGIONALE_1_SOU" + ], + "paint": { + "line-color": "rgba(130, 130, 130, 0.5)", + "line-width": { + "stops": [ + [ + 6, + 1.5 + ], + [ + 9, + 2.3 + ], + [ + 14, + 5 + ], + [ + 15, + 8.1 + ], + [ + 16, + 11.2 + ], + [ + 17, + 22 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REGIONALE_CONSTR_SOU" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 6, + 1.5 + ], + [ + 9, + 2.3 + ], + [ + 14, + 5 + ], + [ + 15, + 8.1 + ], + [ + 16, + 11.2 + ], + [ + 17, + 22 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 7, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_PRINCIPALE_SOU", + "PRINCIPALE_4_SOU", + "PRINCIPALE_3_SOU", + "PRINCIPALE_2_SOU", + "PRINCIPALE_1_SOU" + ], + "paint": { + "line-color": "rgba(255, 0, 51, 0.5)", + "line-width": { + "stops": [ + [ + 6, + 1.8 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.9 + ], + [ + 15, + 9 + ], + [ + 16, + 12.2 + ], + [ + 17, + 22.5 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PRINCIPALE_CONSTR_SOU" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 6, + 1.8 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.9 + ], + [ + 15, + 9 + ], + [ + 16, + 12.2 + ], + [ + 17, + 22.5 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 7, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "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 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet extérieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR_SOU" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_REVETUE_CARRO_SOU" + ], + "paint": { + "line-color": "#DCDCDC", + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 12, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_AUTO_PEAGE_3_SOU", + "BRET_AUTO_PEAGE_2_SOU", + "BRET_AUTO_PEAGE_1_SOU", + "BRET_AUTO_LIBRE_3_SOU", + "BRET_AUTO_LIBRE_2_SOU", + "BRET_AUTO_LIBRE_1_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [ + [ + 12, + 1.5 + ], + [ + 14, + 2.6 + ], + [ + 15, + 5.2 + ], + [ + 16, + 6.7 + ], + [ + 17, + 10.8 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "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 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "NON_CLASSEE_4_SOU", + "NON_CLASSEE_SOU" + ], + "paint": { + "line-color": "#DCDCDC", + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_LOCALE_SOU", + "LOCALE_4_SOU", + "LOCALE_3_SOU", + "LOCALE_2_SOU", + "LOCALE_1_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [ + [ + 9, + 1.3 + ], + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.1 + ], + [ + 17, + 13.1 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 11, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LOCALE_CONSTR_SOU" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#FFFFFF" + ], + [ + 13, + "#FFA35D" + ], + [ + 17, + "#FFAD6F" + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier souterrain - filet interieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_REGIONALE_SOU", + "REGIONALE_4_SOU", + "REGIONALE_3_SOU", + "REGIONALE_2_SOU", + "REGIONALE_1_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [ + [ + 6, + 1.4 + ], + [ + 9, + 1.5 + ], + [ + 14, + 3.2 + ], + [ + 15, + 5.8 + ], + [ + 16, + 8.3 + ], + [ + 17, + 16.2 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REGIONALE_CONSTR_SOU" + ], + "paint": { + "line-color": { + "stops": [ + [ + 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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier souterrain - filet interieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_PRINCIPALE_SOU", + "PRINCIPALE_4_SOU", + "PRINCIPALE_3_SOU", + "PRINCIPALE_2_SOU", + "PRINCIPALE_1_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [ + [ + 4, + 0.5 + ], + [ + 6, + 1.8 + ], + [ + 9, + 2.1 + ], + [ + 14, + 4.4 + ], + [ + 15, + 7.3 + ], + [ + 16, + 10 + ], + [ + 17, + 18.5 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PRINCIPALE_CONSTR_SOU" + ], + "paint": { + "line-color": { + "stops": [ + [ + 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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier souterrain - filet interieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE_SOU", + "AUTOROU_LIBRE_SOU" + ], + "paint": { + "line-color": "rgba(255, 255, 255, 0.5)", + "line-width": { + "stops": [ + [ + 4, + 0.7 + ], + [ + 6, + 2.5 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.8 + ], + [ + 15, + 9 + ], + [ + 16, + 12 + ], + [ + 17, + 20.8 + ] + ] + } + } + }, + { + "id": "Routier souterrain - axe central - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE_SOU", + "AUTOROU_LIBRE_SOU" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 9, + 0.6 + ], + [ + 14, + 0.7 + ], + [ + 15, + 1 + ], + [ + 16, + 1.2 + ], + [ + 17, + 2.1 + ] + ] + } + } + }, + { + "id": "Routier souterrain - filet interieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR_SOU" + ], + "paint": { + "line-color": { + "stops": [ + [ + 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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier souterrain - axe central - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR_SOU" + ], + "paint": { + "line-color": "#808080", + "line-width": { + "stops": [ + [ + 9, + 0.6 + ], + [ + 14, + 0.7 + ], + [ + 15, + 1 + ], + [ + 16, + 1.2 + ], + [ + 17, + 2.1 + ] + ] + } + } + }, + { + "id": "réseau hydro - cours d'eau temporaire", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "COURS_D_EAU_TEMP", + "COURS_D_EAU_TEMP_MOY" + ], + "paint": { + "line-color": "#B3D9FF", + "line-width": { + "stops": [ + [ + 12, + 1.5 + ], + [ + 17, + 4 + ] + ] + }, + "line-dasharray": [ + 6, + 2 + ] + } + }, + { + "id": "réseau hydro - cours d'eau", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "minzoom": 3, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "COURS_D_EAU" + ], + "paint": { + "line-color": "#B3D9FF", + "line-width": { + "stops": [ + [ + 4, + 0.3 + ], + [ + 7, + 1.5 + ], + [ + 12, + 1.5 + ], + [ + 17, + 6.5 + ] + ] + } + } + }, + { + "id": "réseau hydro - canal", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "CANAL" + ], + "paint": { + "line-color": "#B3D9FF", + "line-width": { + "stops": [ + [ + 12, + 1.4 + ], + [ + 17, + 5.9 + ] + ] + } + } + }, + { + "id": "réseau hydro - filet interieur - aqueduc", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AQUEDUC_AU_SOL" + ], + "paint": { + "line-color": "#B3D9FF", + "line-width": { + "stops": [ + [ + 12, + 1.4 + ], + [ + 16, + 3.5 + ], + [ + 17, + 5.9 + ] + ] + } + } + }, + { + "id": "réseau hydro - carre - aqueduc", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AQUEDUC_AU_SOL" + ], + "paint": { + "line-color": "#B3D9FF", + "line-width": { + "stops": [ + [ + 12, + 3.5 + ], + [ + 16, + 8.7 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 1, + 5 + ] + } + }, + { + "id": "réseau hydro - cours d'eau moyen ", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "COURS_D_EAU_MOY" + ], + "paint": { + "line-color": "#B3D9FF", + "line-width": { + "stops": [ + [ + 7, + 2 + ], + [ + 12, + 2.5 + ] + ] + } + } + }, + { + "id": "réseau hydro - cours d'eau large ", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "COURS_D_EAU_LAR" + ], + "paint": { + "line-color": "#B3D9FF", + "line-width": { + "stops": [ + [ + 7, + 3 + ], + [ + 11, + 5 + ] + ] + } + } + }, + { + "id": "parcellaire - parcelle surface", + "type": "fill", + "source": "plan_ign", + "source-layer": "parcellaire_parcelle", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "PARCELLE" + ], + "paint": { + "fill-color": "#FFFFD1", + "fill-opacity": 0.7 + } + }, + { + "id": "cimetiere surfacique 1", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "CIMETIERE_SURF", + "CIMETIERE_MILI_SURF", + "NECROPOLE_NATIONALE" + ], + "paint": { + "fill-color": "#F0F0F0", + "fill-opacity": 0.5, + "fill-outline-color": "#818181" + } + }, + { + "id": "cimetiere surfacique 2", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "CIMETIERE_SURF", + "CIMETIERE_MILI_SURF", + "NECROPOLE_NATIONALE" + ], + "paint": { + "fill-pattern": "Cimetiere" + } + }, + { + "id": "bati surfacique mairie - Zoom 14", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "maxzoom": 14, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "MAIRIE", + "MAIRIE_ANNEXE" + ], + "paint": { + "fill-color": "#FF0032" + } + }, + { + "id": "bati surfacique mairie - Zoom 15,16,17,18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 14, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "MAIRIE", + "MAIRIE_ANNEXE" + ], + "paint": { + "fill-color": { + "stops": [ + [ + 14, + "#FF0032" + ], + [ + 15, + "#C80032" + ] + ] + }, + "fill-outline-color": "#000000" + } + }, + { + "id": "bati surfacique fonctionnel industriel ou commercial - Zoom 14,15", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "BATI_COMMERCIAL", + "BATI_INDUSTRIEL", + "HANGAR", + "HANGAR_COMMERCIAL", + "HANGAR_INDUSTRIEL" + ], + "paint": { + "fill-color": "#757575" + } + }, + { + "id": "bati surfacique fonctionnel industriel ou commercial - Zoom 16,17,18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "BATI_COMMERCIAL", + "BATI_INDUSTRIEL", + "HANGAR", + "HANGAR_COMMERCIAL", + "HANGAR_INDUSTRIEL" + ], + "paint": { + "fill-color": { + "stops": [ + [ + 15, + "#818181" + ], + [ + 16, + "#8E8E8E" + ] + ] + }, + "fill-outline-color": "#000000" + } + }, + { + "id": "bati surfacique fonctionnel public - Zoom 14,15", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "BATI_PUBLIC", + "HANGAR_PUBLIC" + ], + "paint": { + "fill-color": "#6C6C8C" + } + }, + { + "id": "bati surfacique fonctionnel public - Zoom 16,17,18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "BATI_PUBLIC", + "HANGAR_PUBLIC" + ], + "paint": { + "fill-color": { + "stops": [ + [ + 15, + "#66668C" + ], + [ + 16, + "#63638C" + ] + ] + }, + "fill-outline-color": "#000000" + } + }, + { + "id": "bati surfacique fonctionnel sportif - bordure", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 15, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "BATI_SPORTIF" + ], + "paint": { + "line-color": "#758275", + "line-width": 4 + } + }, + { + "id": "bati surfacique fonctionnel sportif", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 13, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "BATI_SPORTIF" + ], + "paint": { + "fill-color": { + "stops": [ + [ + 14, + "#92A292" + ], + [ + 15, + "#92A292" + ] + ] + } + } + }, + { + "id": "bati surfacique fonctionnel gare - Zoom 14,15", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "BATI_GARE" + ], + "paint": { + "fill-color": "#9C9EC3" + } + }, + { + "id": "bati surfacique fonctionnel gare - Zoom 16,17,18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "BATI_GARE" + ], + "paint": { + "fill-color": { + "stops": [ + [ + 15, + "#9C9EC3" + ], + [ + 16, + "#9C9EC3" + ] + ] + }, + "fill-outline-color": "#635D7A" + } + }, + { + "id": "bati surfacique quelconque - Zoom 15", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 14, + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "BATI_QQUE" + ], + "paint": { + "fill-color": "#323232" + } + }, + { + "id": "bati surfacique quelconque - Zoom 16,17,18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "BATI_QQUE" + ], + "paint": { + "fill-color": { + "stops": [ + [ + 15, + "#404040" + ], + [ + 16, + "#4C4C4C" + ] + ] + }, + "fill-outline-color": "#000000" + } + }, + { + "id": "bati hydro surfacique - Autre", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "ECLUSE_SURF", + "RESERVOIR_EAU_SURF" + ], + "paint": { + "fill-color": "#ADCCD9", + "fill-outline-color": "#336699" + } + }, + { + "id": "bati hydro surfacique - Pecherie", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "PECHERIE_SURF" + ], + "paint": { + "fill-color": "#BFE2F0", + "fill-outline-color": "#509FEF" + } + }, + { + "id": "bati hydro surfacique - Barrage", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "BARRAGE_SURF" + ], + "paint": { + "fill-color": "#FFFFFF", + "fill-outline-color": "#464646" + } + }, + { + "id": "bati hydro surfacique - Chateau d'eau", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "CHATEAU_EAU_SURF" + ], + "paint": { + "fill-color": "#0081FF" + } + }, + { + "id": "bati infra surfacique - Silo", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "SILO_SURF" + ], + "paint": { + "fill-color": "#C7A9AA", + "fill-outline-color": "#696969" + } + }, + { + "id": "bati infra surfacique - Reservoir indus", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 14, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "RESERVOIR_INDUS_SURF" + ], + "paint": { + "fill-color": "#8D9DAA", + "fill-outline-color": "#464646" + } + }, + { + "id": "bati infra surfacique - Serre", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 13, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "SERRE_SURF" + ], + "paint": { + "fill-color": "#CAD6D9", + "fill-outline-color": "#8C8C8C" + } + }, + { + "id": "bati infra surfacique - poste electrique", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "POSTE_ELEC_SURF" + ], + "paint": { + "fill-color": "#7993B6", + "fill-opacity": 0.3 + } + }, + { + "id": "bati infra surfacique - poste electrique bord", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "POSTE_ELEC_SURF" + ], + "paint": { + "line-color": "#000000", + "line-width": { + "stops": [ + [ + 12, + 0.3 + ], + [ + 17, + 1.2 + ] + ] + } + } + }, + { + "id": "bati religieux surfacique - Zoom 14", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "maxzoom": 14, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "CHAPELLE_SURF", + "EGLISE_SURF", + "CHRETIEN_SURF", + "SYNAGOGUE_SURF", + "MOSQUEE_SURF", + "AUTRE_CULTE_SURF", + "RELIGIEUX_QQUE" + ], + "paint": { + "fill-color": "#967575" + } + }, + { + "id": "bati religieux surfacique - Zoom 15,16,17,18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 14, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "CHAPELLE_SURF", + "EGLISE_SURF", + "CHRETIEN_SURF", + "SYNAGOGUE_SURF", + "MOSQUEE_SURF", + "AUTRE_CULTE_SURF", + "RELIGIEUX_QQUE" + ], + "paint": { + "fill-color": { + "stops": [ + [ + 14, + "#967575" + ], + [ + 15, + "#A27E7E" + ] + ] + }, + "fill-outline-color": { + "stops": [ + [ + 14, + "#000000" + ], + [ + 15, + "#000000" + ] + ] + } + } + }, + { + "id": "bati remarquable surfacique", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 13, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "FORTIF_SURF", + "CHATEAU_SURF", + "TOUR_MOULIN_SURF", + "ARENE_THEATRE", + "ARC_TRIOMPHE_SURF", + "MONUMENT_SURF" + ], + "paint": { + "fill-color": "#9B9B9B", + "fill-outline-color": "#6E6E6E" + } + }, + { + "id": "bati sportif surfacique fond", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "TENNIS_SURF", + "SPORT_INDIF_SURF", + "FOOT_SURF", + "MULTI_SPORT_SURF", + "PISTE_SPORT_SURF", + "NATATION_SURF" + ], + "paint": { + "fill-color": "#FFFFFF", + "fill-outline-color": "#FFFFFF" + } + }, + { + "id": "bati sportif surfacique", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "TENNIS_SURF", + "SPORT_INDIF_SURF", + "FOOT_SURF", + "MULTI_SPORT_SURF", + "PISTE_SPORT_SURF", + "NATATION_SURF" + ], + "paint": { + "line-color": "#758275", + "line-width": 2 + } + }, + { + "id": "bati transport surfacique - piste", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "PISTE_DUR", + "PISTE_HERBE" + ], + "paint": { + "fill-color": "#DBDBDB", + "fill-outline-color": "#808080" + } + }, + { + "id": "bati ZAI - Autres", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zai", + "minzoom": 15, + "maxzoom": 18, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "nature", + "Lycée", + "Université", + "Capitainerie", + "Gendarmerie", + "Siège d'EPCI", + "Musée", + "Collège", + "Maison de retraite", + "Etablissement thermal", + "Autre service déconcentré de l'Etat", + "Etablissement pénitentiaire", + "Divers public ou administratif", + "Autre établissement d'enseignement", + "Maison du parc", + "Palais de justice", + "Enseignement primaire", + "Office de tourisme", + "Hôpital", + "Police", + "Piscine", + "Enseignement supérieur", + "Poste", + "Caserne", + "Etablissement hospitalier", + "Etablissement extraterritorial", + "Science", + "Structure d'accueil pour personnes handicapées", + "Administration centrale de l'Etat", + "Caserne de pompiers" + ], + "paint": { + "fill-color": "#E3BFE2", + "fill-opacity": 0.5, + "fill-outline-color": "#E39FE1" + } + }, + { + "id": "bati ZAI - Commandement", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zai", + "minzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "nature", + "Hôtel de département", + "Hôtel de région", + "Hôtel de collectivité", + "Préfecture de région", + "Préfecture", + "Sous-préfecture" + ], + "paint": { + "fill-color": "#FF0000", + "fill-opacity": 0.3, + "fill-outline-color": "#B40000" + } + }, + { + "id": "construction linéaire - mur", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "MUR" + ], + "paint": { + "line-color": "#8C8C8C", + "line-width": 0.3 + } + }, + { + "id": "construction linéaire - autre", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "RUINE_LIN", + "MUR_SOUTENEMENT", + "FORTIF_LIN" + ], + "paint": { + "line-color": "#646464", + "line-width": 0.5 + } + }, + { + "id": "construction hydrographique linéaire - Barrage", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "BARRAGE_LIN" + ], + "paint": { + "line-color": "#646464", + "line-width": { + "stops": [ + [ + 13, + 1.5 + ], + [ + 17, + 5 + ] + ] + } + } + }, + { + "id": "construction hydrographique linéaire - Quai", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "QUAI", + "DIGUE" + ], + "paint": { + "line-color": "#828282", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 17, + 2.5 + ] + ] + } + } + }, + { + "id": "construction hydrographique linéaire - Pecherie", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PECHERIE_LIN" + ], + "paint": { + "line-color": "#0066CC", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 17, + 2.5 + ] + ] + } + } + }, + { + "id": "Chemin a niveau - piste cyclable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "PISTE_CYCLABLE", + "VOIE_VERTE" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#9B5CCC" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1.1 + ], + [ + 15, + 1.7 + ], + [ + 16, + 2 + ], + [ + 17, + 3.5 + ], + [ + 18, + 6 + ] + ] + }, + "line-dasharray": [ + 6, + 2 + ] + } + }, + { + "id": "Chemin a niveau - filet exterieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "ESCALIER" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#555555" + ], + [ + 18, + "#C8C8C8" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1.75 + ], + [ + 15, + 3 + ], + [ + 16, + 4.2 + ], + [ + 17, + 9.5 + ] + ] + } + } + }, + { + "id": "Chemin a niveau - filet interieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "ESCALIER" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.9 + ], + [ + 16, + 2.7 + ], + [ + 17, + 5.8 + ] + ] + }, + "line-dasharray": [ + 1, + 0.2 + ] + } + }, + { + "id": "Chemin a niveau - Rue pietonne", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "RUE_PIETONNE" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#555555" + ], + [ + 18, + "#F8E5D5" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ], + [ + 18, + 5 + ] + ] + }, + "line-dasharray": [ + 1, + 3 + ] + } + }, + { + "id": "Chemin a niveau - sentier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "SENTIER" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#555555" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ], + [ + 18, + 6 + ] + ] + }, + "line-dasharray": [ + 4, + 3 + ] + } + }, + { + "id": "Chemin a niveau - chemin", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "CHEMIN" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#555555" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ], + [ + 18, + 7 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_REVETUE_CARRO" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#646464" + ], + [ + 17, + "#8C8C8C" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier a niveau - filet interieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_REVETUE_CARRO" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ], + [ + 18, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_AUTO_PEAGE_3", + "BRET_AUTO_PEAGE_2", + "BRET_AUTO_PEAGE_1", + "BRET_AUTO_LIBRE_3", + "BRET_AUTO_LIBRE_2", + "BRET_AUTO_LIBRE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#000000" + ], + [ + 17, + "#000000" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 12, + 2.5 + ], + [ + 14, + 3.7 + ], + [ + 15, + 6.8 + ], + [ + 16, + 8.4 + ], + [ + 17, + 14 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_CLASSEE_RESTREINT" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#969696" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "NON_CLASSEE_4", + "NON_CLASSEE" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#969696" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 7, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_LOCALE", + "LOCALE_4", + "LOCALE_3", + "LOCALE_2", + "LOCALE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#8C8C8C" + ], + [ + 13, + "#B4B4B4" + ], + [ + 17, + "#B4B4B4" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 11, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LOCALE_CONSTR" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_REGIONALE", + "REGIONALE_4", + "REGIONALE_3", + "REGIONALE_2", + "REGIONALE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#828282" + ], + [ + 10, + "#B4B4B4" + ], + [ + 17, + "#B4B4B4" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 1.5 + ], + [ + 9, + 2.3 + ], + [ + 14, + 5 + ], + [ + 15, + 8.1 + ], + [ + 16, + 11.2 + ], + [ + 17, + 22 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REGIONALE_CONSTR" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 6, + 1.5 + ], + [ + 9, + 2.3 + ], + [ + 14, + 5 + ], + [ + 15, + 8.1 + ], + [ + 16, + 11.2 + ], + [ + 17, + 22 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_PRINCIPALE", + "PRINCIPALE_4", + "PRINCIPALE_3", + "PRINCIPALE_2", + "PRINCIPALE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#000000" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 1.8 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.9 + ], + [ + 15, + 9 + ], + [ + 16, + 12.2 + ], + [ + 17, + 22.5 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PRINCIPALE_CONSTR" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 6, + 1.8 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.9 + ], + [ + 15, + 9 + ], + [ + 16, + 12.2 + ], + [ + 17, + 22.5 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE", + "AUTOROU_LIBRE" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#000000" + ], + [ + 17, + "#000000" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 12, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_AUTO_PEAGE_3", + "BRET_AUTO_PEAGE_2", + "BRET_AUTO_PEAGE_1", + "BRET_AUTO_LIBRE_3", + "BRET_AUTO_LIBRE_2", + "BRET_AUTO_LIBRE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#FF0033" + ], + [ + 17, + "#FF476C" + ] + ] + }, + "line-width": { + "stops": [ + [ + 12, + 1.5 + ], + [ + 14, + 2.6 + ], + [ + 15, + 5.2 + ], + [ + 16, + 6.7 + ], + [ + 17, + 10.8 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_CLASSEE_RESTREINT" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "NON_CLASSEE_4", + "NON_CLASSEE" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_LOCALE", + "LOCALE_4", + "LOCALE_3", + "LOCALE_2", + "LOCALE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 11, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LOCALE_CONSTR" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#FFFFFF" + ], + [ + 13, + "#FFA35D" + ], + [ + 17, + "#FFAD6F" + ], + [ + 18, + "#EDEDED" + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier a niveau - filet interieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_REGIONALE", + "REGIONALE_4", + "REGIONALE_3", + "REGIONALE_2", + "REGIONALE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REGIONALE_CONSTR" + ], + "paint": { + "line-color": { + "stops": [ + [ + 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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier a niveau - filet interieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_PRINCIPALE", + "PRINCIPALE_4", + "PRINCIPALE_3", + "PRINCIPALE_2", + "PRINCIPALE_1" + ], + "paint": { + "line-color": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PRINCIPALE_CONSTR" + ], + "paint": { + "line-color": { + "stops": [ + [ + 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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier a niveau - filet interieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE", + "AUTOROU_LIBRE" + ], + "paint": { + "line-color": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier a niveau - axe central - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE", + "AUTOROU_LIBRE" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 9, + 0.6 + ], + [ + 14, + 0.7 + ], + [ + 15, + 1 + ], + [ + 16, + 1.2 + ], + [ + 17, + 2.1 + ] + ] + } + } + }, + { + "id": "Routier a niveau - filet interieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier a niveau - axe centrale - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR" + ], + "paint": { + "line-color": "#808080", + "line-width": { + "stops": [ + [ + 9, + 0.6 + ], + [ + 14, + 0.7 + ], + [ + 15, + 1 + ], + [ + 16, + 1.2 + ], + [ + 17, + 2.1 + ] + ] + } + } + }, + { + "id": "Ferre a niveau - voie normale", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_1", + "VF_2", + "VF_3", + "VF_4", + "VF_ELEC_1", + "VF_ELEC_2", + "VF_ELEC_3", + "VF_ELEC_4" + ], + "paint": { + "line-color": "#505050", + "line-width": { + "stops": [ + [ + 10, + 0.8 + ], + [ + 17, + 2.5 + ] + ] + } + } + }, + { + "id": "Ferre a niveau - voie normale trait perpendic", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_1", + "VF_2", + "VF_3", + "VF_4", + "VF_ELEC_1", + "VF_ELEC_2", + "VF_ELEC_3", + "VF_ELEC_4" + ], + "paint": { + "line-color": "#505050", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 0.1, + 10 + ] + } + }, + { + "id": "Ferre a niveau - voie etroite", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_ETROITE_1", + "VF_ETROITE_2", + "VF_ETROITE" + ], + "paint": { + "line-color": "#505050", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + } + } + }, + { + "id": "Ferre a niveau - voie etroite trait perpendic", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_ETROITE_1", + "VF_ETROITE_2", + "VF_ETROITE" + ], + "paint": { + "line-color": "#505050", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 0.1, + 10 + ] + } + }, + { + "id": "Ferre a niveau - voie service", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_SERVICE", + "VF_NON_EXPLOITEE" + ], + "paint": { + "line-color": "#505050", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + }, + "line-dasharray": [ + 5, + 2, + 1, + 2 + ] + } + }, + { + "id": "Ferre a niveau - voie en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "VF_EN_CONSTR" + ], + "paint": { + "line-color": "#505050", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Ferre a niveau - voie en construction trait perpendic", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "VF_EN_CONSTR" + ], + "paint": { + "line-color": "#505050", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 0.1, + 10 + ] + } + }, + { + "id": "Ferre a niveau - funic/urbain", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "FUNI_CREMAILLERE", + "TRANSPORT_URBAIN" + ], + "paint": { + "line-color": "#505050", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + } + } + }, + { + "id": "Ferre a niveau - 2 trait perpendic - funic/urbain", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "FUNI_CREMAILLERE", + "TRANSPORT_URBAIN" + ], + "paint": { + "line-color": "#505050", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 17 + ] + ] + }, + "line-dasharray": [ + 0.1, + 0.2, + 0.1, + 10 + ] + } + }, + { + "id": "liaison routiere - Bac Liaison Maritime", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "minzoom": 8, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BAC_AUTO", + "LIAISON_MARITIME", + "BAC_LIAISON_MARITIME" + ], + "paint": { + "line-color": "#5792C2", + "line-width": { + "stops": [ + [ + 8, + 1 + ], + [ + 13, + 2.5 + ] + ] + } + } + }, + { + "id": "liaison routiere - Gue route", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "GUE_ROUTE" + ], + "paint": { + "line-color": { + "stops": [ + [ + 13, + "#BEBEBE" + ], + [ + 17, + "#646464" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "liaison routiere - Gue chemin", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "GUE_CHEMIN" + ], + "paint": { + "line-color": { + "stops": [ + [ + 13, + "#BEBEBE" + ], + [ + 17, + "#646464" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1.6 + ], + [ + 15, + 2.9 + ], + [ + 16, + 4.4 + ], + [ + 17, + 6.5 + ] + ] + } + } + }, + { + "id": "liaison routiere - filet extérieur - Pont passerelle", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "PONT_PASSERELLE", + "PONT_LIN", + "PONT_MOBILE_LIN" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#C8C8C8" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 2.2 + ], + [ + 15, + 3.8 + ], + [ + 16, + 5.4 + ], + [ + 17, + 11.8 + ] + ] + } + } + }, + { + "id": "liaison routiere - filet intérieur - Pont passerelle", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_liaison", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "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 + ] + ] + } + } + }, + { + "id": "Routier surfacique", + "type": "fill", + "source": "plan_ign", + "source-layer": "routier_surf", + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "SURF_ROUT_PRINC", + "SURF_ROUT_REG", + "SURF_ROUT_LOC", + "SURF_ROUT_NON_CLA" + ], + "paint": { + "fill-color": "#FFFFFF", + "fill-outline-color": "#000000" + } + }, + { + "id": "Routier surfacique - Dalle de protection", + "type": "fill", + "source": "plan_ign", + "source-layer": "routier_surf", + "maxzoom": 18, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "DALLE_DE_PROTECTION" + ], + "paint": { + "fill-opacity": 0.5, + "fill-color": "#FFFFFF", + "fill-outline-color": "#000000" + } + }, + { + "id": "Routier surfacique - Escalier surfacique", + "type": "fill", + "source": "plan_ign", + "source-layer": "routier_surf", + "maxzoom": 18, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "ESCALIER_SURF" + ], + "paint": { + "fill-opacity": 0.8, + "fill-color": "#FFFFFF", + "fill-outline-color": "#918091" + } + }, + { + "id": "Routier surfacique - Péage surfacique", + "type": "fill", + "source": "plan_ign", + "source-layer": "routier_surf", + "maxzoom": 18, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "SURF_PEAGE" + ], + "paint": { + "fill-color": "#F2DAAA", + "fill-outline-color": "#000000" + } + }, + { + "id": "bati transport surfacique - bati peage", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_surf", + "minzoom": 13, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "BATI_PEAGE" + ], + "paint": { + "fill-color": "#DCDCDC", + "fill-outline-color": "#808080" + } + }, + { + "id": "réseau hydro - cours d'eau superieur", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sup", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "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 + ] + ] + } + } + }, + { + "id": "réseau hydro - canal superieur", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sup", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "CANAL_SUP" + ], + "paint": { + "line-color": "#B3D9FF", + "line-width": { + "stops": [ + [ + 12, + 1.4 + ], + [ + 17, + 5.9 + ] + ] + } + } + }, + { + "id": "réseau hydro - filet interieur - aqueduc superieur", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sup", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AQUEDUC_SUP" + ], + "paint": { + "line-color": "#B3D9FF", + "line-width": { + "stops": [ + [ + 12, + 1.4 + ], + [ + 16, + 3.5 + ], + [ + 17, + 5.9 + ] + ] + } + } + }, + { + "id": "réseau hydro - carre - aqueduc superieur", + "type": "line", + "source": "plan_ign", + "source-layer": "hydro_reseau_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AQUEDUC_SUP" + ], + "paint": { + "line-color": "#B3D9FF", + "line-width": { + "stops": [ + [ + 12, + 3.5 + ], + [ + 16, + 8.7 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 1, + 5 + ] + } + }, + { + "id": "Chemin superieur - piste cyclable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "PISTE_CYCLABLE_SUP", + "VOIE_VERTE_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#9B5CCC" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1.1 + ], + [ + 15, + 1.7 + ], + [ + 16, + 2 + ], + [ + 17, + 3.5 + ], + [ + 18, + 6 + ] + ] + }, + "line-dasharray": [ + 6, + 2 + ] + } + }, + { + "id": "Chemin superieur - filet exterieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "ESCALIER_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#555555" + ], + [ + 18, + "#C8C8C8" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1.75 + ], + [ + 15, + 3 + ], + [ + 16, + 4.2 + ], + [ + 17, + 9.5 + ] + ] + } + } + }, + { + "id": "Chemin superieur - filet interieur - escalier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "ESCALIER_SUP" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.9 + ], + [ + 16, + 2.7 + ], + [ + 17, + 5.8 + ] + ] + }, + "line-dasharray": [ + 1, + 0.2 + ] + } + }, + { + "id": "Chemin superieur - Rue pietonne", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "RUE_PIETONNE_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#555555" + ], + [ + 18, + "#EBEBEB" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ], + [ + 18, + 5 + ] + ] + }, + "line-dasharray": [ + 1, + 3 + ] + } + }, + { + "id": "Chemin superieur - sentier", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "SENTIER_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#555555" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ], + [ + 18, + 6 + ] + ] + }, + "line-dasharray": [ + 4, + 3 + ] + } + }, + { + "id": "Chemin superieur - chemin", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_chemin_sup", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "CHEMIN_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#555555" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ], + [ + 18, + 7 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_REVETUE_CARRO_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#646464" + ], + [ + 17, + "#8C8C8C" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier superieur - filet extérieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_AUTO_PEAGE_3_SUP", + "BRET_AUTO_PEAGE_2_SUP", + "BRET_AUTO_PEAGE_1_SUP", + "BRET_AUTO_LIBRE_3_SUP", + "BRET_AUTO_LIBRE_2_SUP", + "BRET_AUTO_LIBRE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#000000" + ], + [ + 17, + "#000000" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 12, + 2.5 + ], + [ + 14, + 3.7 + ], + [ + 15, + 6.8 + ], + [ + 16, + 8.4 + ], + [ + 17, + 14 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_CLASSEE_RESTREINT_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#969696" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "NON_CLASSEE_4_SUP", + "NON_CLASSEE_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#969696" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 14, + 3.2 + ], + [ + 15, + 5.4 + ], + [ + 16, + 7.7 + ], + [ + 17, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_LOCALE_SUP", + "LOCALE_4_SUP", + "LOCALE_3_SUP", + "LOCALE_2_SUP", + "LOCALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#8C8C8C" + ], + [ + 13, + "#B4B4B4" + ], + [ + 17, + "#B4B4B4" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 11, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LOCALE_CONSTR_SUP" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_REGIONALE_SUP", + "REGIONALE_4_SUP", + "REGIONALE_3_SUP", + "REGIONALE_2_SUP", + "REGIONALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#828282" + ], + [ + 10, + "#B4B4B4" + ], + [ + 17, + "#B4B4B4" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 1.5 + ], + [ + 9, + 2.3 + ], + [ + 14, + 5 + ], + [ + 15, + 8.1 + ], + [ + 16, + 11.2 + ], + [ + 17, + 22 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REGIONALE_CONSTR_SUP" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 6, + 1.5 + ], + [ + 9, + 2.3 + ], + [ + 14, + 5 + ], + [ + 15, + 8.1 + ], + [ + 16, + 11.2 + ], + [ + 17, + 22 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_PRINCIPALE_SUP", + "PRINCIPALE_4_SUP", + "PRINCIPALE_3_SUP", + "PRINCIPALE_2_SUP", + "PRINCIPALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 17, + "#000000" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 1.8 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.9 + ], + [ + 15, + 9 + ], + [ + 16, + 12.2 + ], + [ + 17, + 22.5 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PRINCIPALE_CONSTR_SUP" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 6, + 1.8 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.9 + ], + [ + 15, + 9 + ], + [ + 16, + 12.2 + ], + [ + 17, + 22.5 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE_SUP", + "AUTOROU_LIBRE_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#000000" + ], + [ + 17, + "#000000" + ], + [ + 18, + "#FFFFFF" + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet extérieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR_SUP" + ], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [ + [ + 6, + 2.5 + ], + [ + 9, + 3.5 + ], + [ + 14, + 7.5 + ], + [ + 15, + 11 + ], + [ + 16, + 15 + ], + [ + 17, + 26 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "NON_REVETUE_CARRO_SUP" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ], + [ + 18, + 16.8 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 12, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_AUTO_PEAGE_3_SUP", + "BRET_AUTO_PEAGE_2_SUP", + "BRET_AUTO_PEAGE_1_SUP", + "BRET_AUTO_LIBRE_3_SUP", + "BRET_AUTO_LIBRE_2_SUP", + "BRET_AUTO_LIBRE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#FF0033" + ], + [ + 17, + "#FF476C" + ] + ] + }, + "line-width": { + "stops": [ + [ + 12, + 1.5 + ], + [ + 14, + 2.6 + ], + [ + 15, + 5.2 + ], + [ + 16, + 6.7 + ], + [ + 17, + 10.8 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "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 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route non classee", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "NON_CLASSEE_4_SUP", + "NON_CLASSEE_SUP" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.3 + ], + [ + 17, + 13.5 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route locale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_LOCALE_SUP", + "LOCALE_4_SUP", + "LOCALE_3_SUP", + "LOCALE_2_SUP", + "LOCALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#FFFFFF" + ], + [ + 13, + "#FFA35D" + ], + [ + 17, + "#FFAD6F" + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 1.3 + ], + [ + 14, + 2.3 + ], + [ + 15, + 4.1 + ], + [ + 16, + 6.1 + ], + [ + 17, + 13.1 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route locale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 11, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LOCALE_CONSTR_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 12, + "#FFFFFF" + ], + [ + 13, + "#FFA35D" + ], + [ + 17, + "#FFAD6F" + ] + ] + }, + "line-width": { + "stops": [ + [ + 9, + 2 + ], + [ + 14, + 3.5 + ], + [ + 15, + 6 + ], + [ + 16, + 8.4 + ], + [ + 17, + 18.3 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier superieur - filet interieur - route regionale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_REGIONALE_SUP", + "REGIONALE_4_SUP", + "REGIONALE_3_SUP", + "REGIONALE_2_SUP", + "REGIONALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#FFFFFF" + ], + [ + 10, + "#FF994C" + ], + [ + 17, + "#FFAD6F" + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 1.4 + ], + [ + 9, + 1.5 + ], + [ + 14, + 3.2 + ], + [ + 15, + 5.8 + ], + [ + 16, + 8.3 + ], + [ + 17, + 16.2 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route regionale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REGIONALE_CONSTR_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier superieur - filet interieur - route principale", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "BRET_PRINCIPALE_SUP", + "PRINCIPALE_4_SUP", + "PRINCIPALE_3_SUP", + "PRINCIPALE_2_SUP", + "PRINCIPALE_1_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#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 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - route principale en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PRINCIPALE_CONSTR_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 9, + "#FF0033" + ], + [ + 17, + "#FF476C" + ] + ] + }, + "line-width": { + "stops": [ + [ + 6, + 1.8 + ], + [ + 9, + 2.7 + ], + [ + 14, + 5.9 + ], + [ + 15, + 9 + ], + [ + 16, + 12.2 + ], + [ + 17, + 22.5 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier superieur - filet interieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE_SUP", + "AUTOROU_LIBRE_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 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 + ] + ] + } + } + }, + { + "id": "Routier superieur - axe central - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "AUTOROU_PEAGE_SUP", + "AUTOROU_LIBRE_SUP" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [ + [ + 9, + 0.6 + ], + [ + 14, + 0.7 + ], + [ + 15, + 1 + ], + [ + 16, + 1.2 + ], + [ + 17, + 2.1 + ] + ] + } + } + }, + { + "id": "Routier superieur - filet interieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR_SUP" + ], + "paint": { + "line-color": { + "stops": [ + [ + 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 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Routier superieur - axe centrale - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "AUTOROU_CONSTR_SUP" + ], + "paint": { + "line-color": "#808080", + "line-width": { + "stops": [ + [ + 9, + 0.6 + ], + [ + 14, + 0.7 + ], + [ + 15, + 1 + ], + [ + 16, + 1.2 + ], + [ + 17, + 2.1 + ] + ] + } + } + }, + { + "id": "Ferre superieur - voie normale", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_1_SUP", + "VF_2_SUP", + "VF_3_SUP", + "VF_4_SUP", + "VF_ELEC_1_SUP", + "VF_ELEC_2_SUP", + "VF_ELEC_3_SUP", + "VF_ELEC_4_SUP" + ], + "paint": { + "line-color": "#505050", + "line-width": { + "stops": [ + [ + 10, + 0.8 + ], + [ + 17, + 2.5 + ] + ] + } + } + }, + { + "id": "Ferre superieur - voie normale trait perpendic", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_1_SUP", + "VF_2_SUP", + "VF_3_SUP", + "VF_4_SUP", + "VF_ELEC_1_SUP", + "VF_ELEC_2_SUP", + "VF_ELEC_3_SUP", + "VF_ELEC_4_SUP" + ], + "paint": { + "line-color": "#505050", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 0.1, + 10 + ] + } + }, + { + "id": "Ferre superieur - voie etroite", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_ETROITE_1_SUP", + "VF_ETROITE_2_SUP", + "VF_ETROITE_SUP" + ], + "paint": { + "line-color": "#505050", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + } + } + }, + { + "id": "Ferre superieur - voie etroite trait perpendic", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_ETROITE_1_SUP", + "VF_ETROITE_2_SUP", + "VF_ETROITE_SUP" + ], + "paint": { + "line-color": "#505050", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 0.1, + 10 + ] + } + }, + { + "id": "Ferre superieur - voie service", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 14, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "VF_SERVICE_SUP", + "VF_NON_EXPLOITEE_SUP" + ], + "paint": { + "line-color": "#505050", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + }, + "line-dasharray": [ + 5, + 2, + 1, + 2 + ] + } + }, + { + "id": "Ferre superieur - voie en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "VF_EN_CONSTR_SUP" + ], + "paint": { + "line-color": "#505050", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "Ferre superieur - voie en construction trait perpendic", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "minzoom": 10, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "VF_EN_CONSTR_SUP" + ], + "paint": { + "line-color": "#505050", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 14.7 + ] + ] + }, + "line-dasharray": [ + 0.1, + 10 + ] + } + }, + { + "id": "Ferre superieur - funic/urbain", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "FUNI_CREMAILLERE_SUP", + "TRANSPORT_URBAIN_SUP" + ], + "paint": { + "line-color": "#505050", + "line-width": { + "stops": [ + [ + 10, + 0.3 + ], + [ + 17, + 1.8 + ] + ] + } + } + }, + { + "id": "Ferre superieur - 2 trait perpendic - funic/urbain", + "type": "line", + "source": "plan_ign", + "source-layer": "ferre_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "FUNI_CREMAILLERE_SUP", + "TRANSPORT_URBAIN_SUP" + ], + "paint": { + "line-color": "#505050", + "line-width": { + "stops": [ + [ + 10, + 3.5 + ], + [ + 17, + 17 + ] + ] + }, + "line-dasharray": [ + 0.1, + 0.2, + 0.1, + 10 + ] + } + }, + { + "id": "Limite - cloture", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "CLOTURE" + ], + "paint": { + "line-color": "#000000", + "line-width": { + "stops": [ + [ + 13, + 0.6 + ], + [ + 17, + 1 + ] + ] + }, + "line-dasharray": [ + 1.5, + 4 + ] + } + }, + { + "id": "Limite - layon", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 14, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LAYON" + ], + "paint": { + "line-color": "#717171", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 15, + 1.2 + ], + [ + 16, + 1.4 + ], + [ + 17, + 2 + ] + ] + }, + "line-dasharray": [ + 4, + 7 + ] + } + }, + { + "id": "Zone Règlementee - Enceinte militaire", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_ZONE_REGLEMENTEE", + "LIM_ENCEINTE_MILITAIRE", + "LIM_ENCEINTE_MILI", + "LIM_CHAMP_TIR" + ], + "paint": { + "line-color": "rgba(226, 130, 92, 0.8)", + "line-width": { + "stops": [ + [ + 13, + 1.7 + ], + [ + 17, + 3.1 + ] + ] + }, + "line-dasharray": [ + 4, + 1, + 2, + 5 + ] + } + }, + { + "id": "limite zone naturelle", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_ZONE_NATURELLE", + "LIM_ZONE_NATURELLE_ILE", + "LIM_RESERVE_NATURELLE" + ], + "paint": { + "line-color": "#FFC2CB", + "line-width": { + "stops": [ + [ + 13, + 2 + ], + [ + 17, + 4 + ] + ] + }, + "line-dasharray": [ + 2, + 1 + ] + } + }, + { + "id": "limite zone naturelle - Parc naturel 10", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "maxzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_PARC_NATUREL", + "LIM_PARC_NATUREL_ILE" + ], + "paint": { + "line-color": "#42A266", + "line-width": { + "stops": [ + [ + 13, + 2 + ], + [ + 17, + 4 + ] + ] + }, + "line-dasharray": [ + 2, + 1 + ] + } + }, + { + "id": "limite zone naturelle - Parc naturel 11", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 10, + "maxzoom": 11, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_PARC_NATUREL", + "LIM_PARC_NATUREL_ILE" + ], + "paint": { + "line-color": "#42A266", + "line-width": { + "stops": [ + [ + 13, + 2 + ], + [ + 17, + 4 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + } + }, + { + "id": "limite zone naturelle - Parc naturel 12", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 11, + "maxzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_PARC_NATUREL", + "LIM_PARC_NATUREL_ILE" + ], + "paint": { + "line-color": "#42A266", + "line-width": { + "stops": [ + [ + 13, + 2 + ], + [ + 17, + 4 + ] + ] + }, + "line-dasharray": [ + 2, + 3 + ] + } + }, + { + "id": "limite zone naturelle - Parc naturel 13", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 12, + "maxzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_PARC_NATUREL", + "LIM_PARC_NATUREL_ILE" + ], + "paint": { + "line-color": "#42A266", + "line-width": { + "stops": [ + [ + 13, + 2 + ], + [ + 17, + 4 + ] + ] + }, + "line-dasharray": [ + 2, + 4 + ] + } + }, + { + "id": "limite zone naturelle - Parc naturel 14", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "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 + ] + ] + }, + "line-dasharray": [ + 2, + 5 + ] + } + }, + { + "id": "limite zone naturelle - Parc marin", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LIM_PARC_NATUREL_MARIN" + ], + "paint": { + "line-color": "#2A81A2", + "line-width": { + "stops": [ + [ + 13, + 2 + ], + [ + 17, + 4 + ] + ] + }, + "line-dasharray": [ + 2, + 1 + ] + } + }, + { + "id": "parcellaire - parcelle bordure", + "type": "line", + "source": "plan_ign", + "source-layer": "parcellaire_parcelle", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "PARCELLE" + ], + "paint": { + "line-color": "#9933FF", + "line-width": 1 + } + }, + { + "id": "parcellaire - section", + "type": "line", + "source": "plan_ign", + "source-layer": "parcellaire_section", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "SECTION" + ], + "paint": { + "line-color": "#287B00", + "line-width": 1.9, + "line-dasharray": [ + 2, + 4, + 2 + ] + } + }, + { + "id": "toponyme - parcellaire - section", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_parcellaire_section", + "filter": [ + "==", + "txt_typo", + "SECTION" + ], + "layout": { + "symbol-placement": "line", + "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" + ] + }, + "paint": { + "text-color": "#287B00" + } + }, + { + "id": "toponyme - parcellaire - parcelle", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_parcellaire_parcelle", + "filter": [ + "==", + "txt_typo", + "PARCELLE" + ], + "layout": { + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#9933FF", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - parcellaire - adresse", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_parcellaire_adresse_ponc", + "filter": [ + "==", + "txt_typo", + "ADRESSE" + ], + "layout": { + "symbol-placement": "point", + "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" + ] + }, + "paint": { + "text-color": "#695744", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "limite admin - limite de commune", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_COMMUNE", + "LIM_CANTON", + "LIM_ARRONDISSEMENT" + ], + "paint": { + "line-color": "rgba(126, 119, 184, 0.5)", + "line-width": { + "stops": [ + [ + 13, + 3 + ], + [ + 17, + 5.5 + ] + ] + }, + "line-dasharray": [ + 4, + 2, + 1, + 1, + 1, + 1, + 1, + 2 + ] + } + }, + { + "id": "limite admin - limite de département bandeau", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 8, + "maxzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LIM_DEPARTEMENT" + ], + "paint": { + "line-color": "rgba(178, 175, 219, 0.4)", + "line-width": { + "stops": [ + [ + 9, + 4.1 + ], + [ + 12, + 6 + ] + ] + } + } + }, + { + "id": "limite admin - limite de département tiret", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LIM_DEPARTEMENT" + ], + "paint": { + "line-color": "rgba(126, 119, 184, 0.5)", + "line-width": { + "stops": [ + [ + 13, + 3 + ], + [ + 17, + 5.5 + ] + ] + }, + "line-dasharray": [ + 4, + 2, + 1, + 1, + 1, + 2 + ] + } + }, + { + "id": "limite admin - limite de région bandeau", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 7, + "maxzoom": 13, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LIM_REGION" + ], + "paint": { + "line-color": "rgba(178, 175, 219, 0.5)", + "line-width": { + "stops": [ + [ + 9, + 4.5 + ], + [ + 12, + 6.7 + ] + ] + } + } + }, + { + "id": "limite admin - limite de région tiret", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 13, + "maxzoom": 18, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LIM_REGION" + ], + "paint": { + "line-color": "rgba(126, 119, 184, 0.5)", + "line-width": { + "stops": [ + [ + 13, + 3 + ], + [ + 17, + 5.5 + ] + ] + }, + "line-dasharray": [ + 4, + 2, + 1, + 2 + ] + } + }, + { + "id": "limite etat 1", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 2, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_ETAT", + "LIM_ETAT_ETRANGER" + ], + "paint": { + "line-color": "rgba(178, 175, 219, 0.6)", + "line-width": { + "stops": [ + [ + 2, + 2 + ], + [ + 3, + 3.5 + ], + [ + 9, + 5 + ], + [ + 14, + 13 + ], + [ + 15, + 20 + ], + [ + 16, + 24 + ], + [ + 17, + 42 + ] + ] + } + } + }, + { + "id": "limite etat 2", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 7, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_ETAT", + "LIM_ETAT_ETRANGER" + ], + "paint": { + "line-color": "#9F9CB8", + "line-width": { + "stops": [ + [ + 9, + 1.5 + ], + [ + 14, + 3.5 + ], + [ + 15, + 5.5 + ], + [ + 16, + 6.5 + ], + [ + 17, + 11 + ] + ] + }, + "line-dasharray": [ + 4, + 2 + ] + } + }, + { + "id": "limite cote", + "type": "line", + "source": "plan_ign", + "source-layer": "limite_lin", + "minzoom": 7, + "maxzoom": 10, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "LIM_COTE" + ], + "paint": { + "line-color": "#82A3B2", + "line-width": 1 + } + }, + { + "id": "ligne electrique", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "LIGNE_ELECTRIQUE" + ], + "paint": { + "line-color": "#808080", + "line-width": { + "stops": [ + [ + 13, + 1 + ], + [ + 17, + 2 + ] + ] + } + } + }, + { + "id": "autre construction linéaire", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "CABLE", + "REMONTEE_MEC", + "HYDROCARBURES", + "CONDUITE_MATIERES_P", + "SPORT_MONTAGNE_LIN", + "PISTE_BOBSLEIGH", + "PISTE_LUGE", + "PISTE_AERO_LIN" + ], + "paint": { + "line-color": "#808080", + "line-width": 1 + } + }, + { + "id": "autre construction linéaire - trait perpend cable", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "CABLE" + ], + "paint": { + "line-color": "#808080", + "line-width": 5, + "line-dasharray": [ + 0.5, + 10 + ] + } + }, + { + "id": "autre construction linéaire - trait perpend 1 remont", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REMONTEE_MEC" + ], + "paint": { + "line-color": "#808080", + "line-width": 6, + "line-dasharray": [ + 1, + 10 + ] + } + }, + { + "id": "autre construction linéaire - trait perpend 2 remont", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "==", + "symbo", + "REMONTEE_MEC" + ], + "paint": { + "line-color": "#BEBEBE", + "line-width": 6, + "line-dasharray": [ + 0.3, + 0.4, + 0.3, + 10 + ] + } + }, + { + "id": "autre construction linéaire - trait perpend carbur", + "type": "line", + "source": "plan_ign", + "source-layer": "bati_lin", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": [ + "in", + "symbo", + "HYDROCARBURES", + "CONDUITE_MATIERES_P" + ], + "paint": { + "line-color": "#808080", + "line-width": 5, + "line-dasharray": [ + 1, + 10 + ] + } + }, + { + "id": "routier ponctuel - peage ponctuel", + "type": "circle", + "source": "plan_ign", + "source-layer": "routier_ponc", + "minzoom": 8, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "PEAGE_PONC" + ], + "paint": { + "circle-radius": { + "stops": [ + [ + 9, + 3.5 + ], + [ + 12, + 6.5 + ] + ] + }, + "circle-color": "#FF6D8A", + "circle-stroke-width": 1, + "circle-stroke-color": "#808080" + } + }, + { + "id": "routier ponctuel - barriere", + "type": "symbol", + "source": "plan_ign", + "source-layer": "routier_ponc", + "minzoom": 12, + "layout": { + "visibility": "visible", + "icon-image": "Barriere", + "icon-size": { + "stops": [ + [ + 13, + 0.25 + ], + [ + 16, + 0.45 + ], + [ + 17, + 0.7 + ] + ] + }, + "icon-allow-overlap": true, + "icon-rotate": [ + "get", + "rotation" + ] + }, + "filter": [ + "==", + "symbo", + "BARRIERE" + ], + "paint": { + "icon-color": "#969696" + } + }, + { + "id": "hydro ponctuel", + "type": "circle", + "source": "plan_ign", + "source-layer": "hydro_ponc", + "minzoom": 13, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "FONTAINE", + "POINT_D_EAU", + "SOURCE", + "SOURCE_CAPTEE", + "PERTE", + "RESURGENCE", + "CASCADE", + "AUTRE_HYDRO_PONC" + ], + "paint": { + "circle-radius": { + "stops": [ + [ + 14, + 3 + ], + [ + 17, + 7 + ] + ] + }, + "circle-color": "#FFFFFF", + "circle-opacity": 1, + "circle-stroke-width": { + "stops": [ + [ + 14, + 2 + ], + [ + 17, + 5 + ] + ] + }, + "circle-stroke-color": "#0081FF" + } + }, + { + "id": "point coté", + "type": "symbol", + "source": "plan_ign", + "source-layer": "oro_ponc", + "minzoom": 11, + "maxzoom": 16, + "filter": [ + "in", + "symbo", + "POINT_COTE", + "POINT_COTE_TOPO", + "POINT_COTE_RESEAU", + "POINT_RBF" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.1, + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.2, + 0.4 + ], + "text-padding": 2, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#505050" + } + }, + { + "id": "bati ponctuel : Hopital", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Hopital", + "icon-size": 0.33 + }, + "filter": [ + "==", + "symbo", + "HOPITAL_PONC" + ], + "paint": { + "icon-color": "#FE0034" + } + }, + { + "id": "bati ponctuel hydrographique", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 14, + "layout": { + "visibility": "visible", + "icon-image": "Pompage", + "icon-size": { + "stops": [ + [ + 13, + 0.2 + ], + [ + 17, + 0.6 + ] + ] + }, + "icon-allow-overlap": true + }, + "filter": [ + "in", + "symbo", + "CITERNE", + "LAVOIR", + "STATION_EPURATION", + "STATION_DE_POMPAGE", + "USINE_PRODUCTION_EAU", + "USINE_ELEVATRICE" + ], + "paint": { + "icon-color": "#0081FF" + } + }, + { + "id": "bati ponctuel hydrographique - Puits-Abreuvoir", + "type": "circle", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 13, + "layout": { + "visibility": "visible" + }, + "filter": [ + "in", + "symbo", + "PUITS", + "ABREUVOIR" + ], + "paint": { + "circle-radius": { + "stops": [ + [ + 14, + 3 + ], + [ + 17, + 7 + ] + ] + }, + "circle-color": "#FFFFFF", + "circle-opacity": 1, + "circle-stroke-width": { + "stops": [ + [ + 14, + 2 + ], + [ + 17, + 5 + ] + ] + }, + "circle-stroke-color": "#0081FF" + } + }, + { + "id": "bati ponctuel hydrographique - Phare", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 13, + "layout": { + "visibility": "visible", + "icon-image": "Phare", + "icon-size": { + "stops": [ + [ + 13, + 0.7 + ], + [ + 17, + 1.3 + ] + ] + } + }, + "filter": [ + "==", + "symbo", + "PHARE" + ], + "paint": { + "icon-color": "#505050" + } + }, + { + "id": "bati ponctuel hydrographique - Amer-Feu", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 13, + "layout": { + "visibility": "visible", + "icon-image": "Feu", + "icon-size": { + "stops": [ + [ + 13, + 0.7 + ], + [ + 17, + 1.3 + ] + ] + } + }, + "filter": [ + "in", + "symbo", + "AMER", + "FEU", + "FEU_PONC", + "TOURELLE_LUMINEUSE" + ], + "paint": { + "icon-color": "#505050" + } + }, + { + "id": "bati ponctuel hydrographique - Balise", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 13, + "layout": { + "visibility": "visible", + "icon-image": "Balise", + "icon-size": { + "stops": [ + [ + 13, + 0.7 + ], + [ + 17, + 1.3 + ] + ] + } + }, + "filter": [ + "in", + "symbo", + "BALISE", + "TOURELLE" + ], + "paint": { + "icon-color": "#505050" + } + }, + { + "id": "bati ponctuel hydrographique - Ecluse", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 12, + "maxzoom": 15, + "layout": { + "visibility": "visible", + "icon-image": "Ecluse", + "icon-size": 0.2 + }, + "filter": [ + "==", + "symbo", + "ECLUSE_PONC" + ], + "paint": { + "icon-color": "#0081FF" + } + }, + { + "id": "bati ponctuel hydrographique - Barrage", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 12, + "maxzoom": 14, + "layout": { + "visibility": "visible", + "icon-image": "Barrage", + "icon-size": 0.25 + }, + "filter": [ + "==", + "symbo", + "BARRAGE_PONC" + ], + "paint": { + "icon-color": "#0081FF" + } + }, + { + "id": "bati ponctuel hydrographique - Chateau d'eau", + "type": "circle", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "CHATEAU_EAU_PONC" + ], + "paint": { + "circle-radius": { + "stops": [ + [ + 14, + 3 + ], + [ + 17, + 8 + ] + ] + }, + "circle-color": "#0081FF" + } + }, + { + "id": "bati ponctuel hydrographique - Réservoir d'eau", + "type": "circle", + "source": "plan_ign", + "source-layer": "bati_ponc", + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "RESERVOIR_EAU_PONC" + ], + "paint": { + "circle-radius": { + "stops": [ + [ + 14, + 3 + ], + [ + 17, + 8 + ] + ] + }, + "circle-color": "#B3D9FF", + "circle-opacity": 1, + "circle-stroke-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 17, + 2.5 + ] + ] + }, + "circle-stroke-color": "#0081FF" + } + }, + { + "id": "bati ponctuel infrastructure - Constr spé", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "ConstrSpeciale", + "icon-size": { + "stops": [ + [ + 13, + 0.22 + ], + [ + 17, + 0.5 + ] + ] + } + }, + "filter": [ + "in", + "symbo", + "ANTENNE", + "TRANSFORMATEUR", + "CONSTR_INDIF_PONC", + "CHEMINEE", + "CHEVALEMENT", + "PUITS_GAZ", + "PUITS_PETROLE", + "PYLONE_METEO", + "TORCHERE", + "TOUR_GUET", + "TOUR_HERTZIENNE" + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel infrastructure - Silo", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "maxzoom": 15, + "layout": { + "visibility": "visible", + "icon-image": "Silo", + "icon-size": { + "stops": [ + [ + 13, + 0.22 + ], + [ + 17, + 0.5 + ] + ] + } + }, + "filter": [ + "==", + "symbo", + "SILO_PONC" + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel infrastructure - Eolienne", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Eolienne", + "icon-size": { + "stops": [ + [ + 13, + 0.4 + ], + [ + 17, + 1 + ], + [ + 18, + 0.8 + ] + ] + } + }, + "filter": [ + "==", + "symbo", + "EOLIENNE" + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel infrastructure - Reservoir", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "maxzoom": 15, + "layout": { + "visibility": "visible", + "icon-image": "Reservoir", + "icon-size": { + "stops": [ + [ + 13, + 0.26 + ], + [ + 17, + 0.5 + ] + ] + } + }, + "filter": [ + "==", + "symbo", + "RESERVOIR_PONC" + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel infrastructure - pylone électrique", + "type": "circle", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible" + }, + "filter": [ + "==", + "symbo", + "PYLONE_ELEC" + ], + "paint": { + "circle-radius": { + "stops": [ + [ + 13, + 1 + ], + [ + 17, + 2 + ] + ] + }, + "circle-color": "#000000" + } + }, + { + "id": "bati ponctuel montagne - Abri", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Abri", + "icon-size": { + "stops": [ + [ + 13, + 0.4 + ], + [ + 15, + 0.6 + ], + [ + 17, + 0.9 + ] + ] + } + }, + "filter": [ + "==", + "symbo", + "ABRI" + ], + "paint": { + "icon-color": "#246138" + } + }, + { + "id": "bati ponctuel montagne - Refuge Garde", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Refugegard", + "icon-size": { + "stops": [ + [ + 13, + 0.4 + ], + [ + 15, + 0.6 + ], + [ + 17, + 0.9 + ] + ] + } + }, + "filter": [ + "==", + "symbo", + "REFUGE_GARDE" + ], + "paint": { + "icon-color": "#246138" + } + }, + { + "id": "bati ponctuel montagne - Refuge Non Garde", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Refugenongard", + "icon-size": { + "stops": [ + [ + 13, + 0.4 + ], + [ + 15, + 0.6 + ], + [ + 17, + 0.9 + ] + ] + } + }, + "filter": [ + "==", + "symbo", + "REFUGE" + ], + "paint": { + "icon-color": "#246138" + } + }, + { + "id": "bati ponctuel transport aerien - Aeroport FXX", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Aeroport", + "icon-size": 0.5 + }, + "filter": [ + "all", + [ + "==", + "symbo", + "AEROPORT_PONC" + ], + [ + "==", + "territoire", + "FXX" + ] + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel transport aerien - Aerodrome FXX", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Aerodrome", + "icon-size": 0.4 + }, + "filter": [ + "all", + [ + "in", + "symbo", + "AERODROME_PONC", + "AERODROME_IMPORT_PONC" + ], + [ + "==", + "territoire", + "FXX" + ] + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel transport aerien - Aeroport DOM", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 8, + "layout": { + "visibility": "visible", + "icon-image": "Aeroport", + "icon-size": 0.5 + }, + "filter": [ + "all", + [ + "==", + "symbo", + "AEROPORT_PONC" + ], + [ + "!=", + "territoire", + "FXX" + ] + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel transport aerien - Aerodrome DOM", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 8, + "layout": { + "visibility": "visible", + "icon-image": "Aerodrome", + "icon-size": 0.4 + }, + "filter": [ + "all", + [ + "==", + "symbo", + "AERODROME_PONC" + ], + [ + "!=", + "territoire", + "FXX" + ] + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel transport ferroviaire", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Gare", + "icon-size": 0.33 + }, + "filter": [ + "==", + "symbo", + "GARE_VOYAGEURS" + ], + "paint": { + "icon-color": "#505050" + } + }, + { + "id": "toponyme - bornes postales haute - chemins", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "CHEMIN", + "CHEMIN_SOU", + "CHEMIN_SUP", + "PISTE_CYCLABLE", + "PISTE_CYCLABLE_SOU", + "PISTE_CYCLABLE_SUP", + "VOIE_VERTE", + "VOIE_VERTE_SOU", + "VOIE_VERTE_SUP", + "RUE_PIETONNE", + "RUE_PIETONNE_SOU", + "RUE_PIETONNE_SUP", + "SENTIER", + "SENTIER_SOU", + "SENTIER_SUP", + "ESCALIER", + "ESCALIER_SUP" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales haute - non revetue, non classee", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "NON_CLASSEE", + "NON_CLASSEE_4", + "NON_CLASSEE_4_SUP", + "NON_CLASSEE_RESTREINT", + "NON_CLASSEE_RESTREINT_SUP", + "NON_CLASSEE_SOU", + "NON_CLASSEE_SUP", + "NON_REVETUE_CARRO", + "NON_REVETUE_CARRO_SUP" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1.3 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales haute - locales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "LOCALE_1", + "LOCALE_1_SOU", + "LOCALE_1_SUP", + "LOCALE_2", + "LOCALE_2_SOU", + "LOCALE_2_SUP", + "LOCALE_3", + "LOCALE_3_SOU", + "LOCALE_3_SUP", + "LOCALE_4", + "LOCALE_4_SOU", + "LOCALE_4_SUP", + "LOCALE_CONSTR", + "LOCALE_CONSTR_SUP" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1.4 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales haute - regionales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "REGIONALE_1", + "REGIONALE_1_SOU", + "REGIONALE_1_SUP", + "REGIONALE_2", + "REGIONALE_2_SOU", + "REGIONALE_2_SUP", + "REGIONALE_3", + "REGIONALE_3_SOU", + "REGIONALE_3_SUP", + "REGIONALE_4", + "REGIONALE_4_SUP", + "REGIONALE_CONSTR" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1.5 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales haute - principales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "PRINCIPALE_1", + "PRINCIPALE_1_SOU", + "PRINCIPALE_1_SUP", + "PRINCIPALE_2", + "PRINCIPALE_2_SOU", + "PRINCIPALE_2_SUP", + "PRINCIPALE_3", + "PRINCIPALE_3_SOU", + "PRINCIPALE_3_SUP", + "PRINCIPALE_4", + "PRINCIPALE_4_SOU", + "PRINCIPALE_4_SUP", + "PRINCIPALE_CONSTR" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1.6 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - chemins", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "CHEMIN", + "CHEMIN_SOU", + "CHEMIN_SUP", + "PISTE_CYCLABLE", + "PISTE_CYCLABLE_SOU", + "PISTE_CYCLABLE_SUP", + "VOIE_VERTE", + "VOIE_VERTE_SOU", + "VOIE_VERTE_SUP", + "RUE_PIETONNE", + "RUE_PIETONNE_SOU", + "RUE_PIETONNE_SUP", + "SENTIER", + "SENTIER_SOU", + "SENTIER_SUP", + "ESCALIER", + "ESCALIER_SUP" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - non revetue, non classee", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "NON_CLASSEE", + "NON_CLASSEE_4", + "NON_CLASSEE_4_SUP", + "NON_CLASSEE_RESTREINT", + "NON_CLASSEE_RESTREINT_SUP", + "NON_CLASSEE_SOU", + "NON_CLASSEE_SUP", + "NON_REVETUE_CARRO", + "NON_REVETUE_CARRO_SUP" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1.3 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - locales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "LOCALE_1", + "LOCALE_1_SOU", + "LOCALE_1_SUP", + "LOCALE_2", + "LOCALE_2_SOU", + "LOCALE_2_SUP", + "LOCALE_3", + "LOCALE_3_SOU", + "LOCALE_3_SUP", + "LOCALE_4", + "LOCALE_4_SOU", + "LOCALE_4_SUP", + "LOCALE_CONSTR", + "LOCALE_CONSTR_SUP" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1.4 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - regionales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "REGIONALE_1", + "REGIONALE_1_SOU", + "REGIONALE_1_SUP", + "REGIONALE_2", + "REGIONALE_2_SOU", + "REGIONALE_2_SUP", + "REGIONALE_3", + "REGIONALE_3_SOU", + "REGIONALE_3_SUP", + "REGIONALE_4", + "REGIONALE_4_SUP", + "REGIONALE_CONSTR" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1.5 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - principales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": [ + "in", + "symbo", + "PRINCIPALE_1", + "PRINCIPALE_1_SOU", + "PRINCIPALE_1_SUP", + "PRINCIPALE_2", + "PRINCIPALE_2_SOU", + "PRINCIPALE_2_SUP", + "PRINCIPALE_3", + "PRINCIPALE_3_SOU", + "PRINCIPALE_3_SUP", + "PRINCIPALE_4", + "PRINCIPALE_4_SOU", + "PRINCIPALE_4_SUP", + "PRINCIPALE_CONSTR" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1.6 + ], + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - courbe rocher maitresse", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": [ + "==", + "txt_typo", + "ORO_COURBE_ROCHER" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 30, + "text-rotate": { + "type": "identity", + "property": "rotation" + }, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#333333", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - courbe glacier maitresse", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": [ + "==", + "txt_typo", + "ORO_COURBE_GLACIER" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 30, + "text-rotate": { + "type": "identity", + "property": "rotation" + }, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#629FD9", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - courbe maitresse", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": [ + "==", + "txt_typo", + "ORO_COURBE" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 30, + "text-rotate": { + "type": "identity", + "property": "rotation" + }, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#604A2F", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - liaison maritime", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_liaison_lin", + "minzoom": 8, + "maxzoom": 18, + "filter": [ + "in", + "txt_typo", + "LIAISON_MARITIME", + "LIAISON_MAR" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#5792C2", + "text-halo-width": 5, + "text-halo-color": "#B3D9FF" + } + }, + { + "id": "toponyme bati station de métro + bati ponctuel metro", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "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-padding": 3, + "text-anchor": "bottom-left", + "text-font": [ + "Source Sans Pro" + ], + "icon-image": "Metro", + "icon-size": { + "stops": [ + [ + 15, + 0.33 + ], + [ + 17, + 0.6 + ] + ] + } + }, + "paint": { + "text-color": "#3C3C3C", + "icon-color": "#646464" + } + }, + { + "id": "toponyme ferre lineaire", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ferre_lin", + "minzoom": 12, + "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" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-width": 1, + "text-halo-color": "rgba(255, 255, 255, 1)" + } + }, + { + "id": "toponyme religieux zoom 15 16", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "maxzoom": 16, + "filter": [ + "==", + "txt_typo", + "religieux" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme religieux zoom 17 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 16, + "filter": [ + "==", + "txt_typo", + "religieux" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme parc d'attractions zoom 14", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 13, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "txt_typo", + "divers_bati" + ], + [ + "==", + "symbo", + "PARC_ATTRACTIONS" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme parc d'attractions zoom 15 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "filter": [ + "all", + [ + "==", + "txt_typo", + "divers_bati" + ], + [ + "==", + "symbo", + "PARC_ATTRACTIONS" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme bati divers zoom 15", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "maxzoom": 15, + "filter": [ + "all", + [ + "==", + "txt_typo", + "divers_bati" + ], + [ + "in", + "symbo", + "CENTRALE_ELECTRIQUE", + "HIPPODROME", + "STADE" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme bati divers zoom 16 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 15, + "filter": [ + "all", + [ + "==", + "txt_typo", + "divers_bati" + ], + [ + "in", + "symbo", + "CENTRALE_ELECTRIQUE", + "HIPPODROME", + "STADE" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme chateau zoom 16", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 15, + "maxzoom": 16, + "filter": [ + "all", + [ + "==", + "txt_typo", + "divers_bati" + ], + [ + "in", + "symbo", + "CHATEAU", + "CHATEAU_FORT" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme chateau zoom 17 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 16, + "filter": [ + "all", + [ + "==", + "txt_typo", + "divers_bati" + ], + [ + "in", + "symbo", + "CHATEAU", + "CHATEAU_FORT" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme station epuration, de pompage, usine de production eau", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "filter": [ + "==", + "txt_typo", + "station" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-anchor": "left", + "text-offset": [ + 0.8, + 0 + ], + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#0080FF" + } + }, + { + "id": "toponyme bati ponc gare", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 15, + "filter": [ + "==", + "txt_typo", + "gore" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme bati ponc barrage", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 12, + "filter": [ + "==", + "txt_typo", + "BARRAGE_PONC" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "left", + "text-offset": [ + 0.8, + 0 + ], + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#0080FF" + } + }, + { + "id": "toponyme bati ponc phare - niveau 13", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "maxzoom": 13, + "filter": [ + "==", + "txt_typo", + "PHARE" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "right", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#532A2A" + } + }, + { + "id": "toponyme bati ponc phare - niveau 14à19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 13, + "filter": [ + "all", + [ + "==", + "symbo", + "PHARE" + ], + [ + "in", + "txt_typo", + "TYPO_C_6", + "TYPO_C_7", + "TYPO_C_8", + "TYPO_E_GE" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "right", + "text-size": { + "stops": [ + [ + 13, + 12 + ], + [ + 18, + 18 + ] + ] + }, + "text-allow-overlap": false, + "text-offset": [ + -2.00, + 0 + ], + "text-padding": 3, + "text-anchor": "right", + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#532A2A" + } + }, + { + "id": "toponyme bati ponc autre", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 12, + "filter": [ + "in", + "txt_typo", + "BAT_ACTIVITE", + "BAT_FORTIF", + "BAT_VILLAGE_DETRUIT" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "center", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#532A2A" + } + }, + { + "id": "toponyme bati ponc aerogare", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "maxzoom": 17, + "filter": [ + "all", + [ + "==", + "txt_typo", + "TYPO_E_GE" + ], + [ + "==", + "symbo", + "AEROGARE" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "center", + "text-size": { + "stops": [ + [ + 12, + 9 + ], + [ + 16, + 11 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme bati ponc aeroport 12", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 11, + "maxzoom": 12, + "filter": [ + "==", + "txt_typo", + "AEROPORT_PONC" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "bottom", + "text-offset": [ + 0, + -1.3 + ], + "text-size": 10.5, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aeroport 13", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 12, + "maxzoom": 13, + "filter": [ + "==", + "txt_typo", + "AEROPORT_PONC" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "bottom", + "text-offset": [ + 0, + -2 + ], + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aeroport", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 13, + "maxzoom": 17, + "filter": [ + "all", + [ + "==", + "txt_typo", + "TYPO_A_5" + ], + [ + "==", + "symbo", + "AEROPORT" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "center", + "text-size": { + "stops": [ + [ + 12, + 11 + ], + [ + 16, + 13 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aerodrome 12", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 11, + "maxzoom": 12, + "filter": [ + "==", + "txt_typo", + "AERODROME_PONC" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "bottom", + "text-offset": [ + 0, + -1.3 + ], + "text-size": 9.5, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aerodrome 13", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 12, + "maxzoom": 13, + "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-size": 10, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aerodrome", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 13, + "maxzoom": 17, + "filter": [ + "all", + [ + "==", + "txt_typo", + "TYPO_A_7" + ], + [ + "==", + "symbo", + "AERODROME" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "center", + "text-size": { + "stops": [ + [ + 12, + 10 + ], + [ + 16, + 12 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro" + ] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - hydro ponc 5", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "filter": [ + "in", + "txt_typo", + "TYPO_D_9", + "TYPO_D_10", + "TYPO_E_1_cyan" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 11 + ], + [ + 17, + 14 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 5, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#0080FF", + "text-halo-color": "#FFFFFF", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - hydro ponc glacier", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "filter": [ + "==", + "txt_typo", + "ORO_GLACIER_2" + ], + "layout": { + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 14, + "text-anchor": "center", + "text-allow-overlap": true, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#0080FF", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - limite militaire ponc 3 et 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "filter": [ + "in", + "txt_typo", + "LIM_MILI_3", + "LIM_MILI_4" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": false, + "text-padding": 2, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#0D2000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - limite parc ponc 3 et 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "filter": [ + "in", + "txt_typo", + "LIM_PARC_3", + "LIM_PARC_4", + "RESERVE_NATURELLE_PONC" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": false, + "text-padding": 2, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme numéro de route - départementale", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_numero_lin", + "minzoom": 11, + "maxzoom": 16, + "filter": [ + "==", + "txt_typo", + "Départementale" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 10.5, + "text-allow-overlap": false, + "text-padding": 2, + "text-anchor": "center", + "text-font": [ + "Source Sans Pro Semibold" + ], + "text-rotation-alignment": "viewport" + }, + "paint": { + "text-color": "#4D4D4D", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme numéro de route - nationale", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_numero_lin", + "minzoom": 7, + "maxzoom": 16, + "filter": [ + "==", + "txt_typo", + "Nationale" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": false, + "text-padding": 0, + "text-anchor": "center", + "text-font": [ + "Source Sans Pro Regular" + ], + "icon-image": "Ecluse", + "icon-rotation-alignment": "viewport", + "text-rotation-alignment": "viewport", + "icon-text-fit": "both", + "icon-size": 0 + }, + "paint": { + "text-color": "#F0F0F0", + "icon-color": "#646464", + "text-halo-color": "rgba(80, 80, 80, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme numéro de route - autoroute", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_numero_lin", + "minzoom": 7, + "maxzoom": 16, + "filter": [ + "==", + "txt_typo", + "Autoroute" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 0, + "text-anchor": "center", + "text-font": [ + "Source Sans Pro Regular" + ], + "icon-image": "Ecluse", + "icon-rotation-alignment": "viewport", + "text-rotation-alignment": "viewport", + "icon-text-fit": "both", + "icon-size": 0 + }, + "paint": { + "text-color": "#F0F0F0", + "icon-color": "#646464", + "text-halo-color": "rgba(80, 80, 80, 0.5)", + "text-halo-width": 5 + } + }, + { + "id": "toponyme - odonyme abrégé", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_odonyme_lin", + "minzoom": 15, + "maxzoom": 17, + "layout": { + "symbol-placement": "line", + "text-field": "{nom_gauche}", + "text-size": 10, + "text-anchor": "center", + "text-max-angle": 30, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 1)" + } + }, + { + "id": "toponyme - odonyme desabrégé", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_odonyme_lin", + "minzoom": 17, + "layout": { + "symbol-placement": "line", + "text-field": "{nom_desabrege}", + "text-size": 11, + "text-anchor": "center", + "text-max-angle": 30, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 1)" + } + }, + { + "id": "toponyme - lieu dit non habité 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "LIEU-DIT_NON_HABITE" + ], + [ + "in", + "txt_typo", + "TYPO_B_10", + "TYPO_B_11" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - bois", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "BOIS" + ], + [ + "in", + "txt_typo", + "TYPO_F_9", + "TYPO_F_10" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - oro lineaire 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": [ + "in", + "txt_typo", + "ORO_SOMMET_3", + "ORO_GORGE_2" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 11, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-width": 1.5, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - oro ponc 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": [ + "in", + "txt_typo", + "ORO_SOMMET_3", + "ORO_GORGE_2", + "GROTTE", + "GORGE", + "TYPO_G_8", + "TYPO_G_9" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 13, + 11 + ], + [ + 16, + 16 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1.5 + } + }, + { + "id": "toponyme - hydro ponc 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "filter": [ + "in", + "txt_typo", + "HYD_SURF_4", + "HYD_SURF_4_T", + "HYD_SURF_5", + "HYD_SURF_5_T", + "TYPO_D_8", + "SOURCE" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 14, + 13 + ], + [ + 17, + 16 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 5, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#0080FF", + "text-halo-color": "#FFFFFF", + "text-halo-width": 1 + } + }, + { + "id": "toponyme quartier ", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "filter": [ + "in", + "txt_typo", + "BAT_QUARTIER", + "BAT_QUARTIER_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typo_E_GE Quartier", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 17, + "maxzoom": 18, + "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 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typo_E_GE Lieu-dit", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 16, + "maxzoom": 18, + "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 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA10", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "maxzoom": 18, + "filter": [ + "==", + "txt_typo", + "TYPO_A_10" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 11 + ], + [ + 17, + 13.5 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - lieu dit non habité", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "LIEU-DIT_NON_HABITE" + ], + [ + "in", + "txt_typo", + "TYPO_B_7", + "TYPO_B_8", + "TYPO_B_9" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - bois 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "BOIS" + ], + [ + "in", + "txt_typo", + "TYPO_F_6", + "TYPO_F_7", + "TYPO_F_8" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 16, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite hameau ", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 11, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "BAT_HAMEAU", + "BAT_HAMEAU_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.17, + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.30, + 0.10 + ], + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite importance 6et7 - Special DOM", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 7, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "TYPO_A_6", + "TYPO_A_7" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.21, + "text-field": "{texte}", + "text-size": 12.5, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.30, + 0.10 + ], + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite importance 5", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 9, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "TYPO_A_5", + "BAT_COMMUNE_5", + "BAT_COMMUNE_5_T", + "BAT_CHEF_LIEU_COM", + "BAT_CHEF_LIEU_COM_T", + "BAT_CHEF_LIEU_COM-T", + "BAT_ANCIENNE_COM", + "BAT_ANCIENNE_COM_T", + "BAT_COMMUNE_ASSOCIEE", + "BAT_COMMUNE_ASSOCIEE_T", + "Commune très petite" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.21, + "text-field": "{texte}", + "text-size": 11.5, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.30, + 0.10 + ], + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - ocs lineaire 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_lin", + "filter": [ + "==", + "txt_typo", + "OCS_FORET_3" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 10, + 12 + ], + [ + 12, + 15 + ] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-width": 1, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - lieu dit non habité 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "LIEU-DIT_NON_HABITE" + ], + [ + "in", + "txt_typo", + "TYPO_B_5", + "TYPO_B_4" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - bois 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "BOIS" + ], + [ + "in", + "txt_typo", + "TYPO_F_5", + "TYPO_F_4" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 19, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - bois 0", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "all", + [ + "==", + "symbo", + "BOIS" + ], + [ + "in", + "txt_typo", + "TYPO_F_3", + "TYPO_F_2" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 22, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - ocs ponc 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "==", + "txt_typo", + "OCS_FORET_3" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 10, + 12 + ], + [ + 12, + 15 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-anchor": "center", + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - oro lineaire 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": [ + "in", + "txt_typo", + "ORO_ILE_3", + "ORO_RELIEF_3", + "ORO_RELIEF_3_T", + "ORO_RELIEF_4", + "ORO_RELIEF_4_T", + "ORO_CAP_2", + "ORO_CAP_3", + "ORO_SOMMET_2", + "ORO_COL_2", + "ORO_GORGE_1", + "ORO_GORGE-1" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 12, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-width": 1.5, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - oro ponc 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": [ + "in", + "txt_typo", + "ORO_ILE_3", + "ORO_RELIEF_3", + "ORO_RELIEF_3_T", + "ORO_RELIEF_4", + "ORO_RELIEF_4_T", + "ORO_CAP_2", + "ORO_CAP_3", + "ORO_SOMMET_2", + "ORO_COL_2", + "ORO_GORGE_1", + "ORO_GORGE-1", + "TYPO_G_6", + "TYPO_G_7" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 13, + 12 + ], + [ + 16, + 17 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "#FFFFFF", + "text-halo-width": 1.5 + } + }, + { + "id": "toponyme - hydro lineaire 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": [ + "in", + "txt_typo", + "HYD_LIN_3", + "HYD_LIN_4", + "HYD_LIN_5", + "TYPO_D_LIN_3", + "TYPO_D_LIN_4", + "HYD_SURF_3", + "HYD_SURF_3_T", + "HYD_SURF_4", + "HYD_SURF_4_T", + "HYD_SURF_5", + "HYD_SURF_5_T", + "TYPO_D_5", + "TYPO_D_7" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 14, + 12 + ], + [ + 18, + 19 + ] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#0080FF", + "text-halo-width": 1.5, + "text-halo-color": "rgba(255, 255, 255, 0.7)" + } + }, + { + "id": "toponyme - hydro lineaire 4", + "type": "symbol", + "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" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 14, + 10 + ], + [ + 18, + 16 + ] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#0080FF", + "text-halo-width": 1.5, + "text-halo-color": "rgba(255, 255, 255, 0.7)" + } + }, + { + "id": "toponyme - hydro ponc 3", + "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" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 9, + 13 + ], + [ + 10, + 15 + ], + [ + 15, + 15 + ], + [ + 17, + 18 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#0080FF", + "text-halo-color": "#FFFFFF", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc zai zoom 16", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 15, + "maxzoom": 16, + "filter": [ + "==", + "txt_typo", + "zai" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme bati ponc zai zoom 17 et 18", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 16, + "filter": [ + "==", + "txt_typo", + "zai" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme localite importance 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 7, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "TYPO_A_4", + "BAT_COMMUNE_4", + "BAT_COMMUNE_4_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.21, + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.30, + 0.10 + ], + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA9", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "maxzoom": 18, + "filter": [ + "==", + "txt_typo", + "TYPO_A_9" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 11.5 + ], + [ + 17, + 14 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA8 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_8" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 12 + ], + [ + 17, + 15 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - limite militaire ponc 1 et 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "filter": [ + "in", + "txt_typo", + "LIM_MILI_1", + "LIM_MILI_2" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 5, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#0D2000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - limite parc marin", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "minzoom": 8, + "filter": [ + "in", + "txt_typo", + "PARC_MARIN_1", + "PARC_MARIN_2" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 10, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#0080FF", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - limite parc ponc 1 et 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "minzoom": 8, + "filter": [ + "in", + "txt_typo", + "LIM_PARC_1", + "LIM_PARC_2", + "PARC_1", + "PARC_2" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 10, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - ocs lineaire 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_lin", + "filter": [ + "==", + "txt_typo", + "OCS_FORET_2" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 10, + 15 + ], + [ + 12, + 18 + ] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - ocs ponc 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "==", + "txt_typo", + "OCS_FORET_2" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 10, + 15 + ], + [ + 12, + 18 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-anchor": "center", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro lineaire 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": [ + "in", + "txt_typo", + "ORO_ILE_2", + "ORO_RELIEF_2", + "ORO_RELIEF_2_T", + "ORO_CAP_1", + "ORO_SOMMET_1" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-anchor": "center", + "text-keep-upright": true, + "text-padding": 10, + "text-max-angle": 45, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - oro ponc 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "minzoom": 9, + "filter": [ + "in", + "txt_typo", + "ORO_ILE_2", + "ORO_RELIEF_2", + "ORO_RELIEF_2_T", + "ORO_CAP_1", + "ORO_COL_1", + "TYPO_G_5", + "ORO_SOMMET_1" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 9, + 13 + ], + [ + 10, + 15 + ], + [ + 13, + 15 + ], + [ + 16, + 19 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro ponc 2B", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "minzoom": 8, + "filter": [ + "==", + "txt_typo", + "TYPO_G_4" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 13, + 15 + ], + [ + 16, + 19 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - hydro lineaire 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": [ + "in", + "txt_typo", + "HYD_LIN_2", + "TYPO_D_LIN_2", + "HYD_SURF_2", + "HYD_SURF_2_T", + "TYPO_D_4" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 14, + 15 + ], + [ + 18, + 21 + ] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#0080FF", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - hydro ponc 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "minzoom": 5, + "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 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#0080FF", + "text-halo-color": "#FFFFFF", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - hydro ponc 2B", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "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 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#0080FF", + "text-halo-color": "#FFFFFF", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite importance 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 5, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "commune 3", + "TYPO_A_3", + "BAT_COMMUNE_3", + "BAT_COMMUNE_3_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.21, + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 5, + 10 + ], + [ + 6, + 15 + ] + ] + }, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.30, + 0.10 + ], + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA7 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_7" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 13 + ], + [ + 17, + 16 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA5etA6 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "in", + "txt_typo", + "TYPO_A_5", + "TYPO_A_6" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 15 + ], + [ + 17, + 18 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro lineaire 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": [ + "in", + "txt_typo", + "ORO_ILE_1", + "ORO_RELIEF_1", + "ORO_RELIEF_1_T" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 20, + "text-anchor": "center", + "text-keep-upright": true, + "text-padding": 5, + "text-max-angle": 45, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - oro ponc monde", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "minzoom": 5, + "filter": [ + "in", + "txt_typo", + "Basin", + "Depression", + "Desert", + "Geoarea", + "Gorge", + "Isthmus", + "Lake", + "Lowland", + "Pen/cape", + "Plain", + "Plateau", + "Range/mtn", + "Tundra", + "Valley", + "Island", + "Island group" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA4 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_4" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 17, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme - ocs lineaire 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_lin", + "filter": [ + "==", + "txt_typo", + "OCS_FORET_1" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 10, + 18 + ], + [ + 12, + 22 + ] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-padding": 1, + "text-max-angle": 45, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - ocs ponc 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": [ + "==", + "txt_typo", + "OCS_FORET_1" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 10, + 18 + ], + [ + 12, + 22 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro ponc 1", + "type": "symbol", + "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" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 21, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro ponc 1B", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "minzoom": 8, + "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 + ] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - hydro lineaire glacier", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": [ + "in", + "txt_typo", + "ORO_GLACIER_1", + "ORO_GLACIER_2" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-font": [ + "Source Sans Pro Italic" + ] + }, + "paint": { + "text-color": "#0080FF", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - hydro lineaire 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": [ + "in", + "txt_typo", + "HYD_LIN_1", + "HYD-LIN-1", + "TYPO_D_LIN_1", + "HYD_SURF_1", + "HYD_SURF_1_T", + "TYPO_D_1", + "TYPO_D_2", + "TYPO_D_3_T", + "TYPO_D_4_T" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 18, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#0080FF", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - hydro lineaire ocean", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": [ + "==", + "txt_typo", + "OCEAN_MER" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 30, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#0080FF", + "text-halo-width": 4, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - hydro ponc 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "minzoom": 4, + "filter": [ + "in", + "txt_typo", + "mer", + "grand", + "HYD_SURF_1", + "TYPO_D_1" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 4, + 16 + ], + [ + 6, + 30 + ], + [ + 10, + 25 + ] + ] + }, + "text-allow-overlap": true, + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#0080FF", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite importance 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 4, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "commune 2", + "TYPO_A_2", + "BAT_COMMUNE_2", + "BAT_COMMUNE-2", + "BAT_COMMUNE_2_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.25, + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 4, + 10 + ], + [ + 6, + 17 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "bottom-left", + "text-offset": [ + 0.30, + 0.2 + ], + "text-padding": 1, + "text-transform": "uppercase", + "text-font": { + "stops": [ + [ + 1, + [ + "Source Sans Pro Regular" + ] + ], + [ + 7, + [ + "Source Sans Pro Bold" + ] + ], + [ + 10, + [ + "Source Sans Pro Regular" + ] + ] + ] + } + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme localite n0 typoA3 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_3" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 19, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme localite n0 typoA2 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_2" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 21, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite n0 typoA8 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_8" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 12 + ], + [ + 17, + 15 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA7 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_7" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 13 + ], + [ + 17, + 16 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA5etA6 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "in", + "txt_typo", + "TYPO_A_5", + "TYPO_A_6" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 15, + 15 + ], + [ + 17, + 18 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA1 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "!=", + "symbo", + "COMMUNE_FUSIONNEE" + ], + [ + "!=", + "symbo", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_1" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 23, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite n0 typoA4 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_4" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 17, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme localite n0 typoA3 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_3" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 19, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme localite n0 typoA2 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_2" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 21, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite importance 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 3, + "maxzoom": 13, + "filter": [ + "in", + "txt_typo", + "commune 1", + "TYPO_A_1", + "BAT_COMMUNE_1", + "BAT_COMMUNE_1_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.3, + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 3, + 10 + ], + [ + 6, + 20 + ] + ] + }, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [ + 0.25, + -0.10 + ], + "text-padding": 1, + "text-transform": "uppercase", + "text-font": { + "stops": [ + [ + 1, + [ + "Source Sans Pro Regular" + ] + ], + [ + 7, + [ + "Source Sans Pro Bold" + ] + ], + [ + 10, + [ + "Source Sans Pro Regular" + ] + ] + ] + } + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite n0 typoA1 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": [ + "all", + [ + "in", + "symbo", + "COMMUNE_FUSIONNEE", + "COMMUNE_CHEF_LIEU" + ], + [ + "==", + "txt_typo", + "TYPO_A_1" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 23, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme - hydro ponc ocean", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "minzoom": 1, + "filter": [ + "==", + "txt_typo", + "ocean" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [ + 1, + 16 + ], + [ + 6, + 30 + ] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 10, + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#0080FF", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme pays 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 4, + "maxzoom": 5, + "filter": [ + "==", + "txt_typo", + "pays 3" + ], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 9, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme pays 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 2, + "maxzoom": 5, + "filter": [ + "==", + "txt_typo", + "pays 2" + ], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 2, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme pays 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 2, + "maxzoom": 5, + "filter": [ + "==", + "txt_typo", + "pays 1" + ], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 2, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Regular" + ] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme continent", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "maxzoom": 3, + "filter": [ + "==", + "txt_typo", + "continent" + ], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": [ + "Source Sans Pro Bold" + ] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + } + ] +} \ No newline at end of file diff --git a/website/src/lib/assets/img/home/routing-small.png b/website/src/lib/assets/img/home/routing-small.png deleted file mode 100644 index e19260d6..00000000 Binary files a/website/src/lib/assets/img/home/routing-small.png and /dev/null differ diff --git a/website/src/lib/assets/layers.ts b/website/src/lib/assets/layers.ts index ecce3465..d54a078f 100644 --- a/website/src/lib/assets/layers.ts +++ b/website/src/lib/assets/layers.ts @@ -1,6 +1,9 @@ -import { PUBLIC_MAPBOX_TOKEN } from '$env/static/public'; -import { TramFront, Utensils, ShoppingBasket, Droplet, ShowerHead, Fuel, CircleParking, Fence, FerrisWheel, Telescope, Bed, Mountain, Pickaxe, Store, TrainFront, Bus, Ship, Croissant, House, Tent, Wrench } from 'lucide-static'; -import { type AnySourceData, type Style } from 'mapbox-gl'; +import { TramFront, Utensils, ShoppingBasket, Droplet, ShowerHead, Fuel, CircleParking, Fence, FerrisWheel, Bed, Mountain, Pickaxe, Store, TrainFront, Bus, Ship, Croissant, House, Tent, Wrench, Binoculars } from 'lucide-static'; +import { type Style } 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 | Style; } = { mapboxOutdoors: 'mapbox://styles/mapbox/outdoors-v12', @@ -127,7 +130,8 @@ export const basemaps: { [key: string]: string | Style; } = { source: 'ignBe', }], }, - ignFrPlan: 'https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/classique.json', + ignFrPlan: ignFrPlan, + ignFrTopo: ignFrTopo, ignFrScan25: { version: 8, sources: { @@ -145,23 +149,7 @@ export const basemaps: { [key: string]: string | Style; } = { source: 'ignFrScan25', }], }, - ignFrSatellite: { - version: 8, - sources: { - ignFrSatellite: { - type: 'raster', - tiles: ['https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE=normal&TILEMATRIXSET=PM&FORMAT=image/jpeg&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}'], - tileSize: 256, - maxzoom: 19, - attribution: 'IGN-F/Géoportail' - } - }, - layers: [{ - id: 'ignFrSatellite', - type: 'raster', - source: 'ignFrSatellite', - }], - }, + ignFrSatellite: ignFrSatellite, ignEs: { version: 8, sources: { @@ -179,23 +167,7 @@ export const basemaps: { [key: string]: string | Style; } = { source: 'ignEs', }], }, - ordnanceSurvey: { - version: 8, - sources: { - ordnanceSurvey: { - type: 'raster', - tiles: ['https://api.os.uk/maps/raster/v1/zxy/Outdoor_3857/{z}/{x}/{y}.png?key=piCT8WysfuC3xLSUW7sGLfrAAJoYDvQz'], - tileSize: 256, - maxzoom: 20, - attribution: '© Ordnance Survey' - } - }, - layers: [{ - id: 'ordnanceSurvey', - type: 'raster', - source: 'ordnanceSurvey', - }], - }, + ordnanceSurvey: "https://api.os.uk/maps/vector/v1/vts/resources/styles?srs=3857&key=piCT8WysfuC3xLSUW7sGLfrAAJoYDvQz", norwayTopo: { version: 8, sources: { @@ -216,18 +188,49 @@ export const basemaps: { [key: string]: string | Style; } = { swedenTopo: { version: 8, sources: { - swedenTopo: { + 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'], tileSize: 256, maxzoom: 14, 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}'], + tileSize: 512, + minzoom: 14, + maxzoom: 20, + attribution: '© Lantmäteriet' } }, layers: [{ - id: 'swedenTopo', + id: 'swedenTopoWMTS', type: 'raster', - source: 'swedenTopo', + 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}'], + tileSize: 512, + maxzoom: 22, + attribution: '© Lantmäteriet' + } + }, + layers: [{ + id: 'swedenSatellite', + type: 'raster', + source: 'swedenSatellite', }], }, finlandTopo: { @@ -283,200 +286,309 @@ export const basemaps: { [key: string]: string | Style; } = { }, }; -export function extendBasemap(basemap: string | Style): string | Style { - if (typeof basemap === 'object') { - basemap["glyphs"] = "mapbox://fonts/mapbox/{fontstack}/{range}.pbf"; - basemap["sprite"] = `https://api.mapbox.com/styles/v1/mapbox/outdoors-v12/sprite?access_token=${PUBLIC_MAPBOX_TOKEN}`; - } - return basemap; -} - -Object.values(basemaps).forEach(extendBasemap); - -export const font: { [key: string]: string; } = { - swisstopoVector: 'Frutiger Neue Condensed Regular', - swisstopoSatellite: 'Frutiger Neue Condensed Regular', -}; - -export const overlays: { [key: string]: AnySourceData; } = { +export const overlays: { [key: string]: string | Style; } = { 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'], - tileSize: 256, - maxzoom: 17, - attribution: '© CyclOSM © OpenStreetMap' + 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'], + tileSize: 256, + maxzoom: 17, + attribution: '© CyclOSM © OpenStreetMap' + } + }, + layers: [{ + id: 'cyclOSMlite', + type: 'raster', + source: 'cyclOSMlite', + }], }, + bikerouterGravel: bikerouterGravel, swisstopoSlope: { - type: 'raster', - 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', + version: 8, + 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'], + tileSize: 256, + maxzoom: 17, + attribution: '© swisstopo', + }, + }, + layers: [{ + id: 'swisstopoSlope', + type: 'raster', + source: 'swisstopoSlope', + }], }, swisstopoHiking: { - type: 'raster', - 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' + 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'], + tileSize: 256, + maxzoom: 18, + attribution: '© swisstopo' + }, + }, + layers: [{ + id: 'swisstopoHiking', + type: 'raster', + source: 'swisstopoHiking', + }], }, 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'], - tileSize: 256, - attribution: '© swisstopo' + 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'], + tileSize: 256, + attribution: '© swisstopo' + }, + }, + layers: [{ + id: 'swisstopoHikingClosures', + type: 'raster', + source: 'swisstopoHikingClosures', + }], }, swisstopoCycling: { - type: 'raster', - 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' + 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'], + tileSize: 256, + maxzoom: 18, + attribution: '© swisstopo' + } + }, + layers: [{ + id: 'swisstopoCycling', + type: 'raster', + source: 'swisstopoCycling', + }], }, 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'], - tileSize: 256, - attribution: '© swisstopo' + 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'], + tileSize: 256, + attribution: '© swisstopo' + } + }, + layers: [{ + id: 'swisstopoCyclingClosures', + type: 'raster', + source: 'swisstopoCyclingClosures', + }], }, swisstopoMountainBike: { - type: 'raster', - 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' + 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'], + tileSize: 256, + maxzoom: 18, + attribution: '© swisstopo' + } + }, + layers: [{ + id: 'swisstopoMountainBike', + type: 'raster', + source: 'swisstopoMountainBike', + }], }, 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'], - tileSize: 256, - attribution: '© swisstopo' + 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'], + tileSize: 256, + attribution: '© swisstopo' + } + }, + layers: [{ + id: 'swisstopoMountainBikeClosures', + type: 'raster', + source: 'swisstopoMountainBikeClosures', + }], }, swisstopoSkiTouring: { - type: 'raster', - 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' + 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'], + tileSize: 256, + maxzoom: 17, + attribution: '© swisstopo' + } + }, + layers: [{ + id: 'swisstopoSkiTouring', + type: 'raster', + source: 'swisstopoSkiTouring', + }], }, 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'], - tileSize: 256, - maxzoom: 20, - attribution: 'IGN-F/Géoportail' + 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'], + tileSize: 256, + maxzoom: 20, + attribution: 'IGN-F/Géoportail' + } + }, + layers: [{ + id: 'ignFrCadastre', + type: 'raster', + source: 'ignFrCadastre', + }], }, 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'], - tileSize: 256, - maxzoom: 17, - attribution: 'IGN-F/Géoportail' + 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'], + tileSize: 256, + attribution: 'IGN-F/Géoportail' + } + }, + layers: [{ + id: 'ignSlope', + type: 'raster', + source: 'ignSlope', + }], }, 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'], - tileSize: 256, - maxzoom: 16, - attribution: 'IGN-F/Géoportail' + 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'], + tileSize: 256, + maxzoom: 16, + attribution: 'IGN-F/Géoportail' + }, + }, + layers: [{ + id: 'ignSkiTouring', + type: 'raster', + source: 'ignSkiTouring', + }], }, waymarkedTrailsHiking: { - type: 'raster', - tiles: ['https://tile.waymarkedtrails.org/hiking/{z}/{x}/{y}.png'], - tileSize: 256, - maxzoom: 18, - attribution: '© Waymarked Trails' + version: 8, + sources: { + waymarkedTrailsHiking: { + type: 'raster', + tiles: ['https://tile.waymarkedtrails.org/hiking/{z}/{x}/{y}.png'], + tileSize: 256, + maxzoom: 18, + attribution: '© Waymarked Trails' + } + }, + layers: [{ + id: 'waymarkedTrailsHiking', + type: 'raster', + source: 'waymarkedTrailsHiking', + }], }, waymarkedTrailsCycling: { - type: 'raster', - tiles: ['https://tile.waymarkedtrails.org/cycling/{z}/{x}/{y}.png'], - tileSize: 256, - maxzoom: 18, - attribution: '© Waymarked Trails' + version: 8, + sources: { + waymarkedTrailsCycling: { + type: 'raster', + tiles: ['https://tile.waymarkedtrails.org/cycling/{z}/{x}/{y}.png'], + tileSize: 256, + maxzoom: 18, + attribution: '© Waymarked Trails' + } + }, + layers: [{ + id: 'waymarkedTrailsCycling', + type: 'raster', + source: 'waymarkedTrailsCycling', + }], }, waymarkedTrailsMTB: { - type: 'raster', - tiles: ['https://tile.waymarkedtrails.org/mtb/{z}/{x}/{y}.png'], - tileSize: 256, - maxzoom: 18, - attribution: '© Waymarked Trails' + version: 8, + sources: { + waymarkedTrailsMTB: { + type: 'raster', + tiles: ['https://tile.waymarkedtrails.org/mtb/{z}/{x}/{y}.png'], + tileSize: 256, + maxzoom: 18, + attribution: '© Waymarked Trails' + } + }, + layers: [{ + id: 'waymarkedTrailsMTB', + type: 'raster', + source: 'waymarkedTrailsMTB', + }], }, waymarkedTrailsSkating: { - type: 'raster', - tiles: ['https://tile.waymarkedtrails.org/skating/{z}/{x}/{y}.png'], - tileSize: 256, - maxzoom: 18, - attribution: '© Waymarked Trails' + version: 8, + sources: { + waymarkedTrailsSkating: { + type: 'raster', + tiles: ['https://tile.waymarkedtrails.org/skating/{z}/{x}/{y}.png'], + tileSize: 256, + maxzoom: 18, + attribution: '© Waymarked Trails' + } + }, + layers: [{ + id: 'waymarkedTrailsSkating', + type: 'raster', + source: 'waymarkedTrailsSkating', + }], }, waymarkedTrailsHorseRiding: { - type: 'raster', - tiles: ['https://tile.waymarkedtrails.org/riding/{z}/{x}/{y}.png'], - tileSize: 256, - maxzoom: 18, - attribution: '© Waymarked Trails' + version: 8, + sources: { + waymarkedTrailsHorseRiding: { + type: 'raster', + tiles: ['https://tile.waymarkedtrails.org/riding/{z}/{x}/{y}.png'], + tileSize: 256, + maxzoom: 18, + attribution: '© Waymarked Trails' + } + }, + layers: [{ + id: 'waymarkedTrailsHorseRiding', + type: 'raster', + source: 'waymarkedTrailsHorseRiding', + }], }, waymarkedTrailsWinter: { - type: 'raster', - tiles: ['https://tile.waymarkedtrails.org/slopes/{z}/{x}/{y}.png'], - tileSize: 256, - maxzoom: 18, - attribution: '© Waymarked Trails' - }, - stravaHeatmapRun: { - type: 'raster', - tiles: [], - tileSize: 1024, - maxzoom: 15, - attribution: '© Strava' - }, - stravaHeatmapTrailRun: { - type: 'raster', - tiles: [], - tileSize: 1024, - maxzoom: 15, - attribution: '© Strava' - }, - stravaHeatmapHike: { - type: 'raster', - tiles: [], - tileSize: 1024, - maxzoom: 15, - attribution: '© Strava' - }, - stravaHeatmapRide: { - type: 'raster', - tiles: [], - tileSize: 1024, - maxzoom: 15, - attribution: '© Strava' - }, - stravaHeatmapGravel: { - type: 'raster', - tiles: [], - tileSize: 1024, - maxzoom: 15, - attribution: '© Strava' - }, - stravaHeatmapMTB: { - type: 'raster', - tiles: [], - tileSize: 1024, - maxzoom: 15, - attribution: '© Strava' - }, - stravaHeatmapWater: { - type: 'raster', - tiles: [], - tileSize: 1024, - maxzoom: 15, - attribution: '© Strava' - }, - stravaHeatmapWinter: { - type: 'raster', - tiles: [], - tileSize: 1024, - maxzoom: 15, - attribution: '© Strava' + version: 8, + sources: { + waymarkedTrailsWinter: { + type: 'raster', + tiles: ['https://tile.waymarkedtrails.org/slopes/{z}/{x}/{y}.png'], + tileSize: 256, + maxzoom: 18, + attribution: '© Waymarked Trails' + } + }, + layers: [{ + id: 'waymarkedTrailsWinter', + type: 'raster', + source: 'waymarkedTrailsWinter', + }], }, }; @@ -511,6 +623,7 @@ export const basemapTree: LayerTreeType = { }, france: { ignFrPlan: true, + ignFrTopo: true, ignFrScan25: true, ignFrSatellite: true, }, @@ -526,6 +639,7 @@ export const basemapTree: LayerTreeType = { }, sweden: { swedenTopo: true, + swedenSatellite: true, }, switzerland: { swisstopoRaster: true, @@ -546,19 +660,6 @@ export const basemapTree: LayerTreeType = { export const overlayTree: LayerTreeType = { overlays: { world: { - cyclOSM: { - cyclOSMlite: true, - }, - /*strava: { - stravaHeatmapRun: true, - stravaHeatmapTrailRun: true, - stravaHeatmapHike: true, - stravaHeatmapRide: true, - stravaHeatmapGravel: true, - stravaHeatmapMTB: true, - stravaHeatmapWater: true, - stravaHeatmapWinter: true, - },*/ waymarked_trails: { waymarkedTrailsHiking: true, waymarkedTrailsCycling: true, @@ -566,7 +667,9 @@ export const overlayTree: LayerTreeType = { waymarkedTrailsSkating: true, waymarkedTrailsHorseRiding: true, waymarkedTrailsWinter: true, - } + }, + cyclOSMlite: true, + bikerouterGravel: true, }, countries: { france: { @@ -600,6 +703,7 @@ export const overpassTree: LayerTreeType = { toilets: true, "water": true, shower: true, + shelter: true, barrier: true }, tourism: { @@ -608,6 +712,7 @@ export const overpassTree: LayerTreeType = { hotel: true, campsite: true, hut: true, + picnic: true, summit: true, pass: true, climbing: true, @@ -638,19 +743,6 @@ export const defaultBasemap = 'mapboxOutdoors'; export const defaultOverlays = { overlays: { world: { - cyclOSM: { - cyclOSMlite: false, - }, - /*strava: { - stravaHeatmapRun: false, - stravaHeatmapTrailRun: false, - stravaHeatmapHike: false, - stravaHeatmapRide: false, - stravaHeatmapGravel: false, - stravaHeatmapMTB: false, - stravaHeatmapWater: false, - stravaHeatmapWinter: false, - },*/ waymarked_trails: { waymarkedTrailsHiking: false, waymarkedTrailsCycling: false, @@ -658,7 +750,9 @@ export const defaultOverlays = { waymarkedTrailsSkating: false, waymarkedTrailsHorseRiding: false, waymarkedTrailsWinter: false, - } + }, + cyclOSMlite: false, + bikerouterGravel: false, }, countries: { france: { @@ -692,6 +786,7 @@ export const defaultOverpassQueries: LayerTreeType = { toilets: false, "water": false, shower: false, + shelter: false, barrier: false }, tourism: { @@ -700,6 +795,7 @@ export const defaultOverpassQueries: LayerTreeType = { hotel: false, campsite: false, hut: false, + picnic: false, summit: false, pass: false, climbing: false @@ -746,6 +842,7 @@ export const defaultBasemapTree: LayerTreeType = { }, france: { ignFrPlan: false, + ignFrTopo: false, ignFrScan25: false, ignFrSatellite: false, }, @@ -761,6 +858,7 @@ export const defaultBasemapTree: LayerTreeType = { }, sweden: { swedenTopo: false, + swedenSatellite: false, }, switzerland: { swisstopoRaster: false, @@ -781,19 +879,6 @@ export const defaultBasemapTree: LayerTreeType = { export const defaultOverlayTree: LayerTreeType = { overlays: { world: { - cyclOSM: { - cyclOSMlite: false, - }, - /*strava: { - stravaHeatmapRun: true, - stravaHeatmapTrailRun: true, - stravaHeatmapHike: true, - stravaHeatmapRide: true, - stravaHeatmapGravel: true, - stravaHeatmapMTB: true, - stravaHeatmapWater: true, - stravaHeatmapWinter: true, - },*/ waymarked_trails: { waymarkedTrailsHiking: true, waymarkedTrailsCycling: true, @@ -801,7 +886,9 @@ export const defaultOverlayTree: LayerTreeType = { waymarkedTrailsSkating: false, waymarkedTrailsHorseRiding: false, waymarkedTrailsWinter: false, - } + }, + cyclOSMlite: false, + bikerouterGravel: false, }, countries: { france: { @@ -835,6 +922,7 @@ export const defaultOverpassTree: LayerTreeType = { toilets: true, "water": true, shower: false, + shelter: false, barrier: false }, tourism: { @@ -843,6 +931,7 @@ export const defaultOverpassTree: LayerTreeType = { hotel: true, campsite: true, hut: true, + picnic: false, summit: true, pass: true, climbing: false @@ -882,17 +971,19 @@ type OverpassQueryData = { color: string, }, tags: Record | Record[], + symbol?: string, }; export const overpassQueryData: Record = { - "bakery": { + bakery: { icon: { svg: Croissant, color: "Coral", }, tags: { shop: "bakery" - } + }, + symbol: "Convenience Store" }, "food-store": { icon: { @@ -901,7 +992,8 @@ export const overpassQueryData: Record = { }, tags: { shop: ["supermarket", "convenience"], - } + }, + symbol: "Convenience Store" }, "eat-and-drink": { icon: { @@ -910,16 +1002,18 @@ export const overpassQueryData: Record = { }, tags: { amenity: ["restaurant", "fast_food", "cafe", "pub", "bar"] - } + }, + symbol: "Restaurant" }, - "toilets": { + toilets: { icon: { svg: Droplet, color: "DeepSkyBlue", }, tags: { amenity: "toilets" - } + }, + symbol: "Restroom" }, water: { icon: { @@ -931,7 +1025,8 @@ export const overpassQueryData: Record = { }, { natural: "spring", drinking_water: "yes" - }] + }], + symbol: "Drinking Water" }, shower: { icon: { @@ -940,7 +1035,18 @@ export const overpassQueryData: Record = { }, tags: { amenity: "shower" - } + }, + symbol: "Shower" + }, + shelter: { + icon: { + svg: Tent, + color: "#000000", + }, + tags: { + amenity: "shelter" + }, + symbol: "Shelter" }, "fuel-station": { icon: { @@ -949,7 +1055,8 @@ export const overpassQueryData: Record = { }, tags: { amenity: "fuel" - } + }, + symbol: "Gas Station" }, parking: { icon: { @@ -958,7 +1065,8 @@ export const overpassQueryData: Record = { }, tags: { amenity: "parking" - } + }, + symbol: "Parking Area" }, garage: { icon: { @@ -967,7 +1075,8 @@ export const overpassQueryData: Record = { }, tags: { shop: ["car_repair", "motorcycle_repair"] - } + }, + symbol: "Car Repair" }, barrier: { icon: { @@ -989,12 +1098,13 @@ export const overpassQueryData: Record = { }, viewpoint: { icon: { - svg: Telescope, + svg: Binoculars, color: "Green", }, tags: { tourism: "viewpoint" - } + }, + symbol: "Scenic Area" }, hotel: { icon: { @@ -1003,7 +1113,8 @@ export const overpassQueryData: Record = { }, tags: { tourism: ["hotel", "hostel", "guest_house", "motel"] - } + }, + symbol: "Hotel" }, campsite: { icon: { @@ -1012,7 +1123,8 @@ export const overpassQueryData: Record = { }, tags: { tourism: "camp_site" - } + }, + symbol: "Campground" }, hut: { icon: { @@ -1021,7 +1133,18 @@ export const overpassQueryData: Record = { }, tags: { tourism: ["alpine_hut", "wilderness_hut"] - } + }, + symbol: "Lodge" + }, + picnic: { + icon: { + svg: Utensils, + color: "Green", + }, + tags: { + tourism: "picnic_site" + }, + symbol: "Picnic Area" }, summit: { icon: { @@ -1030,7 +1153,8 @@ export const overpassQueryData: Record = { }, tags: { natural: "peak" - } + }, + symbol: "Summit" }, pass: { icon: { @@ -1057,7 +1181,8 @@ export const overpassQueryData: Record = { }, tags: { amenity: "bicycle_parking" - } + }, + symbol: "Parking Area" }, "bicycle-rental": { icon: { @@ -1084,7 +1209,8 @@ export const overpassQueryData: Record = { }, tags: { railway: "station" - } + }, + symbol: "Ground Transportation" }, "tram-stop": { icon: { @@ -1094,6 +1220,7 @@ export const overpassQueryData: Record = { tags: { railway: "tram_stop" }, + symbol: "Ground Transportation" }, "bus-stop": { icon: { @@ -1103,7 +1230,8 @@ export const overpassQueryData: Record = { tags: { "public_transport": ["stop_position", "platform"], bus: "yes" - } + }, + symbol: "Ground Transportation" }, ferry: { icon: { @@ -1112,18 +1240,7 @@ export const overpassQueryData: Record = { }, tags: { amenity: "ferry_terminal" - } + }, + symbol: "Anchor" } -}; - -export const stravaHeatmapServers = ['https://heatmap-external-a.strava.com/tiles-auth', 'https://heatmap-external-b.strava.com/tiles-auth', 'https://heatmap-external-c.strava.com/tiles-auth']; -export const stravaHeatmapActivityIds: { [key: string]: string } = { - stravaHeatmapRun: 'sport_Run', - stravaHeatmapTrailRun: 'sport_TrailRun', - stravaHeatmapHike: 'sport_Hike', - stravaHeatmapRide: 'sport_Ride', - stravaHeatmapGravel: 'sport_GravelRide', - stravaHeatmapMTB: 'sport_MountainBikeRide', - stravaHeatmapWater: 'water', - stravaHeatmapWinter: 'winter', -} \ No newline at end of file +}; \ No newline at end of file diff --git a/website/src/lib/assets/symbols.ts b/website/src/lib/assets/symbols.ts new file mode 100644 index 00000000..0fe9e0df --- /dev/null +++ b/website/src/lib/assets/symbols.ts @@ -0,0 +1,60 @@ +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 } 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 } from "lucide-static"; +import type { ComponentType } from "svelte"; + +export type Symbol = { + value: string; + icon?: ComponentType; + iconSvg?: string; +}; + +export const symbols: { [key: string]: Symbol } = { + alert: { value: 'Alert', icon: TriangleAlert, iconSvg: TriangleAlertSvg }, + anchor: { value: 'Anchor', icon: Anchor, iconSvg: AnchorSvg }, + bank: { value: 'Bank', icon: Landmark, iconSvg: LandmarkSvg }, + beach: { value: 'Beach', icon: Shell, iconSvg: ShellSvg }, + bike_trail: { value: 'Bike Trail', icon: Bike, iconSvg: BikeSvg }, + binoculars: { value: 'Binoculars', icon: Binoculars, iconSvg: BinocularsSvg }, + bridge: { value: 'Bridge' }, + building: { value: 'Building', icon: Building, iconSvg: BuildingSvg }, + 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 }, + crossing: { value: 'Crossing' }, + 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 }, + hotel: { value: 'Hotel', icon: Bed, iconSvg: BedSvg }, + house: { value: 'House', icon: Home, iconSvg: HomeSvg }, + information: { value: 'Information', icon: Info, iconSvg: InfoSvg }, + park: { value: 'Park', icon: TreeDeciduous, iconSvg: TreeDeciduousSvg }, + parking_area: { value: 'Parking Area', icon: CircleParking, iconSvg: CircleParkingSvg }, + pharmacy: { value: 'Pharmacy', icon: Cross, iconSvg: CrossSvg }, + picnic_area: { value: 'Picnic Area', icon: Utensils, iconSvg: UtensilsSvg }, + restaurant: { value: 'Restaurant', icon: Utensils, iconSvg: UtensilsSvg }, + restricted_area: { value: 'Restricted Area', icon: Construction, iconSvg: ConstructionSvg }, + restroom: { value: 'Restroom' }, + road: { value: 'Road', icon: BrickWall, iconSvg: BrickWallSvg }, + scenic_area: { value: 'Scenic Area', icon: Binoculars, iconSvg: BinocularsSvg }, + shelter: { value: 'Shelter', icon: Tent, iconSvg: TentSvg }, + shopping_center: { value: 'Shopping Center', icon: ShoppingBasket }, + shower: { value: 'Shower', icon: ShowerHead, iconSvg: ShowerHeadSvg }, + summit: { value: 'Summit', icon: Mountain, iconSvg: MountainSvg }, + telephone: { value: 'Telephone', icon: Phone, iconSvg: PhoneSvg }, + tunnel: { value: 'Tunnel' }, + water_source: { value: 'Water Source', icon: Droplet, iconSvg: DropletSvg }, +}; + +export function getSymbolKey(value: string | undefined): string | undefined { + if (value === undefined) { + return undefined; + } else { + return Object.keys(symbols).find(key => symbols[key].value === value); + } +} \ No newline at end of file diff --git a/website/src/lib/components/ElevationProfile.svelte b/website/src/lib/components/ElevationProfile.svelte index 8d57b711..5cab1a85 100644 --- a/website/src/lib/components/ElevationProfile.svelte +++ b/website/src/lib/components/ElevationProfile.svelte @@ -40,6 +40,7 @@ import { DateFormatter } from '@internationalized/date'; import type { GPXStatistics } from 'gpx'; import { settings } from '$lib/db'; + import { mode } from 'mode-watcher'; export let gpxStatistics: Writable; export let slicedGPXStatistics: Writable<[GPXStatistics, number, number] | undefined>; @@ -72,6 +73,7 @@ let marker: mapboxgl.Marker | null = null; let dragging = false; + let panning = false; let options = { animation: false, @@ -102,7 +104,8 @@ line: { pointRadius: 0, tension: 0.4, - borderWidth: 2 + borderWidth: 2, + cubicInterpolationMode: 'monotone' } }, interaction: { @@ -118,7 +121,7 @@ enabled: true }, tooltip: { - enabled: () => !dragging, + enabled: () => !dragging && !panning, callbacks: { title: function () { return ''; @@ -176,6 +179,48 @@ return labels; } } + }, + zoom: { + pan: { + enabled: true, + mode: 'x', + modifierKey: 'shift', + onPanStart: function () { + // hide tooltip + panning = true; + $slicedGPXStatistics = undefined; + }, + onPanComplete: function () { + panning = false; + } + }, + zoom: { + wheel: { + enabled: true + }, + mode: 'x', + onZoomStart: function ({ chart, event }: { chart: Chart; event: any }) { + if ( + event.deltaY < 0 && + Math.abs( + chart.getInitialScaleBounds().x.max / chart.options.plugins.zoom.limits.x.minRange - + chart.getZoomLevel() + ) < 0.01 + ) { + // Disable wheel pan if zoomed in to the max, and zooming in + return false; + } + + $slicedGPXStatistics = undefined; + } + }, + limits: { + x: { + min: 'original', + max: 'original', + minRange: 1 + } + } } }, stacked: false, @@ -248,7 +293,9 @@ } }; - onMount(() => { + onMount(async () => { + Chart.register((await import('chartjs-plugin-zoom')).default); // dynamic import to avoid SSR and 'window is not defined' error + chart = new Chart(canvas, { type: 'line', data: { @@ -312,6 +359,10 @@ let dragStarted = false; function onMouseDown(evt) { + if (evt.shiftKey) { + // Panning interaction + return; + } dragStarted = true; canvas.style.cursor = 'col-resize'; startIndex = getIndex(evt); @@ -525,7 +576,8 @@ // Draw selection rectangle let selectionContext = overlay.getContext('2d'); if (selectionContext) { - selectionContext.globalAlpha = 0.1; + selectionContext.fillStyle = $mode === 'dark' ? 'white' : 'black'; + selectionContext.globalAlpha = $mode === 'dark' ? 0.2 : 0.1; selectionContext.clearRect(0, 0, overlay.width, overlay.height); let startPixel = chart.scales.x.getPixelForValue( @@ -550,7 +602,7 @@ } } - $: $slicedGPXStatistics, updateOverlay(); + $: $slicedGPXStatistics, $mode, updateOverlay(); onDestroy(() => { if (chart) { diff --git a/website/src/lib/components/Export.svelte b/website/src/lib/components/Export.svelte index 0070e0df..ad3bc8ec 100644 --- a/website/src/lib/components/Export.svelte +++ b/website/src/lib/components/Export.svelte @@ -1,24 +1,75 @@