Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flows visualisation with arcs or flowmaps #37

Open
e-kotov opened this issue Sep 1, 2024 · 5 comments
Open

flows visualisation with arcs or flowmaps #37

e-kotov opened this issue Sep 1, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@e-kotov
Copy link

e-kotov commented Sep 1, 2024

Hello @walkerke , I wonder if it is possible to add support for flow visualisation with both or either of:

@bt-maps
Copy link

bt-maps commented Sep 5, 2024

See also https://github.com/JohMast/flowmapper

@e-kotov
Copy link
Author

e-kotov commented Sep 5, 2024

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.

@bt-maps
Copy link

bt-maps commented Sep 5, 2024 via email

@walkerke
Copy link
Owner

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.

@walkerke
Copy link
Owner

walkerke commented Jan 9, 2025

Arc visualization support may be coming soon to Mapbox, which means we'll be able to support it here. See: mapbox/mapbox-gl-js#3993 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants