-
Notifications
You must be signed in to change notification settings - Fork 33
prepare for next titiler release #243
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
base: main
Are you sure you want to change the base?
Conversation
| * bump minimum python version to 3.11 | ||
| * update titiler requirement to `>=1.0,<1.1` | ||
| * switch to rio-tiler mosaic backend | ||
| * change `/point` response |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: Document the change
| * bump minimum python version to 3.11 | ||
| * update titiler requirement to `>=1.0,<1.1` | ||
| * switch to rio-tiler mosaic backend | ||
| * change `/point` response |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add change for the /{search_id}/list endpoint (now /{search_id}/)
| max_size=max_size, | ||
| **kwargs, | ||
| ) | ||
| return img, [x["id"] for x in used_assets] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👋 bye bye
| headers["X-Assets"] = ",".join(assets) | ||
|
|
||
| return Response(content, media_type=media_type, headers=headers) | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
everything is in titiler-mosaic now
| "attribution": os.environ.get("TITILER_DEFAULT_ATTRIBUTION"), | ||
| } | ||
|
|
||
| def wmts(self): # noqa: C901 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we still need a custom wmts method to handle the render layers
| optional_headers: List[OptionalHeader] = field(factory=list) | ||
|
|
||
| # Add/Remove some endpoints | ||
| add_viewer: bool = False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
document that add_viewer defaults to True in the parent factory
|
|
||
| # Statistics/Histogram Dependencies | ||
| stats_dependency: Type[DefaultDependency] = StatisticsParams | ||
| histogram_dependency: Type[DefaultDependency] = HistogramParams |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
96-98 can go I think
No description provided.