Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/stac-utils/titiler-pgstac i…
Browse files Browse the repository at this point in the history
…nto HEAD
  • Loading branch information
vincentsarago committed Jan 9, 2024
2 parents 60ec292 + a48636c commit 526a7e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes

## unreleased

* use morecantile `TileMatrixSet.cellSize` property instead of deprecated/private `TileMatrixSet._resolution` method (author @hrodmn, https://github.com/stac-utils/titiler-pgstac/pull/148)

## 1.0.0 (2023-12-12)

* no change since `1.0.0a4`
Expand Down
2 changes: 1 addition & 1 deletion titiler/pgstac/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def map_viewer(
"request": request,
"tilejson_endpoint": tilejson_url,
"tms": tms,
"resolutions": [tms._resolution(matrix) for matrix in tms],
"resolutions": [matrix.cellSize for matrix in tms],
},
media_type="text/html",
)
Expand Down

0 comments on commit 526a7e3

Please sign in to comment.