Skip to content

The Show on map button is not being shown for s3 links COG files #372

Open
@imanshafiei540

Description

@imanshafiei540

Context:

Let's say I have an STAC item with the fllowing assets object:

{
  "id": "ID",
  ...
  "assets": {
    "FIRST_COG_FILE": {
      "href": "s3://something"
    },
    "SECOND_COG_FILE": {
      "href": "s3://something"
    } 
  }

Current behavior:

When I open the ITEM page, I can see the FIRST_COG_FILE and the SHOWN badge (Green one), but I cannot see the Show on map button for the SECOND_COG_FILE asset.

image

image

Let me know if you need more information/clarification.

Expected behavior:

I should be able to change the SHOWN asset even if they're using the s3 protocol.

I'll be happy to work on this (I've already done something) if you're also agreed on the expected behavior.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions