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@13666 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jun 5, 2010
1 parent 3d18ce6 commit db350a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/wms/qgswmsprovider.cpp
Original file line number Diff line number Diff line change
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 db350a3

Please sign in to comment.