@@ -320,12 +320,12 @@ namespace QgsWmts
320
320
*/
321
321
QDomElement contentsElement = doc.createElement ( QStringLiteral ( " Contents" )/* wmts:Contents*/ );
322
322
323
- QList< tileMatrixSet > tmsList = getTileMatrixSetList ( project );
323
+ QList< tileMatrixSetDef > tmsList = getTileMatrixSetList ( project );
324
324
if ( !tmsList.isEmpty () )
325
325
{
326
326
QList< layerDef > wmtsLayers;
327
327
QgsCoordinateReferenceSystem wgs84 = QgsCoordinateReferenceSystem::fromOgcWmsCrs ( GEO_EPSG_CRS_AUTHID );
328
- QList<tileMatrixSet >::iterator tmsIt = tmsList.begin ();
328
+ QList<tileMatrixSetDef >::iterator tmsIt = tmsList.begin ();
329
329
330
330
QStringList nonIdentifiableLayers = project->nonIdentifiableLayers ();
331
331
@@ -547,7 +547,7 @@ namespace QgsWmts
547
547
tmsIt = tmsList.begin ();
548
548
for ( ; tmsIt != tmsList.end (); ++tmsIt )
549
549
{
550
- tileMatrixSet &tms = *tmsIt;
550
+ tileMatrixSetDef &tms = *tmsIt;
551
551
if ( tms.ref == QLatin1String ( " EPSG:4326" ) )
552
552
continue ;
553
553
@@ -609,7 +609,7 @@ namespace QgsWmts
609
609
tmsIt = tmsList.begin ();
610
610
for ( ; tmsIt != tmsList.end (); ++tmsIt )
611
611
{
612
- tileMatrixSet &tms = *tmsIt;
612
+ tileMatrixSetDef &tms = *tmsIt;
613
613
if ( tms.ref != QLatin1String ( " EPSG:4326" ) )
614
614
{
615
615
QgsRectangle rect;
@@ -636,10 +636,10 @@ namespace QgsWmts
636
636
// wmts:TileMatrixSetLimits
637
637
QDomElement tmsLimitsElement = doc.createElement ( QStringLiteral ( " TileMatrixSetLimits" )/* wmts:TileMatrixSetLimits*/ );
638
638
int tmIdx = 0 ;
639
- QList<tileMatrix >::iterator tmIt = tms.tileMatrixList .begin ();
639
+ QList<tileMatrixDef >::iterator tmIt = tms.tileMatrixList .begin ();
640
640
for ( ; tmIt != tms.tileMatrixList .end (); ++tmIt )
641
641
{
642
- tileMatrix &tm = *tmIt;
642
+ tileMatrixDef &tm = *tmIt;
643
643
644
644
QDomElement tmLimitsElement = doc.createElement ( QStringLiteral ( " TileMatrixLimits" )/* wmts:TileMatrixLimits*/ );
645
645
@@ -683,7 +683,7 @@ namespace QgsWmts
683
683
tmsIt = tmsList.begin ();
684
684
for ( ; tmsIt != tmsList.end (); ++tmsIt )
685
685
{
686
- tileMatrixSet &tms = *tmsIt;
686
+ tileMatrixSetDef &tms = *tmsIt;
687
687
688
688
// wmts:TileMatrixSet
689
689
QDomElement tmsElement = doc.createElement ( QStringLiteral ( " TileMatrixSet" )/* wmts:TileMatrixSet*/ );
@@ -700,10 +700,10 @@ namespace QgsWmts
700
700
701
701
// wmts:TileMatrix
702
702
int tmIdx = 0 ;
703
- QList<tileMatrix >::iterator tmIt = tms.tileMatrixList .begin ();
703
+ QList<tileMatrixDef >::iterator tmIt = tms.tileMatrixList .begin ();
704
704
for ( ; tmIt != tms.tileMatrixList .end (); ++tmIt )
705
705
{
706
- tileMatrix &tm = *tmIt;
706
+ tileMatrixDef &tm = *tmIt;
707
707
708
708
QDomElement tmElement = doc.createElement ( QStringLiteral ( " TileMatrix" )/* wmts:TileMatrix*/ );
709
709
0 commit comments