[
https://issues.apache.org/jira/browse/LUCENE-8239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16426810#comment-16426810
]
Ignacio Vera commented on LUCENE-8239:
--------------------------------------
you are right, all of this might be related to numerical inestabilities.
case 2) Test point and latitude and longuitude equal to 0. Using the following
check points:
a) lat =0, lon=5e-9 : Success (Plane built)
b )lat =0, lon=1e-6 : Error
c) lat =0, lon=1e-12 : Error
d) c) at =0, lon=9e-13 : Success (Numerically identical)
We have a big gap here were vectors are not numerically identical but cannot
construct a plane.
> GeoComplexPolygon fails when test or/and check point are near a pole
> --------------------------------------------------------------------
>
> Key: LUCENE-8239
> URL: https://issues.apache.org/jira/browse/LUCENE-8239
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/spatial3d
> Reporter: Ignacio Vera
> Priority: Major
> Attachments: LUCENE-8239.patch
>
>
> When calling {{within}} method in GeoComplexPolygon you can get errors if the
> test point of the polygon or the given point is near a pole.
> The reason is that one of the planes defined by these points is tangent to
> the world therefore intersection with the above plane fails. We should
> prevent navigating those planes ( we should not even construct them).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]