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: [email protected] > [mailto:[email protected]] Im > Auftrag von Ziegler Stefan > Gesendet: Mittwoch, 14. November 2012 18:52 > An: [email protected] > 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 > [email protected] > http://www.so.ch > > > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
