Skip to content

Commit

Permalink
Fix min_resolution_seed handling in server
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-morvan committed Jan 14, 2025
1 parent 00117b9 commit ca18d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tilecloud_chain/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def get_max_zoom_seed(config: tilecloud_chain.DatedConfig, layer_name: str) -> i
if "min_resolution_seed" in layer:
max_zoom_seed = -1
for zoom, resolution in enumerate(config.config["grids"][layer["grid"]]["resolutions"]):
if resolution > layer["min_resolution_seed"]:
if resolution >= layer["min_resolution_seed"]:
max_zoom_seed = zoom
return max_zoom_seed
else:
Expand Down

0 comments on commit ca18d1b

Please sign in to comment.