Skip to content

Support for searching by link and asset via synthetic queryables #546

Open
@philvarner

Description

@philvarner

In the way I use it here, a synthetic queryable is one that doesn't exist as a literal field in the Item. Conceptually, all queryables are synthetic, as there is a mapping defined between the queryable term (e.g., eo:cloud_cover) and the search filter this translates to (e.g., item.properties.eo:cloud_cover <= 32.1), but synthetic is applied here to mean that that there's a more complex relationship expressed in the mapping.

Examples of what would be supported are:

  1. The Item has an Asset with the key red.
  2. The Item has an Asset with an eo:band array containing red and has a role array containing data.
  3. The Item has a Link with link relation derived_from and an href of https://planetarycomputer.microsoft.com/api/stac/v1/collections/sentinel-2-l2a/items/S2A_MSIL2A_20230320T052641_R105_T48XWH_20230320T082142

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Support for searching by link and asset via synthetic queryables · Issue #546 · stac-utils/stac-fastapi