diff --git a/pygeoapi-config.yml b/pygeoapi-config.yml index 4de655a..28a734d 100644 --- a/pygeoapi-config.yml +++ b/pygeoapi-config.yml @@ -15,14 +15,16 @@ logging: metadata: identification: title: pygeoapi - abstract: pygeoapi provides an API to geospatial data + description: pygeoapi provides an API to geospatial data keywords: - geospatial - data - api keywords_type: theme - fees: None - accessconstraints: None + terms_of_service: None + license: + name: CC-BY 4.0 license + url: https://creativecommons.org/licenses/by/4.0/ provider: name: Organization Name url: https://github.com/geopython/pygeoapi @@ -48,7 +50,7 @@ datasets: provider: CSV id_field: id title: Observations - abstract: Observations + description: Observations keywords: - observations - monitoring @@ -66,12 +68,13 @@ datasets: begin: 2000-10-30T18:24:39Z end: 2007-10-30T08:57:29Z data: tests/data/obs.csv + landsat-aws: type: Polygon provider: Elasticsearch id_field: id_ title: my dataset - abstract: my dataset + description: my dataset keywords: - kw1 - kw2 @@ -94,7 +97,7 @@ datasets: provider: GeoJSON id_field: null # null indicates use feature enumeration title: Large Lakes - abstract: lakes of the world, public domain + description: lakes of the world, public domain keywords: - lakes crs: diff --git a/pygeoapi/flask_app.py b/pygeoapi/flask_app.py index 8ace2b2..0f57259 100644 --- a/pygeoapi/flask_app.py +++ b/pygeoapi/flask_app.py @@ -57,7 +57,7 @@ def serve(ctx, host, port, debug=False): hostport = '{}:{}'.format(host_, port_) api = app.add_api(settings['swagger'], debug=debug, strict_validation=True, - arguments={'host': hostport}) + arguments={'host': hostport, 'config': settings}) settings['api'] = api.specification diff --git a/pygeoapi/templates/service.html b/pygeoapi/templates/service.html index 89cc7e4..a0a60f3 100644 --- a/pygeoapi/templates/service.html +++ b/pygeoapi/templates/service.html @@ -17,7 +17,7 @@