Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update rio-tiler dependency #1003

Merged
merged 3 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 24 additions & 7 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Misc

* Removed default `WebMercatorQuad` tile matrix set in `/tiles`, `/tilesjson.json`, `/map` and `/WMTSCapabilities.xml` endpoints **breaking change**
* Remove default `WebMercatorQuad` tile matrix set in `/tiles`, `/tilesjson.json`, `/map` and `/WMTSCapabilities.xml` endpoints **breaking change**

```
# Before
Expand All @@ -23,9 +23,14 @@
* Use `@attrs.define` instead of dataclass for factories **breaking change**
* Use `@attrs.define` instead of dataclass for factory extensions **breaking change**


### titiler.core

* Update `rio-tiler` dependency to `>=7.0,<8.0`

* Update `geojson-pydantic` dependency to `>=1.1.2,<2.0` which better handle antimeridian crossing dataset

* handle `antimeridian` crossing bounds in `/info.geojson` endpoints (returning MultiPolygon instead of Polygon)

* Improve XSS security for HTML templates (author @jcary741, https://github.com/developmentseed/titiler/pull/953)

* Remove all default values to the dependencies **breaking change**
Expand Down Expand Up @@ -57,26 +62,38 @@
>> {'value': 1}
```

* fix Hillshade algorithm (bad `azimuth` angle)
* Fix Hillshade algorithm (bad `azimuth` angle)

* set default `azimuth` and `altitude` angles to 45º for the Hillshade algorithm **breaking change**
* Set default `azimuth` and `altitude` angles to 45º for the Hillshade algorithm **breaking change**

* Use `.as_dict()` method when passing option to rio-tiler Reader's methods to avoid parameter conflicts when using custom Readers.

* Renamed `BaseTilerFactory` to `BaseFactory` **breaking change**
* Rename `BaseTilerFactory` to `BaseFactory` **breaking change**

* Remove useless attribute in `BaseFactory` (and moved them to `TilerFactory`) **breaking change**

* Removed useless attribute in `BaseFactory` (and moved them to `TilerFactory`) **breaking change**
* Add `crs` option to `/bounds` endpoints to enable geographic_crs selection by the user

* `/bounds` endpoints now return a `crs: str` attribute in the response

### titiler.mosaic

* Renamed `reader` attribute to `backend` in `MosaicTilerFactory` **breaking change**
* Rename `reader` attribute to `backend` in `MosaicTilerFactory` **breaking change**

* Add `crs` option to `/bounds` endpoints to enable geographic_crs selection by the user

* `/bounds` endpoints now return a `crs: str` attribute in the response

* Update `cogeo-mosaic` dependency to `>=8.0,<9.0`

### titiler.extensions

* Encode URL for cog_viewer and stac_viewer (author @guillemc23, https://github.com/developmentseed/titiler/pull/961)

* Add links for render parameters and `/map` link to **viewer** dashboard (author @hrodmn, https://github.com/developmentseed/titiler/pull/987)

* Update viewers to use `/info.geojson` endpoint instead of `/info`

## 0.18.10 (2024-10-17)

### titiler.application
Expand Down
11 changes: 9 additions & 2 deletions docs/src/endpoints/cog.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ Example:

- QueryParams:
- **url** (str): Cloud Optimized GeoTIFF URL. **Required**
- **crs** (str): Geographic Coordinate Reference System. Default to `epsg:4326`.

Example:

Expand All @@ -289,17 +290,23 @@ Example:

`:endpoint:/cog/info` general raster info

- QueryParams:
- **url** (str): Cloud Optimized GeoTIFF URL. **Required**

Example:

- `https://myendpoint/cog/info?url=https://somewhere.com/mycog.tif`

`:endpoint:/cog/info.geojson` general raster info as a GeoJSON feature

- QueryParams:
- **url** (str): Cloud Optimized GeoTIFF URL. **Required**
- **crs** (str): Geographic Coordinate Reference System. Default to `epsg:4326`.

Example:

- `https://myendpoint/cog/info?url=https://somewhere.com/mycog.tif`
- `https://myendpoint/cog/info.geojson?url=https://somewhere.com/mycog.tif`


### Statistics

Advanced raster statistics
Expand Down
7 changes: 2 additions & 5 deletions docs/src/endpoints/stac.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ Example:

- QueryParams:
- **url** (str): STAC Item URL. **Required**
- **crs** (str): Geographic Coordinate Reference System. Default to `epsg:4326`.

Example:

Expand All @@ -330,11 +331,7 @@ Example:
- QueryParams:
- **url** (str): STAC Item URL. **Required**
- **assets** (array[str]): asset names. Default to all available assets.

Example:

- `https://myendpoint/stac/info.geojson?url=https://somewhere.com/item.json&assets=B01`

- **crs** (str): Geographic Coordinate Reference System. Default to `epsg:4326`.

`:endpoint:/stac/assets` - Return the list of available assets

Expand Down
Loading
Loading