implement CSW facade (#1386)

This commit is contained in:
Tom Kralidis
2023-11-01 19:35:14 -04:00
committed by GitHub
parent 169450f342
commit bfd3cac20a
5 changed files with 473 additions and 2 deletions
@@ -20,6 +20,7 @@ parameters.
`ElasticsearchCatalogue`_,✅,results/hits,✅,✅,✅,✅,❌
`TinyDBCatalogue`_,✅,results/hits,✅,✅,✅,✅,✅
`CSWFacade`_,✅,results/hits,✅,✅,✅,❌,❌
Below are specific connection examples based on supported providers.
@@ -70,6 +71,25 @@ To publish a TinyDB index, the following are required in your index:
id_field: identifier
time_field: datetimefield
CSWFacade
^^^^^^^^^
.. note::
Requires Python package `OWSLib`_
To publish a CSW using pygeoapi, the CSW base URL (`data`) is required. Note that the
CSW Record core model is supported as a baseline.
.. code-block:: yaml
providers:
- type: record
name: CSWFacade
data: https://demo.pycsw.org/cite/csw
id_field: identifier
time_field: datetime
title_field: title
Metadata search examples
------------------------
@@ -103,3 +123,4 @@ Metadata search examples
.. _`OGC API - Records`: https://ogcapi.ogc.org/records
.. _`OGC API - Records GeoJSON Features`: https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/schemas/recordGeoJSON.yaml
.. _`OWSLib`: https://geopython.github.io/OWSLib