Skip to content

Commit

Permalink
Merge pull request #459 from ungarj/fix_create_stac_item_zoom
Browse files Browse the repository at this point in the history
STAC: also expand custom zoom levels
  • Loading branch information
ungarj committed Apr 22, 2022
2 parents d7016a2 + c040585 commit 56c3394
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mapchete/cli/default/stac.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ def create_item(
) = output_info(input_)

if default_zoom:
zoom = zoom or validate_zooms(default_zoom)
zoom = zoom or default_zoom
zoom = validate_zooms(zoom)

if zoom is None: # pragma: no cover
raise ValueError("zoom must be set")
Expand Down

0 comments on commit 56c3394

Please sign in to comment.