<div>Or you could use cosine corrected Pythagorean theorem.... </div>
<div> </div>
<div>dist=sqrt( (COS(average latitude) x [delta longitude] ^2 ) + [delta latitude]^2). </div>
<div> </div>
<div>of course the answer you get is in degrees and you have to convert that to miles or km. 1 degree = 60 miles, 1 degree = 111km</div>
<div> </div>
<div>I've checked it with a spread sheet years ago, and it works to within .1 of a mile out to 100 miles at 33° latitude. It does NOT work for great circle distances... it will choke on antipodal points for example. But it's good for your general vicinity.
</div>
<div> </div>
<div>Wes<br><br> </div>
<div><span class="gmail_quote">On 8/22/07, <b class="gmail_sendername">Andrew Rich</b> <<a href="mailto:vk4tec@people.net.au">vk4tec@people.net.au</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div>
<div><span><font face="Arial"><font size="2"><span>Gudday</span></font></font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">If you get a micro, and you know from a GPS where you are, and then you pick up another position, one would assume you can then apply a basic "is there anyone in my box" calculation ?
</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">For example</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">I am at </font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">2734.44 15206.20 and another object is at </font></span></div>
<div><span><font face="Arial"><font size="2">2734.45 15206.20 - does not match - outside the box<span> </span></font></font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span>
<div><span><font face="Arial" size="2">2734.44 15206.20 and another object is at </font></span></div>
<div><span><font face="Arial" size="2">2734.44 15206.20 - match - inside the box</font></span></div></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">I spose the size of the area depends on how many significant digits of the position you use ?</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">You could make it tighter by comparing more digits, and wider if you compare less ?</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2"><span>Comments ?</span></font></span></div></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">----------------------------------------------------------------------------</font></div>
<div><font face="Arial" size="2">Andrew Rich VK4TEC</font></div>
<div><font face="Arial" size="2"><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:vk4tec@people.net.au" target="_blank">vk4tec@people.net.au</a></font></div>
<div><font face="Arial" size="2"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.tech-software.net/" target="_blank">http://www.tech-software.net</a></font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div> </div></div><br>_______________________________________________<br>aprssig mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:aprssig@lists.tapr.org">aprssig@lists.tapr.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.tapr.org/cgi-bin/mailman/listinfo/aprssig" target="_blank">https://lists.tapr.org/cgi-bin/mailman/listinfo/aprssig</a><br><br></blockquote></div>
<br><br clear="all"><br>-- <br>In theory there is no difference between practice and theory.