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

Check conformance classes to avoid duplicate collection/item entries #60465

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

uclaros
Copy link
Contributor

@uclaros uclaros commented Feb 5, 2025

Description

Removed the QgsStacCatalog::supportsStacApi() method as different conformance classes need to be checked for different cases.

Now /items endpoint is used when catalog conforms to https://api.stacspec.org/v1.0.0/ogcapi-features and /collections is used when it conforms to https://api.stacspec.org/v1.0.0/collections.

Also for the data source manager search functionality conformance classes https://api.stacspec.org/v1.0.0/collections and https://api.stacspec.org/v1.0.0/item-search are checked.

@uclaros uclaros added Bug Either a bug report, or a bug fix. Let's hope for the latter! STAC Related to SpatioTemporal Asset Catalog labels Feb 5, 2025
@github-actions github-actions bot added this to the 3.42.0 milestone Feb 5, 2025
@uclaros uclaros force-pushed the fix-stac-double-entries branch from 7689f0e to cb2de85 Compare February 5, 2025 19:15
Copy link

github-actions bot commented Feb 5, 2025

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit 1b88c71)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 1b88c71)

@uclaros uclaros force-pushed the fix-stac-double-entries branch from cb2de85 to 1b88c71 Compare February 5, 2025 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! STAC Related to SpatioTemporal Asset Catalog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant