ATFutures / geoplumber

Serve geographic data from R and consume with scalable front end.
https://atfutures.github.io/geoplumber/
59 stars 7 forks source link

Support for flowmap.gl #76

Closed Robinlovelace closed 3 years ago

Robinlovelace commented 5 years ago

Heads-up @layik, thanks to @symbolixau (let us know if you're thinking of doing anything with this and we can help) I just discovered this, which could solve sooo many problems in OD data mapping. https://github.com/teralytics/flowmap.gl

I notice it can be used with React already. Any chance of a wrapper so we can show OD data in R using this framework. That would be amazing.

dcooley commented 5 years ago

Yes I too have added a task to implement this - https://github.com/SymbolixAU/mapdeck/issues/223 - but mapdeck doesn't use react, so will need the .min.js version if it's made available. So I'm keen to see you get this working too.

layik commented 5 years ago

Thanks everyone, must fine time to get back on geoplumber.

layik commented 4 years ago

79

layik commented 4 years ago

Right @Robinlovelace and @dcooley. Here is what I have been able to do in the eAtlas so far which is very basic uses of the layer (flowmap). The showcases on flowmap.blue is much better of course.

Dave, happy to contribute if I can, I should be able to get you a .min.js from the repo if not over confident here.

Data: 180k OD pair (all UK 7200 OAs, twice so far crashed my 16gb MacBook Pro GPU.

Screenshot 2020-05-29 at 11 05 15 Screenshot 2020-05-29 at 11 05 36 Screenshot 2020-05-29 at 11 21 02
layik commented 4 years ago

the dots are not "points" they are "top flows" from the flowmap layer.

Robinlovelace commented 4 years ago

Nice!

layik commented 4 years ago

I think I see the best way to get this into geoplumber which has to be via eAtlas or another source. It is perfect for @dcooley to import into Mapdeck like other layers and maybe I should focus on helping (if needed) with the min.js needed for Dave to use.

The layer is similar to our own efforts of at least two new layers for DeckGL, namely the barvis and peak vis both from Washington Post work.

Visualizing the swing to Conservatives.

Screenshot 2020-06-03 at 01 45 19

Visualizing the election majorities.

Screenshot 2020-06-05 at 08 37 50

On that note, we can close this ticket.

Robinlovelace commented 4 years ago

Nice!

dcooley commented 4 years ago

yeah good work @layik . I hope to get back to Mapdeck development in the coming weeks so I'll give you a ping to see how best to integrate this.

layik commented 3 years ago

all too ambitious and this package needs to walk first. Reopen if feeling good.