moveVis
moveVis copied to clipboard
Dateline crossing
Hi,
There seems to still be issues with the dateline crossing. I tried to animate the track from one animal that crosses the dateline but received a warning message that the argument 'cross_dateline' was ignored due to CRS specification, but as far as I am aware of the CRS I specified is unprojected/geographical.
move_data <- df2move(df=data_sub_2,proj="+proj=longlat +datum=WGS84",x="lon",y="lat",time="timestamp") #track from only one animal
m <- align_move(move_data, res = 15, unit = "mins") #tracking resolution of 15mins
frames <- frames_spatial(m, cross_dateline = TRUE) #track crossing the dateline
Warning: Argument 'cross_dateline' is ignored, since the coordinate reference system of 'm' is not geographical (long/lat).
Checking temporal alignment...
Processing movement data...
Approximated animation duration: ≈ 175.28s (~2.92 minutes) at 25 fps for 4382 frames
Retrieving and compositing basemap imagery...
|============================================================================================================================| 100% elapsed=00s
Error in .local(x, values, ...) : the size of 'values' is not correct
Any idea where the issue might come from?
Cheers
Jo
Reinstalling the package from github with devtools rather than install.packages() solved this issue. devtools::install_github("16EAGLE/moveVis")