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

Esri Tiles Inverted #34

Open
CorentinVisee opened this issue Oct 30, 2024 · 3 comments
Open

Esri Tiles Inverted #34

CorentinVisee opened this issue Oct 30, 2024 · 3 comments

Comments

@CorentinVisee
Copy link

Hi,

I am contacting you regarding a problem with Esri map tiles. The tiles seem to be reversed (north is south):

library(maptiles)
library(terra)
library(geodata)

tanzania <- gadm(country = "Tanzania", level = 0, path = tempdir())

tanzania_tile <- get_tiles(x = tanzania, crop = T, verbose = T, provider = "Esri.WorldImagery") 

plot(tanzania_tile)
plot(tanzania, add = T, lwd = 2)

image

Or for Senegal
image

Do you have any idea where the problem might come from?

Thank you in advance for your help in this matter,
Kind regards,
Corentin V.

@rCarto
Copy link
Member

rCarto commented Oct 30, 2024

Yes! I'm aware of this problem. It comes from an update of the terra package. I've posted an issue there. rspatial/terra#1627

A solution would be to downgrade the terra version.
I'll keep this issue open untill the next terra version.

@CorentinVisee
Copy link
Author

Thank you for your quick reply!

@rCarto
Copy link
Member

rCarto commented Nov 15, 2024

It works now with the dev version of terra. See rspatial/terra#1627 (comment)

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

No branches or pull requests

2 participants