Dan Rosher created SOLR-16292:
---------------------------------

             Summary: NVector for alternative great-circle distance calculations
                 Key: SOLR-16292
                 URL: https://issues.apache.org/jira/browse/SOLR-16292
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: search, spatial
    Affects Versions: 9.0
            Reporter: Dan Rosher


[N-Vector|https://en.wikipedia.org/wiki/N-vector#Example:_Great_circle_distance]
 is a three-parameter representation that can be used to calculate the 
great-circle distance (assuming a spherical Earth).

This implementation makes use of fast implementation of acos I wrote, that 
approximates acos with a maclaurin series expansion.

For small distances it compares well with Math.acos, and is a faster way of 
calculating the great-circle distance than Haversine.

 

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to