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

stac copy pulls in external catalogs/collections in structures #449

Open
constantinius opened this issue Jun 29, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@constantinius
Copy link
Contributor

Is your feature request related to a problem? Please describe.

I'm using stac copy to publish a self contained catalog to make an absolute published one, since this currently seems to be the only viable tool to do that.

With stac copys flag --no-resolve-links it is possible to only copy a single catalog and not resolve any of its children or items.

This works fine for single catalogs, but it is impossible to copy larger structures of STAC catalogs, where somewhere external references should not be internalized.

Consider the following structure:

root
  -> child
      ----------------------------------> external item

Here I want to copy root and child to the new location, but I don't want to copy the external item.

Describe the solution you'd like / Describe alternatives you've considered

Either stac copy should receive an extra argument, where extranenous files shall not be pulled into the structure upon copy, or another command should be made that only changes the hrefs of an existing catalog to make it absolutely published.

Additional context

@constantinius constantinius added the enhancement New feature or request label Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant