Skip to content

Commit

Permalink
Fix cherry-picking [BUGFIX][Server] WMS compliance: stretched, distor…
Browse files Browse the repository at this point in the history
…t, increase, decrease
  • Loading branch information
rldhont committed Jan 3, 2017
1 parent 5429f4a commit 0a1d341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgswmsserver.cpp
Expand Up @@ -2006,7 +2006,7 @@ QImage* QgsWMSServer::createImage( int width, int height, bool useBbox ) const
{
bool bboxOk;
QgsRectangle mapExtent = _parseBBOX( mParameters.value( "BBOX" ), bboxOk );
QString crs = mParameters.value( QStringLiteral( "CRS" ), mParameters.value( QStringLiteral( "SRS" ) ) );
QString crs = mParameters.value( "CRS", mParameters.value( "SRS" ) );
if ( crs.compare( "CRS:84", Qt::CaseInsensitive ) == 0 )
{
crs = QString( "EPSG:4326" );
Expand Down

0 comments on commit 0a1d341

Please sign in to comment.