Open
Description
Once xyzservices
is relased and has a stable API, it would be great to see it adopted as the one-stop shop for XYZ services in Python. Opening this ticket to brainstorm on which for which packages we would love to adopt the library, and what we could do to make adoption easy and smooth.
So far:
-
contextily
: version 1.2 will swap its currentproviders
submodule forxyzservices
under the hood, adding deprecation notices. This means thecontextily
user will be able to pass a tile provider to, say,add_basemap
and it'll magically use that without any attribution, URL, etc. being passed. -> REF: Outsource providers to xyzservices contextily#183 -
geopandas explore
: first release will rely directly onxyzservices
for tile providers. The user will be able to pass aTileProvider
object to specify the basemap to be used
It'd be great to also get on board:
-
folium
: the user would be able to pass aTileProvider
object and avoid specifying URL, attribution, etc. arguments -> ENH: support xyzservices python-visualization/folium#1498; folium will depend on xyzservices from 0.16 -> use xyzservices instead of templates python-visualization/folium#1827 -
ipyleaflet
: the user would be able to pass aTileProvider
object and avoid specifying URL, attribution, etc. arguments. Conversations have started over atcontextily#153
. -> Refactor basemap module on top of xyzservices jupyter-widgets/ipyleaflet#854 -
leafmap
: the user would be able to pass aTileProvider
object and avoid specifying URL, attribution, etc. arguments -> Refactor basemap module on top of xyzservices opengeos/leafmap#91 -
holoviews
-> Support xyzservices TileProvider objects in hv.Tiles holoviz/holoviews#5057 -
geoviews
-> Support xyzservices for tile management holoviz/geoviews#517 -
here-map-widget-for-jupyter
-> Added support for external basemaps heremaps/here-map-widget-for-jupyter#27 -
bokeh
has similar machinery as Holoviews. Could support TileProvider as input or depend on us directly when specifying metadata. (https://docs.bokeh.org/en/latest/docs/reference/tile_providers.html#bokeh-tile-providers) -> [FEATURE] Support xyzservices in basemap tiles bokeh/bokeh#11500 and Outsource tile management to xyzservices bokeh/bokeh#11512 -
plotly
is another one but I am not sure about their implementation
a lot of edits by @martinfleis