Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dateline crossing #117

Open
JoChambon opened this issue Jul 5, 2023 · 1 comment
Open

Dateline crossing #117

JoChambon opened this issue Jul 5, 2023 · 1 comment

Comments

@JoChambon
Copy link

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

@JoChambon
Copy link
Author

Reinstalling the package from github with devtools rather than install.packages() solved this issue.
devtools::install_github("16EAGLE/moveVis")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant