Skip to content

Links dropped from STAC Item #192

Description

@geospatial-jeff

Sat-api currently drops all links (stac_item.links) when ingesting stac items. The bug is happening here.

const links = data.links.filter((link) => hlinks.includes(link))

The fix is filtering by rel:

const links = data.links.filter((link) => links.includes(link.rel))

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions