Skip to content

add tile providers for OpenStreetMap and ESRI Imagery #9560

@comperem

Description

@comperem

Hello,

TL;DR
This issue is to initiate a pull request to add the following tile providers to the Bokeh file ./bokeh/tile_providers.py:

  • OpenStreetMaps map tile provider
  • Wikimedia / Wikipedia map tile provider (via OSM)
  • ESRI Imagery with satellite imagery

Background:
In my search for a Google Maps replacement, the current Bokeh has tile providers are a good start but the Stamen and Carto tiles do not provide a combination of:

  • ability for close zoom-in (map data not available)
  • detail at high zoom (it's just blank, or not descriptive)
  • satellite imagery

Licensing:
The OpenStreetMap data is an excellent map-style alternative and the ESRI Imagery tiles are excellent satellite image replacements. OSM is entirely open-source. Esri has generous open-source and open-data policies. Neither of these require api keys or registration, although responsible usage is, indeed, encouraged and enforced. Unusually high usage places a penalty on volunteer and donated hardware and network services.

But, for simple basemap overlays (underlays), prototyping for research purposes, or usage in other open-source projects, these two are outstanding.

Rationale:
Both of these tile providers, and others, are already integrated into PyViz, Holoviews, and GeoViews, all of which rely on Bokeh as an underlying library. Rather than adding layers (and moving to Anaconda package management) to access those map tile providers, it seems Bokeh could (should) have these maps available directly.

Example:
The screenshot at this link shows multiple failed or poorly displaying zoomed-in options from the fine work presented at the GeoViews page on working with Bokeh:

https://discourse.bokeh.org/t/open-source-tile-provider-replacement-for-google-maps/4462

Marc Compere

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions