Skip to content

How to declare STAC Catalog extensions? #914

@mcucchi9

Description

@mcucchi9

As far as I understand, extensions implemented in the STAC Catalog (i.e. STAC extensions) should appear in the stac_extensions field of the STAC API landing page, while STAC API extensions should be listed in the field conformsTo of the same page.

If that's the case, I can't get around how to declare implemented STAC Catalog extension using stac-fastapi.

From a code inspection it looks like this should be possible, in principle, via the extension_schemas argument of the LandingPageMixin._landing_page method here:

extension_schemas: List[str],

but it also looks like wherever the method is used it is always harcoded to [], i.e. here:

and here:

What am I missing?

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