Skip to content
Permalink
Browse files

Fix OGC test getmap:each-format mode for 1bit/8bit/16bit

  • Loading branch information
pblottiere committed Aug 29, 2017
1 parent c43cd99 commit 25accbcbdb8e6d37c3cc9f6c45f1af47a4572315
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/services/wms/qgswmsutils.cpp
@@ -94,7 +94,7 @@ namespace QgsWms
QRegularExpression::CaseInsensitiveOption );

QRegularExpressionMatch match = modeExpr.match( format );
QString mode = match.captured();
QString mode = match.captured( 1 );
if ( mode.compare( QLatin1String( "16bit" ), Qt::CaseInsensitive ) == 0 )
return PNG16;
if ( mode.compare( QLatin1String( "8bit" ), Qt::CaseInsensitive ) == 0 )

0 comments on commit 25accbc

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