[Qgis-user] Strange wms behaviour

Ziegler Stefan Stefan.Ziegler at bd.so.ch
Wed Nov 14 10:13:46 PST 2012


It seems it has to be something with the "/" at the end of the url. It works when I ignore the online resource from the GetCapabilities file.

Regards
Stefan

> -----Ursprüngliche Nachricht-----
> Von: qgis-user-bounces at lists.osgeo.org [mailto:qgis-user-bounces at lists.osgeo.org] Im
> Auftrag von Ziegler Stefan
> Gesendet: Mittwoch, 14. November 2012 18:52
> An: qgis-user at lists.osgeo.org
> Betreff: [Qgis-user] Strange wms behaviour
> 
> Hi
> 
> I noticed a strange wms behaviour with one specific wms server. After adding a layer
> from the server the message in the status bar shows "Getting map via WMS." But the
> map won't show up. And the message in the status bar never changes. In the QGIS
> debug messages I found:
> 
> Debug: src/core/qgsmessagelog.cpp: 41: (logMessage) 2012-11-14T19:01:48 WMS[0]
> Map request failed [error:Error downloading
> https://wms.geo.admin.ch?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX
> =523451.4126297180773690,141592.1816699848859571,734597.1717900208896026,3
> 03325.2656285648699850&CRS=EPSG:21781&WIDTH=1017&HEIGHT=779&LAYERS=ch.
> swisstopo.uebersicht-
> gemeinden&STYLES=&FORMAT=image/png&DPI=96&MAP_RESOLUTION=96&FORMAT_O
> PTIONS=dpi:96&TRANSPARENT=TRUE - server replied: BAD_REQUEST
> url:https://wms.geo.admin.ch?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BB
> OX=523451.4126297180773690,141592.1816699848859571,734597.1717900208896026
> ,303325.2656285648699850&CRS=EPSG:21781&WIDTH=1017&HEIGHT=779&LAYERS=c
> h.swisstopo.uebersicht-
> gemeinden&STYLES=&FORMAT=image/png&DPI=96&MAP_RESOLUTION=96&FORMAT_O
> PTIONS=dpi:96&TRANSPARENT=TRUE]
> 
> The request works in a browser and with wget. Any ideas?
> 
> 
> Freundliche Grüsse
> Stefan Ziegler
> Leiter amtliche Vermessung
> 
> Amt für Geoinformation
> Amtliche Vermessung
> Rötistrasse 4
> 4500 Solothurn
> 
> Telefon +41 32 627 75 96
> Telefax +41 32 627 75 98
> stefan.ziegler at bd.so.ch
> http://www.so.ch
> 
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user



More information about the Qgis-user mailing list