eodms-sgdot/eodms-ogc-client-py

Issue with HTTP response in end-to-end order example

Opened this issue · 0 comments

Seems to be a discrepancy between the HTTP response in the end-to-end order example and the one that is currently being delivered from the CSW GetRecords response. There are two differences that I can see:

record_tag = '{http://www.opengis.net/cat/csw/2.0.2}Record'
for child in root.iter('*'):
    if child.find(record_tag):
        rec_element = child.find(record_tag)
        break

does not find a 'Record' tag but rather only a 'SummaryRecord' from the response. There is also no <dct:references> tag to parse the URL for the collection id.

Any assistance would be greatly appreciated!!!