Skip to content

Add support for relative href links #264

Open
@GorgiAstro

Description

@GorgiAstro

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions