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

Add support for relative href links #264

Open
GorgiAstro opened this issue Oct 15, 2024 · 0 comments
Open

Add support for relative href links #264

GorgiAstro opened this issue Oct 15, 2024 · 0 comments

Comments

@GorgiAstro
Copy link

My use case: I use the STAC FastAPI server to serve the STAC catalog, collection & items. The assets are stored and served from the same server, so I use a relative link in the href field of the asset, while the collection contains the absolute server root URI. Relative href links are supported in the STAC spec, and I managed to download sucessfully the asset from the STAC browser.
However it does not look like relative asset links are supported by the QGIS STAC plugin. Looking at the source code and adding a few print, the assets' relative href is never resolved using the root href URI.

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