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

Closed
CorentinVisee opened this issue Oct 30, 2024 · 8 comments
Closed

Esri Tiles Inverted #34

CorentinVisee opened this issue Oct 30, 2024 · 8 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)

@CorentinVisee
Copy link
Author

Thank you ! :)

@rCarto
Copy link
Member

rCarto commented Dec 18, 2024

Fixed in terra.

@rCarto rCarto closed this as completed Dec 18, 2024
@evhersh
Copy link

evhersh commented Jan 29, 2025

Hello,

I came across this issue a couple months ago and updated to the terra dev build which fixed the issue, however I'm working on another map now and it appears to have reverted? I have just updated to the latest dev builds of maptiles and terra and I'm still getting inverted ESRI tiles. Any ideas what might be going on?

@rCarto
Copy link
Member

rCarto commented Jan 29, 2025

I'll keep this issue open untill the next terra or maptiles version.

@rCarto rCarto reopened this Jan 29, 2025
@rCarto
Copy link
Member

rCarto commented Feb 5, 2025

Fixed on CRAN version.

@rCarto rCarto closed this as completed Feb 5, 2025
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

3 participants