Last active
August 29, 2015 13:55
-
-
Save bartvde/8741675 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from owslib.csw import CatalogueServiceWeb | |
csw = CatalogueServiceWeb('http://nationaalgeoregister.nl/geonetwork/srv/dut/csw') | |
csw.getrecords2() | |
print csw.results | |
Barts-MacBook-Air:tmp bartvandeneijnden$ python test.py | |
0.8.4 | |
Traceback (most recent call last): | |
File "test.py", line 5, in <module> | |
csw.getrecords2() | |
File "/Library/Python/2.7/site-packages/owslib/csw.py", line 341, in getrecords2 | |
self._invoke() | |
File "/Library/Python/2.7/site-packages/owslib/csw.py", line 605, in _invoke | |
raise ows.ExceptionReport(self._exml, self.owscommon.namespace) | |
owslib.ows.ExceptionReport: 'invalid value' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment