Skip to content

Module titiler.pgstac.dependencies

titiler-pgstac dependencies.

Variables

cache_config
retry_config

Functions

CollectionIdParams

def CollectionIdParams(
    request: starlette.requests.Request,
    collection_id: typing_extensions.Annotated[str, Path(PydanticUndefined)]
) -> str

collection_id Path Parameter

ItemIdParams

def ItemIdParams(
    request: starlette.requests.Request,
    collection_id: typing_extensions.Annotated[str, Path(PydanticUndefined)],
    item_id: typing_extensions.Annotated[str, Path(PydanticUndefined)]
) -> pystac.item.Item

STAC Item dependency.

SearchIdParams

def SearchIdParams(
    search_id: typing_extensions.Annotated[str, Path(PydanticUndefined)]
) -> str

search_id

SearchParams

def SearchParams(
    body: titiler.pgstac.model.RegisterMosaic
) -> Tuple[titiler.pgstac.model.PgSTACSearch, titiler.pgstac.model.Metadata]

Search parameters.

TmsTileParams

def TmsTileParams(
    z: typing_extensions.Annotated[int, Path(PydanticUndefined)],
    x: typing_extensions.Annotated[int, Path(PydanticUndefined)],
    y: typing_extensions.Annotated[int, Path(PydanticUndefined)]
) -> morecantile.commons.Tile

TileMatrixSet Tile parameters.

Classes

BackendParams

class BackendParams(
    request: starlette.requests.Request
)

backend parameters.

Ancestors (in MRO)

  • titiler.core.dependencies.DefaultDependency

Methods

keys

def keys(
    self
)

Return Keys.

PgSTACParams

class PgSTACParams(
    scan_limit: typing_extensions.Annotated[Union[int, NoneType], Query(PydanticUndefined)] = None,
    items_limit: typing_extensions.Annotated[Union[int, NoneType], Query(PydanticUndefined)] = None,
    time_limit: typing_extensions.Annotated[Union[int, NoneType], Query(PydanticUndefined)] = None,
    exitwhenfull: typing_extensions.Annotated[Union[bool, NoneType], Query(PydanticUndefined)] = None,
    skipcovered: typing_extensions.Annotated[Union[bool, NoneType], Query(PydanticUndefined)] = None
)

PgSTAC parameters.

Ancestors (in MRO)

  • titiler.core.dependencies.DefaultDependency

Class variables

exitwhenfull
items_limit
scan_limit
skipcovered
time_limit

Methods

keys

def keys(
    self
)

Return Keys.