Skip to content

update titiler/titiler-pgstac #252

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

vincentsarago
Copy link
Contributor

@vincentsarago vincentsarago commented May 15, 2025

This PR does:

  • update pctiler to require python>=3.9
  • update titiler, titiler-pgstac, rasterio versions

TODO

  • Questions
  • Update CI

colormap=colormap,
render_params=render_params,
reader_params=reader_params,
env=env,
)
return result


# /tiles endpoint compat with titiler<0.15, Optional `tileMatrixSetId`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added this because I thought we needed default WebMercatorQuad tilematrixset back.

We can remove if not needed

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep it, I see in our logs that we do have callers that request tiles without a TMS in the path.

For others, you can verify with this query in pc-api-appinsights:

ProductionRequests
| where name == "GET" and service == "tiler"
| where not(url  has "/preview.png")
| where url has "item/tiles" and not(url has "tiles/WebMercatorQuad")

@@ -115,57 +115,74 @@ def mosaic_info(
def tile_routes( # type: ignore
request: Request,
search_id=Depends(pgstac_mosaic_factory.path_dependency),
tile=Depends(TmsTileParams),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TmsTileParams is not used anymore in titiler-pgstac so it might disappear 🙈

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a problem!

@ghidalgo3
Copy link
Contributor

The CI/CD pipeline for this repo is functional. Once you pass the pipeline and merge this into main, it will be deployed and available at planetarycomputer-test.microsoft.com. Let's merge this and test that the test environment is working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants