Skip to content

Commit 496b2b2

Browse files
author
jef
committed
fix wms legacy CRS/SRS mixup
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13666 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent c3543ce commit 496b2b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/providers/wms/qgswmsprovider.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1555,11 +1555,11 @@ void QgsWmsProvider::parseLayer( QDomElement const & e, QgsWmsLayerProperty& lay
15551555
{
15561556
parseKeywordList( e1, layerProperty.keywordList );
15571557
}
1558-
else if ( e1.tagName() == "CRS" )
1558+
else if ( e1.tagName() == "SRS" )
15591559
{
15601560
layerProperty.crs.push_back( e1.text() );
15611561
}
1562-
else if ( e1.tagName() == "SRS" ) // legacy from earlier versions of WMS
1562+
else if ( e1.tagName() == "CRS" ) // legacy from earlier versions of WMS
15631563
{
15641564
// CRS can contain several definitions separated by whitespace
15651565
// though this was deprecated in WMS 1.1.1

0 commit comments

Comments
 (0)