holoviz / geoviews

Simple, concise geographical visualization in Python
http://geoviews.org
BSD 3-Clause "New" or "Revised" License
578 stars 75 forks source link

BBoxTileSource Support #149

Closed ktrapeznikov closed 6 years ago

ktrapeznikov commented 6 years ago

I have couple tile servers that serve map tiles in the bounding box format. I have used them with bokeh using their BBoxTileSource class.

Is there an easy way to get them to work in geoviews?

jbednar commented 6 years ago

Based on the Bokeh docs, it looks to me like it should work fine if you use the right URL string, i.e. something like http://your.custom.tile.service?bbox={XMIN},{YMIN},{XMAX},{YMAX}. If it doesn't, let us know.

jbednar commented 6 years ago

Actually, I see from the GeoViews source that we'd have to specifically support BBoxTileSource and the other tile source variants besides WMTS. So no, I don't see any easy way; it would take a PR to GeoViews to support that. Do you have the URLs for some publicly accessible tile sources of this type?

philippjfr commented 6 years ago

This is now supported but it would be good to document it properly with some examples of different types of tile sources.

ktrapeznikov commented 6 years ago

I don’t know of any public ones. We just have couple legacy tile servers that we run locally.