Provider map tiles in a Provider
object.
Complete urls to tiles can be retrieved with geturl(provider::Provider, x::Int, y::Integer, z::Integer)
.
A custom provider can be defined with, for example:
using TileProviders
Provider("http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png")
Many providers are available in the package, loaded with:
AzureMaps()
BasemapAT()
CartoDB()
CyclOSM()
Esri()
FreeMapSK()
GeoportailFrance()
Google()
HERE()
HEREv3()
HikeBike()
Jawg()
JusticeMap()
MapBox()
MapTiler()
MapTilesAPI()
MtbMap()
NASAGIBS()
NASAGIBSTimeseries()
NLS()
nlmaps()
OPNVKarte()
OneMapSG()
OpenAIP()
OpenFireMap()
OpenRailwayMap()
OpenSeaMap()
OpenSnowMap()
OpenStreetMap()
OpenTopoMap()
OpenWeatherMap()
SafeCast()
Stadia()
Stamen()
SwissFederalGeoportal()
Thunderforest()
TomTom()
USGS()
WaymarkedTrails()
Some providers will need an apikey
, accesstoken
, app_code
or subscriptionkey
keyword if registration
is required to use the dataset. See the docs for the function.
To get the specific urls from a Provider
use:
TileProviders.geturl(provider, x, y, z)
Get a dictionary of all Providers
and their variants
with:
TileProviders.list_providers()
Providers are retrieved from leaflet via geopandas repository: https://raw.githubusercontent.com/geopandas/xyzservices/main/provider_sources/leaflet-providers-parsed.json