Class: QgsVectorTileMatrixSet¶
Encapsulates properties of a vector tile matrix set, including tile origins and scaling information.
Added in version 3.22.6.
Class Hierarchy¶
Base classes¶
Defines a set of tile matrices for multiple zoom levels. |
Methods
Initializes the tile structure settings from an ESRI REST VectorTileService json map. |
Static Methods
Returns a vector tile structure corresponding to the standard web mercator/GoogleCRS84Quad setup. |
- class qgis.core.QgsVectorTileMatrixSet[source]¶
Bases:
QgsTileMatrixSet
- fromEsriJson(self, json: Dict[str, Any], rootTileMap: Dict[str, Any] = {}) bool [source]¶
Initializes the tile structure settings from an ESRI REST VectorTileService
json
map.Note
This same structure is utilized in ESRI vtpk archives in the root.json file.
Optionally, a
rootTileMap
can be specified for indexed vector tile datasets (since QGIS 3.32)- Parameters:
json (Dict[str, Any])
rootTileMap (Dict[str, Any] = {})
- Return type:
bool
- static fromWebMercator(minimumZoom: int = 0, maximumZoom: int = 14) QgsVectorTileMatrixSet [source]¶
Returns a vector tile structure corresponding to the standard web mercator/GoogleCRS84Quad setup.
- Parameters:
minimumZoom (int = 0)
maximumZoom (int = 14)
- Return type: