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

add thumbnail images to Landsat search results #207

Open
dthiex opened this issue Mar 25, 2022 · 1 comment
Open

add thumbnail images to Landsat search results #207

dthiex opened this issue Mar 25, 2022 · 1 comment
Assignees

Comments

@dthiex
Copy link
Contributor

dthiex commented Mar 25, 2022

@dthiex dthiex changed the title add preview images to Landsat collections add thumbnail images to Landsat search results Mar 25, 2022
@dgostencnik dgostencnik self-assigned this Jun 7, 2022
@dgostencnik
Copy link
Collaborator

Reusing L1 previews for L2 tiles will not work. USGS Explorer is able to do this as they are storing info about original tile (L1) for each L2 tile, while sh catalog service doesn't provide this info.

for example ID: LC09_L2SP_190031_20220603_20220605_02_T1

Screenshot from 2022-06-09 14-09-46

We could try to guess original id by replacing some substrings as file structure is quite well documented, but this also doesn't work very well, mostly because of change date (20220605 in above example) which can be different for L1 and L2.

Last option would be to make a request to catalog for each returned tile, but this will produce too many additional requests and it shouldn't be done as part of findTiles in sh-js.

I don't think it is worth bothering with any of this options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants