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

[Custom runtimes] Make the mosaic map endpoint more interactive #79

Open
hrodmn opened this issue May 18, 2023 Discussed in #77 · 0 comments
Open

[Custom runtimes] Make the mosaic map endpoint more interactive #79

hrodmn opened this issue May 18, 2023 Discussed in #77 · 0 comments
Labels
enhancement New feature or request Feature Request

Comments

@hrodmn
Copy link
Contributor

hrodmn commented May 18, 2023

Discussed in #77

Originally posted by hrodmn May 17, 2023
@vincentsarago I think eoAPI is the perfect foundation for some work that I am doing at NCX right now. I want to be able to a) build mosaic endpoints on the fly (I think you are already looking at this here, b) manipulate the asset/rescale/colormap parameters for a mosaic and have some more interactive features (layer control, basemap control, etc) while browsing the map endpoint (I think a lot of the code for asset display control already exists here).

Here are a few ideas for some features to build out:

  1. Add a basemap! Maybe a few options like Stamen Toner and some sort of imagery
  2. Add a tile specification panel to the map that allows you to specify assets, rescale, colormap, etc (similar to raster STAC item viewer). If you add those parameters to the url (e.g. ...{searchid}/map?assets=cog&rescale=0,1000, those parameters get pre-loaded.
  3. When you load the map endpoint without any map parameters, load the basemap with the bbox for the searchid and prompt the user to provide the tile specification in the toolbar.
  4. Add a tile layer control to make it possible to toggle the tiles on/off

I think we can build most by borrowing code from the raster viewer endpoint!

@vincentsarago vincentsarago added enhancement New feature or request Feature Request labels May 18, 2023
@vincentsarago vincentsarago changed the title Make the mosaic map endpoint more interactive [Custom runtimes] Make the mosaic map endpoint more interactive Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Feature Request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants