From: Nate Bargmann (yeqyszh@rele.tunk.net)
Date: Wed Jan 07 2004 - 03:59:11 EET
* Phil <tvsowhn@annex.com.br> [2004 Jan 06 18:19 -0600]:
> Hello Everyone,
>
> I'm looking for a Linux application, or maybe the code that does the
> calculation, that will measure the distance between two points given the
> latitude and longitude. I've seen applications that measure the distance
> between grid squares but that's not what I need.
>
> Can anyone help?
Hi Phil.
You might also want to check out Hamlib at http://sf.net/projects/hamlib
Last summer a substantial amoutn of re-work went to locator.c in the src
directory which implements just the functions you're looking for.
Hamlib is written in C and it's a reasonably simple matter to install
the library and use those functions in your program. I won't guarantee
the code to return extremely accurate results, but they seem reasonable.
Right now the only way to get the latest changes is through CVS although
a stable release is expected in the next few weeks.
HTH,
73, de Nate >>
-- Wireless | Amateur Radio Station N0NB | Successfully Microsoft Internet | pyysbleb@supsi.ch | free since January 1998. Location | Bremen, Kansas USA EM19ov | "Debian, the choice of Amateur radio exams; ham radio; Linux info @ | a GNU generation!" http://www.qsl.net/n0nb/ | http://www.debian.org - To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to ddkhdszl.qrjq@mail.dy.fi More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b30 : Wed Jan 07 2004 - 03:57:21 EET