Skip to content

add per table TMS/Zoom settings #212

Description

@vincentsarago

tipg/tipg/settings.py

Lines 75 to 82 in 88f8685

class TMSSettings(BaseSettings):
"""TiPG TMS settings"""
default_tms: str = "WebMercatorQuad"
default_minzoom: int = 0
default_maxzoom: int = 22
model_config = {"env_prefix": "TIPG_", "env_file": ".env", "extra": "ignore"}

e.g. TIPG__public_countries__DEFAULT_MINZOOM=5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions