[OWSLib-devel] [owslib-users] Bug in owslib?
Tom Kralidis
tomkralidis at hotmail.com
Fri Sep 6 08:15:12 PDT 2013
Hi Chris: FYI looks like this got sent to the old OWSLib sourceforge mailing list (which I should turn off). I've cc'd owslib-devel at lists.osgeo.org, which is the list we are currently using (more info at http://lists.osgeo.org/mailman/listinfo/owslib-devel).
I'm guessing Luca may have some comments per below.
..Tom
Date: Fri, 6 Sep 2013 16:17:12 +0200
From: christopher.eykamp at tudor.lu
To: owslib-users at lists.sourceforge.net
Subject: [owslib-users] Bug in owslib?
Hello,
I sent this query to the owslib-devel list a few weeks ago, and got
no response. I'm trying again here. I've fixed this in my local
copy of owslib, but want some reaffirmation that it is actually a
bug, and that my fix makes sense.
Thanks,
Chris
-------------------
I found what might be a bug in owslib, and want to confirm it.
Fortunately, if I am correct, it is a trivial fix.
So this is the issue:
I *think* that when parsing the results
of a WPS DescribeCoverage request, literal outputs are included in
the LiteralOutput tag. owslib seems to be looking for the
LiteralData tag, which is used in the input.
So the fix would be to replace
self._parseLiteralData(outputElement, 'LiteralData')
with
self._parseLiteralData(outputElement, 'LiteralOutput')
in wps.py, line c. 979.
I can be more specific if there is consensus that this is indeed a
problem.
Thanks!
Chris
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
owslib-users mailing list
owslib-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owslib-users
More information about the OWSLib-devel
mailing list