Skip to content

Commit

Permalink
fix wms legacy CRS/SRS mixup
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13666 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jun 5, 2010
1 parent c3543ce commit 496b2b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 496b2b2

Please sign in to comment.