I'm interested in adding a new transform, specifically for https://deck.gl, an open source high performance geospatial rendering engine.
We have a Python binding, pydeck, that works in Jupyter notebook and lab through the ipywidget interface, but I'd like to enable it within the nteract ecosystem as well.
Aside from using a widget, Deck.gl has a JSON serialization interface, which encapsulates all the information we need to render a map, e.g.:
This is easily generated by Pydeck, and on the JS side, it's very easy to consume (docs). Pseudocode:
import Deck from 'deck.gl'
import {JSONConverter} from '@deck.gl/json';
const deck = new Deck({
canvas: 'deck-canvas',
json
});
deck.setProps(jsonConverter.convert(json));
Deck.gl is react-based but with an optional js imperative API, so I think there's a simple way to do the above using React but haven't researched it yet.
So my proposal is to add a transform to consume Deck.gl JSON and render it with the Deck.gl JS library.
Hello!
I'm interested in adding a new transform, specifically for https://deck.gl, an open source high performance geospatial rendering engine.
We have a Python binding,
pydeck
, that works in Jupyter notebook and lab through the ipywidget interface, but I'd like to enable it within the nteract ecosystem as well.Aside from using a widget, Deck.gl has a JSON serialization interface, which encapsulates all the information we need to render a map, e.g.:
This is easily generated by Pydeck, and on the JS side, it's very easy to consume (docs). Pseudocode:
Deck.gl is react-based but with an optional js imperative API, so I think there's a simple way to do the above using React but haven't researched it yet.
So my proposal is to add a transform to consume Deck.gl JSON and render it with the Deck.gl JS library.
Would such a PR be accepted?