<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br><br>we are trying to configure a WMS service from our WMTS Geoserver service. Only we have successful results when we define the bounding box of the gridset at geoserver with "<i>compute from maximum extent of CRS</i>" option. <br><br>When we use a custom bounding box we always get an offset of tiles.<br><br>This is our WMTS capabilities:<br><br><TileMatrixSet><br> <ows:Identifier>EPSG:25831</ows:Identifier><br> <ows:SupportedCRS>urn:ogc:def:crs:EPSG::25831</ows:SupportedCRS><br> <TileMatrix><br> <ows:Identifier>EPSG:25831:0</ows:Identifier><br> <ScaleDenominator>3.1180245535714287E7</ScaleDenominator><br> <TopLeftCorner>-1615000.0 5235000.0</TopLeftCorner><br> <TileWidth>256</TileWidth><br> <TileHeight>256</TileHeight><br> <MatrixWidth>1</MatrixWidth><br> <MatrixHeight>1</MatrixHeight><br> </TileMatrix><br> <TileMatrix><br> <ows:Identifier>EPSG:25831:1</ows:Identifier><br> <ScaleDenominator>1.5590122767857144E7</ScaleDenominator><br> <TopLeftCorner>-1615000.0 5235000.0</TopLeftCorner><br> <TileWidth>256</TileWidth><br> <TileHeight>256</TileHeight><br> <MatrixWidth>2</MatrixWidth><br> <MatrixHeight>2</MatrixHeight><br> </TileMatrix><br>....<br><br><br><br>We defined 22 zoom levels <br><br>and our .yaml:<br><br>grids:<br><br> geobase_grupo_grid:<br> srs: 'EPSG:25831'<br> bbox: [-1615000, 3000000, 620000, 5000000] # BBox geoserver gridset<br> bbox_srs: 'EPSG:25831'<br> origin: 'nw'<br> res: [<br> # res level scale @90.7 DPI<br> 8730.4687500000, # 0 31180245.53571429<br> 4365.2343750000, # 1 15590122.76785714<br> 2182.6171875000, # 2 7795061.38392857<br> 1091.3085937500, # 3 3897530.69196429<br> 545.6542968750, # 4 1948765.34598214<br> 272.8271484375, # 5 974382.67299107<br> 136.4135742188, # 6 487191.33649554<br> 68.2067871094, # 7 243595.66824777<br> 34.1033935547, # 8 121797.83412388<br> 17.0516967773, # 9 60898.91706194<br> 8.5258483887, # 10 30449.45853097<br> 4.2629241943, # 11 15224.72926549<br> 2.1314620972, # 12 7612.36463274<br> 1.0657310486, # 13 3806.18231637<br> 0.5328655243, # 14 1903.09115819<br> 0.2664327621, # 15 951.54557909<br> 0.1332163811, # 16 475.77278955<br> 0.0666081905, # 17 237.88639477<br> 0.0333040953, # 18 118.94319739<br> 0.0166520476, # 19 59.47159869<br> 0.0083260238, # 20 29.73579935<br> 0.0041630119, # 21 14.86789967<br> ]<br><br><br>Our problem starts with the definition of our gridset bbox in mapproxy because in geoserver we have <br> [-1615000, 3000000, 620000, 5000000] but this definition in the capabilities show <TopLeftCorner>-1615000.0 5235000.0</TopLeftCorner> result for that gridset. We don't understand than differences.<br><br>Some help, tips would be welcome!<br><br>Thanks a lot!<br> </div></body>
</html>