ENMTools icon indicating copy to clipboard operation
ENMTools copied to clipboard

Need to add some checks on interactive plots

Open danlwarren opened this issue 4 years ago • 1 comments

When you've got more than a certain number of points or a raster that's past a certain resolution, the interactive plots just take forever to plot. Like, literally hours. We should have a check on data size before they start doing anything, along with maybe a "force.plot" argument or something like that.

danlwarren avatar May 15 '20 01:05 danlwarren

Hi Dan,

Good point. I can have a look at this next week I think. Since I wrote this the interactive mapping world has moved fast. There is now much faster mapping packages, such as mapview and mapdeck (this is blazing fast but unfortunately requires an API key to view the base maps, one way around this is to provide our own base map, perhaps through rnaturalearth?). There is also a fast raster plotting package for plotly (called rasterly). I don't want to get too complicated with this, so I will have to think about the best balance of convenience and speed here.

rdinnager avatar May 15 '20 02:05 rdinnager