We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 07516fc commit 6b6e5ebCopy full SHA for 6b6e5eb
src/providers/wms/qgswmscapabilities.cpp
@@ -1404,8 +1404,18 @@ void QgsWmsCapabilities::parseWMTSContents( QDomElement const &e )
1404
QgsCoordinateReferenceSystem crs;
1405
crs.createFromOgcWmsCrs( bb.crs );
1406
if ( crs.isValid() )
1407
+ {
1408
bb.crs = crs.authid();
- l.boundingBoxes << bb;
1409
+
1410
+ bool invert = !mParserSettings.ignoreAxisOrientation && crs.axisInverted();
1411
+ if ( mParserSettings.invertAxisOrientation )
1412
+ invert = !invert;
1413
1414
+ if ( invert )
1415
+ bb.box.invert();
1416
1417
+ l.boundingBoxes << bb;
1418
+ }
1419
}
1420
1421
0 commit comments