<div dir="ltr">Thanks,<div><br></div><div>Got it...</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 1, 2016 at 3:06 PM, Howard <span dir="ltr"><<a href="mailto:howie@aljex.com" target="_blank">howie@aljex.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here is some code I use:<br>
<br>
         If:<br>
       Then: rada=dtor(LATTARGETF)    'to lat<br>
 467 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   - -   -<br>
         If:<br>
       Then: rado=dtor(LONGTARGETF)     'to long<br>
 468 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   - -   -<br>
         If:<br>
       Then: radb=dtor(dat(4))          'from lat<br>
 469 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   - -   -<br>
         If:<br>
       Then: radc=dtor(dat(5))          'from long<br>
 470 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   - -   -<br>
         If:<br>
       Then: df(8,.2)="3963" * acos( sin(rada) * sin(radb) + cos(rada) * cos(radb) * cos(radc-rado) )<span class=""><br>
<br>
<br>
On 11/1/2016 1:28 PM, Rami Mantoura via Filepro-list wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi All,<br>
<br>
Has anyone done the distance calulation in FP and is willing to share?<br>
<br>
I am looking to get the distance between 2 points where I have the<br>
Longitude and latitude for each loacation.<br>
<br>
Any help would be appreciated.<br>
<br>
I am working on the calculation now.<br>
<br>
Thanks<br>
Rami<br></div></div>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20161101/f8b7055e/attachment.html" rel="noreferrer" target="_blank">http://mailman.celestial.com/<wbr>pipermail/filepro-list/attachm<wbr>ents/20161101/f8b7055e/attachm<wbr>ent.html</a>><br>
______________________________<wbr>_________________<br>
Filepro-list mailing list<br>
<a href="mailto:Filepro-list@lists.celestial.com" target="_blank">Filepro-list@lists.celestial.c<wbr>om</a><br>
Subscribe/Unsubscribe/Subscrip<wbr>tion Changes<br>
<a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" rel="noreferrer" target="_blank">http://mailman.celestial.com/m<wbr>ailman/listinfo/filepro-list</a><br>
<br>
</blockquote>
</blockquote></div><br></div>