Fix csw client to properly use getrecords2
This commit is contained in:
parent
636c1166ba
commit
a09a52db7e
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue