Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix WMS extent calculation from <EX_GeographicBoundingBox> (fixes #14974
)
  • Loading branch information
wonder-sk committed Jun 30, 2016
1 parent bf07d2b commit 0409f5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -1004,8 +1004,8 @@ bool QgsWmsProvider::extentForNonTiledLayer( const QString& layerName, const QSt

// transform it to requested CRS

QgsCoordinateReferenceSystem dst = QgsCRSCache::instance()->crsByOgcWmsCrs( DEFAULT_LATLON_CRS );
QgsCoordinateReferenceSystem wgs = QgsCRSCache::instance()->crsByOgcWmsCrs( crs );
QgsCoordinateReferenceSystem dst = QgsCRSCache::instance()->crsByOgcWmsCrs( crs );
QgsCoordinateReferenceSystem wgs = QgsCRSCache::instance()->crsByOgcWmsCrs( DEFAULT_LATLON_CRS );
if ( !wgs.isValid() || !dst.isValid() )
return false;

Expand Down

0 comments on commit 0409f5e

Please sign in to comment.