Open rmalyankar opened 3 weeks ago
@rmalyankar here is a response from Tom Butkiewicz (tbutkie@gmail.com), Director of the UNH vis lab:
"Roland (who is still with us at CCOM, though he moved from vis lab to ASV lab) wrote the Jobard-Lefer S-111 Streamline generation code that I think Briana was using in those web examples. It has been updated slightly in the last few years due to us using it to generate streamlines for Cesium 3D web maps (like the STOFS3D ones we did for Drix missions recently).
There are C++ and python implementations on Roland's github here: https://github.com/rolker/S111-Streamlines
The javascript version that renders alongside Google Maps hasn't been updated in a long time, but can be grabbed from here: http://vislab-ccom.unh.edu/~roland/currents/ (examples there, e.g. slgo.html still work, but make sure to use http: not https: in the URL)
I am not familiar with using Jobard-Lefer for thinning irregular grids, unless that just means not putting an arrow on every grid cell?
BTW, our more recent Cesium implementations are not technically S-111 IHO compliant, we switched the colors back to a palette that makes sense over an ENC. Someone at IHO changed the original color palette under an assumption the arrows would have a black outline, and their new colors do not contrast well with standard ENC blues."
Question I have been asked - posting for TWCWG input