diff --git a/tilecloud_chain/server.py b/tilecloud_chain/server.py index c0f9fc7f3..2d75dcc1d 100644 --- a/tilecloud_chain/server.py +++ b/tilecloud_chain/server.py @@ -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: