Class: QgsVectorTileMatrixSet¶
- class qgis.core.QgsVectorTileMatrixSet¶
Bases:
QgsTileMatrixSet
Encapsulates properties of a vector tile matrix set, including tile origins and scaling information.
New in version 3.22.6:
Methods
Initializes the tile structure settings from an ESRI REST VectorTileService
json
map.Returns a vector tile structure corresponding to the standard web mercator/GoogleCRS84Quad setup.
- fromEsriJson(self, json: Dict[str, Any], rootTileMap: Dict[str, Any] = {}) bool ¶
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) –
rootTileMap (Dict[str) –
- Return type:
bool
- fromWebMercator(minimumZoom: int = 0, maximumZoom: int = 14) QgsVectorTileMatrixSet ¶
Returns a vector tile structure corresponding to the standard web mercator/GoogleCRS84Quad setup.
- Parameters:
minimumZoom (int = 0) –
maximumZoom (int = 14) –
- Return type: