Skip to content

Links dropped from STAC Item #192

@geospatial-jeff

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions