I’ve been playing with choropleths in Bokeh, and have several questions.
- Consider the Texas choropleth in the Gallery 1. When switching to a different state (in my case, Indiana), the projection is badly skewed because Bokeh “helpfully” tries to auto-calculate axis ranges. (I’ve seen older posts to this list indicate there may also be (was?) a bug with non-contiguous patches, but that’s likely not the case here.) What should the proper projection/aspect ratio be, and is it built in to Bokeh?
I added match_aspect=True to the figure constructor, but things still look off; Indiana still looks squished compared to formal maps. I’ve gone a bit down the rabbit hole and barely scratched the surface of how complicated mapping actually is. This leads to my next question:
- Are multiple projections built in to Bokeh? If not, are there plans to add them, or is this best left to other libraries. As someone new to both GIS and Python, which ones? (Pyproj?) I’ve seen several in various stages of seemingly abandoned alpha. In an ideal world, multiple projections, such as described at d3-geo would be available. Of particular use to me as someone in the U.S. would be the Albers
- Would adding (arbitrary) projections in any way be similar to #657, “Plotting polar coordinates”? I can envision a solution with a projection function that maps values to (x,y) space.
- Not a question, but another link of interest shows what ggplot, etc., are capable of projection-wise:
Thanks,
—TAG


