Plotting an image glyph on a map figure- Help


I’m trying to plot a floating point raster image (geotif) on a bokeh map figure. I’ve created a mercator map figure and an image glyph representing my raster data. However, the image displays incorrectly on the map after launching the bokeh server. Is there a way to define a projection for the image glyph? I’ve set the image property types of x and y as coordinates corresponding to the minimum lat and long (lower left corner) after converting the coordinate values to mercator coordinates. I’ve also set the dh and dw as the rows/columns of my image.

Thanks for any help

Bokeh only really supports Web Mercator presently. You might want to chime in on this GitHub issue regarding adding some conversion functions directly to the Bokeh API.

Otherwise, to say anything specific about your particular case, we would really need a complete, minimal example that could actually be run and investigated. It’s not possible to speculate on the description above alone.

You might also want to have a look at GeoViews which has a more high level API and can use both Bokeh and MPL.