[MapProxy] Wrong WGS84BoundingBox in WMTS GetCapabilities
Oliver Tonnhofer
olt at omniscale.de
Tue Nov 29 07:20:38 PST 2016
Hi,
please have a look at this example: https://gist.github.com/anonymous/2445ea91a8ac7b15bf39
You are expecting WGS84BoundingBox to cover the red box, but the green one is the correct box.
Regards,
Oliver
--
Oliver Tonnhofer | Omniscale GmbH & Co KG | https://omniscale.com
OpenStreetMap WMS and tile services | https://maps.omniscale.com
> On 29.11.2016, at 15:13, Rahkonen Jukka (MML) <jukka.rahkonen at maanmittauslaitos.fi> wrote:
>
> 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-
>
>
>
>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy
More information about the MapProxy
mailing list