Skip to content

Commit

Permalink
Merge pull request #1 from andreassteffens/fix-scale2resolution_wmts_…
Browse files Browse the repository at this point in the history
…tile_grid_initialization

[server][wmts][fix] updated constant to correct resolution in WMTS ti…
  • Loading branch information
andreassteffens committed May 27, 2021
2 parents 005a0ad + 09d2ca8 commit 94c2194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wmts/qgswmtsutils.cpp
Expand Up @@ -36,7 +36,7 @@ namespace QgsWmts

// Constant
int tileSize = 256;
double POINTS_TO_M = 2.83464567 / 10000.0;
double POINTS_TO_M = 2.800005600011068 / 10000.0;

QMap< QString, tileMatrixInfo> fixedTileMatrixInfoMap = populateFixedTileMatrixInfoMap();
QMap< QString, tileMatrixInfo> calculatedTileMatrixInfoMap; // for project without WMTSGrids configuration
Expand Down

0 comments on commit 94c2194

Please sign in to comment.