-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add Stadia tiles #20
Comments
@geofurb providers management is moving to a separate package, I have transferred the issue. We have recently fetched new providers from leaflet, so these mentioned here are part of the current package offered by |
The loading issue seems to be due to some restrictions on Stadia side. If you try to access the tile directly (e.g. https://tiles.stadiamaps.com/tiles/alidade_smooth/7/60/38.png), you get error |
Just FYI, Stadia maps may or may not require an access token - https://docs.stadiamaps.com/#api-keys. It seems that within folium/leaflet, tiles will work but within contextily they won't. |
Stadia tiles are now part of the leaflet-based JSON. |
Leaflet has a few Stadia tiles that don't seem to work by passing the URL to Contextily.
http://leaflet-extras.github.io/leaflet-providers/preview/#filter=Stadia.AlidadeSmooth
http://leaflet-extras.github.io/leaflet-providers/preview/#filter=Stadia.AlidadeSmoothDark
http://leaflet-extras.github.io/leaflet-providers/preview/#filter=Stadia.OSMBright
http://leaflet-extras.github.io/leaflet-providers/preview/#filter=Stadia.Outdoors
Not sure what the incompatibility is. I get
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x000001E410D79630>
when trying the URLs in bounds2img.The text was updated successfully, but these errors were encountered: