Skip to content
Permalink
Browse files

Fix cherry-picking [BUGFIX][Server] WMS compliance: stretched, distor…

…t, increase, decrease
  • Loading branch information
rldhont committed Jan 3, 2017
1 parent 5429f4a commit 0a1d3412d76cc3c9abf9f94d6522b1b91daaa32f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/qgswmsserver.cpp
@@ -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" );

0 comments on commit 0a1d341

Please sign in to comment.
You can’t perform that action at this time.