Skip to content
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

do not wrap the input dataset in a WarpedVRT when it's not needed #292

Open
vincentsarago opened this issue Jun 12, 2024 · 0 comments
Open

Comments

@vincentsarago
Copy link
Member

By default cog_translate will use an intermediate WarpedVRT during the processing, this is mostly to:

  • enable WebOptimized wrapping
  • enable nodata/alpha translation to mask
  • datatype casting (not sure if WarpedVRT is needed for this)

with WarpedVRT(src_dst, **vrt_params) as vrt_dst:

But it has the inconvenience of automatically wrapping dataset with internal GCPS, meaning that input dataset with GCPS will result in output dataset wrapped using the GCPS.

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

No branches or pull requests

1 participant