Kitware / trame

Trame lets you weave various components and technologies into a Web Application solely written in Python.
https://kitware.github.io/trame/
Other
406 stars 54 forks source link

Possible add-on modules #12

Closed jourdain closed 1 year ago

jourdain commented 2 years ago

No particular order just ideas

jourdain commented 2 years ago

Checking tabulator as already supported via vuetify

brunorpinho commented 2 years ago

Hi @jourdain, thanks for implementing this tool. It is fantastic and it certainly will help a lot of devs and data scientists in the future. I was thinking that an integration with panel would make trame even more powerful.

jourdain commented 2 years ago

Thanks for your suggestion. I guess we are still building some dev tools and infrastructure to easily deploy such application. But if we still have some resources, we will certainly look into it. Thanks for your kind words @brunorpinho .

cardinalgeo commented 1 year ago

Hi all! Is it possible to integrate a viewer for a tile server (e.g., Bane's localtileserver or kitware's large_image? If not, I think this would be a great addition! For example, I'm imagining it taking the place of the plotly plot in this trame example.

banesullivan commented 1 year ago

Hi @cardinalgeo! localtileserver is built on large_image so using/deploying either of the two is much the same! I actually made a demo of large_image and trame a few months back with the trame-leaflet module (https://github.com/Kitware/trame-leaflet). I'll dig up that code and post a reproducible example on GitHub somewhere ...stay tuned!

cardinalgeo commented 1 year ago

Awesome, thanks @banesullivan!

banesullivan commented 1 year ago

Here is a demo with large-image! This is also a great example of how to add custom REST endpoints to trame app: https://github.com/banesullivan/trame-tileserver

cardinalgeo commented 1 year ago

Sweet! I'll check it out in the next few days :)

cardinalgeo commented 1 year ago

Here is a demo with large-image! This is also a great example of how to add custom REST endpoints to trame app: https://github.com/banesullivan/trame-tileserver

This works well — thanks @banesullivan!

banesullivan commented 1 year ago

I want to follow up on the original question posed by this issue and propose a CesiumJS add-on module.

Trame currently has the trame-leaflet module, which is working excellently (for the above example and) for 2D geospatial mapping. CesiumJS is a fantastic alternative for this sort of geospatial mapping with the addition of being 3D and supporting 3D Tiles. We've been using CesiumJS across a number of projects at Kitware, and I think it would be hugely impactful to couple with Trame.

FYI, decoupling CesiumJS from CesiumION is an easy hurdle to get over. Reference: https://gist.github.com/banesullivan/e3cc15a3e2e865d5ab8bae6719733752

lalligagger commented 1 year ago

@banesullivan CesiumJS would be a big draw for my use case! Considering trame after experimenting with some other frameworks (Dash and panel more recently).

jourdain commented 1 year ago

Seems pretty straight forward to integrate vue cesium. Would such exposure be enough for your need?

lalligagger commented 1 year ago

I am not familiar with Vue or this wrapper, but took a look at the v3 docs. Here is a list of features that I'd have in mind:

I can find a vue cesium component for everything above except for the clock.

jourdain commented 1 year ago

vue-3 for trame is still WIP.

jourdain commented 1 year ago

JS

Vue components

Slides

Libraries to explore

DB

Testing