model
titiler.pgstac.model ¶
Titiler.pgstac models.
Note: This is mostly a copy of github.com/stac-utils/stac-fastapi/blob/master/stac_fastapi/pgstac/stac_fastapi/pgstac/types/search.py
Link ¶
Bases: BaseModel
Link model.
Ref: github.com/opengeospatial/ogcapi-tiles/blob/master/openapi/schemas/common-core/link.yaml
Code generated using koxudaxi/datamodel-code-generator
Metadata ¶
PgSTACSearch ¶
Bases: BaseModel
Search Query model.
Notes/Diff with standard model: - 'fields' is not in the Model because it's defined at the tiler level - we don't set limit
validate_query_fields ¶
Pgstac does not require the base validator for query fields.
validate_spatial ¶
validate_spatial(v: Optional[Geometry], info: ValidationInfo)
Make sure bbox is not used with Intersects.