Skip to content
Permalink
Browse files
fix wms legacy CRS/SRS mixup
git-svn-id: http://svn.osgeo.org/qgis/trunk@13666 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jun 5, 2010
1 parent 3d18ce6 commit db350a33e3ad30090399f3dd368f5dcec41c0a81
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/wms/qgswmsprovider.cpp
@@ -1555,11 +1555,11 @@ void QgsWmsProvider::parseLayer( QDomElement const & e, QgsWmsLayerProperty& lay
{
parseKeywordList( e1, layerProperty.keywordList );
}
else if ( e1.tagName() == "CRS" )
else if ( e1.tagName() == "SRS" )
{
layerProperty.crs.push_back( e1.text() );
}
else if ( e1.tagName() == "SRS" ) // legacy from earlier versions of WMS
else if ( e1.tagName() == "CRS" ) // legacy from earlier versions of WMS
{
// CRS can contain several definitions separated by whitespace
// though this was deprecated in WMS 1.1.1

0 comments on commit db350a3

Please sign in to comment.