Hi,

I just tried getting an image from a WMS server using owslib. It seems that 
line 227 in wms is missing '?' between the base_url and the parameter string 
(data) because in the examples found in the owslib website, the base_url does 
not contain the '?'.

/usr/lib/python2.5/site-packages/OWSLib-0.3.1-py2.5.egg/owslib/wms.py
227:            u = self._open(base_url + data)

changing to:
            u = self._open(base_url + '?' + data)

solves the problem. Is this a bug or should I add the '?' to the base_url?

Thanks in advance!

--
Manel Clos
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to