[OWSLib-devel] testing csw

Jachym Cepicky jachym.cepicky at gmail.com
Sun Dec 14 00:57:02 PST 2014


Hi,
playing with CSW client, following the documentation at
http://geopython.github.io/OWSLib/#csw, it does not seem to be quite
up-to-date.

1. csw.getrecords does not work with constrains parameter (I hope, I
changed it corretly to getrecords2 in
https://github.com/geopython/OWSLib/compare/17984108a2b9...e4baff1ce553

2. following the "bird_query" example:

birds_query = PropertyIsEqualTo('csw:AnyText', 'birds')
csw.getrecords2(constraints=[birds_query])

leads to error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/owslib/csw.py", line 351, in
getrecords2
    self._invoke()
  File "/usr/local/lib/python2.7/dist-packages/owslib/csw.py", line 658, in
_invoke
    raise ows.ExceptionReport(self._exml, self.owscommon.namespace)
owslib.ows.ExceptionReport: 'ORA-00936: missing expression'


I  have absolutely no idea, whether this is error on the server or on the
client.

Thanks for help (I might me sending more mails related to this csw topic in
near future)

Jachym
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/owslib-devel/attachments/20141214/e146b9e3/attachment.html>


More information about the OWSLib-devel mailing list