Skip to content

Commit

Permalink
Allow JSON as output format by default
Browse files Browse the repository at this point in the history
  • Loading branch information
MTachon committed Aug 11, 2023
1 parent 707cc46 commit b7dc1d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygeoapi/provider/rasterio_.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def query(self, properties=[], subsets={}, bbox=None, bbox_crs=4326,
:returns: coverage data as dict of CoverageJSON or native format
"""

if format_.lower() not in (
if format_ != 'json' and format_.lower() not in (
f.lower() for f in self.supported_output_formats
):
msg = f'Invalid format: {format_}'
Expand Down

0 comments on commit b7dc1d6

Please sign in to comment.