Hi Goyo,

I'm having trouble getting the wcs_idee test to pass. 
I can demonstrate the problem with urllib2:

>>> from urllib2 import urlopen
>>> from owslib.etree import etree
>>> 
u=urlopen('http://www.idee.es/wcs/IDEE-WCS-UTM30N/wcsServlet?service=WCS&request=GetCapabilities')
>>> e=etree.fromstring(u.read())

<snip long traceback>
<class 'elementtree.ElementTree.ParseError'>: not well-formed (invalid token): 
line 17, column 25

Basically it's complaining about some characters in the XML here:
http://www.idee.es/wcs/IDEE-WCS-UTM30N/wcsServlet?service=WCS&request=GetCapabilities

Do you have the same problem??

Cheers,
Dom



On Monday 22 June 2009 00:29:49 Goyo wrote:
> Hi all,
>
> I didn't feel comfortable with version being mandatory in
> WebCoverageService calls since it's provided in GetCapabilities
> response. Or maybe I'm missing something?
>
> Find attached patches for wcsBase.py and wcs.py which make this
> parameter optional in WCSCapabilitiesReader.__init__ and
> WebCoverageService. The first one is necessary for the second one to
> work. I also modified the doctest test_idee.txt in order to test
> WebCoverageService (and WCSCapabilitiesReader.__init__).
>
> Cheers
>
> Goyo


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

Reply via email to