[Qgis-user] Invalid WMS requests

Andreas Neumann a.neumann at carto.net
Mon Oct 13 23:30:10 PDT 2008


wow - this was one of the fastest bug fixes I ever experienced.

Thank you for fixing it!

Andreas


> Hi QGIS-Developers,
>
> I just compiled the latest QGIS trunk version and ran into the problem
> that the WMS plugin now generates invalid WMS requests. Did someone change
> the WMS functionality recently?
>
> I filed this as bug https://trac.osgeo.org/qgis/ticket/1346 - The problem
> is that it adds a second question mark in the REQUEST string, although the
> original connection string already contains a question mark.
>
> Here is my original WMS connection string which works fine for the
> GetCapabilities request:
>
> http://192.168.0.10/cgi/mapserv?map=/home/mapserverdata/orthofoto_2006.map
>
> Here is the connection string with two question marks that qgis generates:
> http://192.168.0.10/cgi/mapserv?map=/home/mapserverdata/orthofoto_2006.map&?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX=696445.925470,245312.612036,696779.574530,245536.794214&SRS=EPSG:21781&WIDTH=890&HEIGHT=599&LAYERS=orthofoto_2006_average,orthofoto_2006_bilinear&STYLES=&FORMAT=image/jpeg
>
> Note the second question mark before the SERVICE parameter. I think this
> is rather simple to fix in the code. Just see if a question mark is
> already present in the connection string and don't add one if it is.
>
> I would very much appreciate if someone could fix this for me since I am
> very much dependent on loading WMS layers.
>
> Thanks,
> Andreas
>
> --
> Andreas Neumann
> Böschacherstrasse 6, CH-8624 Grüt/Gossau, Switzerland
> Email: a.neumann at carto.net, Web:
> * http://www.carto.net/ (Carto and SVG resources)
> * http://www.carto.net/neumann/ (personal page)
> * http://www.svgopen.org/ (SVG Open Conference)
> * http://www.geofoto.ch/ (Georeferenced Photos of Switzerland)
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>


-- 
Andreas Neumann
Böschacherstrasse 6, CH-8624 Grüt/Gossau, Switzerland
Email: a.neumann at carto.net, Web:
* http://www.carto.net/ (Carto and SVG resources)
* http://www.carto.net/neumann/ (personal page)
* http://www.svgopen.org/ (SVG Open Conference)
* http://www.geofoto.ch/ (Georeferenced Photos of Switzerland)




More information about the Qgis-user mailing list