[FOSS-GPS] Program to create survey-like map?

John Ackermann N8UR jra at febo.com
Mon Aug 24 16:40:57 PDT 2020


Hi Don --

Hmmm, I might take you up on that.  I have a simple program that will 
take a list of lat1,lon1,lat2,lon2 tuples and output the distance (in 
meters) and bearing (in degrees) for each one.

What I'm trying to figure out is how to take that list and put it on a 
blank sheet with each point shown relative to some origin, and the 
distance/bearing between them shown.

As a simple example, picture an overhead drawing of a baseball diamond 
(sorry for being US-centric!) with first, second, third bases and home 
plate shown relative to the pitcher's mound, and the bearing/distance 
from the mound to each one shown.

I've used Matplotlib by hacking on code someone else wrote, but I don't 
know how to begin to start something from scratch with it.

Thanks,
John

PS -- if you want, we can go off list.  My email is j r a at f e b o dot 
c o m

----

On 8/24/20 6:05 PM, Don Cameron wrote:
> If you can use Python then take a look at Matplotlib it can do all your 
> plotting needs.
> 
> If you need help send me an example of your data.
> 
> 
> On Tue, 25 Aug 2020 06:29 John Ackermann N8UR <jra at febo.com 
> <mailto:jra at febo.com>> wrote:
> 
>     Thanks, Jochen!
> 
>     I am not familiar with foxtrotgps but will look at it.  I think it may
>     be overkill for my needs but maybe not.  One thing is that I'm talking
>     about small distances -- spacing of <50 meters between points, usually.
> 
>     I probably have the Python code available to fairly easily read a list
>     of lat/lon and calculate distance/bearing between each pair.  What I
>     don't have is the knowledge to then plot that onto a sheet to a
>     sheet to
>     create what looks like a survey map with boundaries and markers.
> 
>     John
>     ----
> 
>     On 8/24/20 3:16 PM, Jochen Peters wrote:
>      > Hi John,
>      >
>      > I had a similar problem: I couldn't find a program with which I
>     could load and display tracks including distances. In my case I had
>     the additional problem that I wanted to draw and save these tracks
>     myself.
>      >
>      > I then looked at the code of foxtrotgps and made a few changes:
>      >
>      > - when loading lat/lon lists the distances per waypoint are
>     displayed on the terminal
>      > - when measuring a multi-point distance, each point with distance
>     is copied to the clipboard (instead of only the last point)
>      >
>      > The first point would be interesting for you, even if no bearing
>     is calculated. Unfortunately I didn't get any feedback from foss-gps
>     if these additional functions are wanted and so I never made an
>     attempt to get this change applied to "the original foxtrotgps".
>      >
>      > If you can program by yourself, you can have a look at my
>     changes. So when loading tacks you might be able to quickly add the
>     desired calculations by yourself:
>      >
>      > https://bazaar.launchpad.net/~deadlockz/+junk/jochen/revision/325
>      >
>      > kind regards
>      > Jochen
>      >
>      > Am Mon, 24 Aug 2020 14:32:30 -0400
>      > schrieb John Ackermann N8UR <jra at febo.com <mailto:jra at febo.com>>:
>      >
>      >> Hi --
>      >>
>      >> I'm looking for a program that would input multiple lat/lon
>     positions
>      >> and plot them, showing bearing and distance between the various
>      >> points. Does such a thing exist?
>      >>
>      >> Thanks!
>      >>
>      >> John
>      >> _______________________________________________
>      >> This message is sent to you from FOSS-GPS at lists.osgeo.org
>     <mailto:FOSS-GPS at lists.osgeo.org> mailing
>      >> list. Visit https://lists.osgeo.org/mailman/listinfo/foss-gps to
>      >> manage your subscription For more information, check
>      >> http://wiki.osgeo.org/wiki/FOSS-GPS
>      > _______________________________________________
>      > This message is sent to you from FOSS-GPS at lists.osgeo.org
>     <mailto:FOSS-GPS at lists.osgeo.org> mailing list.
>      > Visit https://lists.osgeo.org/mailman/listinfo/foss-gps to manage
>     your subscription
>      > For more information, check http://wiki.osgeo.org/wiki/FOSS-GPS
>      >
>     _______________________________________________
>     This message is sent to you from FOSS-GPS at lists.osgeo.org
>     <mailto:FOSS-GPS at lists.osgeo.org> mailing list.
>     Visit https://lists.osgeo.org/mailman/listinfo/foss-gps to manage
>     your subscription
>     For more information, check http://wiki.osgeo.org/wiki/FOSS-GPS
> 
> 
> _______________________________________________
> This message is sent to you from FOSS-GPS at lists.osgeo.org mailing list.
> Visit https://lists.osgeo.org/mailman/listinfo/foss-gps to manage your subscription
> For more information, check http://wiki.osgeo.org/wiki/FOSS-GPS
> 


More information about the FOSS-GPS mailing list