Hi, You will get error with QGIS as well if you zoom till level 20. You can see the requests that QGIS creates by opening the debug window with function key 12. Here is one that fails. https://maps.wien.gv.at/basemap/bmaporthofoto30cm/normal/google3857/20/366500/566302.jpeg
Level 19 works https://maps.wien.gv.at/basemap/bmaporthofoto30cm/normal/google3857/19/183249/283150.jpeg They perhaps use also some load balancing system but using server address maps.wien.gv.at vs. maps1/wien.gv.at does not seem to make any difference. So the error seems to be due to error in GetCapabilities that claims that zoom level 20 is supported. You can get image data by selecting the zoom level manually with an open option "zoom_level". gdal_translate bmortho77.xml bmortho77.tif -oo zoom_level=12 --debug on -Jukka Rahkonen- -----Alkuperäinen viesti----- Lähettäjä: gdal-dev <gdal-dev-boun...@lists.osgeo.org> Puolesta Helmut Kudrnovsky Lähetetty: maanantai 1. elokuuta 2022 19.04 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] gdal_translate wmts.xml wmts.tif: 0ERROR 4: ./gdalwmscache\xyz: No such file or directory; ERROR 1: GDALWMS: Unable to open downloaded block. Hi GDAL community, I have an GDAL_WMTS XML file containing the information for: <GDAL_WMTS><GetCapabilitiesUrl>https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.basemap.at%2Fwmts%2F1.0.0%2FWMTSCapabilities.xml&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C347da3139e62450e8ab008da73d82cdf%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C637949669584791800%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=792LjHXGRON13LHTJ8SR%2FVQZbyPegrlygXVRudCay4U%3D&reserved=0</GetCapabilitiesUrl><Layer>bmaporthofoto30cm</Layer><Style>normal</Style><TileMatrixSet>google3857</TileMatrixSet><DataWindow><UpperLeftX>1071964</UpperLeftX><UpperLeftY>6000873</UpperLeftY><LowerRightX>1073445</LowerRightX><LowerRightY>5999385</LowerRightY></DataWindow><BandsCount>4</BandsCount><Cache /><UnsafeSSL>true</UnsafeSSL><ZeroBlockHttpCodes>204,404</ZeroBlockHttpCodes><ZeroBlockOnServerException>true</ZeroBlockOnServerException></GDAL_WMTS> When I'm opening the xml file in QGIS, the correct tile defined above in the XML will be shown. When I do gdal_translate bmortho77.xml bmortho77.tif then I get: Input file size is 9921, 9968 0ERROR 4: ./gdalwmscache\eb9a2e93c079d3e8af23fb6be1373c11/8/9/89ffd475b3114e593c2e248e71685f10: No such file or directory ERROR 1: GDALWMS: Unable to open downloaded block. ERROR 4: ./gdalwmscache\eb9a2e93c079d3e8af23fb6be1373c11/a/9/a985525d6dc454a986ceecdeff22398b: No such file or directory ERROR 1: GDALWMS: Unable to open downloaded block. [...] any idea? thanks Helmut OSGeo charter member _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgdal-dev&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C347da3139e62450e8ab008da73d82cdf%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C637949669584791800%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VnmFvyKKANGR9GN5ojHQS9LpzihNhe7COPyvC%2BoM%2BTw%3D&reserved=0 _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev