lalligagger / satgpt-app

app test for satgpt updates (langchain + panel)
MIT License
65 stars 11 forks source link

Consider re-integrating Leaflet, along with the overall UI #10

Open lalligagger opened 1 year ago

lalligagger commented 1 year ago

Leaflet had really good on-the-fly tile loading when I first tried, but it wasn't working in panel. This issue is now resolved so I plan to try the leaflet-stash fork again with that update applied.

There is also the ChatBox panel widget that would be interesting as either a modal or the main UI. In the latter case, I would imagine new holoviz views or leaflet views streaming into the chat as they are requested. This could also allow for "give me a histogram/ timeseries of XXX smaller AOI within the current view I am looking at."

I'm not really sure what the best solution is here, open to thoughts!

lalligagger commented 1 year ago

Definitely punting on this til after contest. May integrate some in-chatbox functionality towards the end of the month.

lalligagger commented 1 year ago

Alright... looks like it's actually working for folium so this could be used for basic previews of footprints, ground tracks, etc. But we won't be able to add layers, just single-shot. Probably better to start with. Maybe it'll work with ipyleaflet next week... idk anymore. 😅

https://gist.github.com/lalligagger/4e518956d1f9226c8d5aad8f30a8aa6f