From 6f74b4b3f2d7fcdbf9ddc13f5ce62a563dbe11ba Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Fri, 22 Mar 2024 13:49:46 -0400 Subject: [PATCH] Update features.py --- owslib/ogcapi/features.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/owslib/ogcapi/features.py b/owslib/ogcapi/features.py index c66075bd..0cec6f07 100644 --- a/owslib/ogcapi/features.py +++ b/owslib/ogcapi/features.py @@ -40,6 +40,19 @@ def feature_collections(self) -> list: return features_ + def collection_queryables(self, collection_id: str) -> dict: + """ + implements /collections/{collectionId}/queryables + + @type collection_id: string + @param collection_id: id of collection + + @returns: `dict` of feature collection queryables + """ + + path = f'collections/{collection_id}/queryables' + return self._request(path=path) + def collection_items(self, collection_id: str, **kwargs: dict) -> dict: """ implements /collection/{collectionId}/items