Skip to content

Commit

Permalink
fix OGC API coverages subset not forwarded
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Jan 16, 2025
1 parent 8c7effc commit baa3719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion owslib/ogcapi/coverages.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def coverage(self, collection_id: str, **kwargs: dict) -> BinaryIO:
subsets_list = []
for s in kwargs['subset']:
subsets_list.append(f'{s[0]}({s[1]}:{s[2]})')
kwargs['subset'] = ','.join(subsets_list)
kwargs_['subset'] = ','.join(subsets_list)

if 'scale_factor' in kwargs:
kwargs_['scale-factor'] = int(kwargs['scale_factor'])
Expand Down

0 comments on commit baa3719

Please sign in to comment.