[Qgis-user] Strange wms behaviour

Ziegler Stefan Stefan.Ziegler at bd.so.ch
Wed Nov 14 09:51:31 PST 2012


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,303325.2656285648699850&CRS=EPSG:21781&WIDTH=1017&HEIGHT=779&LAYERS=ch.swisstopo.uebersicht-gemeinden&STYLES=&FORMAT=image/png&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96&TRANSPARENT=TRUE - server replied: BAD_REQUEST url:https://wms.geo.admin.ch?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=523451.4126297180773690,141592.1816699848859571,734597.1717900208896026,303325.2656285648699850&CRS=EPSG:21781&WIDTH=1017&HEIGHT=779&LAYERS=ch.swisstopo.uebersicht-gemeinden&STYLES=&FORMAT=image/png&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=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 





More information about the Qgis-user mailing list