Skip to content

Commit

Permalink
Use crscache in wms configparser
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Sep 6, 2011
1 parent 15b4843 commit cfedf09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mapserver/qgsconfigparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
***************************************************************************/

#include "qgsconfigparser.h"
#include "qgscrscache.h"
#include "qgsapplication.h"
#include "qgscomposerlabel.h"
#include "qgscomposermap.h"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cfedf09

Please sign in to comment.