Skip to content

reader

titiler.pgstac.reader

Custom STAC reader.

PgSTACReader

Bases: MultiBaseReader

Custom STAC Reader.

Only accept pystac.Item as input (while rio_tiler.io.STACReader accepts url or pystac.Item)

__attrs_post_init__

__attrs_post_init__()

Fetch STAC Item and get list of valid assets.

_get_asset_info

_get_asset_info(asset: str) -> AssetInfo

Validate asset names and return asset's info.