Re: [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.

2022-08-01 Thread Helmut Kudrnovsky
Rahkonen Jukka:
 
>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

thanks! that helped a lot!

kind regards
Helmut

OSGeo charter member
 


___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [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.

2022-08-01 Thread Rahkonen Jukka
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  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:

https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.basemap.at%2Fwmts%2F1.0.0%2FWMTSCapabilities.xmldata=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C347da3139e62450e8ab008da73d82cdf%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C637949669584791800%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=792LjHXGRON13LHTJ8SR%2FVQZbyPegrlygXVRudCay4U%3Dreserved=0bmaporthofoto30cmnormalgoogle385710719646000873107344559993854true204,404true

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-devdata=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C347da3139e62450e8ab008da73d82cdf%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C637949669584791800%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=VnmFvyKKANGR9GN5ojHQS9LpzihNhe7COPyvC%2BoM%2BTw%3Dreserved=0
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


[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.

2022-08-01 Thread Helmut Kudrnovsky
Hi GDAL community,

I have an GDAL_WMTS XML file containing the information for:

https://www.basemap.at/wmts/1.0.0/WMTSCapabilities.xmlbmaporthofoto30cmnormalgoogle385710719646000873107344559993854true204,404true

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://lists.osgeo.org/mailman/listinfo/gdal-dev