Skip to content
Permalink
Browse files

Use crscache in wms configparser

  • Loading branch information
mhugent committed Sep 6, 2011
1 parent 15b4843 commit cfedf09592dc4abbae0a897d770756cff8caf0c7
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/mapserver/qgsconfigparser.cpp
@@ -16,6 +16,7 @@
***************************************************************************/

#include "qgsconfigparser.h"
#include "qgscrscache.h"
#include "qgsapplication.h"
#include "qgscomposerlabel.h"
#include "qgscomposermap.h"
@@ -78,8 +79,7 @@ void QgsConfigParser::appendLayerBoundingBoxes( QDomElement& layerElem,
return;
}

QgsCoordinateReferenceSystem wgs84;
wgs84.createFromOgcWmsCrs( GEO_EPSG_CRS_AUTHID );
const QgsCoordinateReferenceSystem& wgs84 = QgsCRSCache::instance()->crsByAuthId( GEO_EPSG_CRS_AUTHID );

//Ex_GeographicBoundingBox
//transform the layers native CRS into WGS84

0 comments on commit cfedf09

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