geopandas / contextily

Context geo-tiles in Python
https://contextily.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
520 stars 82 forks source link

Change the default basemap from Stamen #220

Closed martinfleis closed 1 year ago

martinfleis commented 1 year ago

contextily now uses Stamen Terrain as a default. With Stamen deprecating their tiles, this will need to change. Any preference? I think the feasible options are OpenStreetMap tiles or some Carto tile. cc @darribas

ianthetechie commented 1 year ago

Hey @martinfleis, I'm one of the cofounders of Stadia Maps. Funny enough, my sister is doing a data science project right now and is using contextily, which missed our pass through the major FOSS projects using the Stamen tiles 😂

The Stamen styles will still be available (with updated data coming in the next week or so!) via Stadia Maps, but will require a (free with generous limits for non-commercial use) API key. It looks like you already have an integration for our other styles, so it shouldn't be too difficult to add more.

We've put together a migration guide here: https://docs.stadiamaps.com/guides/migrating-from-stamen-map-tiles/. I'd be happy to take a whack at a PR if that'd be helpful.

Either way, I totally understand setting the default to a provider which doesn't require an API key; that makes for a better dev experience. The Carto styles are great in my experience, and you can see the influence of Stamen's cartography both in some of their styles and our own Alidade Smooth.

martinfleis commented 1 year ago

@ianthetechie Yes, we do have the full support of Stadia tiles already, including Stamen once I cut a release of xyzservices, we just need the default to "just work".