Hi,
mapcache by default aligns its tiles starting from the lower-left
corner whereas WMTS expects them to start from the upper-left. While
the generated capabilities doc correctly identifies this behavior,
most WMTS clients will not support this if they don't do the
capabilities parsing themselves. You have two workarounds:
- create a grid where maxY is constant throughout your chosen
resolutions (the google and wgs84 grids respect this convention)
- use a recentish mapcache that supports setting the grid origin
activated with <grid origin="top-left">.

In both cases, you will have to fully recompute your cache as the
addressing of the tiles will have been changed.

cheers,
thomas

On 4 April 2014 08:50, Ziegler Stefan <[email protected]> wrote:
> Hi
>
> I have an offset with a mapcache WMTS for EPSG:21781 at certain zoom levels. 
> It seems that I have exactly the same probleme as described here (using the 
> same parameters/configuration):
>
> http://lists.osgeo.org/pipermail/mapserver-dev/2011-September/011586.html
>
> Using Openlayers 2.10 [1] did not help and it's still present with OpenLayers 
> 3 [2]. I do not notice the offset accessing the wmts with QGIS. Any ideas 
> what can be wrong configured etc?
>
> [1]: http://www.catais.org/somap3/
> [2]: http://www.catais.org/somap3/ol2-wmts/ol2-wmts.html
>
> Zooming out will show a zoom level with an offset.
>
> Regards
> Stefan
>
> Freundliche Grüsse
> Stefan Ziegler
> Kantonsgeometer
>
> Amt für Geoinformation
> Amtliche Vermessung
> Rötistrasse 4
> 4500 Solothurn
>
> Telefon +41 32 627 75 96
> Telefax +41 32 627 75 98
> [email protected]
> http://www.so.ch
>
>
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to