From a7d60c68887bb00f8a81ae7bfcc38af63dae550f Mon Sep 17 00:00:00 2001 From: hrodmn Date: Mon, 8 Jan 2024 14:23:03 -0600 Subject: [PATCH] use the cellSize parameter instead of the _resolutions method --- titiler/pgstac/factory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/titiler/pgstac/factory.py b/titiler/pgstac/factory.py index bc5b9894..32bdc735 100644 --- a/titiler/pgstac/factory.py +++ b/titiler/pgstac/factory.py @@ -436,7 +436,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", )