Skip to content
Discussion options

You must be logged in to vote

Hi @vprint

Can you try using other resampling method than nearest?

export_to_cog(
    f"{VRT_FOLDER}/raw_datas.vrt",
    f"{WORKING_SANCY}/cog_raw_tms.tif",
    profile=COGProfile.LERC_ZSTD,
    # profile_options={"MAX_Z_ERROR": 0.01},
    tms=morecantile.tms.get("WebMercatorQuad"),
    resampling="bilinear",
    overview_resampling="bilinear",
)

Replies: 1 comment 1 reply

Comment options

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

Answer selected by vprint
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
Converted from issue

This discussion was converted from issue #313 on January 05, 2026 08:09.