
This is in regard to this issue/a use case example where I’d really enjoy having this implemented: [FEATURE] Vectorized Span and Slope annotations · Issue #11015 · bokeh/bokeh · GitHub
See my showcase post: Geologic Cross Section Tool , it is under continuous development and am excited to roll out an updated version with some killer features… but…
One feature I would love to add is “line vector feature” functionality. So the most basic use case would be rivers (i.e. a multiline glyph) that are rendered in the plan view map. I would want them to show up as vertical spans when the user draws a cross section that intersects a line segment. I have the necessary JS functions dev’d to find the line intersections, but no ability to draw a a series of spans “in bulk” based on a columndatasource that’ll get constructed whenever the user adds a line to their cross section.
I’m considering attempting implementing an alternative using multiline but that will be likely fraught with peril, as I’d need to find the top of my layer elevations at that exact location (probably by doing additional line intersection calculations i.e. find where each vertical line intersects with the line demarcating ground surface on the section) to give the multiline the appropriate ys coords as well, which I’m worried might add some slowdown.
Any other options/ideas anyone can think of? Thanks!



