maptiler / tileserver-php

MBTiles and MapTiler folder hosting with TileJSON, OGC WMTS, UTFGrid interaction and web interface. QGIS & ESRI ArcGIS compatible. Runs on any Apache+PHP webhosting. MapBox Studio Vector Tiles hosting.
http://tileserver.maptiler.com/
567 stars 164 forks source link

QGIS 2.6 - zoom to extent wmts error #50

Closed daliborjanak closed 8 years ago

daliborjanak commented 9 years ago

It was reported that new version of qgis (2.6) can't open wmts from tileserver-php. We need to test it.

hynekpridal commented 9 years ago

after check and fix notify lorenc.cala (at) gmail.com

klokan commented 9 years ago

Possibly needs to be fixed also in WMTS gate, code should be in https://github.com/klokan/wmts.maptiler.com

daliborjanak commented 9 years ago

Qgis opens wmts correctly but it have problem with bounding box of layer. So "Zoom to layer" zooms to whole world. There will be problem maybe with crs transform (description in our wmts). I tryed combinate tags <WGS84BoundingBox> and <BoundingBox>. But I haven't got good results. I need more tests.

It also doesn't work in QGIS 2.8. Old versions (2.x) don't have problem.

daliborjanak commented 9 years ago

Qgis changed behavior of zooming to WMTS layer. Qgis now zooms to the TileMatrixSet extent and not to extent of the layer. I found only this reports of this issue: http://osgeo-org.1560.x6.nabble.com/Apparent-bug-or-undesirable-behaviour-in-QGIS-2-6-1-2-4-0-td5187337.html http://isticktoit.net/?p=1021

I tried other WMTS servers (MapServer and Arcgis for Server) and they have same problem with zoom to layer. So this is not problem in tileserver-php.

@klokan, We can reported as bug in QGIS or enhancement to implement

klokan commented 9 years ago

Reported as bug of QGIS: https://hub.qgis.org/issues/12432

klokan commented 8 years ago

In QGIS 2.10+ this is fixed.