You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When importing a Vector Tile Layer, the resulting sub layer style visibility / enabled parameters do not match the visibility from the style.
Steps to reproduce the issue
Below is an example of an ArcGIS Vector Tile Service Connection to a vector tile with a style URL to a JSON that has been re-styled as a Text Only version. When it's pulled into QGIS, everything is still visible, including Geometries which are turned off in the style.
QGIS version
3.34.4-Prizren
QGIS code revision decd43d
Qt version
5.15.3
Python version
3.9.18
GDAL/OGR version
3.8.4
PROJ version
9.3.1
EPSG Registry database version
v10.098 (2023-11-24)
GEOS version
3.12.1-CAPI-1.18.1
SQLite version
3.41.1
PDAL version
2.6.0
PostgreSQL client version
16.1
SpatiaLite version
5.1.0
QWT version
6.1.6
QScintilla2 version
2.13.4
OS version
Windows 10 Version 2009
For every layer in the vector tile style, there may or may not be a "layout" key in the layer, the visibility parameter would be found there. If it's not there, then the default is that it is visible. Allowed values are "none" and "visible", where none is not shown and visible is shown. Example from here:
What is the bug or the crash?
When importing a Vector Tile Layer, the resulting sub layer style visibility / enabled parameters do not match the visibility from the style.
Steps to reproduce the issue
Below is an example of an ArcGIS Vector Tile Service Connection to a vector tile with a style URL to a JSON that has been re-styled as a Text Only version. When it's pulled into QGIS, everything is still visible, including Geometries which are turned off in the style.
-- Example --
Service URL: https://tiles.arcgis.com/tiles/HsjBaDykC1mjhXz9/arcgis/rest/services/CBMT_CBCT_3857_V_OSM/VectorTileServer
Min and Max zoom unchecked
Style URL: https://arcgis.com/sharing/rest/content/items/50cb5f2dfaaf4ccb88f37be2d8e5661e/resources/styles/root.json
Versions
QGIS version
3.34.4-Prizren
QGIS code revision
decd43d
Qt version
5.15.3
Python version
3.9.18
GDAL/OGR version
3.8.4
PROJ version
9.3.1
EPSG Registry database version
v10.098 (2023-11-24)
GEOS version
3.12.1-CAPI-1.18.1
SQLite version
3.41.1
PDAL version
2.6.0
PostgreSQL client version
16.1
SpatiaLite version
5.1.0
QWT version
6.1.6
QScintilla2 version
2.13.4
OS version
Windows 10 Version 2009
Active Python plugins
qlyrx
0.3.3
db_manager
0.1.20
MetaSearch
0.3.6
processing
2.12.99
Supported QGIS version
New profile
Additional context
For every layer in the vector tile style, there may or may not be a "layout" key in the layer, the visibility parameter would be found there. If it's not there, then the default is that it is visible. Allowed values are "none" and "visible", where none is not shown and visible is shown. Example from here:
{
"id": "World/Land/(1-7)/Polygon",
"type": "fill",
"source": "esri",
"source-layer": "Land/(1-7)/Polygon",
"maxzoom": 7,
"layout": {
"visibility": "none"
},
"paint": {
"fill-color": "#EDEDED",
"fill-outline-color": "#BFE9FF"
}
}
The text was updated successfully, but these errors were encountered: