- update
titiler.core
andtitiler.mosaic
requirement to0.7
- add
MosaicTilerFactory._tilejson_routes
method to registerTileJSON
routes - raise
cogeo_mosaic.errors.MosaicNotFoundError
when SearchId is not found in pgstac.searches table
breaking changes
- move version definition in
titiler.pgstac.__version__
- remove unused
fetch_options
intitiler.pgstac.reader.PgSTACReader
- update
titiler
version and addreader_dependency
andbackend_dependency
in endpoint factory.
- remove LRU cache on all settings classes to enable support for manually providing settings via keyword arguments and to minimize lines of code (author @alukach, stac-utils#54)
- Insert mosaic metadata
min/max zoom
andbounds
in tilejson (stac-utils#51) - allow users the ability to optionally provide
PostgresSettings
toconnect_to_db()
function in the event that they want to customize how their DB credentials are populated (author @alukach, stac-utils#53)
- add
feature()
method toPGSTACBackend
mosaic backend - add
/statistics
endpoint to return statistics given a GeoJSON feature or featureCollection - add
collection
in allowed returned fields - switch to
pgstac.search
to get the STAC Item intitiler.pgstac.dependencies.get_stac_item
(stac-utils#50)
- move dependencies to
titiler.pgstac.dependencies
- add
/stac
endpoints to work with PgSTAC items
breaking changes
- add
/mosaic
prefix to the PgSTAC mosaic endpoints
- Add
search_dependency
to allow customization of the PgSTAC Search query (Author @drnextgis, stac-utils#41) - Add PgSTAC Search entries model (stac-utils#43)
- Add
Metadata
specification (stac-utils#38)
breaking changes
- update
titiler.core
andtitiler.mosaic
requirement to>=0.5
- When registering a
search
to PgSTAC with the/register
endpoint, a default metadata{"type": "mosaic"}
will be set. - Renamed
titiler.pgstac.models
totitiler.pgstac.model
- Renamed
titiler.pgstac.models.SearchQuery
totitiler.pgstac.model.PgSTACSearch
(and removedmetadata
) - output response for
/register
endpoint:
// before
{
"searchid": "...",
"metadata": "http://endpoint/.../info",
"tiles": "http://endpoint/.../tilejson.json",
}
// now
{
"searchid": "...",
"links": [
{
"rel": "info",
"href": "http://endpoint/.../info",
"type": "application/json",
},
{
"rel": "tilejson",
"href": "http://endpoint/.../tilejson.json",
"type": "application/json",
}
]
}
- output response for
/info
endpoint:
// before
{
"hash": "...",
"search": {},
"_where": "...",
...
}
// now
{
"search": {
"hash": "...",
"search": {},
"_where": "...",
...
},
"links": [
{
"rel": "self",
"href": "http://endpoint/.../info",
"type": "application/json",
},
{
"rel": "tilejson",
"href": "http://endpoint/.../tilejson.json",
"type": "application/json",
}
]
}
- add tile
buffer
option to match rio-tiler tile options (stac-utils#31)
- Forward TMS to the STAC Reader (allow multiple TMS) (stac-utils#28)
- Switch to psycopg3
- add
filter-lang
in Search model to support newer PgSTAC (with CQL-2) - add
metadata
in Search model to allow forwarding metadata to the search query entry in PgSTAC
breaking changes
- Unify reader/writer db pools to
request.app.state.dbpool
- rename
PostgresSettings.db_max_inactive_conn_lifetime
toPostgresSettings.max_idle
- remove
PostgresSettings().reader_connection_string
andPostgresSettings().writer_connection_string
. Replaced withPostgresSettings().connection_string
- update titiler requirement (>= 0.4)
- Surface PgSTAC options (
scan_limit
,items_limit
,time_limit
,exitwhenfull
andskipcovered
) in Tile endpoints
breaking changes
- remove
psycopg2
requirements to avoid conflict withpsycopg2-binary
(stac-utils#15)
Initial release