[Community] New OWSLib interfaces test
Dominic Lowe
dominic.lowe at stfc.ac.uk
Thu Sep 17 15:43:34 EEST 2009
Hi all,
I have just added a new test to OWSLib to check that all service types
(WMS/WCS/WFS/CSW) comply with the OWSLib OWSCommonesque service definitions.
the test is here:
http://trac.gispython.org/lab/browser/OWSLib/trunk/tests/ows_interfaces.txt
and the interface definitions here:
http://trac.gispython.org/lab/browser/OWSLib/trunk/owslib/interfaces.py
You can run this test from the tests directory using:
python runalldoctests.py -t ows_interfaces.txt
It doesn't pass yet - but it's close! There are some issues with the way
contents is implemented in CSW - it uses a list, the others use a dictionary.
The WCS also has a couple of attribute issues I need to look at.
We may also want to consider if the interfaces are still correct -
IContentMetadata particularly seems a bit WMS specific now (e.g. has
a 'styles' attribute).
Also I am sure this cross-service test could be expanded greatly - feel free
to improve upon what's there.
Cheers
Dom
p.s. Just realised I've completely missed off SOS - not sure where this is
up to? Is it working? I couldn't see any tests for it.
More information about the Community
mailing list