[
https://issues.apache.org/jira/browse/LUCENE-8086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16285910#comment-16285910
]
Ignacio Vera commented on LUCENE-8086:
--------------------------------------
I guess we do not want to expose this complexity on this interface and it would
be nice if accuracy could be expressed in decimal degrees to follow spatial4j
convention.
We are dealing at the moment with unit planet models so better don't worry
about that now.
What comes to my mind is that we can approximate linear distance to surface
distance (in radians) at this level as distances are very tiny. Then the
problem is easy as we just need to transform between degrees and radians to set
accuracy. I think we are overstimating the accuracy so everything should be ok.
Does it make sense?
> G3d wrapper: Improve circles for non spherical planets
> ------------------------------------------------------
>
> Key: LUCENE-8086
> URL: https://issues.apache.org/jira/browse/LUCENE-8086
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/spatial-extras
> Reporter: Ignacio Vera
>
> Hi [~dsmiley],
> The purpose of this ticket is to add a new circle shape (GeoExactCircle) for
> non-spherical planets and therefore remove the method relate from
> Geo3dCircleShape. The patch will include some simplifications on the wrapper
> and some refactoring of the tests.
> I will open shortly a pull request.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]