Replies: 9 comments 5 replies
-
I think the main question is how much you'll want to update |
Beta Was this translation helpful? Give feedback.
-
@kylebarron in my mind the path forward is to allow other developers aside from me to release new versions of pydeck. That's simply adding new maintainers to https://readthedocs.org/, our PyPI page, and following our release checklist. @Jesus89 I'm personally fine with adding the Carto module directly to pydeck. Also happy to add anyone that @alasarr or any member of our technical steering committee wants as a maintainer on the project. |
Beta Was this translation helpful? Give feedback.
-
I would prefer that we create an installable module similar to the earthengine-layers module. It is very valuable to maintain a clear separation between the core and commercial integrations. I do get that it is more convenient both for CARTO devs and users to not do that. but please consider that while CARTO is currently the only non-basemap integration module in the deck.gl repo, my bet is that this will soon change and things will get weird if we don't keep these modules separate. |
Beta Was this translation helpful? Give feedback.
-
Thanks for all the comments! I think I would prefer Option 1 because of these reasons:
I think in deck.gl we've a good separation with the different packages (@deck.gl/carto, @deck.gl/mapbox, @deck.gl/arcgis, @deck.glgoogle-maps...). Not an expert on python (maybe I'm wrong), but what I feel is that we don't have a system like this in pydeck. I propose we move forward with option 1, which will get the ball rolling and bring more users/contributors to pydeck. Then, we can focus on a long-term solution for this. |
Beta Was this translation helpful? Give feedback.
-
Would be possible option 2, but keep the same API for CartoLayer and other layers of deck.gl? I think that solution will make everybody happy |
Beta Was this translation helpful? Give feedback.
-
Hi all. Thanks for your quick responses. Taking into account all the information provided, I think, although option 1 seems a quick win in the short term, it can be a problem in the long term. Option 2 gives us more flexibility, so we can add more features in @kylebarron Regarding the frequency of updates in @ajduberstein We'll be glad to help with the releases and maintenance of pydeck too. @ibgreen Thanks for commenting on that point. I think it makes sense to make a separation between core and extra modules. @alasarr Yes. I made a test and we can have the same API for |
Beta Was this translation helpful? Give feedback.
-
Setup To use globalThis.CartoLayerLibrary = {CartoLayer: CartoUtils.CartoLayer}; I think it could make sense to include this, so we can use the bundle from unpkg instead of generating a new one. Test 1 Importing In the example, I'm using the Test 2 This example is using a |
Beta Was this translation helpful? Give feedback.
-
I will start a draft of Any suggestion or recommendation will be welcome! |
Beta Was this translation helpful? Give feedback.
-
At #6880 @Jesus89 has included the module of CARTO for Pydeck inside of the I understand that @ibgreen prefers an external repo, but before start moving I'd like to hear your thoughts on this @Pessimistress and @ajduberstein. |
Beta Was this translation helpful? Give feedback.
-
Hi @ajduberstein @kylebarron.
I'm working on extending pydeck functionality to add support for CartoLayer.
I would like to discuss with you what is the best way to approach this development.
Option 1
The fastest way for adding support for that layer is to include
@deck.gl/carto
in the jupyter-widget module. There are two reasons in favor of this approach:@deck.gl/carto
is already a dependency of the modulejupyter-widget
@deck.gl/google-maps
is already included in the moduleWith this approach, the layer will be ready to use like any other:
Option 2
Another option is to create a library in
deck.gl/bindings/pydeck-carto
with aCartoLayer
class that extendspydeck.Layer
, similar to this one.With this approach, we gain flexibility with a different API for the Layer, but also with the possibility of adding more CARTO-specific features in the future.
I would love to hear your opinion and suggestions. Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions