Re: Distance between 2 points Lucene Spatial

2014-12-22 Thread david.w.smi...@gmail.com
:david.w.smi...@gmail.com] > Sent: 22 December 2014 19:33 > To: java-user@lucene.apache.org > Subject: Re: Distance between 2 points Lucene Spatial > > Hi Ankit, > > Vincenty is the most accurate one — it is the benchmark for the other 2’s > tests for the true answer. In theo

RE: Distance between 2 points Lucene Spatial

2014-12-22 Thread Ankit.Murarka
December 2014 19:33 To: java-user@lucene.apache.org Subject: Re: Distance between 2 points Lucene Spatial Hi Ankit, Vincenty is the most accurate one — it is the benchmark for the other 2’s tests for the true answer. In theory it produces the same answers as the other 2 simpler formulas you mention

Re: Distance between 2 points Lucene Spatial

2014-12-22 Thread david.w.smi...@gmail.com
Hi Ankit, Vincenty is the most accurate one — it is the benchmark for the other 2’s tests for the true answer. In theory it produces the same answers as the other 2 simpler formulas you mention but is “numerically robust” for computers. Note that the world model used by Spatial4j when in “geo” m

Distance between 2 points Lucene Spatial

2014-12-21 Thread Ankit.Murarka
Dear All, We are using lucene spatial strategy to find out the distance between a pair of Lat/Long. Given a pair of Lat/Long I need to find the near accurate distance between these 2 points. I have used Haversine, LawOfCosines and Vincernity however unable to decide which will provide the bes