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 <info@doublebyte.net>
This commit is contained in:
Jo
2021-12-17 16:55:30 +01:00
committed by GitHub
parent 05dfebd7e4
commit f79cd3d963
+1 -1
View File
@@ -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')