<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Are you using some sort of routing software, or is it strictly "as
the crow flies" from where you are to the destination? In many
areas, the difference in ETA can be extreme.<br>
<br>
Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32<br>
<br>
On 5/4/2011 10:44 AM, Andrew Rich wrote:
<blockquote cite="mid:ABBF5D5A2356431C81EAD0DF23580DF7@MACBOOKPRO"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 8.00.6001.19046">
<style></style>
<div><font face="Arial" size="2">RNG = 003.46 km<br>
BRG = 207.04 degrees<br>
NOW = 05/05/2011 00:41:51 (local)<br>
SPD = 15 km/h<br>
TOR = 13.84 mins (Time on route)<br>
ETA = 05/05/2011 00:55:41 (local)</font></div>
<div> </div>
<div><font face="Arial" size="2">- Andrew - </font></div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0);
padding-left: 5px; padding-right: 0px; margin-left: 5px;
margin-right: 0px;" dir="ltr">
<div style="font: 10pt arial;">----- Original Message ----- </div>
<div style="font: 10pt arial; background: none repeat scroll 0%
0% rgb(228, 228, 228);"><b>From:</b> <a
moz-do-not-send="true" title="vk4tec@tech-software.net"
href="mailto:vk4tec@tech-software.net">Andrew Rich</a> </div>
<div style="font: 10pt arial;"><b>To:</b> <a
moz-do-not-send="true" title="vk4tec@tech-software.net"
href="mailto:vk4tec@tech-software.net">Andrew Rich</a> ; <a
moz-do-not-send="true" title="aprssig@tapr.org"
href="mailto:aprssig@tapr.org">TAPR APRS Mailing List</a> </div>
<div style="font: 10pt arial;"><b>Sent:</b> Thursday, May 05,
2011 12:42 AM</div>
<div style="font: 10pt arial;"><b>Subject:</b> Re: [aprssig]
perl Geo::Ellipsoid</div>
<div><br>
</div>
<div><font face="Arial" size="2">Worked it out </font></div>
<div> </div>
<div><font face="Arial" size="2">$dist =
sprintf("%06.2f",$dist);<br>
$bearing = sprintf("%06.2f",$bearing);</font></div>
<div> </div>
<div><font face="Arial" size="2">3 leading - zero padded , 2
trailing </font></div>
<div> </div>
<div><font face="Arial" size="2">- Andrew - </font></div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0);
padding-left: 5px; padding-right: 0px; margin-left: 5px;
margin-right: 0px;" dir="ltr">
<div style="font: 10pt arial;">----- Original Message ----- </div>
<div style="font: 10pt arial; background: none repeat scroll
0% 0% rgb(228, 228, 228);"><b>From:</b> <a
moz-do-not-send="true" title="vk4tec@tech-software.net"
href="mailto:vk4tec@tech-software.net">Andrew Rich</a> </div>
<div style="font: 10pt arial;"><b>To:</b> <a
moz-do-not-send="true" title="vk4tec@tech-software.net"
href="mailto:vk4tec@tech-software.net">Andrew Rich</a> ; <a
moz-do-not-send="true" title="aprssig@tapr.org"
href="mailto:aprssig@tapr.org">TAPR APRS Mailing List</a>
</div>
<div style="font: 10pt arial;"><b>Sent:</b> Thursday, May 05,
2011 12:32 AM</div>
<div style="font: 10pt arial;"><b>Subject:</b> Re: [aprssig]
perl Geo::Ellipsoid</div>
<div><br>
</div>
<div><font face="Arial" size="2">Wonder is someone can help</font></div>
<div> </div>
<div><font face="Arial" size="2">I want to format a number in
perl </font></div>
<div> </div>
<div><font face="Arial" size="2">3 leading 0 padded </font></div>
<div><font face="Arial" size="2">2 trailing decimal places</font></div>
<div> </div>
<div><font face="Arial" size="2">Do I have to treat to the
left of the decimal point and to the right as two
seperates ?</font></div>
<div> </div>
<div><font face="Arial" size="2">I want 3.4565443 to look like
"003.456"</font></div>
<div> </div>
<div><font face="Arial" size="2">Working on some GPS code</font></div>
<div> </div>
<div><font face="Arial" size="2">Using sprintf </font></div>
<div> </div>
<div><font face="Arial" size="2">This puts 3 leading and zero
pads:-</font></div>
<div> </div>
<div><font face="Arial" size="2">$dist = sprintf("%3d",$dist);<br>
$bearing = sprintf("%3d",$bearing);</font></div>
<div> </div>
<div><font face="Arial" size="2">This puts two trailing :-</font></div>
<div> </div>
<div><font face="Arial" size="2">print "RNG =
".sprintf("%.2f",$dist)."\n";<br>
print "BRG = ".sprintf("%.2f",$bearing)."\n";</font></div>
<div> </div>
<div><font face="Arial" size="2">How do i put them together ?
</font></div>
<div> </div>
<div> </div>
<div> </div>
<div><font face="Arial" size="2">- Andrew VK4TEC -</font></div>
<div> </div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0);
padding-left: 5px; padding-right: 0px; margin-left: 5px;
margin-right: 0px;">
<div style="font: 10pt arial;">----- Original Message -----
</div>
<div style="font: 10pt arial; background: none repeat scroll
0% 0% rgb(228, 228, 228);"><b>From:</b> <a
moz-do-not-send="true" title="vk4tec@tech-software.net"
href="mailto:vk4tec@tech-software.net">Andrew Rich</a> </div>
<div style="font: 10pt arial;"><b>To:</b> <a
moz-do-not-send="true" title="aprssig@tapr.org"
href="mailto:aprssig@tapr.org">TAPR APRS Mailing List</a>
</div>
<div style="font: 10pt arial;"><b>Sent:</b> Wednesday, May
04, 2011 8:14 AM</div>
<div style="font: 10pt arial;"><b>Subject:</b> [aprssig]
perl Geo::Ellipsoid</div>
<div><br>
</div>
<div><font face="Arial" size="2">Hello</font></div>
<div> </div>
<div><font face="Arial" size="2">I have an idea, although
not new, but novel</font></div>
<div> </div>
<div><font face="Arial" size="2">I am taking a small netbook
and LINUX and a GPS.</font></div>
<div> </div>
<div><font face="Arial" size="2">I now have the flexibility
to do anything with it.</font></div>
<div> </div>
<div><font face="Arial" size="2">I can program and make the
netbook do what ever I want.</font></div>
<div> </div>
<div><font face="Arial" size="2">One thing I am playing with
is the perl Geo::Ellispoid module.</font></div>
<div> </div>
<div><font face="Arial" size="2">This allows me to get range
and bearing, and also I am working on ETA code as well.</font></div>
<div> </div>
<div><font face="Arial" size="2">- Andrew - </font></div>
<p> </p>
<hr> _______________________________________________<br>
aprssig mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:aprssig@tapr.org">aprssig@tapr.org</a><br>
<a class="moz-txt-link-freetext" href="https://www.tapr.org/cgi-bin/mailman/listinfo/aprssig">https://www.tapr.org/cgi-bin/mailman/listinfo/aprssig</a><br>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
aprssig mailing list
<a class="moz-txt-link-abbreviated" href="mailto:aprssig@tapr.org">aprssig@tapr.org</a>
<a class="moz-txt-link-freetext" href="https://www.tapr.org/cgi-bin/mailman/listinfo/aprssig">https://www.tapr.org/cgi-bin/mailman/listinfo/aprssig</a>
</pre>
</blockquote>
<br>
</body>
</html>