Open fostermh opened 2 years ago
glos csw service is available here: https://seagull-geoportal.glos.org/geoportal/csw?request=GetCapabilities&service=CSW&version=3.0.0
this appears to give the xml https://seagull-geoportal.glos.org/geoportal/rest/metadata/item/e05de7ae36ee459395ba2d9b9e39e3dd/xml so if we can get a list of dataset id's we could pull the xml in a standard way using a waf harvester
trying to harvest using CSW seems to be broken, I get 'Error gathering the identifiers from the CSW server [Document is XML.
it looks like the following query will give us the records modified since this date. https://seagull-geoportal.glos.org/geoportal/opensearch?q=&modified=2023-01-20/*&f=json
GLOS's new seagull application is built on ERSI products and thus is using geoportal as it's backend metadata server. metadata records can be requested using the standard geoportal rest API. for example:
Note that while in this example I am requesting the metadata in iso19115-2 format and is under the hits/hits[]/_source/sys_xml_clob json path. The rest of the returned json is the same as if we had added 'f=pjson' to the query string. requesting metadata in XML format ('f=xml') results in RSS feed XML which is not what we are looking for.
I have tried every incarnation of date range search I can find but non of them work on this instance of geoportal. It seems like square brackets are not allowed and non of the DATE casts seem to work