On 12/18/2023 4:49 AM, Gavin wrote:
Hi Hans,
Thanks for all the suggestions! I am going through them carefully.
- in mp you can do this
vardef theglobe(expr lat, lon) =
for i = 1 upto lua.mp.makeglobe(lat, lon):
(lua.mp.getglobepath(i)) &&&&
endfor
cycle
enddef ;
Does "&&&&" allow a disconnected path? I haven’t seen "&&&&" or a disconnected
path before.
Also, we do have a strange artifact, at least when I run this code. There is a
line running across Brazil:
I only got the line for (23,0), not for other latitude and longitude. I’m not sure what caused that. The code
for cutting and mending paths that cross the horizon is tricky. I’m not sure how it will interact with
"&&&&" and “cycle" connecting everything.
i'm not sure where that comes from (you can try &&&)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________