From f79cd3d963a97651354ef87577fb55386e1631f2 Mon Sep 17 00:00:00 2001 From: Jo Date: Fri, 17 Dec 2021 16:55:30 +0100 Subject: [PATCH] Adding Type on collections page for tiles and coverages (#834) * - Adding the 'type' of the collection in the collections endpoint, for 'coverages' and 'tiles' * - removed support for adding "coverage" keyword, due to failing test Co-authored-by: doublebyte1 --- pygeoapi/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygeoapi/api.py b/pygeoapi/api.py index 8c16ce7..c064240 100644 --- a/pygeoapi/api.py +++ b/pygeoapi/api.py @@ -882,7 +882,7 @@ class API: self.config['server']['url'], k, F_HTML) }) - if collection_data_type in ['feature', 'record']: + if collection_data_type in ['feature', 'record', 'tile']: # TODO: translate collection['itemType'] = collection_data_type LOGGER.debug('Adding feature/record based links')