Publishing metadata to OGC API - Records

`OGC API - Records `_ provides geospatial data access functionality to vector data.

To add vector data to pygeoapi, you can use the dataset example in Configuration as a baseline and modify accordingly.

Providers

pygeoapi core record providers are listed below, along with a matrix of supported query parameters.

Provider

properties (filters)

resulttype

q

bbox

datetime

sortby

properties (display)

ElasticsearchCatalogue

results/hits

TinyDBCatalogue

results/hits

Below are specific connection examples based on supported providers.

Connection examples

ElasticsearchCatalogue

Note

Elasticsearch 7 or greater is supported.

To publish an Elasticsearch index, the following are required in your index:

providers:
    - type: record
      name: ElasticsearchCatalogue
      data: http://localhost:9200/some_metadata_index
      id_field: identifier
      time_field: datetimefield

TinyDBCatalogue

Note

Elasticsearch 7 or greater is supported.

To publish a TinyDB index, the following are required in your index:

providers:
    - type: record
      name: TinyDBCatalogue
      data: /path/to/file.db
      id_field: identifier
      time_field: datetimefield