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

crossing dateline issue #126

Open
ingomiller opened this issue Jun 6, 2024 · 0 comments
Open

crossing dateline issue #126

ingomiller opened this issue Jun 6, 2024 · 0 comments

Comments

@ingomiller
Copy link

Hi,

I have some data with dateline crossings. When setting 'cross_dateline = TRUE', frames_spatial() seem to account for this correctly, however, the tiles of the basemap beyond the crossing are missing (see screenshot). Workflow below.

NFI_tracks <- moveVis::df2move(NFI.df,
#proj = "+init=epsg:4326",
#proj = "+proj=longlat +lon_wrap=180 +datum=WGS84",
proj = 4326,
x = "lon", y = "lat", time = "uni_timestamp", track_id = "id")

m <- moveVis::align_move(NFI_tracks, res = 'mean', unit = "days")

frames <- moveVis::frames_spatial(m,
# map_service = "carto",
# map_type = "light",
alpha = 1,
path_legend = FALSE,
path_size = 3,
path_end = 'round',
path_join = 'round',
trace_show = TRUE,
trace_colour = "white",
tail_colour = "white",
tail_size = 0.8,
cross_dateline = TRUE)

frames[[300]]

image

I downloaded the most recent package version from github, and I also updated basemaps. R 4.3.2. Same problem on Windows and Mac.

Any help to fix this would be much appreciated!

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