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

Track jumps when crossing the -180/180 Longitude Boundary #75

Closed
cpuguru opened this issue Oct 25, 2019 · 5 comments
Closed

Track jumps when crossing the -180/180 Longitude Boundary #75

cpuguru opened this issue Oct 25, 2019 · 5 comments

Comments

@cpuguru
Copy link

cpuguru commented Oct 25, 2019

I'm using moveVis to create animations of ship movements around the globe.

When transitioning from -180 to 180 the path jumps across the screen taking the long route around rather then creating the much shorter segment.

Is there a work-around for these jumps?

@16EAGLE
Copy link
Owner

16EAGLE commented Nov 5, 2019

Thanks for that finding, I will look into it

@cpuguru
Copy link
Author

cpuguru commented Nov 6, 2019

Here's a link to a dataset that crosses the boundary if that helps...
https://www.researchvessels.org/images/shipdata.RDATA

@cpuguru
Copy link
Author

cpuguru commented Nov 22, 2019

Trying to implement the st_wrap_dateline() call against the data. Looks like I have to convert the data to a Line to do so?

@cpuguru
Copy link
Author

cpuguru commented Dec 5, 2019

I submitted the dilemma to StackOverflow & got a response on how to remedy the track portion.

Now I need to figure out how to coerce the results from LINESTRINGS to POINTS so that I can use them with MoveVis.

https://stackoverflow.com/questions/58998580/how-to-remedy-a-path-that-crosses-the-international-dateline-with-r

@16EAGLE
Copy link
Owner

16EAGLE commented Mar 3, 2020

Please see #82 for a fix to this in case it is still relevant for you.

@16EAGLE 16EAGLE closed this as completed Mar 25, 2020
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

2 participants