Dear GDAL friends, The following WMTS server: *https://maps.wien.gv.at/wmts/1.0.0/WMTSCapabilities.xml <https://maps.wien.gv.at/wmts/1.0.0/WMTSCapabilities.xml>* for layer *fmzk3dviewer* provides 5 resource URLS:
*<ResourceURL format="image/png" template="http://maps1.wien.gv.at/wmts/fmzk3dviewer/{Style}/google3857/{TileMatrix}/{TileRow}/{TileCol}.png <http://maps1.wien.gv.at/wmts/fmzk3dviewer/{Style}/google3857/{TileMatrix}/{TileRow}/{TileCol}.png>" resourceType="tile"/><ResourceURL format="image/png" template="http://maps2.wien.gv.at/wmts/fmzk3dviewer/{Style}/google3857/{TileMatrix}/{TileRow}/{TileCol}.png <http://maps2.wien.gv.at/wmts/fmzk3dviewer/{Style}/google3857/{TileMatrix}/{TileRow}/{TileCol}.png>" resourceType="tile"/><ResourceURL format="image/png" template="http://maps3.wien.gv.at/wmts/fmzk3dviewer/{Style}/google3857/{TileMatrix}/{TileRow}/{TileCol}.png <http://maps3.wien.gv.at/wmts/fmzk3dviewer/{Style}/google3857/{TileMatrix}/{TileRow}/{TileCol}.png>" resourceType="tile"/><ResourceURL format="image/png" template="http://maps4.wien.gv.at/wmts/fmzk3dviewer/{Style}/google3857/{TileMatrix}/{TileRow}/{TileCol}.png <http://maps4.wien.gv.at/wmts/fmzk3dviewer/{Style}/google3857/{TileMatrix}/{TileRow}/{TileCol}.png>" resourceType="tile"/><ResourceURL format="image/png" template="http://maps.wien.gv.at/wmts/fmzk3dviewer/{Style}/google3857/{TileMatrix}/{TileRow}/{TileCol}.png <http://maps.wien.gv.at/wmts/fmzk3dviewer/{Style}/google3857/{TileMatrix}/{TileRow}/{TileCol}.png>" resourceType="tile"/>* GDAL uses the first from the list: *http://maps1.wien.gv.at/wmts/fmzk3dviewer. <http://wien.gv.at/wmts/fmzk3dviewer.>..* which from unknown reasons fails. For the same server QGIS choses the right (the last from the list): *http://maps.wien.gv.at/wmts/fmzk3dviewer. <http://wien.gv.at/wmts/fmzk3dviewer.>..* which works. Does GDAL try to change the resource URL if another fails? Is there a possibility to control it? https://maps.wien.gv.at/wmts/fmzk3dviewer/pastell/google3857/13/2837/4472.png https://maps1.wien.gv.at/wmts/fmzk3dviewer/pastell/google3857/13/2837/4472.png Best regards, Michał Kowalczuk
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev