Open e-kotov opened 2 months ago
yes, see also, but these are static. I do not suggest implementing the algorithm used in {flowmapper}
.
I was thinking since the underlying tech of {mapgl}
, {deckgl}
, {mapdeck}
, {flowmapblue}
are essentially the same (correct me if i'm wrong, but it's all based on deck.gl one way or another), adding arcs or even better, flowmaps, to {mapgl}
(which to me seems like the most ergonomic solution with many nice features) may be relatively easy.
Agreed that deck.gl/flowmap.gl is preferred. Deck.gl layer sources would be a great feature. Py-maplibregl has this functionality for shiny for python. https://eodagmbh.github.io/py-maplibregl/
flowmapper algorithm is from flowmapblue, so some additional work would be needed to visualize with mapgl using sf objects
On Thu, Sep 5, 2024, 6:23 PM Egor Kotov @.***> wrote:
See also https://github.com/JohMast/flowmapper
yes, see also, but these are static. I do not suggest implementing the algorithm used in {flowmapper}.
I was thinking since the underlying tech of {mapgl}, {deckgl}, {mapdeck}, {flowmapblue} are essentially the same (correct me if i'm wrong, but it's all based on deck.gl one way or another), adding arcs or even better, flowmaps, to {mapgl} (which to me seems like the most ergonomic solution with many nice features) may be relatively easy.
— Reply to this email directly, view it on GitHub https://github.com/walkerke/mapgl/issues/37#issuecomment-2332730306, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABALIN3ZHIC6FHUBXKXRQZ3ZVDKU7AVCNFSM6AAAAABNOUABAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZSG4ZTAMZQGY . You are receiving this because you commented.Message ID: @.***>
This would be interesting to consider. Those types of maps are available in deck.gl, which is not part of Mapbox GL JS or MapLibre GL JS by default. So we'd need to build out a deck.gl interface to accomplish that (which is what py-maplibregl has done). I'm not sure what the development lift for that would be.
In the meantime, the rdeck package (https://github.com/qfes/rdeck) is also a really nice interface to deck.gl (though unfortunately not on CRAN). You might consider taking a look at it for flow mapping.
Hello @walkerke , I wonder if it is possible to add support for flow visualisation with both or either of: