Skip to content

Add footprints in single layer and add assets of multiple items at once #271

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

floriandeboissieu
Copy link

At the moment, footprints are added as separate layers with one polygon in each. When checking tens or hundreds of footprints, it populates the GUi with layers...

This PR adds the search result as a single vector layer, just saving the ItemCollection result as the geojson feature collection (which it is). This way it accelerates much the loading of the footprints and makes it much more manageable to play with (toggle display, remove layer, ...), while keeping the items info available.

A similar issue comes with the assets: at the moment, if I want to add the same asset, e.g. B02, from multiple items (e.g. tens) I have to enter the "View assets" dialog of each item to tick the "add layer" box and click on "Add assets".

This PR adds two buttons "Add selected items" and "Add all items" in the Results tab of the main widget, in order to be able to add the same assets for the items at once (without or after download, same as the View assets dialog)

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

Successfully merging this pull request may close these issues.

1 participant