[Custom runtimes] Make the mosaic map endpoint more interactive
Nobody has claimed this yet.
- #89 by @hrodmn — closed without merging
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start at the custom runtime map endpoint and inspect runtime/eoapi/raster/eoapi/raster/templates/stac-viewer.html for reusable asset-display controls. Review discussion 77 and related pull request 62 to understand the proposed scope. Done means the map supports basemap choices, tile specification parameters, URL preloading, and tile-layer toggling.
Written by the indexing model from the issue text.
Description
Discussed in https://github.com/developmentseed/eoAPI/discussions/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:
- Add a basemap! Maybe a few options like Stamen Toner and some sort of imagery
- 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. - When you load the
mapendpoint without any map parameters, load the basemap with thebboxfor thesearchidand prompt the user to provide the tile specification in the toolbar. - 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!
- Dominant language
- JavaScript
- Stars
- 339
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from developmentseed/eoAPI
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
developmentseed/eoAPI#236 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
developmentseed/eoAPI#224 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 70/100
developmentseed/eoAPI#190 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
developmentseed/eoAPI#215 · 1 reaction ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
developmentseed/eoAPI#191 · 1 comment · 1 reaction ·
All issues in developmentseed/eoAPI
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 78/100
PranshulGG/WeatherMaster#1266 · 3 comments ·
Maintainers usually reply within 1 day
-
FEATURE REQUEST
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
linuxmint/cinnamon-spices-applets#9356 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
opnsense/plugins#5976 · 1 comment ·
Maintainers usually reply within 1 day
-
os.networkInterfaces() can throw and crash the process when listening on 0.0.0.0Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day