[pyngl-talk] polyline on a map

Fearon, Dr. Matthew, Contractor, Code 7533 matthew.fearon.ctr at nrlmry.navy.mil
Wed May 8 12:33:15 MDT 2019


Hi,

I was able to resolve this by computing a rhumb line instead of geodesic or great circle line. The following Python package was particularly helpful.

https://pypi.org/project/GeodesicLinesToGIS/



Matt







From: Fearon, Dr. Matthew, Contractor, Code 7533
Sent: Wednesday, May 8, 2019 9:18 AM
To: pyngl-talk at ucar.edu
Subject: polyline on a map



Hi,



Was wanting to add a polyline between to points; a straight segment and not necessarily the shortest distance, on a map. Near the pole, this seems difficult with Ngl.polyline. Please see attached map, specifically the east to west red line segment near the pole. I've tried adding many points in between, and this works kind of, but the line remains pretty wavy. Is there a way to get a straight line segment between the two points at high latitude? Maybe this obvious and I'm overthinking it.



Thanks for the help,

Matt



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/pyngl-talk/attachments/20190508/836808bf/attachment.html>


More information about the pyngl-talk mailing list