[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.
Helmut Kudrnovsky
hellik at web.de
Mon Aug 1 09:03:44 PDT 2022
Hi GDAL community,
I have an GDAL_WMTS XML file containing the information for:
<GDAL_WMTS><GetCapabilitiesUrl>https://www.basemap.at/wmts/1.0.0/WMTSCapabilities.xml</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
More information about the gdal-dev
mailing list