Skip to content
Discussion options

You must be logged in to vote

there should be a reproject query-parameter option available for the tile endpoints

reproject_method: Annotated[
Optional[WarpResampling],
Query(
alias="reproject",
description="WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`.",
),
] = None

the reproject option is not defined a TilerFactory level but at endpoint level.

If you want to have reproject to default to a specific value you'll have to create a custom DatasetParams dependency like:

@dataclass
class DatasetParams(DefaultDependency):
    """Low level WarpedV…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@davidbrochart
Comment options

Answer selected by davidbrochart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants