Skip to content

display U and V as vectors #5035

Answered by mymyrere
mymyrere asked this question in General
Discussion options

You must be logged in to vote

I actually found my own solution, and I'll post it out there in case it helps someone else:

To do this I used python to :

  • create a quiver.

  • convert it to geojson using mpleaflet :
    gj = mplleaflet.fig_to_geojson(fig=fig)

  • using the SVG image inside a CZML file
    ` "id":"1",
    "billboard":{
    "horizontalOrigin":"CENTER",
    "image":"data:image/svg+xml;utf8,<svg width="19px" height="29px" viewBox="-11.095233771052309 -23.127030912008188 19.0 29.0" xmlns="http://www.w3.org/2000/svg\" version="1.1"> path d="M -2.001230998532721 0.9194160537702781 L -2.9206470523029995 -1.081814944762443 L -6.003692995598164 2.758248161310834 L -9.194160537702782 -20.01230998532721 L 6.003692995598164 -2.7582481613…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mymyrere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant