Skip to content
Permalink
Browse files

Fix WMS extent calculation from <EX_GeographicBoundingBox> (fixes #14974

)
  • Loading branch information
wonder-sk committed Jun 30, 2016
1 parent bf07d2b commit 0409f5e30cfaab7a0baf2f127c4c30c68a65d29f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/wms/qgswmsprovider.cpp
@@ -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;

0 comments on commit 0409f5e

Please sign in to comment.
You can’t perform that action at this time.