Add support for Thunderforest tiles #2575
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rationale
I wanted to use Thunderforest tiles in my own projects and I wanted an easy way to add them to my Cartopy projects. Looking at the Cartopy source code for other third-party tile resources, such as "Stamen", it did not look too daunting to add another one.
Implications
There are no implications to this change - no pre-existing features are affected in any way. This Pull Request simply adds another third-party tile resource.
Here is an example map using
landscape
tiles at@2x
scale (with a higher-than-default value ofregrid_shape
) using my own personal Thunderforest API key (it shows four day hikes emanating from Finse train station, coloured by walking speed):