From ea3d9076a2f7009e2fbfcfd9bf42e293002fe900 Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Thu, 12 Sep 2024 16:31:08 +0200 Subject: [PATCH] [FEATURE] load MVT layers from style URL only (#58663) with support for multiple sources --- src/app/qgisapp.cpp | 3 + .../vectortile/qgsvectortilemvtdecoder.cpp | 1 + src/core/vectortile/qgsvectortilemvtdecoder.h | 1 + src/core/vectortile/qgsvectortileutils.cpp | 140 +- src/core/vectortile/qgsvectortileutils.h | 20 + .../qgsvectortileconnectiondialog.cpp | 8 +- .../qgsvectortileconnectiondialog.h | 11 +- src/ui/qgsvectortileconnectiondialog.ui | 151 +- tests/src/core/testqgsvectortileutils.cpp | 34 + .../vector_tile/styles/base_v1.0.0.json | 414 + tests/testdata/vector_tile/styles/style1.json | 1 + tests/testdata/vector_tile/styles/style2.json | 9506 +++++++++++++++++ .../vector_tile/styles/terrain_v1.0.0.json | 59 + 13 files changed, 10269 insertions(+), 80 deletions(-) create mode 100644 tests/testdata/vector_tile/styles/base_v1.0.0.json create mode 100644 tests/testdata/vector_tile/styles/style1.json create mode 100644 tests/testdata/vector_tile/styles/style2.json create mode 100644 tests/testdata/vector_tile/styles/terrain_v1.0.0.json diff --git a/src/app/qgisapp.cpp b/src/app/qgisapp.cpp index bbc2b2adef72..2e1391ae7c2d 100644 --- a/src/app/qgisapp.cpp +++ b/src/app/qgisapp.cpp @@ -93,6 +93,7 @@ #include "maptools/qgsappmaptools.h" #include "qgsexpressioncontextutils.h" #include "qgsauxiliarystorage.h" +#include "qgsvectortileutils.h" #include "qgsbrowserwidget.h" #include "annotations/qgsannotationitempropertieswidget.h" @@ -2517,6 +2518,8 @@ QList< QgsMapLayer * > QgisApp::handleDropUriList( const QgsMimeDataUtils::UriLi { QgsTemporaryCursorOverride busyCursor( Qt::WaitCursor ); + QgsVectorTileUtils::updateUriSources( uri ); + const QgsVectorTileLayer::LayerOptions options( QgsProject::instance()->transformContext() ); QgsVectorTileLayer *layer = new QgsVectorTileLayer( uri, u.name, options ); bool ok = false; diff --git a/src/core/vectortile/qgsvectortilemvtdecoder.cpp b/src/core/vectortile/qgsvectortilemvtdecoder.cpp index bb1225397ab6..7148bdcade67 100644 --- a/src/core/vectortile/qgsvectortilemvtdecoder.cpp +++ b/src/core/vectortile/qgsvectortilemvtdecoder.cpp @@ -29,6 +29,7 @@ #include "qgspolygon.h" #include +#include QgsVectorTileMVTDecoder::QgsVectorTileMVTDecoder( const QgsVectorTileMatrixSet &structure ) diff --git a/src/core/vectortile/qgsvectortilemvtdecoder.h b/src/core/vectortile/qgsvectortilemvtdecoder.h index 6b451efb7578..672590a35240 100644 --- a/src/core/vectortile/qgsvectortilemvtdecoder.h +++ b/src/core/vectortile/qgsvectortilemvtdecoder.h @@ -28,6 +28,7 @@ class QgsFeature; #include "qgsvectortilerenderer.h" #include "qgsvectortilematrixset.h" + class QgsVectorTileRawData; /** diff --git a/src/core/vectortile/qgsvectortileutils.cpp b/src/core/vectortile/qgsvectortileutils.cpp index 406067a1ae80..0581377f5838 100644 --- a/src/core/vectortile/qgsvectortileutils.cpp +++ b/src/core/vectortile/qgsvectortileutils.cpp @@ -18,6 +18,8 @@ #include #include +#include +#include #include "qgscoordinatetransform.h" #include "qgsgeometrycollection.h" @@ -32,10 +34,146 @@ #include "qgsvectortilelayer.h" #include "qgsvectortilerenderer.h" #include "qgsmapboxglstyleconverter.h" -#include "qgsnetworkaccessmanager.h" #include "qgssetrequestinitiator_p.h" #include "qgsblockingnetworkrequest.h" #include "qgsjsonutils.h" +#include "qgsvectortileconnection.h" + + +void QgsVectorTileUtils::updateUriSources( QString &uri, bool forceUpdate ) +{ + QgsVectorTileProviderConnection::Data data = QgsVectorTileProviderConnection::decodedUri( uri ); + if ( forceUpdate || ( data.url.isEmpty() && !data.styleUrl.isEmpty() ) ) + { + const QMap sources = QgsVectorTileUtils::parseStyleSourceUrl( data.styleUrl, data.httpHeaders, data.authCfg ); + QMap::const_iterator it = sources.constBegin(); + int i = 0; + for ( ; it != sources.constEnd(); ++it ) + { + i += 1; + QString urlKey = QStringLiteral( "url" ); + QString nameKey = QStringLiteral( "urlName" ); + if ( i > 1 ) + { + urlKey.append( QString( "_%1" ).arg( i ) ); + nameKey.append( QString( "_%1" ).arg( i ) ); + } + uri.append( QString( "&%1=%2" ).arg( nameKey, it.key() ) ); + uri.append( QString( "&%1=%2" ).arg( urlKey, it.value() ) ); + } + } +} + +QMap QgsVectorTileUtils::parseStyleSourceUrl( const QString &styleUrl, const QgsHttpHeaders &headers, const QString &authCfg ) +{ + QNetworkRequest nr; + nr.setUrl( QUrl( styleUrl ) ); + headers.updateNetworkRequest( nr ); + + QgsBlockingNetworkRequest req; + req.setAuthCfg( authCfg ); + QgsBlockingNetworkRequest::ErrorCode errCode = req.get( nr, false ); + if ( errCode != QgsBlockingNetworkRequest::NoError ) + { + QgsDebugError( QStringLiteral( "Request failed: " ) + styleUrl ); + return QMap(); + } + QgsNetworkReplyContent reply = req.reply(); + + QJsonParseError err; + const QJsonDocument doc = QJsonDocument::fromJson( reply.content(), &err ); + if ( doc.isNull() ) + { + QgsDebugError( QStringLiteral( "Could not load style: %1" ).arg( err.errorString() ) ); + } + else if ( !doc.isObject() ) + { + QgsDebugError( QStringLiteral( "Could not read style, JSON object is expected" ) ); + } + else + { + QMap sources; + QJsonObject sourcesData = doc.object().value( QStringLiteral( "sources" ) ).toObject(); + if ( sourcesData.count() == 0 ) + { + QgsDebugError( QStringLiteral( "Could not read sources in the style" ) ); + } + else + { + QJsonObject::const_iterator it = sourcesData.constBegin(); + for ( ; it != sourcesData.constEnd(); ++it ) + { + const QString sourceName = it.key(); + const QJsonObject sourceData = it.value().toObject(); + if ( sourceData.value( QStringLiteral( "type" ) ).toString() != QStringLiteral( "vector" ) ) + { + // raster layers are handled separately + // ideally we should handle the sources here also, the same way than for vector + continue; + } + QVariantList tiles; + if ( sourceData.contains( QStringLiteral( "tiles" ) ) ) + { + tiles = sourceData["tiles"].toArray().toVariantList(); + } + else if ( sourceData.contains( QStringLiteral( "url" ) ) ) + { + tiles = parseStyleSourceContentUrl( sourceData.value( QStringLiteral( "url" ) ).toString(), headers, authCfg ); + } + else + { + QgsDebugError( QStringLiteral( "Could not read source %1" ).arg( sourceName ) ); + } + if ( tiles.count() == 0 ) + { + QgsDebugError( QStringLiteral( "Could not read source %1, not tiles found" ).arg( sourceName ) ); + } + else + { + // take a random one from the list + // we might want to save the alternatives for a fallback later + sources.insert( sourceName, tiles[rand() % tiles.count()].toString() ); + } + } + return sources; + } + } + return QMap(); +} + +QVariantList QgsVectorTileUtils::parseStyleSourceContentUrl( const QString &sourceUrl, const QgsHttpHeaders &headers, const QString &authCfg ) +{ + QNetworkRequest nr; + nr.setUrl( QUrl( sourceUrl ) ); + headers.updateNetworkRequest( nr ); + + QgsBlockingNetworkRequest req; + req.setAuthCfg( authCfg ); + QgsBlockingNetworkRequest::ErrorCode errCode = req.get( nr, false ); + if ( errCode != QgsBlockingNetworkRequest::NoError ) + { + QgsDebugError( QStringLiteral( "Request failed: " ) + sourceUrl ); + return QVariantList(); + } + QgsNetworkReplyContent reply = req.reply(); + + QJsonParseError err; + const QJsonDocument doc = QJsonDocument::fromJson( reply.content(), &err ); + if ( doc.isNull() ) + { + QgsDebugError( QStringLiteral( "Could not load style: %1" ).arg( err.errorString() ) ); + } + else if ( !doc.isObject() ) + { + QgsDebugError( QStringLiteral( "Could not read style, JSON object is expected" ) ); + } + else + { + return doc.object().value( QStringLiteral( "tiles" ) ).toArray().toVariantList(); + } + return QVariantList(); +} + QPolygon QgsVectorTileUtils::tilePolygon( QgsTileXYZ id, const QgsCoordinateTransform &ct, const QgsTileMatrix &tm, const QgsMapToPixel &mtp ) diff --git a/src/core/vectortile/qgsvectortileutils.h b/src/core/vectortile/qgsvectortileutils.h index 87592a661143..852a195cfa08 100644 --- a/src/core/vectortile/qgsvectortileutils.h +++ b/src/core/vectortile/qgsvectortileutils.h @@ -23,6 +23,9 @@ #include #include +#include "qgshttpheaders.h" + + class QPointF; class QPolygon; @@ -48,6 +51,13 @@ class CORE_EXPORT QgsVectorTileUtils { public: + /** + * Parses the style URL to update the source URLs in the \a uri. + * If \a forceUpdate is TRUE, any existing source will be updated. + * \since QGIS 3.40 + */ + static void updateUriSources( QString &uri SIP_OUT, bool forceUpdate = false ); + //! Orders tile requests according to the distance from view center (given in tile matrix coords) static void sortTilesByDistanceFromCenter( QVector &tiles, QPointF center ); @@ -92,6 +102,16 @@ class CORE_EXPORT QgsVectorTileUtils * \param styleUrl optional the style url */ static void loadSprites( const QVariantMap &styleDefinition, QgsMapBoxGlStyleConversionContext &context, const QString &styleUrl = QString() ); + + private: + //! Parses the style URL to get a list of named source URLs. + static QMap parseStyleSourceUrl( const QString &styleUrl, const QgsHttpHeaders &headers = QgsHttpHeaders(), const QString &authCfg = QString() ); + + //! Returns the tiles URLs of a source + static QVariantList parseStyleSourceContentUrl( const QString &sourceUrl, const QgsHttpHeaders &headers = QgsHttpHeaders(), const QString &authCfg = QString() ); + + friend class TestQgsVectorTileUtils; + }; #endif // QGSVECTORTILEUTILS_H diff --git a/src/gui/vectortile/qgsvectortileconnectiondialog.cpp b/src/gui/vectortile/qgsvectortileconnectiondialog.cpp index a12ae473f886..33f9df1f3a52 100644 --- a/src/gui/vectortile/qgsvectortileconnectiondialog.cpp +++ b/src/gui/vectortile/qgsvectortileconnectiondialog.cpp @@ -17,18 +17,22 @@ #include "qgsvectortileconnection.h" #include "qgsgui.h" #include "qgshelp.h" +#include "qgssettingsenumflageditorwidgetwrapper.h" #include #include ///@cond PRIVATE + QgsVectorTileConnectionDialog::QgsVectorTileConnectionDialog( QWidget *parent ) : QDialog( parent ) { setupUi( this ); QgsGui::enableAutoGeometryRestore( this ); + mEditUrl->setPlaceholderText( tr( "URL(s) can be determined from the style." ) ); + // Behavior for min and max zoom checkbox connect( mCheckBoxZMin, &QCheckBox::toggled, mSpinZMin, &QSpinBox::setEnabled ); connect( mCheckBoxZMax, &QCheckBox::toggled, mSpinZMax, &QSpinBox::setEnabled ); @@ -41,6 +45,7 @@ QgsVectorTileConnectionDialog::QgsVectorTileConnectionDialog( QWidget *parent ) } ); connect( mEditName, &QLineEdit::textChanged, this, &QgsVectorTileConnectionDialog::updateOkButtonState ); connect( mEditUrl, &QLineEdit::textChanged, this, &QgsVectorTileConnectionDialog::updateOkButtonState ); + connect( mEditStyleUrl, &QLineEdit::textChanged, this, &QgsVectorTileConnectionDialog::updateOkButtonState ); } void QgsVectorTileConnectionDialog::setConnection( const QString &name, const QString &uri ) @@ -85,10 +90,11 @@ QString QgsVectorTileConnectionDialog::connectionName() const void QgsVectorTileConnectionDialog::updateOkButtonState() { - const bool enabled = !mEditName->text().isEmpty() && !mEditUrl->text().isEmpty(); + const bool enabled = !mEditName->text().isEmpty() && ( !mEditUrl->text().isEmpty() || !mEditStyleUrl->text().isEmpty() ); buttonBox->button( QDialogButtonBox::Ok )->setEnabled( enabled ); } + void QgsVectorTileConnectionDialog::accept() { if ( mCheckBoxZMin->isChecked() && mCheckBoxZMax->isChecked() && mSpinZMax->value() < mSpinZMin->value() ) diff --git a/src/gui/vectortile/qgsvectortileconnectiondialog.h b/src/gui/vectortile/qgsvectortileconnectiondialog.h index 7875bc39833d..9add4976478b 100644 --- a/src/gui/vectortile/qgsvectortileconnectiondialog.h +++ b/src/gui/vectortile/qgsvectortileconnectiondialog.h @@ -23,11 +23,21 @@ #include "ui_qgsvectortileconnectiondialog.h" +#include "qgssettingsentryenumflag.h" class QgsVectorTileConnectionDialog : public QDialog, public Ui::QgsVectorTileConnectionDialog { Q_OBJECT public: + enum class LoadingMode : int + { + Url, + Style + }; + Q_ENUM( LoadingMode ) + + static const QgsSettingsEntryEnumFlag *settingsLastLoadingMode; + explicit QgsVectorTileConnectionDialog( QWidget *parent = nullptr ); void setConnection( const QString &name, const QString &uri ); @@ -39,7 +49,6 @@ class QgsVectorTileConnectionDialog : public QDialog, public Ui::QgsVectorTileCo private slots: void updateOkButtonState(); - }; ///@endcond diff --git a/src/ui/qgsvectortileconnectiondialog.ui b/src/ui/qgsvectortileconnectiondialog.ui index e66748697ddf..b63a1a15ec03 100644 --- a/src/ui/qgsvectortileconnectiondialog.ui +++ b/src/ui/qgsvectortileconnectiondialog.ui @@ -20,21 +20,60 @@ Connection Details - - + + + + + 0 + 0 + + + + 14 + + + + + + + Max. Zoom Level + + + true + + + + + + + Referer + + + mEditReferer + + + + + - Name of the new connection + URL of the connection, {x}, {y}, and {z} will be replaced with actual values. Use {-y} for inverted y axis. + + + http://example.com/{z}/{x}/{y}.pbf - - + + - Name + Min. Zoom Level + + + true - + Authentication @@ -58,103 +97,61 @@ - - - - URL - - - - - - - - 0 - 0 - + + + + Optional custom referer - - + + - Referer - - - mEditReferer + Source URL - - + + 0 0 - - 14 - - - + + - Max. Zoom Level - - - true + Name - - + + - URL of the connection, {x}, {y}, and {z} will be replaced with actual values. Use {-y} for inverted y axis. - - - http://example.com/{z}/{x}/{y}.pbf + Name of the new connection - - - - Min. Zoom Level + + + + If specified, the layer will be automatically styled using styling JSON from the entered URL. - + true - - - - Optional custom referer - - - - + Style URL - - - - If specified, the layer will be automatically styled using styling JSON from the entered URL. - - - Optional - - - true - - - @@ -185,13 +182,13 @@ mEditName + mEditStyleUrl mEditUrl - mCheckBoxZMin mSpinZMin - mCheckBoxZMax mSpinZMax - mEditStyleUrl mEditReferer + mCheckBoxZMax + mCheckBoxZMin @@ -202,8 +199,8 @@ accept() - 224 - 381 + 236 + 437 157 @@ -218,8 +215,8 @@ reject() - 292 - 387 + 304 + 437 286 diff --git a/tests/src/core/testqgsvectortileutils.cpp b/tests/src/core/testqgsvectortileutils.cpp index 60a3c3c37589..9640dfd6a3ba 100644 --- a/tests/src/core/testqgsvectortileutils.cpp +++ b/tests/src/core/testqgsvectortileutils.cpp @@ -16,6 +16,7 @@ #include "qgstest.h" #include #include +#include //qgis includes... #include "qgsapplication.h" @@ -41,6 +42,7 @@ class TestQgsVectorTileUtils : public QObject void cleanup() {} // will be called after every testfunction. void test_scaleToZoomLevel(); + void test_urlsFromStyle(); }; @@ -63,6 +65,38 @@ void TestQgsVectorTileUtils::test_scaleToZoomLevel() QCOMPARE( zoomLevel, 10 ); } +void TestQgsVectorTileUtils::test_urlsFromStyle() +{ + QString dataDir( TEST_DATA_DIR ); + QFile style1File( dataDir + "/vector_tile/styles/style1.json" ); + style1File.open( QIODevice::Text | QIODevice::ReadOnly ); + QString style1Content = style1File.readAll(); + style1File.close(); + style1Content.replace( QString( "_TILE_SOURCE_TEST_PATH_" ), "file://" + dataDir + "/vector_tile/styles" ); + QFile fixedStyleFilePath( QDir::tempPath() + QStringLiteral( "/style1.json" ) ); + if ( fixedStyleFilePath.open( QFile::WriteOnly | QFile::Truncate ) ) + { + QTextStream out( &fixedStyleFilePath ); + out << style1Content; + } + fixedStyleFilePath.close(); + + auto sources = QgsVectorTileUtils::parseStyleSourceUrl( "file://" + fixedStyleFilePath.fileName() ); + QCOMPARE( sources.count(), 2 ); + QVERIFY( sources.contains( "base_v1.0.0" ) ); + QString sourceUrl = sources.value( "base_v1.0.0" ); + sourceUrl.replace( QRegularExpression( "vectortiles[0-9]" ), QStringLiteral( "vectortilesX" ) ); + QCOMPARE( sourceUrl, "https://vectortilesX.geo.admin.ch/tiles/ch.swisstopo.base.vt/v1.0.0/{z}/{x}/{y}.pbf" ); + QVERIFY( sources.contains( "terrain_v1.0.0" ) ); + sourceUrl = sources.value( "terrain_v1.0.0" ); + sourceUrl.replace( QRegularExpression( "vectortiles[0-9]" ), QStringLiteral( "vectortilesX" ) ); + QCOMPARE( sourceUrl, "https://vectortilesX.geo.admin.ch/tiles/ch.swisstopo.relief.vt/v1.0.0/{z}/{x}/{y}.pbf" ); + + sources = QgsVectorTileUtils::parseStyleSourceUrl( "file://" + dataDir + "/vector_tile/styles/style2.json" ); + QCOMPARE( sources.count(), 1 ); + QVERIFY( sources.contains( "plan_ign" ) ); + QCOMPARE( sources.value( "plan_ign" ), "https://data.geopf.fr/tms/1.0.0/PLAN.IGN/{z}/{x}/{y}.pbf" ); +} QGSTEST_MAIN( TestQgsVectorTileUtils ) #include "testqgsvectortileutils.moc" diff --git a/tests/testdata/vector_tile/styles/base_v1.0.0.json b/tests/testdata/vector_tile/styles/base_v1.0.0.json new file mode 100644 index 000000000000..b04c5801d243 --- /dev/null +++ b/tests/testdata/vector_tile/styles/base_v1.0.0.json @@ -0,0 +1,414 @@ +{ + "basename": "tiles/ch.swisstopo.base.vt/v1.0.0", + "name": "Basiskarte_v1.0.0", + "description": "A tileset showcasing all SwissTopo layers.", + "attribution": "© swisstopo", + "version": "v1.0.0", + "format": "pbf", + "minzoom": 0, + "maxzoom": 14, + "scale": 1, + "vector_layers": [ + { + "id": "aerodrome_label", + "description": "[Aerodrome labels](http://wiki.openstreetmap.org/wiki/Tag:aeroway%3Daerodrome)", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "feature_id": "Number", + "name": "String", + "name:latin": "String", + "name:de": "String", + "name:fr": "String", + "name:it": "String", + "name:rm": "String", + "class": "String", + "iata": "String", + "icao": "String", + "closest_station_id": "String" + } + }, + { + "id": "aeroway", + "description": "Airport buildings are contained in the **building** layer but all\nother airport related polygons can be found in the **aeroway** layer.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "class": "String" + } + }, + { + "id": "area_name", + "description": "area_name layer", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "feature_id": "Number", + "class": "String", + "subclass": "String", + "name": "String", + "name:de": "String", + "name:fr": "String", + "name:it": "String", + "name:rm": "String", + "name:latin": "String", + "size": "Number", + "direction": "Number", + "extent_uuid": "String", + "bbox_coord": "String" + } + }, + { + "id": "bathymetry", + "description": "bathymetry can be used to show different lake depths.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "lake_depth": "Number", + "lake_depth_ft": "Number" + } + }, + { + "id": "boundary", + "description": "Contains administrative boundaries as linestrings.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "admin_level": "Number", + "adm2_l": "String", + "adm2_r": "String", + "adm4_l": "String", + "adm4_r": "String", + "adm8_l": "String", + "adm8_r": "String", + "disputed": "Number", + "maritime": "Number" + } + }, + { + "id": "building", + "description": "buildings including roofs without sidewalls", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "class": "String", + "render_height": "Number", + "render_min_height": "Number" + } + }, + { + "id": "building_ln", + "description": "building_line layer for the LBM", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "class": "String", + "name": "String", + "name:latin": "String", + "name:de": "String", + "name:fr": "String", + "name:it": "String", + "name:rm": "String" + } + }, + { + "id": "construct", + "description": "manmade structures not suitable for the layer building.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "class": "String" + } + }, + { + "id": "contour_line", + "description": "contour lines", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "class": "String", + "ele": "Number", + "ele_ft": "Number", + "lake_depth": "Number", + "lake_depth_ft": "Number" + } + }, + { + "id": "contour_line_pt", + "description": "contour lines points that can be used to label contour lines. were removed if in graphic conflict with other elements of the map.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "class": "String", + "ele": "Number", + "ele_ft": "Number", + "lake_depth": "Number", + "lake_depth_ft": "Number", + "direction": "Number" + } + }, + { + "id": "extent", + "description": "extent polygons of corresponding point or line features used for labelling map features.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "layer": "String", + "class": "String", + "subclass": "String", + "extent_uuid": "String" + } + }, + { + "id": "housenumber", + "description": "Housenumber of buildings.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "housenumber": "String" + } + }, + { + "id": "landcover", + "description": "Landcover is used to describe the physical material at the surface of the earth.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "class": "String", + "subclass": "String" + } + }, + { + "id": "landcover_pt", + "description": "Landcover Point is used to describe the physical elements at the surface of the earth.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "class": "String", + "subclass": "String" + } + }, + { + "id": "landuse", + "description": "Landuse is used to describe use of land by humans.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "class": "String" + } + }, + { + "id": "mountain_peak", + "description": "peaks or other topographical landmarks.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "feature_id": "Number", + "class": "String", + "name": "String", + "name:latin": "String", + "name:de": "String", + "name:fr": "String", + "name:it": "String", + "name:rm": "String", + "rank": "Number", + "weather_id": "Number", + "closest_station_id": "String", + "landmark_id": "Number" + } + }, + { + "id": "park", + "description": "The park layer contains parks from national park and protected areas. contains polygons for area and points for labelling", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "feature_id": "Number", + "class": "String", + "name": "String", + "name:latin": "String", + "name:de": "String", + "name:fr": "String", + "name:it": "String", + "name:rm": "String", + "extent_uuid": "String", + "bbox_coord": "String" + } + }, + { + "id": "place", + "description": "used to label places.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "feature_id": "Number", + "class": "String", + "name": "String", + "name:latin": "String", + "name:de": "String", + "name:fr": "String", + "name:it": "String", + "name:rm": "String", + "rank": "Number", + "capital": "Number", + "iso_a2": "String", + "code": "String", + "population": "Number", + "weather_id": "Number", + "closest_station_id": "String" + } + }, + { + "id": "poi", + "description": "LBM POIs", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "feature_id": "Number", + "class": "String", + "subclass": "String", + "name": "String", + "name:latin": "String", + "name:de": "String", + "name:fr": "String", + "name:it": "String", + "name:rm": "String", + "name:en": "String", + "address": "String", + "website": "String", + "email": "String", + "phone": "String", + "direction": "Number", + "station_id": "Number", + "station_area_id": "Number", + "station_stop_id": "Number", + "bbox_coord": "String", + "closest_station_id": "String", + "weather_id": "Number", + "api_id": "String", + "landmark_id": "Number" + } + }, + { + "id": "shortest_path", + "description": "shortest path from a poi to the closest public transport stop.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "shortest_path_id": "Number" + } + }, + { + "id": "spot_elevation", + "description": "spot elevation.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "class": "String" + } + }, + { + "id": "transportation", + "description": "**transportation** contains roads, railways, aerialways, and ferry lines.\nIt contains all roads from motorways to primary, secondary and\ntertiary roads to residential roads and\nfoot paths. Styling the roads is the most essential part of the map.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "class": "String", + "subclass": "String", + "brunnel": "String", + "ramp": "Number", + "oneway": "Number", + "layer": "Number", + "surface": "String", + "sac_scale": "String", + "service": "String", + "is_route": "Number" + } + }, + { + "id": "transportation_name", + "description": "Labeling geometry for transportation layer.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "class": "String", + "subclass": "String", + "brunnel": "String", + "name": "String", + "name:latin": "String", + "name:de": "String", + "name:fr": "String", + "name:it": "String", + "name:rm": "String", + "ref": "String", + "ref_length": "Number", + "layer": "Number", + "is_route": "Number" + } + }, + { + "id": "water", + "description": "Water polygons representing rivers and lakes but also artificial constructions such as pools.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "class": "String" + } + }, + { + "id": "waterway", + "description": "Lines of waterways or outlines of waterbodies. Underground waterways are not included.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "class": "String", + "name": "String", + "name:latin": "String", + "name:de": "String", + "name:fr": "String", + "name:it": "String", + "name:rm": "String", + "intermittent": "Number", + "width": "Number" + } + }, + { + "id": "water_name", + "description": "The water_name layer contains centerlines for larger waterbodies and centerpoints for smaller waterbodies for labelling.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "class": "String", + "name": "String", + "name:latin": "String", + "name:de": "String", + "name:fr": "String", + "name:it": "String", + "name:rm": "String", + "direction": "Number", + "size": "Number" + } + } + ], + "profile": "mercator", + "scheme": "xyz", + "bounds": [ + 5.9559, + 45.818, + 10.4921, + 47.8084 + ], + "center": [ + 8.2, + 46.8, + 7 + ], + "tilejson": "2.0.0", + "tiles": [ + "https://vectortiles0.geo.admin.ch/tiles/ch.swisstopo.base.vt/v1.0.0/{z}/{x}/{y}.pbf", + "https://vectortiles1.geo.admin.ch/tiles/ch.swisstopo.base.vt/v1.0.0/{z}/{x}/{y}.pbf", + "https://vectortiles2.geo.admin.ch/tiles/ch.swisstopo.base.vt/v1.0.0/{z}/{x}/{y}.pbf", + "https://vectortiles3.geo.admin.ch/tiles/ch.swisstopo.base.vt/v1.0.0/{z}/{x}/{y}.pbf", + "https://vectortiles4.geo.admin.ch/tiles/ch.swisstopo.base.vt/v1.0.0/{z}/{x}/{y}.pbf" + ] +} diff --git a/tests/testdata/vector_tile/styles/style1.json b/tests/testdata/vector_tile/styles/style1.json new file mode 100644 index 000000000000..c7755797abd9 --- /dev/null +++ b/tests/testdata/vector_tile/styles/style1.json @@ -0,0 +1 @@ +{"version": 8, "id": "7ddfe552-9888-40f8-97ce-c21cbf83d5c8", "name": "lightbasemap_v1.15.0", "sources": {"terrain_v1.0.0": {"url": "_TILE_SOURCE_TEST_PATH_/terrain_v1.0.0.json", "type": "vector"}, "base_v1.0.0": {"url": "_TILE_SOURCE_TEST_PATH_/base_v1.0.0.json", "type": "vector"}}, "layers": [{"id": "background", "type": "background", "layout": {"visibility": "visible"}, "paint": {"background-color": "rgba(252, 252, 252, 1)"}}, {"id": "hillshade_grey", "type": "fill", "source": "terrain_v1.0.0", "source-layer": "hillshade", "layout": {"visibility": "visible"}, "paint": {"fill-color": ["match", ["get", "luminosity"], -15, "rgb(200,210,213)", -14, "rgb(203,213,216)", -13, "rgb(207,215,218)", -12, "rgb(210,218,221)", -11, "rgb(213,221,224)", -10, "rgb(217,224,226)", -9, "rgb(220,227,229)", -8, "rgb(224,230,231)", -7, "rgb(227,232,234)", -6, "rgb(231,235,237)", -5, "rgb(234,238,239)", -4, "rgb(238,241,242)", -3, "rgb(241,244,245)", -2, "rgb(245,247,247)", -1, "rgb(248,249,250)", "rgb(252, 252, 252)"], "fill-opacity": {"stops": [[1, 0.5], [8, 1]]}}, "filter": ["all", ["<", "luminosity", 0]]}, {"id": "hillshade_yellow", "type": "fill", "source": "terrain_v1.0.0", "source-layer": "hillshade", "minzoom": 6.0, "layout": {"visibility": "visible"}, "paint": {"fill-color": "rgba(255, 217, 5, 1)", "fill-opacity": ["interpolate", ["linear"], ["zoom"], 6, 0.005, 11, 0.01]}, "filter": ["all", [">", "luminosity", 0], ["!in", "mask", "rock", "ice", "scree"]]}, {"id": "scree_z17", "type": "fill", "source": "terrain_v1.0.0", "source-layer": "scree", "minzoom": 17.0, "layout": {"visibility": "visible"}, "paint": {"fill-opacity": ["interpolate", ["linear"], ["zoom"], 9, 0, 11, 0.2, 14, 0.25], "fill-pattern": ["match", ["get", "weight"], 15, "scree_very_large_1", 10, "scree_very_large_2", 5, "scree_very_large_3", 1, "scree_very_large_4", ""]}}, {"id": "scree_z15", "type": "fill", "source": "terrain_v1.0.0", "source-layer": "scree", "minzoom": 15.0, "maxzoom": 17.0, "layout": {"visibility": "visible"}, "paint": {"fill-opacity": ["interpolate", ["linear"], ["zoom"], 9, 0, 11, 0.2, 14, 0.25], "fill-pattern": ["match", ["get", "weight"], 15, "scree_large_1", 10, "scree_large_2", 5, "scree_large_3", 1, "scree_large_4", ""]}}, {"id": "scree_z13", "type": "fill", "source": "terrain_v1.0.0", "source-layer": "scree", "minzoom": 13.0, "maxzoom": 15.0, "layout": {"visibility": "visible"}, "paint": {"fill-opacity": ["interpolate", ["linear"], ["zoom"], 11, 0, 12, 0.2, 14, 0.25], "fill-pattern": ["match", ["get", "weight"], 15, "scree_medium_1", 10, "scree_medium_2", 5, "scree_medium_3", 1, "scree_medium_4", ""]}}, {"id": "scree_z11", "type": "fill", "source": "terrain_v1.0.0", "source-layer": "scree", "minzoom": 11.0, "maxzoom": 13.0, "layout": {"visibility": "visible"}, "paint": {"fill-opacity": ["interpolate", ["linear"], ["zoom"], 11, 0, 12, 0.2, 14, 0.25], "fill-pattern": ["match", ["get", "weight"], 15, "scree_small_1", 10, "scree_small_2", 5, "scree_small_3", 1, "scree_small_4", ""]}}, {"id": "contour_line", "type": "line", "source": "base_v1.0.0", "source-layer": "contour_line", "minzoom": 13.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": 0.4, "line-color": ["match", ["get", "class"], ["ice", "water"], "rgb(0,136,208)", ["scree"], "rgb(0,0,0)", "rgb(191,138,64)"], "line-width": ["interpolate", ["exponential", 1], ["zoom"], 12, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], 0.75, 0], 13, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], 0.75, 0], 14, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], 1, 0], 14.5, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], 1.5, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 20], 0], 0.75, 0]], 15, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], 1.75, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 20], 0], 1, 0]], 16.5, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], 2, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 10], 0], 1, 0]]], "line-opacity": ["interpolate", ["linear"], ["zoom"], 13, ["match", ["get", "class"], ["scree", "ice", "water"], 0.25, 0.45], 14, ["match", ["get", "class"], ["scree", "ice", "water"], 0.3, 0.55]]}, "metadata": {"maputnik:comment": "color: rgb(191,138,64)"}, "filter": ["all", ["!in", "class", "rock", "ice", "water"]]}, {"id": "landcover", "type": "fill", "source": "base_v1.0.0", "source-layer": "landcover", "minzoom": 5.0, "layout": {"visibility": "visible"}, "paint": {"fill-color": ["match", ["get", "class"], ["forest", "wood"], "rgb(186, 210, 172)", ["ice", "glacier"], "rgb(205, 232, 244)", ["wetland"], "rgb(204, 229, 245)", ["sand"], "rgb(240, 218, 188)", "rgb(215, 224, 209)"], "fill-opacity": ["interpolate", ["exponential", 1.5], ["zoom"], 5, 0, 6, ["match", ["get", "class"], ["ice", "glacier"], 0.3, 0], 10, ["match", ["get", "class"], ["ice", "glacier"], 0.2, 0], 11, ["match", ["get", "class"], ["ice", "glacier"], 0.2, 0.3], 14, ["match", ["get", "class"], ["ice", "glacier"], 0, 0.3]], "fill-antialias": false}, "filter": ["any", ["match", ["get", "subclass"], ["allotments", "forest", "glacier", "golf_course", "park", "plant_nursery", "recreation_ground", "scrub", "woody_plant", "loose_forest"], true, false], ["case", ["==", ["typeof", ["get", "class"]], "string"], ["==", ["get", "class"], "sand"], false]]}, {"id": "landcover_casing", "type": "line", "source": "base_v1.0.0", "source-layer": "landcover", "minzoom": 10.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": 0.5, "line-color": "rgb(186, 199, 172)", "line-width": ["interpolate", ["exponential", 1.5], ["zoom"], 6, 0, 11, 0.25, 16, 0.75], "line-opacity": ["interpolate", ["exponential", 1.5], ["zoom"], 12, 0, 14, 1]}, "filter": ["all", ["in", "subclass", "wood", "scrub", "recreation_ground", "park", "golf_course", "allotments", "plant_nursery", "forest"]]}, {"id": "landuse", "type": "fill", "source": "base_v1.0.0", "source-layer": "landuse", "layout": {"visibility": "visible"}, "paint": {"fill-color": ["match", ["get", "class"], ["pitch"], "rgb(224,234,221)", ["landfill", "quarry"], "rgb(240, 218, 188)", ["cemetery", "zoo"], "rgb(215, 224, 209)", ["parking"], "rgb(255, 255, 255)", "rgb(215, 224, 209)"], "fill-opacity": ["match", ["get", "class"], ["pitch"], 1, 0.3]}, "filter": ["all", ["in", "class", "landfill", "cemetery", "quarry", "zoo", "pitch"]]}, {"id": "landuse_outline", "type": "line", "source": "base_v1.0.0", "source-layer": "landuse", "layout": {"visibility": "visible"}, "paint": {"line-color": ["match", ["get", "class"], ["pitch"], "rgb(130, 130, 130)", "rgba(186, 199, 172, 1)"], "line-width": ["interpolate", ["exponential", 1.5], ["zoom"], 11, 0.25, 16, 0.75], "line-opacity": {"stops": [[14, 0], [15, 1]]}}, "filter": ["all", ["in", "class", "cemetery", "zoo", "pitch"]]}, {"id": "water_line_intermittent", "type": "line", "source": "base_v1.0.0", "source-layer": "waterway", "minzoom": 12.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": 0, "line-color": "rgba(48, 48, 48, 1)", "line-width": ["interpolate", ["exponential", 1.5], ["zoom"], 13, ["match", ["to-string", ["get", "width"]], ["10", "9", "8"], 3.5, ["7", "6", "5"], 2.5, ["4", "3"], 1.5, ["1", "2"], 1, ["match", ["get", "class"], ["river", "canal"], 3.5, 1]], 16, ["match", ["to-string", ["get", "width"]], "10", 5, "9", 4.5, "8", 4, "7", 3.5, ["6", "5"], 3, "4", 2.5, "3", 2, "2", 1.5, "1", 1, ["match", ["get", "class"], ["river", "canal"], 5, 1.5]], 20, ["match", ["to-string", ["get", "width"]], "10", 10, "9", 9.6, "8", 8.9, "7", 8.2, "6", 7.5, "5", 6.8, "4", 6.1, "3", 5.4, "2", 4.7, "1", 4, ["match", ["get", "class"], ["river", "canal"], 10, 4]]], "line-offset": 0, "line-opacity": {"stops": [[13, 0.25], [16, 0.35]]}, "line-dasharray": {"stops": [[13, [0.5, 3]], [14, [0.75, 4.5]], [15, [1, 6]], [16, [1.25, 7.5]]]}}, "filter": ["all", ["==", "intermittent", 1]]}, {"id": "water_line", "type": "line", "source": "base_v1.0.0", "source-layer": "waterway", "minzoom": 7.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": 0, "line-color": ["interpolate", ["linear"], ["zoom"], 10, "rgba(138, 195, 229, 1)", 16, ["match", ["get", "class"], ["river", "canal"], "rgba(160, 205, 236, 1)", "rgba(140, 185, 226, 1)"]], "line-width": ["interpolate", ["exponential", 1.5], ["zoom"], 7, 1, 10, ["match", ["to-string", ["get", "width"]], ["10", "9", "8", "7", "6"], 1.5, ["5", "4", "3", "2", "1"], 1, ["match", ["get", "class"], ["river", "canal"], 1.5, 1]], 13, ["match", ["to-string", ["get", "width"]], ["10", "9", "8"], 3.5, ["7", "6", "5"], 2.5, ["4", "3"], 1.5, ["1", "2"], 1, ["match", ["get", "class"], ["river", "canal"], 3.5, 1]], 16, ["match", ["to-string", ["get", "width"]], "10", 5, "9", 4.5, "8", 4, "7", 3.5, ["6", "5"], 3, "4", 2.5, "3", 2, "2", 1.5, "1", 1, ["match", ["get", "class"], ["river", "canal"], 5, 1.5]], 20, ["match", ["to-string", ["get", "width"]], "10", 10, "9", 9.6, "8", 8.9, "7", 8.2, "6", 7.5, "5", 6.8, "4", 6.1, "3", 5.4, "2", 4.7, "1", 4, ["match", ["get", "class"], ["river", "canal"], 10, 4]]], "line-offset": 0, "line-opacity": 0.7}, "filter": ["all", ["!=", "intermittent", 1], ["!in", "class", "riverbank", "shoreline", "shoreline_changing_level"]]}, {"id": "water_polygon", "type": "fill", "source": "base_v1.0.0", "source-layer": "water", "layout": {"visibility": "visible"}, "paint": {"fill-color": ["interpolate", ["exponential", 1.5], ["zoom"], 4, "rgb(209, 228, 240)", 10, "rgb(199, 224, 245)"]}}, {"id": "hachure", "type": "fill", "source": "terrain_v1.0.0", "source-layer": "hachure", "layout": {"visibility": "visible"}, "paint": {"fill-color": ["match", ["get", "class"], 1, "rgba(32, 32, 32, 1)", "hsl(203, 60%, 46%)"], "fill-opacity": ["interpolate", ["linear"], ["zoom"], 9, 0, 11, 0.2, 14, 0.25], "fill-antialias": false}}, {"id": "contour_line_water", "type": "line", "source": "base_v1.0.0", "source-layer": "contour_line", "minzoom": 13.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": 0.4, "line-color": "rgb(0,136,208)", "line-width": ["interpolate", ["exponential", 1], ["zoom"], 12, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], 0.75, 0], 13, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], 0.75, 0], 14, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], 1, 0], 14.5, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], 1.5, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 20], 0], 0.75, 0]], 16, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], 1.75, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 20], 0], 1, 0]], 16.5, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], 2, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 10], 0], 1, 0]]], "line-opacity": ["interpolate", ["linear"], ["zoom"], 13, ["match", ["get", "class"], ["scree", "ice", "water"], 0.25, 0.45], 14, ["match", ["get", "class"], ["scree", "ice", "water"], 0.3, 0.55]]}, "filter": ["all", ["in", "class", "ice", "water"]]}, {"id": "label_contour_line_20_grey", "type": "symbol", "source": "base_v1.0.0", "source-layer": "contour_line", "minzoom": 16.0, "layout": {"text-font": ["Frutiger Neue Italic"], "text-size": 12, "text-field": "{ele} ", "visibility": "visible", "text-justify": "center", "text-padding": ["interpolate", ["linear"], ["zoom"], 14, 0, 15, 12, 16, 80], "symbol-spacing": 550, "symbol-z-order": "auto", "text-max-angle": 40, "text-transform": "none", "symbol-placement": "line", "text-keep-upright": true, "symbol-avoid-edges": true, "text-allow-overlap": false, "text-letter-spacing": 0.1, "text-pitch-alignment": "map", "text-ignore-placement": false, "text-rotation-alignment": "map"}, "paint": {"text-color": "rgba(64,64,64, 1)", "text-opacity": ["step", ["zoom"], 0, 12, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], 0.75, 0], 16, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 20], 0], 0.75, 0]], "text-halo-blur": 0.5, "text-halo-color": "rgba(238, 238, 238, .8)", "text-halo-width": 2}, "filter": ["all", ["==", ["%", ["to-number", ["get", "ele"]], 20], 0], ["!=", ["%", ["to-number", ["get", "ele"]], 100], 0], ["match", ["get", "class"], ["scree"], true, false]]}, {"id": "label_contour_line_20_blue", "type": "symbol", "source": "base_v1.0.0", "source-layer": "contour_line", "minzoom": 16.0, "layout": {"text-font": ["Frutiger Neue Italic"], "text-size": 12, "text-field": "{ele} ", "visibility": "visible", "text-justify": "center", "text-padding": ["interpolate", ["linear"], ["zoom"], 14, 0, 15, 12, 16, 80], "symbol-spacing": 550, "symbol-z-order": "auto", "text-max-angle": 40, "text-transform": "none", "symbol-placement": "line", "text-keep-upright": true, "symbol-avoid-edges": true, "text-allow-overlap": false, "text-letter-spacing": 0.1, "text-pitch-alignment": "map", "text-ignore-placement": false, "text-rotation-alignment": "map"}, "paint": {"text-color": "rgba(0,136,208, 1)", "text-opacity": ["step", ["zoom"], 0, 12, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], 0.75, 0], 16, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 20], 0], 0.75, 0]], "text-halo-blur": 0.5, "text-halo-color": "rgba(238, 238, 238, .8)", "text-halo-width": 2}, "filter": ["all", ["==", ["%", ["to-number", ["get", "ele"]], 20], 0], ["!=", ["%", ["to-number", ["get", "ele"]], 100], 0], ["match", ["get", "class"], ["ice", "water"], true, false]]}, {"id": "label_contour_line_20_brown", "type": "symbol", "source": "base_v1.0.0", "source-layer": "contour_line", "minzoom": 16.0, "layout": {"text-font": ["Frutiger Neue Italic"], "text-size": 12, "text-field": "{ele} ", "visibility": "visible", "text-justify": "center", "text-padding": ["interpolate", ["linear"], ["zoom"], 14, 0, 15, 12, 16, 80], "symbol-spacing": 550, "symbol-z-order": "auto", "text-max-angle": 40, "text-transform": "none", "symbol-placement": "line", "text-keep-upright": true, "symbol-avoid-edges": true, "text-allow-overlap": false, "text-letter-spacing": 0.1, "text-pitch-alignment": "map", "text-ignore-placement": false, "text-rotation-alignment": "map"}, "paint": {"text-color": "rgba(185,132,58, 1)", "text-opacity": ["step", ["zoom"], 0, 12, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], 0.75, 0], 16, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 20], 0], 0.75, 0]], "text-halo-blur": 0.5, "text-halo-color": "rgba(238, 238, 238, .8)", "text-halo-width": 2}, "filter": ["all", ["==", ["%", ["to-number", ["get", "ele"]], 20], 0], ["!=", ["%", ["to-number", ["get", "ele"]], 100], 0], ["match", ["get", "class"], ["land"], true, false]]}, {"id": "label_contour_line_100_grey", "type": "symbol", "source": "base_v1.0.0", "source-layer": "contour_line", "minzoom": 14.0, "layout": {"text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["exponential", 2], ["zoom"], 14, 10.5, 16, 14], "text-field": "{ele} ", "visibility": "visible", "text-justify": "center", "text-padding": ["interpolate", ["linear"], ["zoom"], 14, 0, 15, 12, 16, 80], "symbol-spacing": {"stops": [[14, 250], [16, 450]]}, "symbol-z-order": "auto", "text-max-angle": 35, "text-transform": "none", "symbol-placement": "line", "text-keep-upright": true, "symbol-avoid-edges": true, "text-allow-overlap": false, "text-letter-spacing": 0.1, "text-pitch-alignment": "map", "text-ignore-placement": false, "text-rotation-alignment": "map"}, "paint": {"text-color": "rgba(64,64,64, 1)", "text-opacity": ["step", ["zoom"], 0, 12, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], 0.75, 0], 16, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 20], 0], 0.75, 0]], "text-halo-blur": 0.5, "text-halo-color": "rgba(238, 238, 238, 0.8)", "text-halo-width": 2}, "filter": ["all", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], ["match", ["get", "class"], ["scree"], true, false]]}, {"id": "label_contour_line_100_blue", "type": "symbol", "source": "base_v1.0.0", "source-layer": "contour_line", "minzoom": 14.0, "layout": {"text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["exponential", 2], ["zoom"], 14, 10.5, 16, 14], "text-field": "{ele} ", "visibility": "visible", "text-justify": "center", "text-padding": ["interpolate", ["linear"], ["zoom"], 14, 0, 15, 12, 16, 80], "symbol-spacing": {"stops": [[14, 250], [16, 450]]}, "symbol-z-order": "auto", "text-max-angle": 35, "text-transform": "none", "symbol-placement": "line", "text-keep-upright": true, "symbol-avoid-edges": true, "text-allow-overlap": false, "text-letter-spacing": 0.1, "text-pitch-alignment": "map", "text-ignore-placement": false, "text-rotation-alignment": "map"}, "paint": {"text-color": "rgba(0,136,208, 1)", "text-opacity": ["step", ["zoom"], 0, 12, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], 0.75, 0], 16, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 20], 0], 0.75, 0]], "text-halo-blur": 0.5, "text-halo-color": "rgba(238, 238, 238, 0.8)", "text-halo-width": 2}, "filter": ["all", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], ["match", ["get", "class"], ["ice", "water"], true, false]]}, {"id": "label_contour_line_100_brown", "type": "symbol", "source": "base_v1.0.0", "source-layer": "contour_line", "minzoom": 14.0, "layout": {"text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["exponential", 2], ["zoom"], 14, 10.5, 16, 14], "text-field": "{ele} ", "visibility": "visible", "text-justify": "center", "text-padding": ["interpolate", ["linear"], ["zoom"], 14, 0, 15, 12, 16, 80], "symbol-spacing": {"stops": [[14, 250], [16, 450]]}, "symbol-z-order": "auto", "text-max-angle": 35, "text-transform": "none", "symbol-placement": "line", "text-keep-upright": true, "symbol-avoid-edges": true, "text-allow-overlap": false, "text-letter-spacing": 0.1, "text-pitch-alignment": "map", "text-ignore-placement": false, "text-rotation-alignment": "map"}, "paint": {"text-color": "rgba(185,132,58, 1)", "text-opacity": ["step", ["zoom"], 0, 12, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], 0.75, 0], 16, ["case", ["==", ["%", ["to-number", ["get", "ele"]], 20], 0], 0.75, 0]], "text-halo-blur": 0.5, "text-halo-color": "rgba(238, 238, 238, 0.8)", "text-halo-width": 2}, "filter": ["all", ["==", ["%", ["to-number", ["get", "ele"]], 100], 0], ["match", ["get", "class"], ["land"], true, false]]}, {"id": "water_outline", "type": "line", "source": "base_v1.0.0", "source-layer": "water", "layout": {"visibility": "visible"}, "paint": {"line-blur": 0.5, "line-color": "rgba(133, 189, 224, 1)", "line-width": 0.5, "line-opacity": ["interpolate", ["exponential", 1.5], ["zoom"], 0, 0, 8, 1, 14, 0]}, "filter": ["all", ["!=", "class", "ocean"]]}, {"id": "pattern_landcover_vineyard", "type": "fill", "source": "base_v1.0.0", "source-layer": "landcover", "minzoom": 13.0, "layout": {"visibility": "visible"}, "paint": {"fill-opacity": ["interpolate", ["exponential", 2], ["zoom"], 13, 0, 13.1, 0.6, 17, 1], "fill-pattern": "vinyard_green"}, "filter": ["all", ["==", "subclass", "vineyard"]]}, {"id": "pattern_landcover_wetlands", "type": "fill", "source": "base_v1.0.0", "source-layer": "landcover", "minzoom": 13.0, "layout": {"visibility": "visible"}, "paint": {"fill-color": "#000000", "fill-opacity": ["interpolate", ["exponential", 2], ["zoom"], 13, 0, 13.2, 0.4, 17, 1], "fill-pattern": "wetland_blue", "fill-antialias": true}, "filter": ["all", ["==", "class", "wetland"]]}, {"id": "pattern_landcover_orchard", "type": "fill", "source": "base_v1.0.0", "source-layer": "landcover", "minzoom": 13.0, "layout": {"visibility": "visible"}, "paint": {"fill-opacity": ["interpolate", ["exponential", 2], ["zoom"], 13, 0, 13.2, 0.8, 17, 1], "fill-pattern": "orchard_green"}, "filter": ["all", ["==", "subclass", "orchard"]]}, {"id": "park", "type": "line", "source": "base_v1.0.0", "source-layer": "park", "minzoom": 7.0, "layout": {"visibility": "visible"}, "paint": {"line-color": "rgba(171, 197, 159, 1)", "line-width": ["interpolate", ["exponential", 1.5], ["zoom"], 9, 1.5, 15, 8, 18, 12], "line-opacity": ["interpolate", ["linear"], ["zoom"], 7, 0, 8, 1, 13, 1, 14, 0.6]}, "filter": ["all", ["in", "class", "national_park"]]}, {"id": "boundary_disputed", "type": "line", "source": "base_v1.0.0", "source-layer": "boundary", "minzoom": 0.0, "layout": {"line-cap": "square", "line-join": "miter", "visibility": "visible"}, "paint": {"line-blur": 1, "line-color": {"stops": [[6, "hsl(300, 55%, 80%)"], [9, "hsl(315, 40%, 85%)"]]}, "line-width": ["interpolate", ["linear"], ["zoom"], 2, ["match", ["get", "admin_level"], 2, 1, 0], 3, ["match", ["get", "admin_level"], 2, 2, 1], 7, ["match", ["get", "admin_level"], 2, 4, 1.5], 18, ["match", ["get", "admin_level"], 2, 16, 10]], "line-opacity": {"stops": [[13, 1], [14, 0.7]]}, "line-dasharray": [1.5, 2.5]}, "filter": ["all", ["in", "admin_level", 2, 4], ["!=", "maritime", 1], ["==", "disputed", 1], ["==", "$type", "LineString"]]}, {"id": "boundary", "type": "line", "source": "base_v1.0.0", "source-layer": "boundary", "minzoom": 0.0, "layout": {"line-cap": ["literal", "round"], "line-join": ["literal", "miter"], "visibility": "visible"}, "paint": {"line-blur": 1, "line-color": {"stops": [[6, "hsl(300, 55%, 80%)"], [9, "hsl(315, 40%, 85%)"]]}, "line-width": ["interpolate", ["linear"], ["zoom"], 2, ["match", ["get", "admin_level"], 2, 1, 0], 3, ["match", ["get", "admin_level"], 2, 2, 1], 7, ["match", ["get", "admin_level"], 2, 3, 1], 18, ["match", ["get", "admin_level"], 2, 16, 10]], "line-opacity": {"stops": [[13, 1], [14, 0.8]]}}, "filter": ["all", ["in", "admin_level", 2, 4], ["!=", "maritime", 1], ["!=", "disputed", 1], ["==", "$type", "LineString"]]}, {"id": "tunnel_public_transport", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 8.0, "layout": {"line-cap": "butt", "line-join": "miter", "visibility": "visible"}, "paint": {"line-blur": ["interpolate", ["linear"], ["zoom"], 8, ["match", ["get", "class"], ["rail"], ["match", ["get", "subclass"], ["rail", "narrow_gauge", "rack_rail"], ["match", ["get", "service"], ["yard", "siding"], 2.5, 0.6], 0.6], 0.6], 14, ["match", ["get", "class"], ["rail"], ["match", ["get", "subclass"], ["rail", "narrow_gauge", "rack_rail"], ["match", ["get", "service"], ["yard", "siding"], 2.5, 0.6], 0.6], 0.6], 18, 0.4], "line-color": {"stops": [[7, "rgba(255, 50, 50, 1)"], [15, "rgba(255, 80, 80, 1)"]]}, "line-width": ["interpolate", ["linear"], ["zoom"], 9, ["match", ["get", "subclass"], "rail", 0.75, 0], 10, ["match", ["get", "class"], ["rail"], ["match", ["get", "subclass"], ["rail", "narrow_gauge", "rack_rail"], ["match", ["get", "service"], ["yard", "siding"], 0, 0.75], 0.5], ["match", ["get", "subclass"], ["cable_car", "funicular"], 0.75, 0.5]], 14, ["match", ["get", "class"], "transit", 1, ["rail"], ["match", ["get", "subclass"], ["rail", "narrow_gauge", "rack_rail"], ["match", ["get", "service"], ["yard", "siding"], 0, 2], 1], ["match", ["get", "subclass"], ["cable_car", "funicular"], 1, 0]], 18, ["match", ["get", "class"], ["transit"], 1.5, ["match", ["get", "service"], ["yard", "siding"], 1.5, 2]]], "line-opacity": ["interpolate", ["linear"], ["zoom"], 8, 0, 9, ["match", ["get", "is_route"], 99, ["match", ["get", "class"], ["rail"], 0.8, 0], 0], 13, ["match", ["get", "subclass"], ["rail", "subway", "funicular", "rack_rail", "narrow_gauge"], 0.8, 0], 14, ["match", ["get", "subclass"], ["rail", "narrow_gauge", "funicular", "rack_rail", "subway"], ["match", ["get", "service"], ["yard", "siding"], 0, 0.8], 0], 14.5, 0.8], "line-dasharray": {"stops": [[13, [4, 2.5]], [14, [6, 3.75]], [15, [10, 6.25]], [16, [14, 8.75]]]}}, "filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "rail", "transit", "cable_car", "gondola"], ["==", "$type", "LineString"]]}, {"id": "tunnel_road", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 7.0, "layout": {"line-cap": "butt", "line-join": "miter", "visibility": "visible"}, "paint": {"line-blur": ["interpolate", ["linear"], ["zoom"], 7, 3, 8, 0.4], "line-color": {"stops": [[6, "rgba(170, 170, 170, 1)"], [11, "rgba(130, 130, 130, 1)"]]}, "line-width": ["interpolate", ["linear"], ["zoom"], 8, ["match", ["get", "is_route"], [5, 10, 99], 1, ["match", ["get", "ramp"], 1, 1, 0]], 10, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway", "trunk"], 1.2, ["primary", "secondary", "tertiary", "minor"], 1, 0], 0], 11, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway", "trunk"], 1.3, ["primary", "secondary", "tertiary", "minor"], 1, 0], 0.25], 13, ["match", ["get", "class"], ["motorway", "trunk"], 1.5, ["primary", "secondary", "tertiary", "minor"], 1, 0], 14, ["match", ["get", "class"], ["motorway", "trunk"], 2, ["primary", "secondary", "tertiary", "minor"], 1.5, 0], 15, ["match", ["get", "class"], ["motorway", "trunk"], 3, 2], 20, ["match", ["get", "class"], ["motorway", "trunk"], 5, 2.5]], "line-offset": 0, "line-opacity": ["step", ["zoom"], ["match", ["get", "oneway"], 2, 0, 1], 12, 1], "line-dasharray": {"stops": [[13, [3, 1.875]], [14, [4, 2.5]], [15, [5, 3.125]], [16, [6, 3.75]]]}}, "filter": ["all", ["==", "brunnel", "tunnel"], ["!in", "class", "rail", "ferry", "car_ferry", "transit", "cable_car", "chair_lift", "gondola", "drag_lift", "aerialway_transportation", "aerialway_closed", "aerialway_goods", "goods_conveyor", "path", "footway", "trail", "rail", "track", "transit", "via_ferrata", "mask_terrain"], ["==", "$type", "LineString"]]}, {"id": "tunnel_road_path_footway", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 6.0, "layout": {"line-cap": "butt", "line-join": "miter", "visibility": "visible"}, "paint": {"line-blur": 0.4, "line-color": "rgba(140, 140, 140, 1)", "line-width": ["interpolate", ["exponential", 1.5], ["zoom"], 15, 1.1, 20, 3], "line-offset": 0, "line-opacity": {"stops": [[14, 0], [15, 1]]}, "line-dasharray": {"stops": [[14, [1, 0.6]], [15, [1.5, 0.9]], [16, [2, 1.2]], [17, [3, 1.8]], [18, [6, 3.6]]]}}, "filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "path", "footway"], ["==", "$type", "LineString"]]}, {"id": "construct_line", "type": "line", "source": "base_v1.0.0", "source-layer": "construct", "minzoom": 14.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": 0.4, "line-color": "hsl(220, 10%, 67%)", "line-width": {"stops": [[15, 1], [18, 4]]}, "line-opacity": {"stops": [[14, 0], [15, 1]]}}, "filter": ["all", ["==", "class", "lock"]]}, {"id": "construct", "type": "fill", "source": "base_v1.0.0", "source-layer": "construct", "minzoom": 13.0, "layout": {"visibility": "visible"}, "paint": {"fill-color": ["interpolate", ["exponential", 1], ["zoom"], 13, ["match", ["get", "class"], "weir", "hsl(220, 10%, 82%)", "hsl(220, 10%, 86%)"], 17, ["match", ["get", "class"], "weir", "hsl(220, 10%, 75%)", "dam", "hsl(220, 10%, 82%)", "hsl(220, 10%, 86%)"]], "fill-opacity": ["interpolate", ["exponential", 1], ["zoom"], 12, 0, 13, ["match", ["get", "class"], "dam", 1, 0], 14, ["match", ["get", "class"], "dam", 1, 0], 15, 1]}, "filter": ["all", ["!=", "class", "lock"]]}, {"id": "aeroway_polygon_casing", "type": "line", "source": "base_v1.0.0", "source-layer": "aeroway", "minzoom": 11.0, "layout": {"line-cap": "round", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": 0.4, "line-color": "rgb(190, 190, 190)", "line-width": {"base": 1.5, "stops": [[13, 3], [15, 4], [17, 5]]}, "line-opacity": 1}, "filter": ["all", ["in", "class", "runway", "taxiway", "apron", "runway_grass"], ["==", "$type", "Polygon"]]}, {"id": "aeroway_line_casing", "type": "line", "source": "base_v1.0.0", "source-layer": "aeroway", "minzoom": 11.0, "layout": {"line-cap": "butt", "line-join": "miter", "visibility": "visible"}, "paint": {"line-blur": 0.4, "line-color": "rgba(110, 110, 110, 1)", "line-width": ["interpolate", ["exponential", 2], ["zoom"], 11.5, 0, 12, 2.3, 15, 11.25, 20, 153], "line-opacity": 1}, "filter": ["all", ["==", "$type", "LineString"]]}, {"id": "road_via_ferrata_trail", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 14.0, "layout": {"line-cap": "butt", "line-join": "bevel", "visibility": "visible"}, "paint": {"line-blur": {"stops": [[15, 0.1], [20, 0.4]]}, "line-color": {"stops": [[15, "rgba(20, 20, 20, 1)"], [18, "rgba(90, 90, 90, 1)"]]}, "line-width": ["interpolate", ["exponential", 1.5], ["zoom"], 15, 1.1, 20, 3], "line-opacity": {"stops": [[14, 0], [15, 1]]}, "line-dasharray": {"stops": [[15, [0.75, 2]], [16, [1.125, 3]], [17, [1.5, 4]], [18, [1.875, 5]]]}}, "metadata": {"maputnik:comment": "cannot be in the same layer as road_casings because dasharray doesn't support expressions"}, "filter": ["all", ["in", "class", "via_ferrata", "trail"], ["!in", "brunnel", "bridge", "tunnel"], ["==", "$type", "LineString"]]}, {"id": "road_path_footway", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 11.0, "maxzoom": 22.0, "layout": {"line-cap": "butt", "line-join": "bevel", "visibility": "visible"}, "paint": {"line-blur": ["interpolate", ["linear"], ["zoom"], 15, 0.1, 20, 0.4], "line-color": "rgba(115, 115, 115, 1)", "line-width": ["interpolate", ["exponential", 1.5], ["zoom"], 13, 0.5, 15, 1.1, 20, 3], "line-opacity": ["interpolate", ["linear"], ["zoom"], 11, ["match", ["get", "is_route"], 11, 0.5, 0], 12, ["match", ["get", "is_route"], 11, ["match", ["get", "class"], ["path", "track", "footway"], 0.5, 1], 0], 14, 0.7, 15, 1], "line-dasharray": ["step", ["zoom"], ["literal", [6, 2]], 16, ["literal", [9, 3]], 17, ["literal", [12, 4]], 18, ["literal", [15, 5]]]}, "metadata": {"maputnik:comment": "cannot be in the same layer as road_casings because dasharray doesn't support expressions"}, "filter": ["all", ["match", ["get", "class"], ["path", "footway"], true, false], ["match", ["get", "brunnel"], ["bridge", "tunnel"], ["match", ["get", "subclass"], "covered_bridge", true, false], true], ["==", ["geometry-type"], "LineString"]]}, {"id": "building_ln", "type": "line", "source": "base_v1.0.0", "source-layer": "building_ln", "minzoom": 13.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": 0.4, "line-color": ["match", ["get", "class"], "weir", "rgb(20, 136, 205)", "rgb(130, 130, 130)"], "line-width": {"stops": [[13, 0], [16, 2], [18, 3]]}, "line-opacity": ["match", ["get", "class"], "weir", 0.2, 1]}, "filter": ["all", ["match", ["get", "class"], ["horse_racing", "ski_jump", "toboggan", "track", "weir"], true, false], ["==", ["geometry-type"], "LineString"]]}, {"id": "road_casing", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 7.0, "layout": {"line-cap": "round", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": ["interpolate", ["linear"], ["zoom"], 7, 3, 8, 0.4, 11, ["match", ["get", "is_route"], [11], 4, 0.4], 13, ["match", ["get", "class"], "track", 2, 0.4], 14, 0.4], "line-color": ["interpolate", ["exponential", 1.7], ["zoom"], 9, ["match", ["get", "class"], ["motorway", "trunk"], "rgb(170, 136, 30)", "rgb(80, 80, 80)"], 15, ["match", ["get", "class"], ["motorway", "trunk"], "rgb(139, 107, 63)", "rgb(90, 90, 90)"]], "line-width": ["interpolate", ["exponential", 2], ["zoom"], 7, 0, 8, ["match", ["get", "is_route"], [5, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.5, 3], ["trunk"], 3, 3], 0], 9, ["match", ["get", "is_route"], [5, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2, 3.5], ["trunk"], 3.5, 3], 0], 10, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2, 4], ["trunk"], 4, "primary", 3.5, "secondary", 3.5, "tertiary", 3, ["minor", "service"], 2.5, 0], ["match", ["get", "ramp"], 1, 2, 0]], 11, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2.5, 4.5], ["trunk"], 4.5, "primary", 4, "secondary", 4, "tertiary", 3.5, ["minor", "service"], 2.75, ["track", "path", "footway"], 0.5, 0], ["match", ["get", "ramp"], 1, 2.5, 0]], 12, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 2.75, 5], "primary", 5, "secondary", 4.5, "tertiary", 4, ["minor", "service"], 3, ["track", "path", "footway"], 0.75, 0], [11], ["match", ["get", "class"], ["motorway", "trunk", "primary", "secondary", "tertiary", "minor"], ["match", ["get", "ramp"], 1, 2.75, 0.75], ["track", "path", "footway"], 0.5, 0], ["match", ["get", "ramp"], 1, 2.75, 0]], 13, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 3, 6], ["trunk"], 6, "primary", 5.5, "secondary", 5, "tertiary", 4.5, ["minor", "service"], 3.5, ["track", "path", "footway"], ["match", ["get", "subclass"], "covered_bridge", 3, 1], 3], 11, ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 3, 6], "primary", 4, "secondary", 3.75, "tertiary", 3.75, ["minor", "service"], 3, ["track", "path", "footway"], ["match", ["get", "subclass"], "covered_bridge", 3, 0.5], 3], 0], 14, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 4, 7], ["trunk"], 7, "primary", 6.5, "secondary", 6, "tertiary", 5, ["minor", "service"], 4, ["track", "path", "footway"], ["match", ["get", "subclass"], "covered_bridge", 3.5, 0.75], 3.5], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 4, 7], "primary", 4.5, "secondary", 4, "tertiary", 4, ["minor", "service"], 3.5, ["track", "path", "footway"], ["match", ["get", "subclass"], "covered_bridge", 3.5, 0.75], 3.5]], 15, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 6.5, 8], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 8, 12], ["primary", "primary_construction"], 8, ["secondary", "secondary_construction"], 7, ["tertiary", "tertiary_construction"], 6, ["minor", "minor_construction", "service", "service_construction", "rail", "rail_construction"], 5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], ["match", ["get", "subclass"], "covered_bridge", 4, 1.1], 4.5], 16, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 10, 12], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 12, 15], ["primary", "primary_construction"], 12, ["secondary", "secondary_construction"], 11, ["tertiary", "tertiary_construction"], 10, ["minor", "minor_construction", "service", "service_construction", "rail", "rail_construction"], 9, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], ["match", ["get", "subclass"], "covered_bridge", 8.5, 1.1], 8], 20, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 115, 130], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 130, 140], ["primary", "primary_construction"], 120, ["secondary", "secondary_construction"], 115, ["tertiary", "tertiary_construction"], 110, ["minor", "minor_construction", "service", "service_construction", "rail", "rail_construction"], 100, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], ["match", ["get", "subclass"], "covered_bridge", 84, 5], 100]], "line-offset": 0, "line-opacity": 1}, "metadata": {"maputnik:comment": "casing color for motorway is brown"}, "filter": ["all", ["match", ["get", "class"], ["cable_car", "car_ferry", "chair_lift", "ferry", "gondola", "drag_lift", "aerialway_transportation", "aerialway_closed", "aerialway_goods", "goods_conveyor", "path", "footway", "trail", "rail", "transit", "via_ferrata", "mask_terrain"], false, true], ["match", ["get", "brunnel"], ["bridge", "tunnel"], ["match", ["get", "subclass"], "covered_bridge", true, false], true], ["==", ["geometry-type"], "LineString"]]}, {"id": "landuse_parking", "type": "fill", "source": "base_v1.0.0", "source-layer": "landuse", "layout": {"visibility": "visible"}, "paint": {"fill-color": "rgba(255, 255, 255, 1)", "fill-opacity": {"stops": [[14, 0], [15, 1]]}}, "filter": ["all", ["in", "class", "parking"]]}, {"id": "landuse_parking_outline", "type": "line", "source": "base_v1.0.0", "source-layer": "landuse", "layout": {"visibility": "visible"}, "paint": {"line-color": "rgba(130, 130, 130, 1)", "line-width": ["interpolate", ["exponential", 1.5], ["zoom"], 11, 0.25, 16, 0.75], "line-opacity": {"stops": [[14, 0], [15, 1]]}}, "filter": ["all", ["in", "class", "parking"]]}, {"id": "road_fill", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 7.0, "layout": {"line-cap": "round", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": {"stops": [[8, 0.4], [14, 0.1]]}, "line-color": ["interpolate", ["exponential", 1], ["zoom"], 9, ["match", ["get", "class"], ["motorway", "trunk"], "rgb(255,230,160)", "rgb(255,255,255)"], 15, ["match", ["get", "class"], ["motorway", "trunk"], "rgb(255, 224, 138)", "rgb(255,255,255)"]], "line-width": ["interpolate", ["exponential", 2], ["zoom"], 7, 0, 8, ["match", ["get", "is_route"], [5, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 0.5, 2], ["trunk"], 2, 2], ["match", ["get", "ramp"], 1, 0.5, 0]], 9, ["match", ["get", "is_route"], [5, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 0.75, 2.25], ["trunk"], 2.25, 2], ["match", ["get", "ramp"], 1, 0.75, 0]], 10, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 0.75, 2.75], ["trunk"], 2.75, "primary", 2.5, "secondary", 2.5, "tertiary", 2, ["minor", "service"], 1.5, 0], ["match", ["get", "ramp"], 1, 0.75, 0]], 11, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.25, 3.25], ["trunk"], 3.25, "primary", 3, "secondary", 3, "tertiary", 2.5, ["minor", "service"], 1.75, 0], ["match", ["get", "ramp"], 1, 1.25, 0]], 12, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.5, 3.75], ["trunk"], 3.75, "primary", 4, "secondary", 3.5, "tertiary", 3, ["minor", "service"], 2, 0], ["match", ["get", "ramp"], 1, 1.5, 0]], 13, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.75, 4.5], ["trunk"], 4.5, "primary", 4.5, "secondary", 4, "tertiary", 3.5, ["minor", "service"], 2.5, 2], 11, ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 1.75, 4.5], "primary", 3, "secondary", 2.75, "tertiary", 2.75, ["minor", "service"], 2, 2], ["match", ["get", "ramp"], 1, 1.75, 0]], 14, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2.75, 5.5], ["trunk"], 5.5, "primary", 5.5, "secondary", 5, "tertiary", 4, ["minor", "service"], 3, 2.5], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 2.75, 5.5], "primary", 3.5, "secondary", 3, "tertiary", 3, ["minor", "service"], 2.5, 2.5]], 15, ["match", ["get", "subclass"], "funicular", 3, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 5, 6.5], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 6.5, 10.5], ["primary", "primary_construction"], 6.5, ["secondary", "secondary_construction"], 5.5, ["tertiary", "tertiary_construction"], 4.5, ["minor", "minor_construction", "service", "service_construction"], 3.5, ["rail", "rail_construction"], 5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 1.25, 3]], 16, ["match", ["get", "subclass"], "funicular", 6, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 8, 10], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 10, 13], ["primary", "primary_construction"], 10, ["secondary", "secondary_construction"], 9, ["tertiary", "tertiary_construction"], 8, ["minor", "minor_construction", "service", "service_construction"], 7, ["rail", "rail_construction"], 9.5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 6.5, 6]], 20, ["match", ["get", "subclass"], "funicular", 20, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 112, 126], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 126, 136], ["primary", "primary_construction"], 117, ["secondary", "secondary_construction"], 112, ["tertiary", "tertiary_construction"], 107, ["minor", "minor_construction", "service", "service_construction"], 97, ["rail", "rail_construction"], 120, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 81, 92]]]}, "filter": ["all", ["match", ["get", "class"], ["cable_car", "car_ferry", "chair_lift", "ferry", "gondola", "drag_lift", "aerialway_transportation", "aerialway_closed", "aerialway_goods", "goods_conveyor", "path", "footway", "trail", "rail", "track", "transit", "via_ferrata", "mask_terrain"], false, true], ["match", ["get", "brunnel"], ["bridge", "tunnel"], ["match", ["get", "subclass"], "covered_bridge", true, false], true], ["==", ["geometry-type"], "LineString"]]}, {"id": "aeroway_line_fill", "type": "line", "source": "base_v1.0.0", "source-layer": "aeroway", "minzoom": 11.0, "layout": {"line-cap": "butt", "line-join": "miter", "visibility": "visible"}, "paint": {"line-blur": 0.4, "line-color": ["match", ["get", "class"], ["runway_grass"], "rgb(224,234,221)", "rgb(255, 255, 255)"], "line-width": ["interpolate", ["exponential", 2], ["zoom"], 11, 0, 12, 2, 15, 10, 20, 150], "line-opacity": 1}, "filter": ["all", ["==", "$type", "LineString"]]}, {"id": "aeroway_polygon_fill", "type": "fill", "source": "base_v1.0.0", "source-layer": "aeroway", "minzoom": 11.0, "layout": {"visibility": "visible"}, "paint": {"fill-color": ["match", ["get", "class"], ["runway_grass"], "rgb(224,234,221)", "rgb(255, 255, 255)"], "fill-opacity": 1, "fill-antialias": true}, "filter": ["all", ["in", "class", "runway", "taxiway", "apron", "runway_grass"], ["==", "$type", "Polygon"]]}, {"id": "car_ferry", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 9.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": 0.4, "line-color": "rgba(105, 187, 218, 1)", "line-width": {"stops": [[8, 0.4], [14, 1], [18, 2]]}, "line-opacity": ["interpolate", ["linear"], ["zoom"], 9, 0, 11, ["match", ["get", "class"], ["car_ferry"], 1, 0], 12, ["match", ["get", "class"], ["car_ferry"], 1, 0], 13, 1], "line-dasharray": {"stops": [[12, [6, 2]], [13, [9, 3]], [14, [12, 4]], [15, [15, 5]], [16, [18, 6]]]}}, "filter": ["all", ["==", "class", "car_ferry"]]}, {"id": "ferry", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 12.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": 0.4, "line-color": "rgba(105, 187, 218, 1)", "line-width": {"stops": [[8, 0.4], [14, 1], [18, 2]]}, "line-opacity": {"stops": [[12, 0], [13, 1]]}, "line-dasharray": {"stops": [[12, [3, 1]], [13, [6, 2]], [14, [9, 3]], [15, [12, 4]], [16, [15, 5]]]}}, "filter": ["all", ["==", "class", "ferry"]]}, {"id": "public_transport", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 8.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": ["interpolate", ["linear"], ["zoom"], 8, ["match", ["get", "class"], ["rail"], ["match", ["get", "subclass"], ["rail", "narrow_gauge", "rack_rail"], ["match", ["get", "service"], ["yard", "siding"], 2.5, 0.6], 0.6], 0.6], 14, ["match", ["get", "class"], ["rail"], ["match", ["get", "subclass"], ["rail", "narrow_gauge", "rack_rail"], ["match", ["get", "service"], ["yard", "siding"], 2.5, 0.6], 0.6], 0.6], 18, 0.4], "line-color": {"stops": [[7, "rgba(255, 50, 50, 1)"], [15, "rgba(255, 80, 80, 1)"]]}, "line-width": ["interpolate", ["linear"], ["zoom"], 9, ["match", ["get", "is_route"], 99, ["match", ["get", "subclass"], "rail", 0.75, 0], 0], 10, ["match", ["get", "is_route"], 99, ["match", ["get", "class"], ["rail"], ["match", ["get", "subclass"], ["rail", "narrow_gauge", "rack_rail"], ["match", ["get", "service"], ["yard", "siding"], 0, 0.75], 0.5], 0.5], ["match", ["get", "subclass"], ["cable_car", "funicular"], 0.75, 0]], 14, ["match", ["get", "is_route"], 99, ["match", ["get", "class"], "transit", 1, ["rail"], ["match", ["get", "subclass"], ["rail", "narrow_gauge", "rack_rail"], 2, 1], 0], ["match", ["get", "subclass"], ["cable_car", "funicular"], 1, 0]], 18, ["match", ["get", "class"], ["transit"], 1.5, ["match", ["get", "service"], ["yard", "siding"], 1.5, 2]]], "line-opacity": ["interpolate", ["linear"], ["zoom"], 8, 0, 9, ["match", ["get", "class"], ["rail"], 1, 0], 13, ["match", ["get", "class"], ["rail"], 1, 0], 14, ["match", ["get", "class"], ["rail"], ["match", ["get", "subclass"], ["rail", "narrow_gauge", "rack_rail", "funicular"], ["match", ["get", "service"], ["yard", "siding"], 0, 1], 0], 0], 14.5, 1]}, "filter": ["all", ["in", "class", "rail", "transit"], ["!in", "brunnel", "bridge", "tunnel"]]}, {"id": "sinkhole", "type": "symbol", "source": "base_v1.0.0", "source-layer": "spot_elevation", "minzoom": 14.0, "layout": {"icon-size": 1, "text-font": [], "text-size": 16, "icon-image": ["match", ["get", "class"], "sinkhole", "arrow_brown", ["sinkhole_rock", "sinkhole_scree"], "arrow_grey", ["sinkhole_ice", "sinkhole_water"], "arrow_blue", ""], "visibility": "visible", "icon-anchor": "bottom", "icon-offset": [0, 0], "icon-rotate": 15, "text-anchor": "center", "icon-padding": 30, "icon-optional": false, "text-optional": false, "symbol-placement": "point", "text-keep-upright": false, "text-allow-overlap": false, "text-ignore-placement": false}, "paint": {"icon-color": "#000000", "text-color": "#000000", "icon-opacity": {"stops": [[14, 0], [15, 0.6]]}, "text-opacity": 1, "text-halo-blur": 1, "text-halo-width": 0}, "filter": ["all", ["in", "class", "sinkhole", "sinkhole_rock", "sinkhole_scree", "sinkhole_water", "sinkhole_ice"]]}, {"id": "building_2d", "type": "fill", "source": "base_v1.0.0", "source-layer": "building", "minzoom": 13.0, "layout": {"visibility": "visible"}, "paint": {"fill-color": {"stops": [[13, "hsl(220, 10%, 82%)"], [17, "hsl(220, 10%, 75%)"]]}, "fill-opacity": {"stops": [[13, 0], [13.5, 1]]}}}, {"id": "building_2d_casing", "type": "line", "source": "base_v1.0.0", "source-layer": "building", "minzoom": 15.0, "layout": {"visibility": "visible"}, "paint": {"line-color": "hsl(220, 10%, 67%)", "line-width": ["interpolate", ["linear"], ["zoom"], 15, 0.2, 18, 1.2], "line-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 16, 0.5, 19, 1]}}, {"id": "lake_elevation", "type": "symbol", "source": "base_v1.0.0", "source-layer": "spot_elevation", "minzoom": 12.0, "layout": {"icon-size": 1, "text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["linear"], ["zoom"], 14, 10.5, 18, 13], "icon-image": ["case", ["has", "lake_depth"], "arrow_line_blue", ["==", ["length", ["to-string", ["get", "ele"]]], 3], "line_blue_short", "line_blue_long"], "text-field": ["case", ["has", "lake_depth"], ["concat", ["get", "ele"], "\n\n", ["get", "lake_depth"]], ["get", "ele"]], "visibility": "visible", "icon-offset": [0, 0], "text-anchor": "center", "text-offset": ["case", ["has", "lake_depth"], ["literal", [0.35, -0.5]], ["literal", [0, -0.5]]], "text-justify": "center", "icon-optional": false, "text-optional": false, "symbol-placement": "point", "text-line-height": 1, "text-keep-upright": false, "icon-allow-overlap": true, "text-allow-overlap": false, "text-radial-offset": 0, "text-pitch-alignment": "auto", "icon-ignore-placement": true, "text-ignore-placement": false, "text-rotation-alignment": "auto"}, "paint": {"icon-color": "#000000", "text-color": "rgba(20, 136, 205, 1)", "icon-opacity": 1, "text-opacity": 1, "text-halo-blur": 1, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 12, 1, 18, 2]}, "filter": ["all", ["==", "class", "lake_elevation"]]}, {"id": "bridge-l1_road_casing", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 7.0, "layout": {"line-cap": "butt", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": ["interpolate", ["linear"], ["zoom"], 7, 3, 8, 0.4, 11, ["match", ["get", "is_route"], [11], 4, 0.4], 13, ["match", ["get", "class"], "track", 2, 0.4], 14, 0.4], "line-color": ["interpolate", ["exponential", 1.7], ["zoom"], 9, ["match", ["get", "class"], ["motorway", "trunk"], "rgb(170, 136, 30)", "rgb(80, 80, 80)"], 15, ["match", ["get", "class"], ["motorway", "trunk"], "rgb(139, 107, 63)", "rgb(90, 90, 90)"]], "line-width": ["interpolate", ["exponential", 2], ["zoom"], 7, 0, 8, ["match", ["get", "is_route"], [5, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.5, 3], ["trunk"], 3, 3], 0], 9, ["match", ["get", "is_route"], [5, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2, 3.5], ["trunk"], 3.5, 3], 0], 10, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2, 4], ["trunk"], 4, "primary", 3.5, "secondary", 3.5, "tertiary", 3, ["minor", "service"], 2.5, 0], ["match", ["get", "ramp"], 1, 2, 0]], 11, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2.5, 4.5], ["trunk"], 4.5, "primary", 4, "secondary", 4, "tertiary", 3.5, ["minor", "service"], 2.75, ["track", "path", "footway"], 0.5, 0], ["match", ["get", "ramp"], 1, 2.5, 0]], 12, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 2.75, 5], "primary", 5, "secondary", 4.5, "tertiary", 4, ["minor", "service"], 3, ["track", "path", "footway"], 0.75, 0], [11], ["match", ["get", "class"], ["motorway", "trunk", "primary", "secondary", "tertiary", "minor"], ["match", ["get", "ramp"], 1, 2.75, 0.75], ["track", "path", "footway"], 0.5, 0], ["match", ["get", "ramp"], 1, 2.75, 0]], 13, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 3, 6], ["trunk"], 6, "primary", 5.5, "secondary", 5, "tertiary", 4.5, ["minor", "service"], 3.5, ["track", "path", "footway"], ["match", ["get", "subclass"], "covered_bridge", 3, 1], 3], 11, ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 3, 6], "primary", 4, "secondary", 3.75, "tertiary", 3.75, ["minor", "service"], 3, ["track", "path", "footway"], ["match", ["get", "subclass"], "covered_bridge", 3, 0.5], 3], 0], 14, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 4, 7], ["trunk"], 7, "primary", 6.5, "secondary", 6, "tertiary", 5, ["minor", "service"], 4, ["track", "path", "footway"], ["match", ["get", "subclass"], "covered_bridge", 3.5, 0.75], 3.5], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 4, 7], "primary", 4.5, "secondary", 4, "tertiary", 4, ["minor", "service"], 3.5, ["track", "path", "footway"], ["match", ["get", "subclass"], "covered_bridge", 3.5, 0.75], 3.5]], 15, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 6.5, 8], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 8, 12], ["primary", "primary_construction"], 8, ["secondary", "secondary_construction"], 7, ["tertiary", "tertiary_construction"], 6, ["minor", "minor_construction", "service", "service_construction", "rail", "rail_construction"], 5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], ["match", ["get", "subclass"], "covered_bridge", 4, 1.1], 4.5], 16, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 10, 12], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 12, 15], ["primary", "primary_construction"], 12, ["secondary", "secondary_construction"], 11, ["tertiary", "tertiary_construction"], 10, ["minor", "minor_construction", "service", "service_construction", "rail", "rail_construction"], 9, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], ["match", ["get", "subclass"], "covered_bridge", 8.5, 1.1], 8], 20, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 115, 130], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 130, 140], ["primary", "primary_construction"], 120, ["secondary", "secondary_construction"], 115, ["tertiary", "tertiary_construction"], 110, ["minor", "minor_construction", "service", "service_construction", "rail", "rail_construction"], 100, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], ["match", ["get", "subclass"], "covered_bridge", 84, 5], 100]], "line-offset": 0, "line-opacity": 1}, "metadata": {"maputnik:comment": "casing color for motorway is brown"}, "filter": ["all", ["==", "layer", 1], ["!in", "class", "rail", "ferry", "path", "track", "footway", "transit", "cable_car", "gondola", "drag_lift", "aerialway_transportation", "aerialway_closed", "aerialway_goods", "goods_conveyor", "mask_terrain", "via_ferrata"], ["==", "$type", "LineString"], ["!=", "subclass", "covered_bridge"]]}, {"id": "bridge-l1_fill", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 7.0, "layout": {"line-cap": "butt", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": {"stops": [[8, 0.4], [14, 0.1]]}, "line-color": ["interpolate", ["exponential", 1], ["zoom"], 9, ["match", ["get", "class"], ["motorway", "trunk"], "rgb(255,230,160)", ["rail", "path", "track", "footway"], ["match", ["get", "subclass"], "funicular", "rgba(243,243,246,0)", "rgb(243,243,246)"], "rgb(255,255,255)", "rgb(243,243,246)", "rgb(255,255,255)"], 15, ["match", ["get", "class"], ["motorway", "trunk"], "rgb(255, 224, 138)", ["rail", "path", "track", "footway"], ["match", ["get", "subclass"], "funicular", "rgba(243,243,246,0)", "rgb(243,243,246)"], "rgb(255,255,255)"]], "line-width": ["interpolate", ["exponential", 2], ["zoom"], 7, 0, 8, ["match", ["get", "is_route"], [5, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 0.5, 2], ["trunk"], 2, 2], ["match", ["get", "ramp"], 1, 0.5, 0]], 9, ["match", ["get", "is_route"], [5, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 0.75, 2.25], ["trunk"], 2.25, 2], ["match", ["get", "ramp"], 1, 0.75, 0]], 10, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 0.75, 2.75], ["trunk"], 2.75, "primary", 2.5, "secondary", 2.5, "tertiary", 2, ["minor", "service"], 1.5, 0], ["match", ["get", "ramp"], 1, 0.75, 0]], 11, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.25, 3.25], ["trunk"], 3.25, "primary", 3, "secondary", 3, "tertiary", 2.5, ["minor", "service"], 1.75, 0], ["match", ["get", "ramp"], 1, 1.25, 0]], 12, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.5, 3.75], ["trunk"], 3.75, "primary", 4, "secondary", 3.5, "tertiary", 3, ["minor", "service"], 2, 0], ["match", ["get", "ramp"], 1, 1.5, 0]], 13, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.75, 4.5], ["trunk"], 4.5, "primary", 4.5, "secondary", 4, "tertiary", 3.5, ["minor", "service"], 2.5, 2], 11, ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 1.75, 4.5], "primary", 3, "secondary", 2.75, "tertiary", 2.75, ["minor", "service"], 2, 2], ["match", ["get", "ramp"], 1, 1.75, 0]], 14, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2.75, 5.5], ["trunk"], 5.5, "primary", 5.5, "secondary", 5, "tertiary", 4, ["minor", "service"], 3, 2.5], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 2.75, 5.5], "primary", 3.5, "secondary", 3, "tertiary", 3, ["minor", "service"], 2.5, 2.5]], 15, ["match", ["get", "subclass"], "funicular", 3, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 5, 6.5], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 6.5, 10.5], ["primary", "primary_construction"], 6.5, ["secondary", "secondary_construction"], 5.5, ["tertiary", "tertiary_construction"], 4.5, ["minor", "minor_construction", "service", "service_construction"], 3.5, ["rail", "rail_construction"], 5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 1.25, 3]], 16, ["match", ["get", "subclass"], "funicular", 6, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 8, 10], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 10, 13], ["primary", "primary_construction"], 10, ["secondary", "secondary_construction"], 9, ["tertiary", "tertiary_construction"], 8, ["minor", "minor_construction", "service", "service_construction"], 7, ["rail", "rail_construction"], 9.5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 6.5, 6]], 20, ["match", ["get", "subclass"], "funicular", 20, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 112, 126], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 126, 136], ["primary", "primary_construction"], 117, ["secondary", "secondary_construction"], 112, ["tertiary", "tertiary_construction"], 107, ["minor", "minor_construction", "service", "service_construction"], 97, ["rail", "rail_construction"], 120, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 81, 92]]], "line-opacity": 1}, "filter": ["all", ["==", "layer", 1], ["!in", "class", "ferry", "cable_car", "gondola", "drag_lift", "aerialway_transportation", "aerialway_closed", "aerialway_goods", "goods_conveyor", "mask_terrain", "via_ferrata"], ["==", "$type", "LineString"], ["!=", "subclass", "covered_bridge"]]}, {"id": "bridge-l1_road_track", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 14.0, "layout": {"line-cap": "butt", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": ["interpolate", ["linear"], ["zoom"], 14, 3, 15, 0.4], "line-color": {"stops": [[9, "rgba(80, 80, 80, 1)"], [15, "rgba(90, 90, 90, 1)"]]}, "line-width": ["interpolate", ["exponential", 2], ["zoom"], 13, 0.5, 15, 1.1, 16, 1.1, 18, 2, 20, 3], "line-offset": 0, "line-opacity": ["interpolate", ["linear"], ["zoom"], 11, ["match", ["get", "is_route"], 11, 0.5, 0], 12, ["match", ["get", "is_route"], 11, ["match", ["get", "class"], ["path", "track", "footway"], 0.5, 1], 0], 14, 0.7, 15, 1]}, "metadata": {"maputnik:comment": "casing color for motorway is brown"}, "filter": ["all", ["==", "class", "track"], ["==", "layer", 1], ["==", "$type", "LineString"], ["!=", "subclass", "covered_bridge"]]}, {"id": "bridge-l1_road_path_footway", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 11.0, "layout": {"line-cap": "butt", "line-join": "bevel", "visibility": "visible"}, "paint": {"line-blur": ["interpolate", ["linear"], ["zoom"], 15, 0.1, 20, 0.4], "line-color": "rgba(115, 115, 115, 1)", "line-width": ["interpolate", ["exponential", 1.5], ["zoom"], 13, 0.5, 15, 1.1, 20, 3], "line-opacity": ["interpolate", ["linear"], ["zoom"], 11, ["match", ["get", "is_route"], 11, 0.5, 0], 12, ["match", ["get", "is_route"], 11, ["match", ["get", "class"], ["path", "track", "footway"], 0.5, 1], 0], 14, 0.7, 15, 1], "line-dasharray": ["step", ["zoom"], ["literal", [6, 2]], 16, ["literal", [9, 3]], 17, ["literal", [12, 4]], 18, ["literal", [15, 5]]]}, "metadata": {"maputnik:comment": "cannot be in the same layer as road_casings because dasharray doesn't support expressions"}, "filter": ["all", ["in", "class", "path", "footway"], ["==", "layer", 1], ["==", "$type", "LineString"], ["!=", "subclass", "covered_bridge"]]}, {"id": "bridge-l1_public_transport", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 10.0, "layout": {"line-cap": "round", "visibility": "visible"}, "paint": {"line-blur": ["interpolate", ["linear"], ["zoom"], 8, ["match", ["get", "class"], ["rail"], ["match", ["get", "subclass"], ["rail"], ["match", ["get", "service"], ["yard", "siding"], 2.5, 0.6], 0.6], 0.6], 14, ["match", ["get", "class"], ["rail"], ["match", ["get", "subclass"], ["rail"], ["match", ["get", "service"], ["yard", "siding"], 2.5, 0.6], 0.6], 0.6], 18, 0.4], "line-color": {"stops": [[7, "rgba(255, 50, 50, 1)"], [15, "rgba(255, 80, 80, 1)"]]}, "line-width": ["interpolate", ["linear"], ["zoom"], 9, ["match", ["get", "is_route"], 99, ["match", ["get", "subclass"], "rail", 0.75, 0], 0], 10, ["match", ["get", "is_route"], 99, ["match", ["get", "class"], ["rail"], ["match", ["get", "subclass"], ["rail", "narrow_gauge", "rack_rail"], ["match", ["get", "service"], ["yard", "siding"], 0, 0.75], 0.5], 0.5], ["match", ["get", "subclass"], ["cable_car", "funicular"], 0.75, 0]], 14, ["match", ["get", "is_route"], 99, ["match", ["get", "class"], "transit", 1, ["rail"], ["match", ["get", "subclass"], ["rail", "narrow_gauge", "rack_rail"], ["match", ["get", "service"], ["yard", "siding"], 0, 2], 1], 0], ["match", ["get", "subclass"], ["cable_car", "funicular"], 1, 0]], 18, ["match", ["get", "class"], ["transit"], 1.5, ["match", ["get", "service"], ["yard", "siding"], 1.5, 2]]], "line-opacity": ["interpolate", ["linear"], ["zoom"], 8, 0, 9, ["match", ["get", "class"], ["rail"], 1, 0], 12, ["match", ["get", "class"], ["rail"], 1, 0], 13, ["match", ["get", "class"], ["rail"], 1, 0], 14, ["match", ["get", "class"], ["rail"], ["match", ["get", "subclass"], ["rail", "narrow_gauge", "rack_rail", "funicular"], ["match", ["get", "service"], ["yard", "siding"], 0, 1], 0], 0], 14.5, 1]}, "filter": ["all", ["==", "layer", 1], ["in", "class", "rail", "transit"], ["==", "$type", "LineString"], ["!=", "subclass", "covered_bridge"]]}, {"id": "bridge-l2_road_casing", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 7.0, "layout": {"line-cap": "butt", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": ["interpolate", ["linear"], ["zoom"], 7, 3, 8, 0.4, 11, ["match", ["get", "is_route"], [11], 4, 0.4], 13, ["match", ["get", "class"], "track", 2, 0.4], 14, 0.4], "line-color": ["interpolate", ["exponential", 1.7], ["zoom"], 9, ["match", ["get", "class"], ["motorway", "trunk"], "rgb(170, 136, 30)", "rgb(80, 80, 80)"], 15, ["match", ["get", "class"], ["motorway", "trunk"], "rgb(139, 107, 63)", "rgb(90, 90, 90)"]], "line-width": ["interpolate", ["exponential", 2], ["zoom"], 7, 0, 8, ["match", ["get", "is_route"], [5, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.5, 3], ["trunk"], 3, 3], 0], 9, ["match", ["get", "is_route"], [5, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2, 3.5], ["trunk"], 3.5, 3], 0], 10, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2, 4], ["trunk"], 4, "primary", 3.5, "secondary", 3.5, "tertiary", 3, ["minor", "service"], 2.5, 0], ["match", ["get", "ramp"], 1, 2, 0]], 11, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2.5, 4.5], ["trunk"], 4.5, "primary", 4, "secondary", 4, "tertiary", 3.5, ["minor", "service"], 2.75, ["track", "path", "footway"], 0.5, 0], ["match", ["get", "ramp"], 1, 2.5, 0]], 12, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 2.75, 5], "primary", 5, "secondary", 4.5, "tertiary", 4, ["minor", "service"], 3, ["track", "path", "footway"], 0.75, 0], [11], ["match", ["get", "class"], ["motorway", "trunk", "primary", "secondary", "tertiary", "minor"], ["match", ["get", "ramp"], 1, 2.75, 0.75], ["track", "path", "footway"], 0.5, 0], ["match", ["get", "ramp"], 1, 2.75, 0]], 13, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 3, 6], ["trunk"], 6, "primary", 5.5, "secondary", 5, "tertiary", 4.5, ["minor", "service"], 3.5, ["track", "path", "footway"], ["match", ["get", "subclass"], "covered_bridge", 3, 1], 3], 11, ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 3, 6], "primary", 4, "secondary", 3.75, "tertiary", 3.75, ["minor", "service"], 3, ["track", "path", "footway"], ["match", ["get", "subclass"], "covered_bridge", 3, 0.5], 3], 0], 14, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 4, 7], ["trunk"], 7, "primary", 6.5, "secondary", 6, "tertiary", 5, ["minor", "service"], 4, ["track", "path", "footway"], ["match", ["get", "subclass"], "covered_bridge", 3.5, 0.75], 3.5], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 4, 7], "primary", 4.5, "secondary", 4, "tertiary", 4, ["minor", "service"], 3.5, ["track", "path", "footway"], ["match", ["get", "subclass"], "covered_bridge", 3.5, 0.75], 3.5]], 15, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 6.5, 8], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 8, 12], ["primary", "primary_construction"], 8, ["secondary", "secondary_construction"], 7, ["tertiary", "tertiary_construction"], 6, ["minor", "minor_construction", "service", "service_construction", "rail", "rail_construction"], 5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], ["match", ["get", "subclass"], "covered_bridge", 4, 1.1], 4.5], 16, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 10, 12], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 12, 15], ["primary", "primary_construction"], 12, ["secondary", "secondary_construction"], 11, ["tertiary", "tertiary_construction"], 10, ["minor", "minor_construction", "service", "service_construction", "rail", "rail_construction"], 9, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], ["match", ["get", "subclass"], "covered_bridge", 8.5, 1.1], 8], 20, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 115, 130], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 130, 140], ["primary", "primary_construction"], 120, ["secondary", "secondary_construction"], 115, ["tertiary", "tertiary_construction"], 110, ["minor", "minor_construction", "service", "service_construction", "rail", "rail_construction"], 100, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], ["match", ["get", "subclass"], "covered_bridge", 84, 5], 100]], "line-offset": 0, "line-opacity": 1}, "metadata": {"maputnik:comment": "casing color for motorway is brown"}, "filter": ["all", [">", "layer", 1], ["!in", "class", "rail", "ferry", "path", "track", "footway", "transit", "cable_car", "gondola", "drag_lift", "aerialway_transportation", "aerialway_closed", "aerialway_goods", "goods_conveyor", "mask_terrain", "via_ferrata"], ["==", "$type", "LineString"], ["!=", "subclass", "covered_bridge"]]}, {"id": "bridge-l2_fill", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 7.0, "layout": {"line-cap": "butt", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": {"stops": [[8, 0.4], [14, 0.1]]}, "line-color": ["interpolate", ["exponential", 1], ["zoom"], 9, ["match", ["get", "class"], ["motorway", "trunk"], "rgb(255,230,160)", ["rail", "path", "track", "footway"], ["match", ["get", "subclass"], "funicular", "rgba(243,243,246,0)", "rgb(243,243,246)"], "rgb(255,255,255)", "rgb(243,243,246)", "rgb(255,255,255)"], 15, ["match", ["get", "class"], ["motorway", "trunk"], "rgb(255, 224, 138)", ["rail", "path", "track", "footway"], ["match", ["get", "subclass"], "funicular", "rgba(243,243,246,0)", "rgb(243,243,246)"], "rgb(255,255,255)"]], "line-width": ["interpolate", ["exponential", 2], ["zoom"], 7, 0, 8, ["match", ["get", "is_route"], [5, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 0.5, 2], ["trunk"], 2, 2], ["match", ["get", "ramp"], 1, 0.5, 0]], 9, ["match", ["get", "is_route"], [5, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 0.75, 2.25], ["trunk"], 2.25, 2], ["match", ["get", "ramp"], 1, 0.75, 0]], 10, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 0.75, 2.75], ["trunk"], 2.75, "primary", 2.5, "secondary", 2.5, "tertiary", 2, ["minor", "service"], 1.5, 0], ["match", ["get", "ramp"], 1, 0.75, 0]], 11, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.25, 3.25], ["trunk"], 3.25, "primary", 3, "secondary", 3, "tertiary", 2.5, ["minor", "service"], 1.75, 0], ["match", ["get", "ramp"], 1, 1.25, 0]], 12, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.5, 3.75], ["trunk"], 3.75, "primary", 4, "secondary", 3.5, "tertiary", 3, ["minor", "service"], 2, 0], ["match", ["get", "ramp"], 1, 1.5, 0]], 13, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 1.75, 4.5], ["trunk"], 4.5, "primary", 4.5, "secondary", 4, "tertiary", 3.5, ["minor", "service"], 2.5, 2], 11, ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 1.75, 4.5], "primary", 3, "secondary", 2.75, "tertiary", 2.75, ["minor", "service"], 2, 2], ["match", ["get", "ramp"], 1, 1.75, 0]], 14, ["match", ["get", "is_route"], [5, 6, 7, 8, 10, 99], ["match", ["get", "class"], ["motorway"], ["match", ["get", "ramp"], 1, 2.75, 5.5], ["trunk"], 5.5, "primary", 5.5, "secondary", 5, "tertiary", 4, ["minor", "service"], 3, 2.5], ["match", ["get", "class"], ["motorway", "trunk"], ["match", ["get", "ramp"], 1, 2.75, 5.5], "primary", 3.5, "secondary", 3, "tertiary", 3, ["minor", "service"], 2.5, 2.5]], 15, ["match", ["get", "subclass"], "funicular", 3, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 5, 6.5], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 6.5, 10.5], ["primary", "primary_construction"], 6.5, ["secondary", "secondary_construction"], 5.5, ["tertiary", "tertiary_construction"], 4.5, ["minor", "minor_construction", "service", "service_construction"], 3.5, ["rail", "rail_construction"], 5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 1.25, 3]], 16, ["match", ["get", "subclass"], "funicular", 6, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 8, 10], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 10, 13], ["primary", "primary_construction"], 10, ["secondary", "secondary_construction"], 9, ["tertiary", "tertiary_construction"], 8, ["minor", "minor_construction", "service", "service_construction"], 7, ["rail", "rail_construction"], 9.5, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 6.5, 6]], 20, ["match", ["get", "subclass"], "funicular", 20, ["match", ["get", "class"], ["motorway", "motorway_construction"], ["match", ["get", "ramp"], 1, 112, 126], ["trunk", "trunk_construction"], ["match", ["get", "oneway"], 1, 126, 136], ["primary", "primary_construction"], 117, ["secondary", "secondary_construction"], 112, ["tertiary", "tertiary_construction"], 107, ["minor", "minor_construction", "service", "service_construction"], 97, ["rail", "rail_construction"], 120, ["track", "track_construction", "path", "path_construction", "footway", "footway_construction", "transit", "transit_construction"], 81, 92]]], "line-opacity": 1}, "filter": ["all", [">", "layer", 1], ["!in", "class", "ferry", "cable_car", "gondola", "drag_lift", "aerialway_transportation", "aerialway_closed", "aerialway_goods", "goods_conveyor", "mask_terrain", "via_ferrata"], ["==", "$type", "LineString"], ["!=", "subclass", "covered_bridge"]]}, {"id": "bridge-l2_road_track", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 14.0, "layout": {"line-cap": "butt", "line-join": "round", "visibility": "visible"}, "paint": {"line-blur": ["interpolate", ["linear"], ["zoom"], 14, 3, 15, 0.4], "line-color": {"stops": [[9, "rgba(80, 80, 80, 1)"], [15, "rgba(90, 90, 90, 1)"]]}, "line-width": ["interpolate", ["exponential", 2], ["zoom"], 13, 0.5, 15, 1.1, 16, 1.1, 18, 2, 20, 3], "line-offset": 0, "line-opacity": ["interpolate", ["linear"], ["zoom"], 11, ["match", ["get", "is_route"], 11, 0.5, 0], 12, ["match", ["get", "is_route"], 11, ["match", ["get", "class"], ["path", "track", "footway"], 0.5, 1], 0], 14, 0.7, 15, 1]}, "metadata": {"maputnik:comment": "casing color for motorway is brown"}, "filter": ["all", [">", "layer", 1], ["==", "class", "track"], ["==", "$type", "LineString"], ["!=", "subclass", "covered_bridge"]]}, {"id": "bridge-l2_road_path_footway", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 11.0, "layout": {"line-cap": "butt", "line-join": "bevel", "visibility": "visible"}, "paint": {"line-blur": ["interpolate", ["linear"], ["zoom"], 15, 0.1, 20, 0.4], "line-color": "rgba(115, 115, 115, 1)", "line-width": ["interpolate", ["exponential", 1.5], ["zoom"], 13, 0.5, 15, 1.1, 20, 3], "line-opacity": ["interpolate", ["linear"], ["zoom"], 11, ["match", ["get", "is_route"], 11, 0.5, 0], 12, ["match", ["get", "is_route"], 11, ["match", ["get", "class"], ["path", "track", "footway"], 0.5, 1], 0], 14, 0.7, 15, 1], "line-dasharray": ["step", ["zoom"], ["literal", [6, 2]], 16, ["literal", [9, 3]], 17, ["literal", [12, 4]], 18, ["literal", [15, 5]]]}, "metadata": {"maputnik:comment": "cannot be in the same layer as road_casings because dasharray doesn't support expressions"}, "filter": ["all", [">", "layer", 1], ["in", "class", "path", "footway"], ["==", "$type", "LineString"], ["!=", "subclass", "covered_bridge"]]}, {"id": "bridge-l2_public_transport", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 10.0, "layout": {"line-cap": "round", "visibility": "visible"}, "paint": {"line-blur": ["interpolate", ["linear"], ["zoom"], 8, ["match", ["get", "class"], ["rail"], ["match", ["get", "subclass"], ["rail"], ["match", ["get", "service"], ["yard", "siding"], 2.5, 0.6], 0.6], 0.6], 14, ["match", ["get", "class"], ["rail"], ["match", ["get", "subclass"], ["rail"], ["match", ["get", "service"], ["yard", "siding"], 2.5, 0.6], 0.6], 0.6], 18, 0.4], "line-color": {"stops": [[7, "rgba(255, 50, 50, 1)"], [15, "rgba(255, 80, 80, 1)"]]}, "line-width": ["interpolate", ["linear"], ["zoom"], 9, ["match", ["get", "is_route"], 99, ["match", ["get", "subclass"], "rail", 0.75, 0], 0], 10, ["match", ["get", "is_route"], 99, ["match", ["get", "class"], ["rail"], ["match", ["get", "subclass"], ["rail", "narrow_gauge", "rack_rail"], ["match", ["get", "service"], ["yard", "siding"], 0, 0.75], 0.5], 0.5], ["match", ["get", "subclass"], ["cable_car", "funicular"], 0.75, 0]], 14, ["match", ["get", "is_route"], 99, ["match", ["get", "class"], "transit", 1, ["rail"], ["match", ["get", "subclass"], ["rail", "narrow_gauge", "rack_rail"], ["match", ["get", "service"], ["yard", "siding"], 0, 2], 1], 0], ["match", ["get", "subclass"], ["cable_car", "funicular"], 1, 0]], 18, ["match", ["get", "class"], ["transit"], 1.5, ["match", ["get", "service"], ["yard", "siding"], 1.5, 2]]], "line-opacity": ["interpolate", ["linear"], ["zoom"], 8, 0, 9, ["match", ["get", "class"], ["rail"], 1, 0], 12, ["match", ["get", "class"], ["rail"], 1, 0], 13, ["match", ["get", "class"], ["rail"], 1, 0], 14, ["match", ["get", "class"], ["rail"], ["match", ["get", "subclass"], ["rail", "narrow_gauge", "rack_rail", "funicular"], ["match", ["get", "service"], ["yard", "siding"], 0, 1], 0], 0], 14.5, 1]}, "filter": ["all", [">", "layer", 1], ["in", "class", "rail", "transit", "cable_car", "gondola"], ["==", "$type", "LineString"], ["!=", "subclass", "covered_bridge"]]}, {"id": "spot_elevation", "type": "symbol", "source": "base_v1.0.0", "source-layer": "spot_elevation", "minzoom": 14.0, "layout": {"icon-size": 1, "text-font": ["Frutiger Neue Regular"], "text-size": ["interpolate", ["linear"], ["zoom"], 14, 10.5, 18, 13], "icon-image": ["match", ["get", "class"], ["spot_elevation", "terrain_spot_elevation"], "dot_dark_grey_3", ""], "text-field": ["get", "ele"], "visibility": "visible", "icon-offset": [0, 0], "icon-rotate": 0, "text-anchor": "center", "icon-padding": 30, "icon-optional": false, "text-optional": false, "symbol-placement": "point", "text-line-height": 0.9, "text-keep-upright": false, "text-allow-overlap": false, "text-radial-offset": 0.3, "text-variable-anchor": ["literal", ["bottom-left", "top-left", "bottom-right", "top-right"]], "text-ignore-placement": false}, "paint": {"icon-color": "#000000", "text-color": "rgba(80, 80, 80, 1)", "icon-opacity": 0.8, "text-opacity": ["literal", 1], "text-halo-blur": 1, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 12, 1.5, 18, 3]}, "filter": ["all", ["!in", "class", "doline", "lake_elevation", "sinkhole", "sinkhole_rock", "sinkhole_scree", "sinkhole_water", "sinkhole_ice"]]}, {"id": "waterway_line_label", "type": "symbol", "source": "base_v1.0.0", "source-layer": "waterway", "minzoom": 9.0, "layout": {"text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["exponential", 1.5], ["zoom"], 10, 10.5, 16, ["match", ["to-string", ["get", "width"]], ["9", "10"], 18, ["7", "8"], 17, ["5", "6"], 16, "4", 15, "3", 14, "2", 13, "1", 12, ["match", ["get", "class"], ["river", "canal"], 18, 14]]], "text-field": ["get", "name:latin"], "visibility": "visible", "text-padding": 0, "symbol-spacing": 650, "symbol-z-order": "auto", "text-max-width": 9999, "symbol-placement": "line", "text-keep-upright": true, "text-allow-overlap": false, "text-letter-spacing": ["interpolate", ["linear"], ["zoom"], 8, 0.1, 12, ["match", ["get", "class"], ["river"], 0.4, 0.2]], "text-pitch-alignment": "map", "text-ignore-placement": false, "text-rotation-alignment": "map"}, "paint": {"text-color": "rgb(20, 136, 205)", "text-halo-blur": 1, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": 2}, "filter": ["all", ["==", "$type", "LineString"], ["!=", "intermittent", 1]]}, {"id": "aerialway", "type": "line", "source": "base_v1.0.0", "source-layer": "transportation", "minzoom": 12.0, "layout": {"visibility": "visible"}, "paint": {"line-blur": 0.25, "line-color": {"stops": [[7, "rgba(255, 50, 50, 1)"], [15, "rgba(255, 80, 80, 1)"]]}, "line-width": ["interpolate", ["linear"], ["zoom"], 8, 0.2, 14, ["match", ["get", "class"], ["cable_car"], 1, 0.75], 18, ["match", ["get", "class"], ["cable_car"], 2, 1.5]], "line-opacity": ["interpolate", ["linear"], ["zoom"], 12, 0, 13, ["match", ["get", "class"], ["cable_car", "gondola"], 1, 0], 14, ["match", ["get", "class"], ["cable_car", "gondola", "chair_lift"], 1, 0]]}, "filter": ["all", ["in", "class", "cable_car", "gondola", "chair_lift"]]}, {"id": "transportation_label", "type": "symbol", "source": "base_v1.0.0", "source-layer": "transportation_name", "minzoom": 13.0, "layout": {"text-font": ["Frutiger Neue Condensed Regular"], "text-size": ["interpolate", ["exponential", 1.5], ["zoom"], 14, ["match", ["get", "class"], ["motorway", "trunk"], 11, 10.5], 18, ["match", ["get", "class"], ["motorway", "trunk"], 18, 16]], "text-field": "{name:latin}", "visibility": "visible", "text-anchor": "center", "text-offset": [0, 0], "text-padding": 2, "symbol-spacing": ["interpolate", ["linear"], ["zoom"], 15, 200, 18, 400], "symbol-z-order": "auto", "text-max-angle": 40, "text-transform": "none", "symbol-placement": "line", "text-keep-upright": true, "symbol-avoid-edges": true, "text-letter-spacing": 0.1, "text-pitch-alignment": "map", "text-rotation-alignment": "map"}, "paint": {"text-color": ["match", ["get", "class"], ["rail", "transit", "cable_car", "gondola", "chair_lift"], "rgba(255, 50, 50, 1)", ["ferry", "car_ferry"], "rgba(20, 136, 205, 1)", "rgba(60, 60, 70, 1)"], "text-halo-blur": 0.2, "text-halo-color": ["match", ["get", "class"], ["rail", "transit", "cable_car", "gondola", "chair_lift", "motorway", "trunk"], "rgba(255, 255, 255, 0.6)", "rgba(255, 255, 255, 0.8)"], "text-halo-width": ["interpolate", ["linear"], ["zoom"], 14, ["match", ["get", "class"], ["rail", "transit", "cable_car", "gondola", "chair_lift"], 1.5, 1.5], 20, 3]}, "filter": ["all", ["!in", "class", "cable_car", "gondola", "chair_lift", "drag_lift", "aerialway_transportation", "aerialway_closed", "aerialway_goods", "goods_conveyor"], ["==", "$type", "LineString"]]}, {"id": "road_number", "type": "symbol", "source": "base_v1.0.0", "source-layer": "transportation_name", "minzoom": 13.0, "maxzoom": 22.0, "layout": {"icon-size": 1, "text-font": ["Frutiger Neue Condensed Bold"], "text-size": 10.5, "icon-image": "box_white_grey_casing_{ref_length}", "text-field": ["get", "ref"], "visibility": "visible", "icon-offset": [0, -1.3], "text-anchor": "center", "icon-padding": 2, "text-justify": "center", "icon-optional": false, "icon-text-fit": "none", "text-optional": false, "symbol-spacing": ["step", ["zoom"], 300, 10, 600, 14, 800], "symbol-z-order": "auto", "symbol-placement": "line", "icon-keep-upright": false, "text-keep-upright": true, "icon-allow-overlap": false, "symbol-avoid-edges": false, "text-letter-spacing": 0, "icon-pitch-alignment": "viewport", "text-pitch-alignment": "viewport", "icon-ignore-placement": false, "icon-rotation-alignment": "viewport", "text-rotation-alignment": "viewport"}, "paint": {"text-color": "rgba(64, 64, 64, 1)", "icon-opacity": 1, "text-opacity": 1, "text-halo-blur": 0, "text-halo-color": "rgba(0, 0, 0, 0)", "text-halo-width": 0}, "filter": ["all", ["in", "class", "motorway", "trunk", "primary"], ["has", "ref"], ["<=", "ref_length", 12], ["==", "$type", "LineString"]]}, {"id": "area_name_glacier_point_label", "type": "symbol", "source": "base_v1.0.0", "source-layer": "area_name", "minzoom": 14.0, "layout": {"text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["linear"], ["zoom"], 10, 11, 16, 20], "text-field": "{name:latin}", "visibility": "visible", "symbol-spacing": {"stops": [[12, 250], [14, 550]]}, "symbol-z-order": "auto", "text-max-width": 99999, "symbol-placement": "point", "text-keep-upright": true, "symbol-avoid-edges": true, "text-allow-overlap": false, "text-letter-spacing": 0.15, "text-pitch-alignment": "map", "text-ignore-placement": false, "text-rotation-alignment": "map"}, "paint": {"text-color": "rgba(55, 146, 201, 1)", "text-halo-blur": 1, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": 1}, "filter": ["all", ["==", "$type", "Point"], ["in", "subclass", "glacier"]]}, {"id": "area_name_glacier_line_label", "type": "symbol", "source": "base_v1.0.0", "source-layer": "area_name", "minzoom": 12.0, "layout": {"text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["linear"], ["zoom"], 10, 11, 16, 20], "text-field": "{name:latin}", "visibility": "visible", "symbol-spacing": {"stops": [[12, 250], [14, 550]]}, "symbol-z-order": "auto", "text-max-width": 99999, "symbol-placement": "line-center", "text-keep-upright": true, "symbol-avoid-edges": true, "text-allow-overlap": false, "text-letter-spacing": {"stops": [[10, 0.15], [12, 0.3]]}, "text-pitch-alignment": "map", "text-ignore-placement": false, "text-rotation-alignment": "map"}, "paint": {"text-color": "rgba(55, 146, 201, 1)", "text-halo-blur": 1, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": 1}, "filter": ["all", ["==", "$type", "LineString"], ["in", "subclass", "glacier"]]}, {"id": "poi_rank3", "type": "symbol", "source": "base_v1.0.0", "source-layer": "poi", "minzoom": 15.0, "layout": {"icon-size": 1, "text-font": ["Frutiger Neue Condensed Regular"], "text-size": ["interpolate", ["linear"], ["zoom"], 14, 12, 18, 18], "icon-image": ["match", ["get", "subclass"], ["tram_stop", "bus_stop", "halt", "cable_car_station", "gondola_station", "chair_lift_station", "aerialway_station", "elevator", "subway_entrance", "subway_stop"], "dot_red", "waterfall", "waterfall_blue", "observation_tower", "observation_tower_grey", ["survey_point", "surveying_pyramid"], "dot_dark_grey_4", ""], "text-field": ["get", "name:latin"], "visibility": "visible", "icon-rotate": ["to-number", ["get", "direction"]], "text-anchor": ["match", ["get", "subclass"], ["halt", "tram_stop", "bus_stop", "cable_car_station", "gondola_station", "chair_lift_station", "aerialway_station", "elevator", "subway_entrance", "subway_stop", "survey_point", "surveying_pyramid"], "bottom-left", ["waterfall", "observation_tower"], "left", "center"], "text-offset": ["match", ["get", "subclass"], "observation_tower", ["literal", [0.5, 0.2]], "waterfall", ["literal", [0.5, 0.1]], ["literal", [0.4, 0.1]]], "text-justify": "left", "text-padding": 2, "icon-optional": false, "text-optional": true, "text-max-width": 10, "icon-allow-overlap": false, "icon-ignore-placement": false, "icon-rotation-alignment": "map"}, "paint": {"text-color": ["match", ["get", "subclass"], ["halt", "tram_stop", "bus_stop", "cable_car_station", "gondola_station", "chair_lift_station", "aerialway_station", "elevator", "subway_entrance", "subway_stop"], "rgba(255, 50, 50, 1)", "waterfall", "rgba(20, 136, 205, 1)", "rgba(48, 48, 48, 1)"], "icon-opacity": ["case", ["has", "name"], 1, 0], "text-opacity": ["step", ["zoom"], 0, 15, ["match", ["get", "class"], "college", 0, 1], 16, 1], "text-halo-blur": 1, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 14, 1, 17, 2]}, "filter": ["all", ["match", ["get", "class"], ["allottments", "antenna_area", "attraction", "aerialway", "bus", "building", "cave", "driving_centre", "elevator", "entrance", "garden", "place_of_worship", "railway", "survey_point", "tower", "wastewater_plant", "waterfall"], true, false], ["match", ["get", "subclass"], ["aerialway_station", "allottments", "antenna_area", "attraction", "bus_stop", "cable_car_station", "cave", "chair_lift_station", "building", "elevator", "garden", "gondola_station", "halt", "observation_tower", "observatory", "subway_entrance", "subway_stop", "survey_point", "surveying_pyramid", "tower", "tram_stop", "wastewater_plant", "waterfall", ""], true, false]]}, {"id": "poi_rank2", "type": "symbol", "source": "base_v1.0.0", "source-layer": "poi", "minzoom": 13.0, "layout": {"icon-size": 1, "text-font": ["Frutiger Neue Condensed Regular"], "text-size": ["interpolate", ["linear"], ["zoom"], 14, 12, 18, 18], "icon-image": ["step", ["zoom"], ["match", ["get", "subclass"], "church_tower", "dot_circle_dark_grey_8", ["golf_course", "golf"], "golf_grey", ["ferry", "car_ferry", "ferry_terminal"], "dot_blue", "funicular_stop", "dot_red", "wind_turbine", "windturbine_grey", "communications_tower", "communications_tower_grey", ""], 15, ["match", ["get", "subclass"], ["camp_site", "caravan_site"], "camping_grey", "church_tower", "dot_circle_dark_grey_10", ["golf_course", "golf"], "golf_grey", ["ferry", "car_ferry", "ferry_terminal"], "dot_blue", "funicular_stop", "dot_red", "wind_turbine", "windturbine_grey", "communications_tower", "communications_tower_grey", ""], 16, ["match", ["get", "subclass"], ["camp_site", "caravan_site"], "camping_grey", "church_tower", "dot_circle_dark_grey_12", ["golf_course", "golf"], "golf_grey", ["ferry", "car_ferry", "ferry_terminal"], "dot_blue", "funicular_stop", "dot_red", "hospital", "hospital_grey", "wind_turbine", "windturbine_grey", "communications_tower", "communications_tower_grey", ""]], "text-field": ["get", "name:latin"], "visibility": "visible", "icon-offset": [0, 0], "text-anchor": ["match", ["get", "class"], ["monastery"], "left", ["match", ["get", "subclass"], ["caravan_site", "camp_site", "church_tower", "golf_course", "golf", "hospital", "communications_tower"], "left", ["ferry", "car_ferry", "ferry_terminal", "funicular_stop"], "bottom-left", "center"]], "text-offset": ["match", ["get", "subclass"], ["ferry", "car_ferry", "ferry_terminal", "funicular_stop"], ["literal", [0.4, 0.1]], ["literal", [0.8, 0.1]]], "text-justify": "left", "icon-optional": false, "text-optional": true, "text-max-width": 10, "icon-allow-overlap": false, "text-letter-spacing": ["match", ["get", "class"], ["park"], 0.05, 0], "icon-ignore-placement": false}, "paint": {"text-color": ["match", ["get", "subclass"], ["ferry", "car_ferry", "ferry_terminal"], "rgba(20, 136, 205, 1)", "funicular_stop", "rgba(255, 50, 50, 1)", "weir", "rgba(20, 136, 205, 1)", "rgba(48, 48, 48, 1)"], "icon-opacity": ["step", ["zoom"], 0, 13, ["match", ["get", "subclass"], "wind_turbine", 0, 0], 14, ["match", ["get", "class"], ["place_of_worship"], 1, ["match", ["get", "subclass"], ["wind_turbine", "caravan_site", "camp_site", "ferry", "ferry_terminal", "funicular_stop", "golf_course", "golf", "cemetery", "stadium", "park"], 1, 0]], 15, 1], "text-opacity": ["step", ["zoom"], 0, 14, ["match", ["get", "class"], ["ferry", "car_ferry", "ferry_terminal", "funicular", "golf", "golf_course", "cemetery", "ruins", "stadium", "park", "pitch"], 1, 0], 15, ["match", ["get", "class"], ["campsite", "ferry", "car_ferry", "ferry_terminal", "funicular", "golf", "golf_course", "cemetery", "ruins", "stadium", "park", "pitch", "place_of_worship", "sports_centre", "zoo"], 1, 0], 16, ["match", ["get", "class"], ["campsite", "ferry", "car_ferry", "ferry_terminal", "funicular", "golf", "golf_course", "cemetery", "ruins", "stadium", "park", "pitch", "place_of_worship", "sports_centre", "zoo"], 1, 0], 17, 1], "text-halo-blur": 1, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 14, 1, 17, 2]}, "filter": ["any", ["match", ["get", "class"], ["cemetery", "dam", "ferry_terminal", "funicular", "attraction", "fuel", "golf", "golf_course", "horse_racing", "military", "monastery", "park", "pitch", "prison", "ruins", "sports_centre", "stadium", "swimming_pool", "power", "weir", "zoo"], true, false], ["match", ["get", "subclass"], ["church_tower", "camp_site", "communications_tower"], true, false]]}, {"id": "peaks_other", "type": "symbol", "source": "base_v1.0.0", "source-layer": "mountain_peak", "minzoom": 15.0, "maxzoom": 22.0, "layout": {"icon-size": 1, "text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["linear"], ["zoom"], 10, ["case", ["<=", 4000, ["get", "ele"]], 14, ["<=", 3000, ["get", "ele"]], 13, ["<=", 2000, ["get", "ele"]], 12, 11], 18, ["case", ["<=", 4000, ["get", "ele"]], 23, ["<=", 3000, ["get", "ele"]], 22, ["<=", 2000, ["get", "ele"]], 21, 20]], "icon-image": "dot_dark_grey_3", "text-field": ["format", ["get", "name:latin"], {}, "\n", {}, ["get", "ele"], {"font-scale": 0.75}], "visibility": "visible", "icon-anchor": "center", "icon-offset": [0, 0], "text-anchor": "center", "text-offset": [0, 0], "icon-padding": 0, "text-justify": "auto", "text-padding": 2, "icon-optional": false, "text-optional": false, "symbol-z-order": ["literal", "auto"], "text-max-width": 8, "symbol-placement": "point", "text-line-height": 1.15, "icon-allow-overlap": false, "text-allow-overlap": false, "text-radial-offset": 0.3, "text-letter-spacing": 0.025, "icon-pitch-alignment": "auto", "text-variable-anchor": ["literal", ["bottom-left", "top-left", "bottom-right", "top-right"]], "icon-ignore-placement": false, "text-ignore-placement": false, "icon-rotation-alignment": "auto"}, "paint": {"icon-color": "rgba(0, 0, 0, 1)", "text-color": "rgba(48, 48, 48, 1)", "icon-opacity": 1, "text-opacity": 1, "icon-halo-blur": 0, "text-halo-blur": 1, "icon-halo-color": "rgba(255, 255, 255, 1)", "icon-halo-width": 0, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 12, 1.5, 18, 3]}, "filter": ["match", ["get", "class"], ["rocky_knoll", "saddle"], true, false]}, {"id": "peaks_rank5", "type": "symbol", "source": "base_v1.0.0", "source-layer": "mountain_peak", "minzoom": 13.0, "maxzoom": 22.0, "layout": {"icon-size": 1, "text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["linear"], ["zoom"], 10, ["case", ["<=", 4000, ["get", "ele"]], 14, ["<=", 3000, ["get", "ele"]], 13, ["<=", 2000, ["get", "ele"]], 12, 11], 18, ["case", ["<=", 4000, ["get", "ele"]], 23, ["<=", 3000, ["get", "ele"]], 22, ["<=", 2000, ["get", "ele"]], 21, 20]], "icon-image": ["step", ["zoom"], "", 10, "dot_dark_grey_4", 14, "dot_dark_grey_6", 18, "dot_dark_grey_8"], "text-field": ["format", ["get", "name:latin"], {}, "\n", {}, ["get", "ele"], {"font-scale": 0.75}], "visibility": "visible", "icon-anchor": "center", "icon-offset": [0, 0], "text-anchor": "bottom", "text-offset": [0, 0], "icon-padding": 0, "text-justify": "auto", "text-padding": 2, "icon-optional": false, "text-optional": false, "symbol-z-order": ["literal", "auto"], "text-max-width": 8, "symbol-placement": "point", "text-line-height": 1.15, "icon-allow-overlap": false, "text-allow-overlap": false, "text-radial-offset": 0.3, "text-letter-spacing": 0.025, "icon-pitch-alignment": "auto", "icon-ignore-placement": false, "text-ignore-placement": false, "icon-rotation-alignment": "auto"}, "paint": {"icon-color": "rgba(0, 0, 0, 1)", "text-color": "rgba(48, 48, 48, 1)", "icon-opacity": 1, "text-opacity": 1, "icon-halo-blur": 0, "text-halo-blur": 1, "icon-halo-color": "rgba(255, 255, 255, 1)", "icon-halo-width": 0, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 12, 1.5, 18, 3]}, "filter": ["all", [">=", "rank", 5], ["!in", "class", "rocky_knoll", "saddle", "mountain_pass"]]}, {"id": "peaks_rank4", "type": "symbol", "source": "base_v1.0.0", "source-layer": "mountain_peak", "minzoom": 12.0, "maxzoom": 22.0, "layout": {"icon-size": 1, "text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["linear"], ["zoom"], 10, ["case", ["<=", 4000, ["get", "ele"]], 14, ["<=", 3000, ["get", "ele"]], 13, ["<=", 2000, ["get", "ele"]], 12, 11], 18, ["case", ["<=", 4000, ["get", "ele"]], 23, ["<=", 3000, ["get", "ele"]], 22, ["<=", 2000, ["get", "ele"]], 21, 20]], "icon-image": ["step", ["zoom"], "", 10, "dot_dark_grey_4", 14, "dot_dark_grey_6", 18, "dot_dark_grey_8"], "text-field": ["format", ["get", "name:latin"], {}, "\n", {}, ["get", "ele"], {"font-scale": 0.75}], "visibility": "visible", "icon-anchor": "center", "icon-offset": [0, 0], "text-anchor": "bottom", "text-offset": [0, 0], "icon-padding": 0, "text-justify": "auto", "text-padding": 2, "icon-optional": false, "text-optional": false, "symbol-z-order": ["literal", "auto"], "text-max-width": 8, "symbol-placement": "point", "text-line-height": 1.15, "icon-allow-overlap": false, "text-allow-overlap": false, "text-radial-offset": 0.3, "text-letter-spacing": 0.025, "icon-pitch-alignment": "auto", "icon-ignore-placement": false, "text-ignore-placement": false, "icon-rotation-alignment": "auto"}, "paint": {"icon-color": "rgba(0, 0, 0, 1)", "text-color": "rgba(48, 48, 48, 1)", "icon-opacity": 1, "text-opacity": 1, "icon-halo-blur": 0, "text-halo-blur": 1, "icon-halo-color": "rgba(255, 255, 255, 1)", "icon-halo-width": 0, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 12, 1.5, 18, 3]}, "filter": ["all", ["==", "rank", 4], ["!in", "class", "rocky_knoll", "saddle", "mountain_pass"]]}, {"id": "peaks_rank3", "type": "symbol", "source": "base_v1.0.0", "source-layer": "mountain_peak", "minzoom": 11.0, "maxzoom": 22.0, "layout": {"icon-size": 1, "text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["linear"], ["zoom"], 10, ["case", ["<=", 4000, ["get", "ele"]], 14, ["<=", 3000, ["get", "ele"]], 13, ["<=", 2000, ["get", "ele"]], 12, 11], 18, ["case", ["<=", 4000, ["get", "ele"]], 23, ["<=", 3000, ["get", "ele"]], 22, ["<=", 2000, ["get", "ele"]], 21, 20]], "icon-image": ["step", ["zoom"], "", 10, "dot_dark_grey_4", 14, "dot_dark_grey_6", 18, "dot_dark_grey_8"], "text-field": ["format", ["get", "name:latin"], {}, "\n", {}, ["get", "ele"], {"font-scale": 0.75}], "visibility": "visible", "icon-anchor": "center", "icon-offset": [0, 0], "text-anchor": "bottom", "text-offset": [0, 0], "icon-padding": 0, "text-justify": "auto", "text-padding": 2, "icon-optional": false, "text-optional": false, "symbol-z-order": ["literal", "auto"], "text-max-width": 8, "symbol-placement": "point", "text-line-height": 1.15, "icon-allow-overlap": false, "text-allow-overlap": false, "text-radial-offset": 0.3, "text-letter-spacing": 0.025, "icon-pitch-alignment": "auto", "icon-ignore-placement": false, "text-ignore-placement": false, "icon-rotation-alignment": "auto"}, "paint": {"icon-color": "rgba(0, 0, 0, 1)", "text-color": "rgba(48, 48, 48, 1)", "icon-opacity": ["step", ["zoom"], 0, 8, ["match", ["get", "class"], "alpine_peak", 1, 0], 11, ["match", ["get", "class"], ["alpine_peak", "main_peak"], 1, 0], 12, 1], "text-opacity": ["step", ["zoom"], 0, 8, ["match", ["get", "class"], "alpine_peak", 1, 0], 11, ["match", ["get", "class"], ["alpine_peak", "main_peak"], 1, 0], 12, 1], "icon-halo-blur": 0, "text-halo-blur": 1, "icon-halo-color": "rgba(255, 255, 255, 1)", "icon-halo-width": 0, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 12, 1.5, 18, 3]}, "filter": ["all", ["==", "rank", 3], ["!in", "class", "rocky_knoll", "saddle", "mountain_pass"]]}, {"id": "peaks_rank2", "type": "symbol", "source": "base_v1.0.0", "source-layer": "mountain_peak", "minzoom": 10.0, "maxzoom": 22.0, "layout": {"icon-size": 1, "text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["linear"], ["zoom"], 10, ["case", ["<=", 4000, ["get", "ele"]], 14, ["<=", 3000, ["get", "ele"]], 13, ["<=", 2000, ["get", "ele"]], 12, 11], 18, ["case", ["<=", 4000, ["get", "ele"]], 23, ["<=", 3000, ["get", "ele"]], 22, ["<=", 2000, ["get", "ele"]], 21, 20]], "icon-image": ["step", ["zoom"], "", 10, "dot_dark_grey_4", 14, "dot_dark_grey_6", 18, "dot_dark_grey_8"], "text-field": ["format", ["get", "name:latin"], {}, "\n", {}, ["get", "ele"], {"font-scale": 0.75}], "visibility": "visible", "icon-anchor": "center", "icon-offset": [0, 0], "text-anchor": "bottom", "text-offset": [0, 0], "icon-padding": 0, "text-justify": "auto", "text-padding": 2, "icon-optional": false, "text-optional": false, "symbol-z-order": ["literal", "auto"], "text-max-width": 8, "symbol-placement": "point", "text-line-height": 1.15, "icon-allow-overlap": false, "text-allow-overlap": false, "text-radial-offset": 0.3, "text-letter-spacing": 0.025, "icon-pitch-alignment": "auto", "icon-ignore-placement": false, "text-ignore-placement": false, "icon-rotation-alignment": "auto"}, "paint": {"icon-color": "rgba(0, 0, 0, 1)", "text-color": "rgba(48, 48, 48, 1)", "icon-opacity": ["step", ["zoom"], 0, 8, ["match", ["get", "class"], "alpine_peak", 1, 0], 11, ["match", ["get", "class"], ["alpine_peak", "main_peak"], 1, 0], 12, 1], "text-opacity": ["step", ["zoom"], 0, 8, ["match", ["get", "class"], "alpine_peak", 1, 0], 11, ["match", ["get", "class"], ["alpine_peak", "main_peak"], 1, 0], 12, 1], "icon-halo-blur": 0, "text-halo-blur": 1, "icon-halo-color": "rgba(255, 255, 255, 1)", "icon-halo-width": 0, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 12, 1.5, 18, 3]}, "filter": ["all", ["==", "rank", 2], ["!in", "class", "rocky_knoll", "saddle", "mountain_pass"]]}, {"id": "place_other", "type": "symbol", "source": "base_v1.0.0", "source-layer": "place", "minzoom": 14.0, "maxzoom": 22.0, "layout": {"icon-size": 1, "text-font": ["Frutiger Neue Condensed Medium"], "text-size": ["interpolate", ["cubic-bezier", 0.5, 0.1, 0.7, 1], ["zoom"], 4, ["case", ["<=", 5000, ["get", "population"]], 8, ["<=", 2000, ["get", "population"]], 6, 4], 16, ["case", ["<=", 5000, ["get", "population"]], 22, ["<=", 2000, ["get", "population"]], 20, 18]], "text-field": ["get", "name:latin"], "visibility": "visible", "text-anchor": "center", "text-offset": ["literal", [0.3, 0.2]], "text-justify": "auto", "text-padding": 20, "icon-optional": false, "symbol-z-order": ["literal", "auto"], "text-max-width": 10, "text-transform": "none", "symbol-sort-key": ["to-number", ["get", "rank"]], "text-letter-spacing": 0.025}, "paint": {"text-color": "rgba(64, 64, 64, 1)", "icon-opacity": ["step", ["zoom"], 0, 11, ["case", [">", 18, ["get", "rank"]], 1, 0], 13, 1, 14, 0], "text-opacity": 1, "text-halo-blur": 1, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": ["interpolate", ["cubic-bezier", 0, 0.75, 0.25, 1], ["zoom"], 12, 1, 16, 2]}, "filter": ["all", ["!in", "class", "continent", "country", "state", "city", "town", "village", "hamlet", "isolated_dwelling"]]}, {"id": "poi_rank1", "type": "symbol", "source": "base_v1.0.0", "source-layer": "poi", "minzoom": 14.0, "layout": {"icon-size": 1, "text-font": ["Frutiger Neue Condensed Regular"], "text-size": ["interpolate", ["linear"], ["zoom"], 13, 13, 18, 20], "icon-image": ["match", ["get", "subclass"], "railway_station", "square_red", "castle", "castle_grey", ""], "text-field": ["get", "name:latin"], "visibility": "visible", "text-anchor": ["match", ["get", "subclass"], ["castle"], "left", "railway_station", "bottom-left", "center"], "text-offset": ["match", ["get", "subclass"], "railway_station", ["literal", [0.5, 0.15]], ["literal", [0.8, 0.15]]], "text-justify": "left", "text-padding": 10, "text-optional": false, "text-max-width": 10, "symbol-avoid-edges": true}, "paint": {"text-color": ["match", ["get", "subclass"], "railway_station", "rgba(255, 50, 50, 1)", "rgba(48, 48, 48, 1)"], "text-opacity": 1, "text-halo-blur": 1, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 14, 1, 17, 2]}, "filter": ["all", ["in", "subclass", "castle", "railway_station"], ["in", "class", "castle", "railway"]]}, {"id": "place_hamlet_isolated_dwelling", "type": "symbol", "source": "base_v1.0.0", "source-layer": "place", "minzoom": 12.0, "maxzoom": 22.0, "layout": {"icon-size": 1, "text-font": ["Frutiger Neue Condensed Medium"], "text-size": ["interpolate", ["cubic-bezier", 0.5, 0.1, 0.7, 1], ["zoom"], 4, ["case", ["<=", 50, ["get", "population"]], 6, 4], 16, ["case", ["<=", 50, ["get", "population"]], 20, 18]], "icon-image": ["step", ["zoom"], "circle_dark_grey_4", 12, "circle_dark_grey_6"], "text-field": ["get", "name:latin"], "visibility": "visible", "text-anchor": ["literal", "bottom-left"], "text-offset": ["literal", [0.3, 0.2]], "text-justify": "auto", "text-padding": ["interpolate", ["linear"], ["zoom"], 10, 2, 13, 2, 14, 0], "icon-optional": false, "symbol-z-order": ["literal", "auto"], "text-max-width": 10, "text-transform": "none", "symbol-sort-key": ["to-number", ["get", "rank"]], "text-letter-spacing": 0.025}, "paint": {"text-color": "rgba(64, 64, 64, 1)", "icon-opacity": ["step", ["zoom"], 0, 11, ["case", [">", 30, ["get", "rank"]], 1, 0], 13, ["case", [">", 31, ["get", "rank"]], 1, 0], 14, 0], "text-opacity": ["step", ["zoom"], 0, 11, ["case", [">", 30, ["get", "rank"]], 1, 0], 13, ["case", [">", 31, ["get", "rank"]], 1, 0], 14, 1], "text-halo-blur": 1, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": ["interpolate", ["cubic-bezier", 0, 0.75, 0.25, 1], ["zoom"], 12, 1, 16, 2]}, "filter": ["all", ["in", "class", "hamlet", "isolated_dwelling"]]}, {"id": "place_country_exclave", "type": "symbol", "source": "base_v1.0.0", "source-layer": "place", "minzoom": 11.0, "maxzoom": 22.0, "layout": {"text-font": ["Frutiger Neue Condensed Regular"], "text-size": ["interpolate", ["linear"], ["zoom"], 1, 11, 7, 14, 11, 16, 18, 24], "text-field": "{name:latin}", "visibility": "visible", "text-max-width": 10, "text-transform": "uppercase", "text-letter-spacing": 0.12}, "paint": {"text-color": "rgba(145, 70, 145, 0.9)", "text-opacity": 1, "text-halo-blur": 1, "text-halo-color": "rgba(255, 255, 255, 0.8)", "text-halo-width": 1}, "filter": ["all", ["in", "class", "country"], ["in", "iso_a2", "DE", "IT"]]}, {"id": "place_village", "type": "symbol", "source": "base_v1.0.0", "source-layer": "place", "minzoom": 7.0, "maxzoom": 18.0, "layout": {"icon-size": 1, "text-font": ["Frutiger Neue Condensed Medium"], "text-size": ["interpolate", ["cubic-bezier", 0.5, 0.1, 0.7, 1], ["zoom"], 4, 11, 10, ["case", ["<=", 3000, ["get", "population"]], 16, 14], 16, ["case", ["<=", 3000, ["get", "population"]], 28, 24]], "icon-image": ["step", ["zoom"], "circle_dark_grey_4", 6, "circle_dark_grey_4", 8, "circle_dark_grey_6", 10, "circle_dark_grey_8", 12, "circle_dark_grey_10"], "text-field": ["get", "name:latin"], "visibility": "visible", "text-anchor": ["literal", "bottom-left"], "text-offset": ["literal", [0.4, 0.2]], "text-justify": "auto", "text-padding": 10, "icon-optional": false, "text-optional": false, "symbol-z-order": ["literal", "auto"], "text-max-width": 10, "text-transform": "none", "symbol-sort-key": ["to-number", ["get", "rank"]], "text-letter-spacing": 0.025}, "paint": {"text-color": "rgba(64, 64, 64, 1)", "icon-opacity": ["step", ["zoom"], 0, 7, ["match", ["get", "capital"], [2, 4], 1, 0], 8, ["case", [">", 14, ["get", "rank"]], 1, 0], 9, ["case", [">", 15, ["get", "rank"]], 1, 0], 10, ["case", [">", 18, ["get", "rank"]], 1, 0], 11, ["case", [">", 28, ["get", "rank"]], 1, 0], 12, 1, 13, 0], "text-opacity": ["step", ["zoom"], 0, 7, ["match", ["get", "capital"], [2, 4], 1, 0], 8, ["case", [">", 14, ["get", "rank"]], 1, 0], 9, ["case", [">", 15, ["get", "rank"]], 1, 0], 10, ["case", [">", 18, ["get", "rank"]], 1, 0], 11, ["case", [">", 28, ["get", "rank"]], 1, 0], 12, 1], "text-halo-blur": 1, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": ["interpolate", ["cubic-bezier", 0, 0.75, 0.25, 1], ["zoom"], 12, 1, 16, 2]}, "filter": ["all", ["==", "class", "village"]]}, {"id": "aerodrome_label", "type": "symbol", "source": "base_v1.0.0", "source-layer": "aerodrome_label", "minzoom": 11.0, "layout": {"icon-size": ["interpolate", ["linear"], ["zoom"], 11, 0.7, 14, 1], "text-font": ["Frutiger Neue Condensed Regular"], "text-size": ["interpolate", ["linear"], ["zoom"], 11, ["match", ["get", "class"], "international", 16, "regional", 16, 12], 14, ["match", ["get", "class"], "international", 20, "regional", 18, 16]], "icon-image": ["match", ["get", "class"], "international", "airplane_large_grey", "regional", "airplane_medium_grey", "other", "airplane_small_grey", "helipad", "helicopter_grey", ""], "text-field": ["get", "name:latin"], "visibility": "visible", "icon-anchor": "center", "text-anchor": "left", "text-offset": ["match", ["get", "class"], "helipad", ["literal", [0.9, 0.2]], ["literal", [0.9, 0]]], "text-justify": "center", "text-padding": 2, "text-transform": "none"}, "paint": {"text-color": "rgba(64, 64, 64, 1)", "icon-opacity": ["step", ["zoom"], 0, 11, ["match", ["get", "class"], ["international", "regional"], 1, 0], 12, 1], "text-opacity": ["step", ["zoom"], 0, 11, ["match", ["get", "class"], ["international", "regional"], 1, 0], 12, 1], "text-halo-blur": 1, "text-halo-color": "rgba(242, 242, 242, 0.8)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 14, 1, 17, 2]}, "filter": ["all", ["!=", "class", "helipad"]]}, {"id": "peaks_rank1", "type": "symbol", "source": "base_v1.0.0", "source-layer": "mountain_peak", "minzoom": 9.0, "maxzoom": 22.0, "layout": {"icon-size": 1, "text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["linear"], ["zoom"], 10, ["case", ["<=", 4000, ["get", "ele"]], 14, ["<=", 3000, ["get", "ele"]], 13, ["<=", 2000, ["get", "ele"]], 12, 11], 18, ["case", ["<=", 4000, ["get", "ele"]], 23, ["<=", 3000, ["get", "ele"]], 22, ["<=", 2000, ["get", "ele"]], 21, 20]], "icon-image": ["step", ["zoom"], "dot_dark_grey_4", 14, "dot_dark_grey_6", 18, "dot_dark_grey_8"], "text-field": ["format", ["get", "name:latin"], {}, "\n", {}, ["get", "ele"], {"font-scale": 0.75}], "visibility": "visible", "icon-anchor": "center", "icon-offset": [0, 0], "text-anchor": "bottom", "icon-padding": 2, "text-justify": "auto", "text-padding": 10, "icon-optional": false, "text-optional": false, "symbol-z-order": ["literal", "auto"], "text-max-width": 8, "symbol-placement": "point", "text-line-height": 1.15, "icon-allow-overlap": false, "text-allow-overlap": false, "text-radial-offset": 0.3, "text-letter-spacing": 0.025, "icon-pitch-alignment": "auto", "icon-ignore-placement": false, "text-ignore-placement": false, "icon-rotation-alignment": "auto"}, "paint": {"icon-color": "rgba(0, 0, 0, 1)", "text-color": "rgba(48, 48, 48, 1)", "icon-opacity": ["step", ["zoom"], 0, 9, ["case", ["<=", 3200, ["get", "ele"]], 1, 0], 10, 1], "text-opacity": ["step", ["zoom"], 0, 9, ["case", ["<=", 3200, ["get", "ele"]], 1, 0], 10, 1], "icon-halo-blur": 0, "text-halo-blur": 1, "icon-halo-color": "rgba(255, 255, 255, 1)", "icon-halo-width": 0, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": ["interpolate", ["linear"], ["zoom"], 10, 1.5, 18, 3]}, "filter": ["all", ["==", "rank", 1], ["!in", "class", "rocky_knoll", "saddle", "mountain_pass"]]}, {"id": "place_town", "type": "symbol", "source": "base_v1.0.0", "source-layer": "place", "minzoom": 6.0, "maxzoom": 16.0, "layout": {"icon-size": 1, "text-font": ["Frutiger Neue Condensed Bold"], "text-size": ["interpolate", ["cubic-bezier", 0.5, 0.1, 0.7, 1], ["zoom"], 4, 11, 16, ["case", ["<=", 30000, ["get", "population"]], 32, 28]], "icon-image": ["step", ["zoom"], "circle_dark_grey_4", 6, "circle_dark_grey_6", 8, "circle_dark_grey_8", 10, "circle_dark_grey_10", 12, "circle_dark_grey_12"], "text-field": ["get", "name:latin"], "visibility": "visible", "text-anchor": ["literal", "bottom-left"], "text-offset": ["literal", [0.35, 0.1]], "text-justify": "auto", "text-padding": 10, "icon-optional": false, "symbol-z-order": ["literal", "auto"], "text-max-width": 10, "text-transform": "uppercase", "symbol-sort-key": ["to-number", ["get", "rank"]], "symbol-placement": "point", "text-letter-spacing": 0.025}, "paint": {"text-color": "rgba(64, 64, 64, 1)", "icon-opacity": ["step", ["zoom"], 0, 6, ["case", [">", 10, ["get", "rank"]], 1, ["match", ["get", "capital"], [2, 4], 1, 0]], 8, 1, 12, 0], "text-opacity": ["step", ["zoom"], 0, 6, ["case", [">", 10, ["get", "rank"]], 1, ["match", ["get", "capital"], [2, 4], 1, 0]], 8, 1], "text-halo-blur": 1, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": ["interpolate", ["cubic-bezier", 0, 0.75, 0.25, 1], ["zoom"], 12, 1, 16, 3]}, "filter": ["all", ["==", "class", "town"]]}, {"id": "water_name_point_label", "type": "symbol", "source": "base_v1.0.0", "source-layer": "water_name", "minzoom": 7.0, "maxzoom": 22.0, "layout": {"text-font": ["Frutiger Neue Italic"], "text-size": ["interpolate", ["linear"], ["zoom"], 8, ["match", ["get", "size"], [10, 9], 12, [8, 7], 10, 10], 10, ["match", ["get", "size"], [10, 9], 22, [8, 7, 6], 18, [5, 4], 16, [3], 14, [2], 12, [1], 10, 10], 12, ["match", ["get", "size"], [10, 9], 24, [8, 7], 22, [6, 5, 4, 3], 20, [2], 16, [1], 12, 12], 14, ["match", ["get", "size"], [10, 9], 28, [8, 7], 26, [6, 5, 4, 3], 24, [2], 22, [1], 14, 12], 15, ["match", ["get", "size"], [10, 9], 30, [8, 7], 28, [6, 5, 4, 3], 26, [2], 24, [1], 18, 18]], "text-field": "{name:latin}", "visibility": "visible", "text-rotate": ["get", "direction"], "text-padding": 2, "symbol-spacing": 250, "symbol-z-order": "auto", "text-max-width": 20, "symbol-placement": "point", "text-keep-upright": true, "text-allow-overlap": false, "text-letter-spacing": ["interpolate", ["linear"], ["zoom"], 7, ["match", ["get", "size"], [10, 9, 8], 0.1, [7, 6], 0.04, [5, 4, 3], 0.02, [2], 0.01, 0.05], 16, ["match", ["get", "size"], [10, 9, 8], 0.7, [7, 6], 0.5, [5, 4, 3], 0.3, [2], 0.2, 0.1]], "text-pitch-alignment": "map", "text-ignore-placement": false, "text-rotation-alignment": "viewport"}, "paint": {"text-color": "rgba(20, 136, 205, 1)", "text-opacity": ["step", ["zoom"], 0, 7, ["match", ["get", "size"], [10, 9, 8], 1, 0], 8, ["match", ["get", "size"], [10, 9, 8, 7, 6], 1, 0], 9, ["match", ["get", "size"], [10, 9, 8, 7, 6, 4, 3], 1, 0], 10, ["match", ["get", "size"], [10, 9, 8, 7, 6, 5, 4, 3, 2], 1, 0], 12, ["match", ["get", "size"], [10, 9, 8, 7, 6, 5, 4, 3, 2, 1], 1, 1]], "text-halo-blur": 0.25, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": 1}, "filter": ["all", ["==", "$type", "Point"], ["==", "class", "lake"]]}, {"id": "park_label", "type": "symbol", "source": "base_v1.0.0", "source-layer": "park", "minzoom": 8.0, "layout": {"text-font": ["Frutiger Neue Regular"], "text-size": ["interpolate", ["cubic-bezier", 0.5, 0.1, 0.7, 1], ["zoom"], 8, 14, 16, 28], "text-field": "{name:latin}", "visibility": "visible", "text-padding": ["interpolate", ["linear"], ["zoom"], 10, 2, 14, 10], "symbol-z-order": ["literal", "auto"]}, "paint": {"text-color": "rgba(70, 130, 25, 0.9)", "text-halo-blur": 1, "text-halo-color": "rgba(255, 255, 255, 0.8)", "text-halo-width": 1}, "filter": ["all", ["in", "class", "national_park"], ["==", "$type", "Point"]]}, {"id": "area_name_massif_label", "type": "symbol", "source": "base_v1.0.0", "source-layer": "area_name", "minzoom": 11.0, "layout": {"text-font": ["Frutiger Neue Regular"], "text-size": ["interpolate", ["linear"], ["zoom"], 10, 14, 16, 23], "text-field": "{name:latin}", "visibility": "visible", "symbol-spacing": {"stops": [[12, 250], [14, 550]]}, "symbol-z-order": "auto", "text-max-width": 99999, "symbol-placement": "point", "text-keep-upright": true, "symbol-avoid-edges": true, "text-allow-overlap": false, "text-letter-spacing": 0.07, "text-pitch-alignment": "viewport", "text-ignore-placement": false, "text-rotation-alignment": "viewport"}, "paint": {"text-color": "rgba(48, 48, 48, 1)", "text-halo-blur": 1, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": 1}, "filter": ["all", ["==", "$type", "Point"], ["in", "subclass", "massif"]]}, {"id": "place_city", "type": "symbol", "source": "base_v1.0.0", "source-layer": "place", "minzoom": 2.0, "maxzoom": 14.0, "layout": {"icon-size": 1, "text-font": ["Frutiger Neue Condensed Bold"], "text-size": ["interpolate", ["cubic-bezier", 0.5, 0.1, 0.7, 1], ["zoom"], 1, 11, 4, 12, 16, 48], "icon-image": ["step", ["zoom"], "dot_circle_dark_grey_6", 6, "dot_circle_dark_grey_8", 8, "circle_circle_dark_grey_10", 10, "circle_circle_dark_grey_12", 12, "circle_circle_dark_grey_12"], "text-field": ["get", "name:latin"], "visibility": "visible", "text-anchor": "bottom-left", "text-offset": ["literal", [0.35, 0.1]], "text-justify": "auto", "text-padding": 10, "icon-optional": false, "symbol-z-order": ["literal", "auto"], "text-max-width": 10, "text-transform": "uppercase", "symbol-sort-key": ["to-number", ["get", "rank"]], "text-letter-spacing": 0.025}, "paint": {"text-color": "rgba(64, 64, 64, 1)", "icon-opacity": ["step", ["zoom"], 1, 11, 0], "text-opacity": 1, "text-halo-blur": 1, "text-halo-color": "rgba(242, 242, 242, 0.6)", "text-halo-width": ["interpolate", ["cubic-bezier", 0, 0.75, 0.25, 1], ["zoom"], 12, 1, 16, 3]}, "filter": ["all", ["==", "class", "city"]]}, {"id": "place_country_LI", "type": "symbol", "source": "base_v1.0.0", "source-layer": "place", "minzoom": 0.0, "maxzoom": 7.0, "layout": {"text-font": ["Frutiger Neue Condensed Regular"], "text-size": ["interpolate", ["linear"], ["zoom"], 1, 12, 6, 16], "text-field": "{name:latin}", "visibility": "visible", "text-max-width": 10, "text-transform": "uppercase", "text-letter-spacing": 0.12}, "paint": {"text-color": "rgba(145, 70, 145, 0.9)", "text-opacity": ["interpolate", ["linear"], ["zoom"], 6, 1, 7, 0], "text-halo-blur": 1, "text-halo-color": "rgba(255, 255, 255, 0.8)", "text-halo-width": 1}, "filter": ["all", ["in", "class", "country"], ["in", "iso_a2", "LI"]]}, {"id": "place_country_CH", "type": "symbol", "source": "base_v1.0.0", "source-layer": "place", "minzoom": 0.0, "maxzoom": 7.0, "layout": {"text-font": ["Frutiger Neue Condensed Regular"], "text-size": ["interpolate", ["linear"], ["zoom"], 1, 12, 6, 16], "text-field": "{name:latin}", "visibility": "visible", "text-max-width": 10, "text-transform": "uppercase", "text-letter-spacing": 0.12}, "paint": {"text-color": "rgba(145, 70, 145, 0.9)", "text-opacity": ["interpolate", ["linear"], ["zoom"], 6, 1, 7, 0], "text-halo-blur": 1, "text-halo-color": "rgba(255, 255, 255, 0.8)", "text-halo-width": 1}, "filter": ["all", ["in", "class", "country"], ["in", "iso_a2", "CH"]]}], "metadata": {"maptiler:template": {"groups": [{"id": "4rZcx2YUdbGIJ_xQaDQb6", "icon": "variant2", "name": "label", "layers": ["place_country_CH", "place_country_LI", "place_city", "area_name_massif_label", "park_label", "water_name_point_label", "place_town", "place_village", "place_country_exclave", "place_hamlet_isolated_dwelling", "place_other", "area_name_glacier_line_label", "area_name_glacier_point_label"]}, {"id": "spbW1YO3D6JmGqVeeVEo3", "icon": "poi", "name": "poi", "layers": ["poi_rank1", "poi_rank2", "poi_rank3"]}, {"id": "Egb2j0u2wyQyI8FftRcqF", "icon": "terrain", "name": "mountain_peak", "layers": ["peaks_rank1", "peaks_rank2", "peaks_rank3", "peaks_rank4", "peaks_rank5", "peaks_other"]}, {"id": "o-n3H-7f0sOIKwDFxFRaG", "icon": "builtUp", "name": "infrastructure", "layers": ["building_2d_casing", "building_2d", "building_ln", "construct", "construct_line"]}, {"id": "_olyvAt6o8QUN9qePUZap", "icon": "transport", "name": "transportation", "layers": ["road_number", "transportation_label", "aerialway", "bridge-l2_public_transport", "bridge-l2_road_path_footway", "bridge-l2_road_track", "bridge-l2_fill", "bridge-l2_road_casing", "bridge-l1_public_transport", "bridge-l1_road_path_footway", "bridge-l1_road_track", "bridge-l1_fill", "bridge-l1_road_casing", "public_transport", "ferry", "car_ferry", "road_fill", "road_casing", "road_path_footway", "road_via_ferrata_trail", "tunnel_road", "tunnel_road_path_footway", "tunnel_public_transport", "aerodrome_label", "aeroway_polygon_fill", "aeroway_line_fill", "aeroway_polygon_casing", "aeroway_line_casing", "landuse_parking", "landuse_parking_outline"]}, {"id": "z959Ue-RzB_dh5_EJgGry", "icon": "administrative", "name": "boundary", "layers": ["boundary", "boundary_disputed", "park"]}, {"id": "jQ4N1YUSpDNjoXrIHGNpp", "icon": "water", "name": "water", "layers": ["waterway_line_label", "lake_elevation", "water_outline", "water_line_intermittent", "water_polygon", "contour_line_water", "water_line"]}, {"id": "QZWB1txCT3r3H5wy13N86", "icon": "nature", "name": "land", "layers": ["pattern_landcover_orchard", "pattern_landcover_wetlands", "pattern_landcover_vineyard", "landcover", "landcover_casing", "landuse_outline", "landuse"]}, {"id": "terrain", "icon": "terrain", "name": "terrain", "layers": ["hillshade_grey", "hillshade_yellow", "sinkhole", "label_contour_line_100_brown", "label_contour_line_100_blue", "label_contour_line_100_grey", "label_contour_line_20_brown", "label_contour_line_20_blue", "label_contour_line_20_grey", "hachure", "scree_z11", "scree_z13", "scree_z15", "scree_z17", "spot_elevation", "contour_line"]}, {"id": "background", "icon": "background", "name": "Background", "layers": ["background"]}], "viewState": {"mapType": "Style", "activeBlock": null, "toolPanelType": "Layers", "selectedLayers": ["tunnel_road"], "propertyPanelType": "Edit", "editorFocusProperty": null, "layersViewPanelType": "Verticality"}, "userSettings": {"preferredViewPanelType": "Verticality"}}, "ga:version": "v1.17.0", "ga:publisher": "CI:597e6ccf-63c7-4a22-9279-940877bf6866", "ga:branch": "master"}, "glyphs": "https://vectortiles.geo.admin.ch/fonts/{fontstack}/{range}.pbf", "sprite": "https://vectortiles.geo.admin.ch/styles/ch.swisstopo.lightbasemap.vt/sprite/sprite", "bearing": 0.0, "pitch": 0.0, "center": [8.349961425056108, 46.81133904939108], "zoom": 7.2512975045452235, "transition": {}} diff --git a/tests/testdata/vector_tile/styles/style2.json b/tests/testdata/vector_tile/styles/style2.json new file mode 100644 index 000000000000..982ae8c3c419 --- /dev/null +++ b/tests/testdata/vector_tile/styles/style2.json @@ -0,0 +1,9506 @@ +{ + "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" + ] + } + }, + "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": "bati ZAI - Gris 14à18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zai", + "minzoom":13, + "maxzoom": 18, + "layout": { + "visibility": "visible" + }, + "filter": ["in","nature", + "Aérodrome", + "Aéroport" + ], + "paint": { + "fill-color": "#C8C8C8", + "fill-opacity": 0.3, + "fill-outline-color": "#787878" + } + }, + { + "id": "bati ZAI - Gris 16à18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zai", + "minzoom":15, + "maxzoom": 18, + "layout": { + "visibility": "visible" + }, + "filter": ["in","nature", + "Aire de repos ou de service", + "Aire d'accueil des gens du voyage", + "Parc des expositions", + "Déchèterie", + "Carrière", + "Divers commercial", + "Marché", + "Divers industriel", + "Zone industrielle", + "Usine", + "Station d'épuration" + ], + "paint": { + "fill-color": "#C8C8C8", + "fill-opacity": 0.3, + "fill-outline-color": "#787878" + } + }, + { + "id": "bati ZAI - Gris clair", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zai", + "minzoom":13, + "maxzoom": 18, + "layout": { + "visibility": "visible" + }, + "filter": ["==","nature","Parking"], + "paint": { + "fill-color": "#EBEBF5", + "fill-opacity": 0.3, + "fill-outline-color": "#AAAAAA" + } + }, + { + "id": "bati ZAI - Vert clair 14à18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zai", + "minzoom":13, + "maxzoom": 18, + "layout": { + "visibility": "visible" + }, + "filter": ["==","nature","Espace public Vert"], + "paint": { + "fill-color": "#C0EBD2", + "fill-opacity": 0.5, + "fill-outline-color": "#76D764" + } + }, + { + "id": "bati ZAI - Vert clair 16à18", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zai", + "minzoom":15, + "maxzoom": 18, + "layout": { + "visibility": "visible" + }, + "filter": ["in","nature", + "Aire de détente", + "Camping", + "Parc de loisirs", + "Parc zoologique" + ], + "paint": { + "fill-color": "#C0EBD2", + "fill-opacity": 0.5, + "fill-outline-color": "#76D764" + } + }, + { + "id": "bati ZAI - Beige", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zai", + "minzoom":15, + "maxzoom": 18, + "layout": { + "visibility": "visible" + }, + "filter": ["==","nature","Espace public Beige"], + "paint": { + "fill-color": "#FAE6A0", + "fill-opacity": 0.5, + "fill-outline-color": "#FAE6A0" + } + }, + { + "id": "bati ZAI - Vert foncé", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zai", + "minzoom":15, + "maxzoom": 18, + "layout": { + "visibility": "visible" + }, + "filter": ["in","nature", + "Golf", + "Hippodrome", + "Piscine", + "Sports mécaniques", + "Equipement de cyclisme", + "Autre équipement sportif", + "Centre équestre", + "Haras", + "Stade" + ], + "paint": { + "fill-color": "#99C12B", + "fill-opacity": 0.3, + "fill-outline-color": "#99C12B" + } + }, + { + "id": "bati ZAI - Marron", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zai", + "minzoom":15, + "maxzoom": 18, + "layout": { + "visibility": "visible" + }, + "filter": ["in","nature", + "Construction", + "Vestige archéologique" + ], + "paint": { + "fill-color": "#99642B", + "fill-opacity": 0.3, + "fill-outline-color": "#99642B" + } + }, + { + "id": "bati ZAI - Gris Bleu Elec", + "type": "fill", + "source": "plan_ign", + "source-layer": "bati_zai", + "minzoom":15, + "maxzoom": 18, + "layout": { + "visibility": "visible" + }, + "filter": ["==","nature","Centrale électrique"], + "paint": { + "fill-color": "#7993B6", + "fill-opacity": 0.3, + "fill-outline-color": "#7993B6" + } + }, + { + "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": "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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 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_REVETUE_CARRO_RESTREINT_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 - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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 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_REVETUE_CARRO_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 revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sou", + "maxzoom": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": "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": "#F1F5E7", + "fill-outline-color": "#F1F5E7" + } + }, + { + "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, + "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", + "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", + "Centre de documentation", + "Salle de spectacle ou conférence", + "Ecomusée" + ], + "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"]]}, + "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-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"]]}, + "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-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-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 restreint", + "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_RESTREINT"], + "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 extérieur - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "maxzoom": 19, + "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 extérieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 12, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "BRET_AUTO_PEAGE_3", + "BRET_AUTO_PEAGE_2", + "BRET_AUTO_PEAGE_1", + "BRET_AUTO_LIBRE_3", + "BRET_AUTO_LIBRE_2", + "BRET_AUTO_LIBRE_1" + ], + "paint": { + "line-color": {"stops": [[9, "#DE460E"], [17, "#F18800"]]}, + "line-width": { + "stops": [[12, 2.5], [14, 3.7], [15, 6.8], [16, 8.4], [17, 14]] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - route non classee restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","NON_CLASSEE_RESTREINT"], + "paint": { + "line-color": {"stops": [[17, "#969696"]]}, + "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-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-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": 19, + "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"]] + }, + "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": 19, + "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"]]}, + "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": 19, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","PRINCIPALE_CONSTR"], + "paint": { + "line-color": "#C8C8C8", + "line-width": { + "stops": [[6, 1.8], [9, 2.7], [14, 5.9], [15, 9], [16, 12.2], [17, 22.5]] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "AUTOROU_PEAGE", + "AUTOROU_LIBRE" + ], + "paint": { + "line-color": {"stops": [[9, "#DE460E"], [17, "#F18800"]]}, + "line-width": { + "stops": [[6, 2.5], [9, 3.5], [14, 7.5], [15, 11], [16, 15], [17, 26]] + } + } + }, + { + "id": "Routier a niveau - filet extérieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "maxzoom": 19, + "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 - route non revetu carrosable restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["==","symbo","NON_REVETUE_CARRO_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 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]] + } + } + }, + { + "id": "Routier a niveau - filet interieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 12, + "maxzoom": 19, + "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": 19, + "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": 19, + "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": 19, + "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"]] + }, + "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": 19, + "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"]] + }, + "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": 19, + "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"]]}, + "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": 19, + "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": 19, + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "filter": ["in","symbo", + "AUTOROU_PEAGE", + "AUTOROU_LIBRE" + ], + "paint": { + "line-color": "#FFFFFF", + "line-width": { + "stops": [[9, 0.6], [14, 0.7], [15, 1], [16, 1.2], [17, 2.1]] + } + } + }, + { + "id": "Routier a niveau - filet interieur - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 8, + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","AUTOROU_CONSTR"], + "paint": { + "line-color": {"stops": [[9, "#F18800"], [17, "#F2B230"]]}, + "line-width": { + "stops": [[4, 0.7], [6, 2.5], [9, 3.5], [14, 7.5], [15, 11], [16, 15], [17, 26]] + }, + "line-dasharray": [2,2] + } + }, + { + "id": "Routier a niveau - axe centrale - autoroute en construction", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route", + "minzoom": 13, + "maxzoom": 19, + "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", + "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"]]}, + "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-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"]]}, + "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-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-width": { + "stops": [[14, 1], [15, 1.2], [16, 1.4], [17, 2], [18, 7]] + } + } + }, + { + "id": "Routier superieur - filet extérieur - route non revetu carrosable 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_REVETUE_CARRO_RESTREINT_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 - route non revetu carrosable", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "maxzoom": 19, + "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"]]}, + "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-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-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-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": 19, + "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"]] + }, + "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": 19, + "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"]]}, + "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": 19, + "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"]]}, + "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": 19, + "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 restreint", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "filter": ["==","symbo","NON_REVETUE_CARRO_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 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]] + } + } + }, + { + "id": "Routier superieur - filet interieur - bretelle autoroute", + "type": "line", + "source": "plan_ign", + "source-layer": "routier_route_sup", + "minzoom": 12, + "maxzoom": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": 19, + "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": "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": "#4E4E4E" + } + }, + { + "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 religieux ge zoom 18 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom":17, + "filter": ["==","txt_typo","religieux_ge"], + "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 parc d'attractions ge zoom 18 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom":17, + "filter": ["all", + ["==","txt_typo","divers_bati_ge"], + ["==","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 Hippodrome ge zoom 15 a 17", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom":14, + "maxzoom":17, + "filter": ["all", + ["==","txt_typo","divers_bati_ge"], + ["==","symbo","HIPPODROME"] + ], + "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 ge zoom 18 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom":17, + "filter": ["all", + ["==","txt_typo","divers_bati_ge"], + ["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 chateau ge zoom 16 a 17", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom":15, + "maxzoom":17, + "filter": ["all", + ["==","txt_typo","divers_bati_ge"], + ["==","symbo","CHATEAU"] + ], + "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 ge zoom 18 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom":17, + "filter": ["all", + ["==","txt_typo","divers_bati_ge"], + ["==","symbo","CHATEAU"] + ], + "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 a 19", + "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 bati ponc zai_15 zoom 15", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom":14, + "maxzoom":15, + "filter": ["==","txt_typo","zai_15"], + "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_15 zoom 16 a 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom":15, + "filter": ["==","txt_typo","zai_15"], + "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 ponc zai zoom 16 vert", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom":15, + "maxzoom":16, + "filter": ["==","txt_typo","zai_vert"], + "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": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme bati ponc zai zoom 17 a 19 vert", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom":16, + "filter": ["==","txt_typo","zai_vert"], + "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": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme bati ponc zai zoom 17 a 19 beige", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom":16, + "filter": ["==","txt_typo","zai_beige"], + "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": "#686042", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme bati ponc monuments zoom 15 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom":14, + "filter": ["all", + ["==","txt_typo","divers_bati"], + ["==","symbo","MONUMENT"] + ], + "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 bati ponc monuments ge zoom 18 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom":17, + "filter": ["all", + ["==","txt_typo","divers_bati_ge"], + ["==","symbo","MONUMENT"] + ], + "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 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/tests/testdata/vector_tile/styles/terrain_v1.0.0.json b/tests/testdata/vector_tile/styles/terrain_v1.0.0.json new file mode 100644 index 000000000000..91cfce5855a7 --- /dev/null +++ b/tests/testdata/vector_tile/styles/terrain_v1.0.0.json @@ -0,0 +1,59 @@ +{ + "basename": "tiles/ch.swisstopo.relief.vt/v1.0.0", + "name": "Terrain_v1.0.0", + "description": "A tileset showcasing swisstopo terrain layers.", + "attribution": "© swisstopo", + "version": "v1.0.0", + "format": "pbf", + "minzoom": 0, + "maxzoom": 14, + "scale": 1, + "vector_layers": [ + { + "id": "hachure", + "description": "hachure depicts rock structures or glacier cracks in mountaineous areas.", + "minzoom": 0, + "maxzoom": 14, + "fields": {} + }, + { + "id": "hillshade", + "description": "Hillshade is used for terrain shading and highlighting.", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "mask": "String" + } + }, + { + "id": "scree", + "description": "Can be used to draw scree patterns", + "minzoom": 0, + "maxzoom": 14, + "fields": { + "weight": "Number" + } + } + ], + "profile": "mercator", + "scheme": "xyz", + "bounds": [ + 3.57, + 44.18, + 13.66, + 48.88 + ], + "center": [ + 8.6, + 46.5, + 7 + ], + "tilejson": "2.0.0", + "tiles": [ + "https://vectortiles0.geo.admin.ch/tiles/ch.swisstopo.relief.vt/v1.0.0/{z}/{x}/{y}.pbf", + "https://vectortiles1.geo.admin.ch/tiles/ch.swisstopo.relief.vt/v1.0.0/{z}/{x}/{y}.pbf", + "https://vectortiles2.geo.admin.ch/tiles/ch.swisstopo.relief.vt/v1.0.0/{z}/{x}/{y}.pbf", + "https://vectortiles3.geo.admin.ch/tiles/ch.swisstopo.relief.vt/v1.0.0/{z}/{x}/{y}.pbf", + "https://vectortiles4.geo.admin.ch/tiles/ch.swisstopo.relief.vt/v1.0.0/{z}/{x}/{y}.pbf" + ] +}