Skip to content
Permalink
Browse files

[Server] WMTS Use WMS tile_buffer by using TILED param

A new parameter in the WMS OWS Server project properties has been added to avoid cut symbols when WMS GetMap is used as tiled.

But this parameter was not used in Web Map Tiled Service.

Linked to #30071
  • Loading branch information
rldhont authored and nyalldawson committed Jun 15, 2020
1 parent 4af5597 commit 9ee8f06d33215a2a73651b2d9e3859b14cb15d09
Showing with 2 additions and 0 deletions.
  1. +1 −0 src/server/services/wmts/qgswmtsparameters.h
  2. +1 −0 src/server/services/wmts/qgswmtsutils.cpp
@@ -52,6 +52,7 @@ namespace QgsWmts
FORMAT,
TRANSPARENT,
DPI,
TILED,
QUERY_LAYERS,
I,
J,
@@ -802,6 +802,7 @@ namespace QgsWmts
query.addQueryItem( QgsWmsParameterForWmts::name( QgsWmsParameterForWmts::TRANSPARENT ), QStringLiteral( "true" ) );
}
query.addQueryItem( QgsWmsParameterForWmts::name( QgsWmsParameterForWmts::DPI ), QStringLiteral( "96" ) );
query.addQueryItem( QgsWmsParameterForWmts::name( QgsWmsParameterForWmts::TILED ), QStringLiteral( "true" ) );

return query;
}

0 comments on commit 9ee8f06

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