A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-wmtstilematrixset.html below:

WmtsTileMatrixSet Class | ArcGIS Maps SDK for Qt

  • WmtsTileMatrixSet
  • class Esri::ArcGISRuntime::WmtsTileMatrixSet

    A WMTS tile matrix set. More...

    Header: #include <WmtsTileMatrixSet.h> Since: Esri::ArcGISRuntime 100.1 Public Functions Detailed Description

    A tile matrix set is a set of tile matrices and some common parameters of a layer in an Open Geospatial Consortium (OGC) Web Map Tile Service (WMTS).

    A WmtsTileMatrixSet (also referred to as a "tiling scheme") may be obtained from the service info of a loaded wmts service.

    A WmtsTileMatrixSet is composed of one or more predefined tile matrices for a series of fixed scales. As the scale descreases (see WmtsTileMatrix::scaleDenominator), the number of tiles in the matrix increases - each tile being of a smaller geographic area and of a higher resolution.

    A WmtsTileMatrixSet is defined in a specific spatialReference and covers a defined extent.

    Example: List the tile matrix sets for a service:

    QList<WmtsLayer*> lyrs;
    // enumerate the WmtsTileMatrixSet for each WmtsLayerInfo in the WmtsServiceInfo
    WmtsServiceInfo serviceInfo = wmtsService->serviceInfo();
    QList<WmtsLayerInfo> layerInfos = serviceInfo.layerInfos();
    for (const WmtsLayerInfo& layerInfo : layerInfos)
    {
      qDebug() << layerInfo.wmtsLayerId();
      QList<WmtsTileMatrixSet> tileMatrixSets = layerInfo.tileMatrixSets();
      for (const WmtsTileMatrixSet& tileMatrixSet : tileMatrixSets)
      {
        qDebug() << tileMatrixSet.title();
    
        // create the WmtsLayer for this tile matrix set
        auto* lyr = new WmtsLayer(serviceUrl, layerInfo.wmtsLayerId(), tileMatrixSet.id(), parent);
        lyrs.append(lyr);
    
        // List the tile matrices available at each scale
        QList<WmtsTileMatrix> matrices = tileMatrixSet.tileMatrices();
        for (const WmtsTileMatrix& matrix : matrices)
        {
          qDebug() << matrix.id() << matrix.scaleDenominator();
        }
      }
    }

    See also WmtsServiceInfo, WmtsTileMatrix, WmtsLayerInfo, and WmtsLayer.


    RetroSearch is an open source project built by @garambo | Open a GitHub Issue

    Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

    HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4