backend
titiler.pgstac.backend ¶
TiTiler.PgSTAC custom Mosaic Backend and Custom STACReader.
PGSTACBackend ¶
Bases: BaseBackend
PgSTAC Mosaic Backend.
assets_for_bbox ¶
assets_for_bbox(xmin: float, ymin: float, xmax: float, ymax: float, coord_crs: CRS = WGS84_CRS, **kwargs: Any) -> list[dict]
Retrieve assets for bbox.
assets_for_point ¶
assets_for_point(lng: float, lat: float, coord_crs: CRS = WGS84_CRS, **kwargs: Any) -> list[dict]
Retrieve assets for point.
assets_for_tile ¶
assets_for_tile(x: int, y: int, z: int, **kwargs: Any) -> list[dict]
Retrieve assets for tile.
get_assets ¶
get_assets(geom: Geometry, fields: dict[str, Any] | None = None, scan_limit: int | None = None, items_limit: int | None = None, time_limit: int | None = None, exitwhenfull: bool | None = None, skipcovered: bool | None = None) -> list[dict]
Find assets.
_first_value ¶
_first_value(values: list[Any], default: Any = None)
Return the first not None value.