[MapProxy] WMTS-Source: could not retrieve tile

Siegel Andreas Andreas.Siegel at vorarlberg.at
Tue Apr 26 22:51:40 PDT 2016


Umpf! Embarassing!

That really was the issue.

But why could i not see the connection atempts in wireshark?

* adds this to the ever growing pile of homework *

Thanks
Andy


Mag Andreas Siegel 
Abteilung Geoinformation
 
Landesamt für Vermessung und Geoinformation 
Johannitergasse 6, A-6800 Feldkirch
T: +43(0) 5522 / 75482 - 60227
F: +43(0) 5522 / 75482 - 6
E: andreas.siegel at vorarlberg.at
I: http://www.vorarlberg.at/lva
 
Rechtsverbindlichen Schriftverkehr
(zB Anträge, Rechtsmittel) richten Sie an:
F: +43(0)5522/75482-6
E: landesvermessungsamt at vorarlberg.at

-----Ursprüngliche Nachricht-----
Von: Oliver Tonnhofer [mailto:tonnhofer at omniscale.de] 
Gesendet: Freitag, 22. April 2016 15:13
An: Siegel Andreas
Cc: mapproxy at lists.osgeo.org
Betreff: Re: [MapProxy] WMTS-Source: could not retrieve tile

Hi,

it's sounds like the request is blocked by a firewall. Do you need to use an HTTP proxy?
See: http://mapproxy.org/docs/nightly/configuration_examples.html#access-sources-through-http-proxy


Regards,
Oliver

-- 
Oliver Tonnhofer  | Omniscale GmbH & Co KG  | http://omniscale.com
OpenStreetMap WMS and tile services         | http://maps.omniscale.com


> On 21.04.2016, at 11:11, Siegel Andreas <Andreas.Siegel at vorarlberg.at> wrote:
> 
> Hi!
> 
> This is my first post and i am a newbie in mapproxy.
> 
> So.
> My goal ist o create a local tile cache in our native srs (31254) from an external WMTS (http://maps.wien.gv.at/basemap) which is only provided in 3857.
> As a first step i just want to see the external WMTS in my MapProxy-Demo.
> 
> But this fails.
> In mapproxy.log i find:
> ...
> WARNING - mapproxy.source.tile - could not retrieve tile: No response from URL "http://maps.wien.gv.at/basemap/bmapgrau/normal/google3857/7/45/67.png": timed out
> ...
> 
> The URL ist perfectly fine.
> wget "http://maps.wien.gv.at/basemap/bmapgrau/normal/google3857/7/45/67.png" -o 67.png 
> delivers a nice little PNG-image.
> This at least suggests the configuration not being to much off the mark.
> 
> Now comes the strange part.
> I cannot find any network-requests for http://maps.wien.gv.at/basemap... using a packet analyzer (wireshark)
> How is this possible? Or better. Does mapproxy not query the internet but rather some local storage resp. cache?
> 
> 
> 
> Relevant snippets from my mapproxy.yaml:
> .
>  - name: basemap_layer
>    title: Basemap
>    sources: [basemap_cache]
> .
>  basemap_cache:
>    format: image/png
>    request_format: image/png
>    grids: [webmercator]
>    sources: [basemap_wmts]
> .
>  basemap_wmts:
>    type: tile
>    url: http://maps.wien.gv.at/basemap/bmapgrau/normal/google3857/%(z)s/%(y)s/%(x)s.png
>    transparent: false
>    grid: webmercator
>    coverage:
>      bbox: [977650, 5838030, 1913530, 6281290]
>      srs: 'EPSG:3857'
> 
> 
> 
> 
> 
> Mag Andreas Siegel 
> Abteilung Geoinformation
>  
> Landesamt für Vermessung und Geoinformation 
> Johannitergasse 6, A-6800 Feldkirch
> T: +43(0) 5522 / 75482 - 60227
> F: +43(0) 5522 / 75482 - 6
> E: andreas.siegel at vorarlberg.at
> I: http://www.vorarlberg.at/lva
>  
> Rechtsverbindlichen Schriftverkehr
> (zB Anträge, Rechtsmittel) richten Sie an:
> F: +43(0)5522/75482-6
> E: landesvermessungsamt at vorarlberg.at
> 
> 
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy



More information about the MapProxy mailing list