lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-8239) GeoComplexPolygon fails when test or/and check point are near a pole
Date Thu, 05 Apr 2018 13:05:00 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-8239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16426886#comment-16426886
] 

Karl Wright commented on LUCENE-8239:
-------------------------------------

This is worrisome because it seems to me that evaluateIsZero() would return true in both cases.
 Numerically there's no distinction between them on that basis.

If you can commit ONLY the tests that fail, annotated with @Ignore, I will start analyzing
these as time permits.


> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message