[ https://issues.apache.org/jira/browse/LUCENE-6487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14565944#comment-14565944 ]
Karl Wright commented on LUCENE-6487: ------------------------------------- Ok, what I find is that because the arc distance is in effect taking a square root, instead of 1e-12 the error should always be 1e-6. That is just the way the math works. Karl Sent from my Windows Phone From: Karl Wright (JIRA) Sent: 5/30/2015 6:22 AM To: dev@lucene.apache.org Subject: [jira] [Commented] (LUCENE-6487) Add WGS84 capability to geo3d support [ https://issues.apache.org/jira/browse/LUCENE-6487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14565926#comment-14565926 ] Karl Wright commented on LUCENE-6487: ------------------------------------- I'll have a look. Please bear in mind that trig functions and their inverses, if done in sequence enough, may well wander pretty far off of the original values, so there may be nothing wrong with your test. But I will make sure of that. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org > Add WGS84 capability to geo3d support > ------------------------------------- > > Key: LUCENE-6487 > URL: https://issues.apache.org/jira/browse/LUCENE-6487 > Project: Lucene - Core > Issue Type: Improvement > Components: modules/spatial > Reporter: Karl Wright > Attachments: LUCENE-6487.patch, LUCENE-6487.patch, LUCENE-6487.patch, > LUCENE-6487.patch > > > WGS84 compatibility has been requested for geo3d. This involves working with > an ellipsoid rather than a unit sphere. The general formula for an ellipsoid > is: > x^2/a^2 + y^2/b^2 + z^2/c^2 = 1 -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org