ices-tools-dev / fisheriesXplorer

New interactive shinyApp that will help display fisheries overviews, mixed-fisheries considerations and bycatch.
MIT License
0 stars 0 forks source link

Redevelop VMS plots as rasters #2

Open Neilmagi opened 3 days ago

Neilmagi commented 3 days ago

Need to improve the speed of these plots. Converting the figures to rasters and aggregating to a higher resolution will make it faster to plot Consider using the tmap package as it has a similar syntax to ggplot but is flexible with what it plots

lucalamoni commented 3 days ago

An alternative approach could also be to use the shape file generated by the FOs and plot it using leaflet package, maybe it will speed up the process.

Periklis had a very cool tool to visualize VMS type of data, if that tool could be put in production in the future, then an iframe in the app could exploit it

Neilmagi commented 3 days ago

@lucalamoni I have added a new issue to explore alternatives (such as Periklis tool) and a label "Long term" for things we should look at later.

I have already attempted an approach where the outputs of the plot at saved and these are then called by the render function. It hasn't made an obvious improvement, but has slowed down the app load time