X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8b56b55761d0dcc817544f9c23e4a6c43e0f5d9d..6d39563b872b21825a61949e88bc47a0e88c7573:/nominatim/api/v1/helpers.py diff --git a/nominatim/api/v1/helpers.py b/nominatim/api/v1/helpers.py index 13087280..896a131c 100644 --- a/nominatim/api/v1/helpers.py +++ b/nominatim/api/v1/helpers.py @@ -37,7 +37,7 @@ def zoom_to_rank(zoom: int) -> int: return REVERSE_MAX_RANKS[max(0, min(18, zoom))] -FEATURE_TYPE_TO_RANK: Dict[Optional[str], Any] = { +FEATURE_TYPE_TO_RANK: Dict[Optional[str], Tuple[int, int]] = { 'country': (4, 4), 'state': (8, 8), 'city': (14, 16),