Releases: 16EAGLE/moveVis
moveVis 1.0.0
moveVis 1.0.0
Updating moveVis to support move2 for representing trajectory data and terra for representing raster data.
Changes:
- Argument
resofalign_movenow expects a units object for representing the target time resolution (see?moveVis::align_move). align_movenow relies ons2for spatio-temporal interpolation.frames_spatialnow expectsterraSpatRasterDatasetfor multi-temporal raster data via therargument. See?moveVis::frames_spatialfor details.- Arguments
crsandcrs_graticulewere added toframes_spatialto control the CRS used by frames (see?frames_spatialfor details). With this version onwards, the CRS of frames created usingframes_spatialis no longer determined by the CRS ofmbut instead by argumentcrs. All spatial components of frames will be transformed to this CRS if needed. The standard CRS ofmoveVisframes is Web Mercator (EPSG 3857), as this CRS is the standard CRS of open base map products from the web. This default setting ensures that map labels are not distorted. - Argument
extofframes_spatialnow expect ansfbboxobject with same CRS am. render_framenow usescoord_sfinstead ofcoord_cartesianto correctly render different Coordinate Reference Systems.join_framesnow usespatchworkinstead ofcowplotto combine plots in frames. Thus, argumentsguides,design,render_all_legendsand...were added to controlpatchwork::wrap_plots.moveVisdocumentation was updated to reflect the changes.moveVisexample code was updated, usingmove2instead ofmoveandterrainstead ofrasterand to reflect the changes.- The way dateline crossings are handled has been revised:
moveVisnow relies onsfto compute cross-dateline paths in Lat/Lon instead of doing this internally. Be advised that it is recommended to use a projection suiting your area instead of enabling dateline crossing in Lat/Lon (see?frames_spatialfor details). - Example movement data were updated to the
move2class - Example raster data were updated to the
terraSpatRasterDatasetclass and an additional example comprised of disrecte values was added (see?moveVis::example_datafor details) s2,move2,terra,units,patchwork,ggnewscale,basemapsandrlangwere added as importsmove,rasterandcowplotwere removed as imports
Deprecations:
- Arguments
r_listandr_timesofframes_spatialare deprecated. Use argumentrinstead and supply aterraSpatRasterDatasetto bundle multiple multi-layered rasters of a time series. See?moveVis::frames_spatialfor details. df2moveandsubset_movewere deprecated in favor ofmove2's interface for coercion and subsetting.
Distribution:
moveViswas added to r-universe for continuous testing and integration. Like on CRAN, platform-specific binaries are build there to ease installation. You can now install the most recentmoveVisversion from r-universe usinginstall.packages("moveVis", repos = '16eagle.r-universe.dev')
moveVis 0.10.6
moveVis 0.10.6
New S3 class and methods to represent frames, lazy plotting, improvements.
New features:
- Frames are now represented by a new native
moveVisS3 class that is outputted by allframes_*()functions such asframes_spatial(). The class comes with native printing and indexing methods. Frames can be easily subsetted ([), plotted ([[) and checked for length (length()). The default print method displays a summary of the created frames. - With the native
moveVisclass, frames are now rendered lazy when plotted and not being hold in memory. As data duplication has been reduced to the minimum, this change should reduces memory use offrames_spatial(). All functions work with the new class. This change mostly effects how things work under the hood and does not alter the user interface. - added documentation search using
DocSearchto web page - Argument
digitofalign_move()is deprecated, since digits are now calculated automatically. - Multiple improvements to
align_move(), including printing of the detected resolution to which data are aligned. - Added
path_colourstoframes_graph()to be able to colour paths equal to paths inframes_spatial() - Added
basemapsas dependency for downloading and caching basemaps, removed native basemap retrieval and plotting functions
Deprecations:
- Argument
mofadd_timestamps()has been deprecated since the newmoveVisclass contains all necessary data to obtain frame times. Thus, it is not needed anymore and therefore ignored if still being used.
Bug fixes:
- Bug that caused
align_move()to break with an unspecific error message when at least one trajectory ofmcovered a time range shorter than the requested temporal resolution. The function now warns the user when a temporal resolution is selected that cannot be applied to at least one trajectory and excludes the trajectory/trajectories in question from the returned object. - Bug that caused
frames_spatial()to interrupt with an error when trying to interpolater_listwithfade_raster=T - Fixed bug in adding margin to user
extinframes_spatial() - Fixed bug with paths crossing end of grid (aka dateline) when
cross_dateline=TRUEinframes_spatial()
moveVis 0.10.5
Revised distance calculations & handling of dateline crossings. Released on CRAN: 2020-03-28
New features:
- Argument
cross_datelineofframes_spatialto indicate that unprojected tracks in lon/lat cross the dateline. Instead of clipping frames at longitudes -180 and 180,moveVisextends frames and connects tracks across the dateline. - Distance calculations are now based on
lwgeom - Refined base map plotting (see additional arguments
...offrames_spatialfor available options) - Added
NAhandling for base maps (e.g. rasterized labels) - Dropped dependencies
Bug fixes:
- Minor errors and warnings caused by reverse dependency changes of package
sf
Go to http://movevis.org/news/ for a full overview of all releases.
moveVis 0.10.4
Publication, added parallelization, new memory settings and bug fixes. Released on CRAN: 2020-02-07.
Peer-reviewed publication:
- An open-access paper accompanying the
moveVisR package has been peer-reviewed by and published in 'Methods in Ecology and Evolution' (see https://doi.org/10.1111/2041-210X.13374). - Reference: Schwalb-Willmann, J.; Remelgado, R.; Safi, K.; Wegmann, M. (2020). moveVis: Animating movement trajectories in synchronicity with static or temporally dynamic environmental data in R. Methods in Ecology and Evolution. Accepted Author Manuscript. https://doi.org/10.1111/2041-210X.13374.
- Citation: Please use
citation("moveVis")to cite moveVis, e.g. when you use it in publications or presentations.
New features:
- Many computationally expensive
moveVistasks can now be parallelized, as multi-core support formoveVishas been implemented (seeuse_multicore()) - Added a new example data set
whitestork_data, representing coordinates and acquisition times of 15 White Storks migrating from Lake of Constance, Germany, to Africa.
New functions:
use_multicore()lets you turn on multi-core support ofmoveVisto increase computational time through parallelization.use_disk()enables the usage of disk space for creating frames. This can prevent memory overload when creating frames for very large animations.
Bug fixes:
- Bug that caused a gap between traces and paths.
v0.9.9 – last stable release of moveVis with old syntax
This release represents the last version of moveVis using the old moveVis function syntax.
With moveVis 0.10.0, a rewrite of moveVis has been released. The new version of moveVis introduces new functions that make it much easier to create animations from movement and imagery data and customize them. However, code written for older versions of moveVis (<= 0.9.9) will not work with newer moveVis versions (>= 0.10). While it is highly recommended to adjust your old code and use the new moveVis functions, there might be some cases where you need your old code to work. For this, the last version supporting functions of older versions (such as animate_move()) is released here.