Fix csw client to properly use getrecords2

This commit is contained in:
amercader 2013-10-16 13:58:14 +01:00
parent 636c1166ba
commit a09a52db7e
1 changed files with 1 additions and 4 deletions

View File

@ -6,6 +6,7 @@ for convenience.
import logging import logging
from owslib.etree import etree from owslib.etree import etree
from owslib.fes import PropertyIsEqualTo
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
@ -64,8 +65,6 @@ class CswService(OwsService):
""" """
Perform various operations on a CSW service Perform various operations on a CSW service
""" """
from owslib.csw import CatalogueServiceWeb as _Implementation
from owslib.fes import PropertyIsEqualTo
def getrecords(self, qtype=None, keywords=[], def getrecords(self, qtype=None, keywords=[],
typenames="csw:Record", esn="brief", typenames="csw:Record", esn="brief",
skip=0, count=10, outputschema="gmd", **kw): skip=0, count=10, outputschema="gmd", **kw):
@ -78,7 +77,6 @@ class CswService(OwsService):
kwa = { kwa = {
"constraints": constraints, "constraints": constraints,
"keywords": keywords,
"typenames": typenames, "typenames": typenames,
"esn": esn, "esn": esn,
"startposition": skip, "startposition": skip,
@ -106,7 +104,6 @@ class CswService(OwsService):
kwa = { kwa = {
"constraints": constraints, "constraints": constraints,
"keywords": keywords,
"typenames": typenames, "typenames": typenames,
"esn": esn, "esn": esn,
"startposition": startposition, "startposition": startposition,