Kitware / pan3d

Other
11 stars 3 forks source link

Feature Request: Any way to insert geojson? #95

Closed johnkit closed 2 months ago

johnkit commented 3 months ago

After some machinations, I was able to display some possibly-interesting data from the "eraint_uvz" dataset, which is read by the import_conifg_xarray.ipynb example notebook. After deriving the magnitude of air speed (how I do that is another story), the uppermost level (850 millibar) shows a pattern that might be indicative of major trade winds.

It would be quite handy if I could also display country outlines in this same view for visual context. Given that the rendering is done by vtk, I presume there is no practical way to display a geojson file. Is it possible to add a feature like that to vtk.js?

screenshot

jourdain commented 3 months ago

If you can convert a geojson to a polydata, then you are good to go. Either way you need to map the coordinate to our world one.

johnkit commented 2 months ago

Feature request including in #107