Skip to content

Commit

Permalink
Update exception code string for CRS/SRS issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Apr 11, 2019
1 parent 09b8a57 commit b2b33af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/services/wms/qgswmsserviceexception.h
Expand Up @@ -184,6 +184,8 @@ namespace QgsWms
for ( auto &part : key.split( '_' ) )
{
part = part.toLower().replace( 0, 1, part[0].toUpper() );
part.replace( QStringLiteral( "Srs" ), QStringLiteral( "SRS" ) );
part.replace( QStringLiteral( "Crs" ), QStringLiteral( "CRS" ) );
formattedCode = QString( "%1%2" ).arg( formattedCode ).arg( part );
}

Expand Down

0 comments on commit b2b33af

Please sign in to comment.