Skip to content

Commit 0409f5e

Browse files
committedJun 30, 2016
Fix WMS extent calculation from <EX_GeographicBoundingBox> (fixes #14974)
1 parent bf07d2b commit 0409f5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/providers/wms/qgswmsprovider.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,8 +1004,8 @@ bool QgsWmsProvider::extentForNonTiledLayer( const QString& layerName, const QSt
10041004

10051005
// transform it to requested CRS
10061006

1007-
QgsCoordinateReferenceSystem dst = QgsCRSCache::instance()->crsByOgcWmsCrs( DEFAULT_LATLON_CRS );
1008-
QgsCoordinateReferenceSystem wgs = QgsCRSCache::instance()->crsByOgcWmsCrs( crs );
1007+
QgsCoordinateReferenceSystem dst = QgsCRSCache::instance()->crsByOgcWmsCrs( crs );
1008+
QgsCoordinateReferenceSystem wgs = QgsCRSCache::instance()->crsByOgcWmsCrs( DEFAULT_LATLON_CRS );
10091009
if ( !wgs.isValid() || !dst.isValid() )
10101010
return false;
10111011

0 commit comments

Comments
 (0)
Please sign in to comment.