Titiler

Latest version: v0.18.2

Safety actively analyzes 630130 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 16

0.15.5

titiler.core

* add `algorithm` options for `/statistics` endpoints

* switch from `BaseReader.statistics()` method to a combination of `BaseReader.preview()` and `ImageData.statistics()` methods to get the statistics

0.15.4

titiler.core

* update `rio-tiler` requirement to `>=6.2.5,<7.0`

* allow `bidx` option in `titiler.core.dependencies.AssetsBidxExprParams` and `titiler.core.dependencies.AssetsBidxParams`

python
merge band 1 form asset1 and asset2
before
httpx.get(
"/stac/preview",
params=(
("url", "stac.json"),
("assets", "asset1"),
("assets", "asset2"),
("asset_bidx", "asset1|1"),
("asset_bidx", "asset2|1"),
)
)

now
httpx.get(
"/stac/preview",
params=(
("url", "stac.json"),
("assets", "asset1"),
("assets", "asset2"),
("bidx", 1),
)
)


* fix openapi examples

0.15.3

* add `dst_crs` options in `/statistics [POST]` and `/feature [POST]` endpoints

0.15.2

titiler.core

* add `dependencies.TileParams` dependency with `buffer` and `padding` options
* add `tile_dependency` attribute in `TilerFactory` class (defaults to `TileParams`)
* add `reproject` (alias to `reproject_method`) option in `DatasetParams` dependency

titiler.mosaic

* Change `HTTP_404_NOT_FOUND` to `HTTP_204_NO_CONTENT` when no asset is found or tile is empty (author simouel, https://github.com/developmentseed/titiler/pull/713)
* add `tile_dependency` attribute in `MosaicTilerFactory` class (defaults to `TileParams`)

cdk application

* Support non-root paths in AWS API Gateway Lambda handler (author DanSchoppe, https://github.com/developmentseed/titiler/pull/716)

0.15.1

* Allow a default `color_formula` parameter to be set via a dependency (author samn, https://github.com/developmentseed/titiler/pull/707)
* add `titiler.core.dependencies.create_colormap_dependency` to create ColorMapParams dependency from `rio_tiler.colormap.ColorMaps` object
* add `py.typed` files in titiler submodules (https://peps.python.org/pep-0561)

0.15.0

titiler.core

- added `PartFeatureParams` dependency

**breaking changes**

- `max_size` is now set to `None` for `/statistics [POST]`, `/bbox` and `/feature` endpoints, meaning the tiler will create image from the highest resolution.

- renamed `titiler.core.dependencies.ImageParams` to `PreviewParams`

- split TileFactory `img_dependency` attribute in two:
- `img_preview_dependency`: used in `/preview` and `/statistics [GET]`, default to `PreviewParams` (with `max_size=1024`)

- `img_part_dependency`: used in `/bbox`, `/feature` and `/statistics [POST]`, default to `PartFeatureParams` (with `max_size=None`)

- renamed `/crop` endpoints to `/bbox/...` or `/feature/...`
- `/crop/{minx},{miny},{maxx},{maxy}.{format}` -> `/bbox/{minx},{miny},{maxx},{maxy}.{format}`

- `/crop/{minx},{miny},{maxx},{maxy}/{width}x{height}.{format}` -> `/bbox/{minx},{miny},{maxx},{maxy}/{width}x{height}.{format}`

- `/crop [POST]` -> `/feature [POST]`

- `/crop.{format} [POST]` -> `/feature.{format} [POST]`

- `/crop/{width}x{height}.{format} [POST]` -> `/feature/{width}x{height}.{format} [POST]`

- update `rio-tiler` requirement to `>=6.2.1`

- Take coverage weights in account when generating statistics from GeoJSON features

Page 4 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.