A WMTS tile matrix set. More...
|  Header |  #include <Wmts | 
|  Since |  Esri | 
This class was introduced in Esri::ArcGISRuntime 100.1.
Public Functions
| Wmts | |
| Wmts | |
| Wmts | |
|  Esri | operator=( | 
|  Esri | operator=(const Esri | 
| ~ | |
| QString | description() const | 
|  Esri | extent() const | 
| QString | id() const | 
| bool | is | 
|  QString | keywords() const | 
|  Esri | spatial | 
|  QList | tile | 
| QString | title() const | 
| QString | well | 
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 WmtsLayer* 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.
Member Function Documentation
WmtsTileMatrixSet::WmtsTileMatrixSet   (Esri::ArcGISRuntime::WmtsTileMatrixSet       &&other)    
Move constructor from other WmtsTileMatrixSet.
WmtsTileMatrixSet::WmtsTileMatrixSet   (const Esri::ArcGISRuntime::WmtsTileMatrixSet       &other)    
Copy constructor from other WmtsTileMatrixSet.
WmtsTileMatrixSet::WmtsTileMatrixSet   ()    
Default constructor.
This constructor is provided for convenience only.
Esri::ArcGISRuntime::WmtsTileMatrixSet       &WmtsTileMatrixSet::operator=(Esri::ArcGISRuntime::WmtsTileMatrixSet       &&other)     
Move operator from other WmtsTileMatrixSet.
Esri::ArcGISRuntime::WmtsTileMatrixSet       &WmtsTileMatrixSet::operator=(const Esri::ArcGISRuntime::WmtsTileMatrixSet       &other)     
Assignment operator from other WmtsTileMatrixSet.
WmtsTileMatrixSet::~WmtsTileMatrixSet    ()    
Destructor.
QString WmtsTileMatrixSet::description() const    
Returns the description of this tile matrix set.
Esri::ArcGISRuntime::Envelope    WmtsTileMatrixSet::extent() const    
Returns the minimum bounding rectangle surrounding this tile matrix set.
QString WmtsTileMatrixSet::id() const    
Returns the ID of this tile matrix set.
bool WmtsTileMatrixSet::isEmpty () const    
Returns whether the object is empty.
QStringList  WmtsTileMatrixSet::keywords() const    
Returns the list of zero or more commonly used or formalized words or phrases used to describe this tile matrix set.
Esri::ArcGISRuntime::SpatialReference     WmtsTileMatrixSet::spatialReference () const    
Returns the SpatialReference of this tile matrix set.
QList<Esri::ArcGISRuntime::WmtsTileMatrix     > WmtsTileMatrixSet::tileMatrices () const    
Returns the list of tile matrices in this tile matrix set.
QString WmtsTileMatrixSet::title() const    
Returns the title of this tile matrix set.
QString WmtsTileMatrixSet::wellKnownScaleSetId    () const    
Returns the ID of the well known scale set of this tile matrix set.