- fix factories
url_fortype (for starlette >=0.26)
- replace
VectorTilerFactory.tms_dependencyattribute byTilerFactory.supported_tms. This attribute gets amorecantile.defaults.TileMatrixSetsstore and will create the tms dependencies dynamically - replace
TMSFactory.tms_dependencyattribute byTMSFactory.supported_tms. This attribute gets amorecantile.defaults.TileMatrixSetsstore and will create the tms dependencies dynamically - add
default_tmsinVectorTilerFactoryto set the default TMS identifier supported by the tiler (e.gWebMercatorQuad)
- update hatch config
- remove
.pbfextension in tiles endpoints - add
orjsonas an optional dependency (for faster JSON encoding/decoding within the database communication) - enable
geomquery parameter to select thegeometry column(defaults to the first one) - add FastAPI application
exception handlerin default app - add
CacheControlMiddlewaremiddleware - enable more options to be forwarded to the
asyncpgpool creation - add
PG_SCHEMASandPG_TABLESenvironment variable to specify Postgres schemas and tables - add
TIMVT_FUNCTIONS_DIRECTORYenvironment variable to look for function SQL files - switch viewer to Maplibre
- add
PointandLineStringfeature support in viewer - Update dockerfiles to python3.10 and postgres14-postgis3.3
- update FastAPI requirement to >0.87
- remove endpoint Tags
- make orjson a default requirement
breaking changes
- renamed
app.state.function_catalogtoapp.state.timvt_function_catalog - changed
timvt.layer.Tableformat table_catalogis now ofDict[str, Dict[str, Any]]type (instead ofList[Dict[str, Any]])- renamed
timvt.db.table_indextotimvt.dbmodel.get_table_index - default to only view tables within the
publicschema - renamed base exception class to
TiMVTError - remove python 3.7 support
- update database settings input
- add
default_tmsin Layer definition to specify the Min/Max zoom TileMatrixSet - update
starlette-cramjamrequirement
breaking changes
- deprecating the use of
.pbfin tile's path
- update
morecantilerequirement to>3.1,=<4.0
- switch to
pyproject.tomland repo cleanup
- update viewer
- Refactor Function Registry to be hosted in the application state (`app.state.function_catalog) as the Table catalog.
- move
timvt.function.Registrytotimvt.layer.FunctionRegistry
- update settings management from starlette to pydantic and use
TIMVT_prefix
- update FastAPI version requirement to allow
>=0.73
- Faster and cleaner SQL code
- Compare Tile and Table geometries in Table CRS (speedup)
- Allow non-epsg based TileMatrixSet
- update morecantile requirement to
>=3.0.2 - add
geometry_sridin Table metadata - refactor
Functionlayers.
breaking changes
- Function layer signature change
-- before
CREATE FUNCTION name(
-- bounding box
xmin float,
ymin float,
xmax float,
ymax float,
-- EPSG (SRID) of the bounding box coordinates
epsg integer,
-- additional parameters
value0 int,
value1 int
)
RETURNS bytea
-- now
CREATE FUNCTION name(
-- bounding box
xmin float,
ymin float,
xmax float,
ymax float,
-- EPSG (SRID) of the bounding box coordinates
epsg integer,
-- additional parameters
query_params json
)
RETURNS byteaInitial release