[MapProxy] Wrong WGS84BoundingBox in WMTS GetCapabilities

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Tue Nov 29 06:13:50 PST 2016


Hi,

We have defined this gridset



   ETRS-TM35FIN:

        srs: 'EPSG:3067'

        tile_size: [256, 256]

        res: [8192, 4096, 2048, 1024, 512, 256, 128, 64, 32, 16, 8, 4, 2, 1, 0.5, 0.25]

        bbox: [-548576, 6291456, 1548576, 8388608]

        bbox_srs: 'EPSG:3067'

However, in the WMTS GetCapabilities the WGS84BoundingBox does not suit with the EPSG:3067 bbox of the tile matrix set

<Layer>
<ows:Title>Geology</ows:Title>
<ows:Abstract/><ows:WGS84BoundingBox>
<ows:LowerCorner>-6.38153862706 55.6179644952</ows:LowerCorner>
<ows:UpperCorner>60.3815386271 75.5825702342</ows:UpperCorner>
</ows:WGS84BoundingBox>
<ows:Identifier>geology</ows:Identifier>
<Style><ows:Identifier>default</ows:Identifier></Style>
<Format>image/png</Format>
<TileMatrixSetLink>
<TileMatrixSet>ETRS-TM35FIN</TileMatrixSet>
</TileMatrixSetLink>
</Layer>

WGS84BoundingBox is optional in the WMTS standard and it does not need to be accurate
"This WGS84BoundingBox can be approximate, but SHOULD be as precise as practical."
However, I think it should be a bit more accurate than this.


correct                                                                         bbox: [-548576, 6291456, 1548576, 8388608]
calculated from WGS84BoundingBox             bbox: [-1553363, 6681098, 1381718, 8645537]


-Jukka Rahkonen-




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20161129/1e0bd196/attachment.html>


More information about the MapProxy mailing list