By modified, I meant that I stripped out the conversion to feet and miles and just left it as meters, using a separate formatting class to convert to feet and miles as needed. Some might say that the formula is not accurate because the earth is not a perfect sphere, but for my purposes I found it to be very accurate. I use it to make measurements when hunting down cable faults in the copper telephone network. My measurements typically range from 500' to 3000' and seem to match closely to my equipment such as a time domain reflectometer or resistive fault locator. If you are taking very long measurements, you might have some accuracy issues.
On Friday, May 29, 2015, ramu.bandarupalli [via Apache Flex Development] < ml-node+s2333347n47128...@n4.nabble.com <javascript:_e(%7B%7D,'cvml','ml-node%2bs2333347n47128...@n4.nabble.com');>> wrote: > Thanks Kevin for your reply, > > Could you please let me know where can i get the modified version of the > code to get accurate distance. > > > Thanks. > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://apache-flex-development.2333347.n4.nabble.com/Geo-fence-in-Flex-Action-Script-tp47043p47128.html > To start a new topic under Apache Flex Development, email > ml-node+s2333347n1...@n4.nabble.com > To unsubscribe from Geo-fence in Flex/Action Script, click here > <http://apache-flex-development.2333347.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=47043&code=a2V2aW4uZ29kZWxsQGdtYWlsLmNvbXw0NzA0M3wyNTAxOTQ4MDU=> > . > NAML > <http://apache-flex-development.2333347.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/Geo-fence-in-Flex-Action-Script-tp47043p47131.html Sent from the Apache Flex Development mailing list archive at Nabble.com.