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?
As far as I understand, extensions implemented in the STAC Catalog (i.e. STAC extensions) should appear in the
stac_extensionsfield of the STAC API landing page, while STAC API extensions should be listed in the fieldconformsToof 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_schemasargument of theLandingPageMixin._landing_pagemethod here:stac-fastapi/stac_fastapi/types/stac_fastapi/types/core.py
Line 48 in 7b20977
but it also looks like wherever the method is used it is always harcoded to
[], i.e. here:stac-fastapi/stac_fastapi/types/stac_fastapi/types/core.py
Line 155 in 7b20977
and here:
stac-fastapi/stac_fastapi/types/stac_fastapi/types/core.py
Line 365 in 7b20977
What am I missing?