Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
support for WMSC-T layers
  • Loading branch information
Samweli authored and nyalldawson committed Sep 6, 2021
1 parent e8bbd5e commit d897307
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -1245,6 +1245,14 @@ void QgsWmsProvider::createTileRequestsWMSC( const QgsWmtsTileMatrix *tm, const
{
setQueryItem( query, QStringLiteral( "TRANSPARENT" ), QStringLiteral( "TRUE" ) ); // some servers giving error for 'true' (lowercase)
}

// For WMSC-T layers
if ( temporalCapabilities() &&
temporalCapabilities()->hasTemporalCapabilities() )
{
addWmstParameters( query );
}

url.setQuery( query );

int i = 0;
Expand Down

0 comments on commit d897307

Please sign in to comment.