Skip to content

Commit ede9f60

Browse files
update rio-tiler dependency (#1003)
* update rio-tiler dependency * fix * use BoundingBox instead of WGS84BoundingBox in wmts when tms is not based on WGS84 (#1004)
1 parent 33eb757 commit ede9f60

File tree

19 files changed

+325
-326
lines changed

19 files changed

+325
-326
lines changed

CHANGES.md

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Misc
66

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

99
```
1010
# Before
@@ -23,9 +23,14 @@
2323
* Use `@attrs.define` instead of dataclass for factories **breaking change**
2424
* Use `@attrs.define` instead of dataclass for factory extensions **breaking change**
2525
26-
2726
### titiler.core
2827
28+
* Update `rio-tiler` dependency to `>=7.0,<8.0`
29+
30+
* Update `geojson-pydantic` dependency to `>=1.1.2,<2.0` which better handle antimeridian crossing dataset
31+
32+
* handle `antimeridian` crossing bounds in `/info.geojson` endpoints (returning MultiPolygon instead of Polygon)
33+
2934
* Improve XSS security for HTML templates (author @jcary741, https://github.com/developmentseed/titiler/pull/953)
3035
3136
* Remove all default values to the dependencies **breaking change**
@@ -57,26 +62,38 @@
5762
>> {'value': 1}
5863
```
5964
60-
* fix Hillshade algorithm (bad `azimuth` angle)
65+
* Fix Hillshade algorithm (bad `azimuth` angle)
6166
62-
* set default `azimuth` and `altitude` angles to 45º for the Hillshade algorithm **breaking change**
67+
* Set default `azimuth` and `altitude` angles to 45º for the Hillshade algorithm **breaking change**
6368
6469
* Use `.as_dict()` method when passing option to rio-tiler Reader's methods to avoid parameter conflicts when using custom Readers.
6570
66-
* Renamed `BaseTilerFactory` to `BaseFactory` **breaking change**
71+
* Rename `BaseTilerFactory` to `BaseFactory` **breaking change**
72+
73+
* Remove useless attribute in `BaseFactory` (and moved them to `TilerFactory`) **breaking change**
6774
68-
* Removed useless attribute in `BaseFactory` (and moved them to `TilerFactory`) **breaking change**
75+
* Add `crs` option to `/bounds` endpoints to enable geographic_crs selection by the user
76+
77+
* `/bounds` endpoints now return a `crs: str` attribute in the response
6978
7079
### titiler.mosaic
7180
72-
* Renamed `reader` attribute to `backend` in `MosaicTilerFactory` **breaking change**
81+
* Rename `reader` attribute to `backend` in `MosaicTilerFactory` **breaking change**
82+
83+
* Add `crs` option to `/bounds` endpoints to enable geographic_crs selection by the user
84+
85+
* `/bounds` endpoints now return a `crs: str` attribute in the response
86+
87+
* Update `cogeo-mosaic` dependency to `>=8.0,<9.0`
7388
7489
### titiler.extensions
7590
7691
* Encode URL for cog_viewer and stac_viewer (author @guillemc23, https://github.com/developmentseed/titiler/pull/961)
7792
7893
* Add links for render parameters and `/map` link to **viewer** dashboard (author @hrodmn, https://github.com/developmentseed/titiler/pull/987)
7994
95+
* Update viewers to use `/info.geojson` endpoint instead of `/info`
96+
8097
## 0.18.10 (2024-10-17)
8198
8299
### titiler.application

docs/src/endpoints/cog.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ Example:
280280

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

284285
Example:
285286

@@ -289,17 +290,23 @@ Example:
289290

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

293+
- QueryParams:
294+
- **url** (str): Cloud Optimized GeoTIFF URL. **Required**
295+
296+
Example:
297+
298+
- `https://myendpoint/cog/info?url=https://somewhere.com/mycog.tif`
299+
292300
`:endpoint:/cog/info.geojson` general raster info as a GeoJSON feature
293301

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

297306
Example:
298307

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

302-
303310
### Statistics
304311

305312
Advanced raster statistics

docs/src/endpoints/stac.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ Example:
307307

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

311312
Example:
312313

@@ -330,11 +331,7 @@ Example:
330331
- QueryParams:
331332
- **url** (str): STAC Item URL. **Required**
332333
- **assets** (array[str]): asset names. Default to all available assets.
333-
334-
Example:
335-
336-
- `https://myendpoint/stac/info.geojson?url=https://somewhere.com/item.json&assets=B01`
337-
334+
- **crs** (str): Geographic Coordinate Reference System. Default to `epsg:4326`.
338335

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

0 commit comments

Comments
 (0)