Skip to content
Permalink
Browse files
fix wms legacy CRS/SRS mixup
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 496b2b28569f39b20037e4588072348a5e3a2d71
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 496b2b2

Please sign in to comment.