Skip to content

Commit

Permalink
Update features.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis authored Mar 22, 2024
1 parent a4397f2 commit 6f74b4b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions owslib/ogcapi/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f74b4b

Please sign in to comment.