You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2018/04/05 10:00:00 UTC

[jira] [Commented] (LUCENE-8239) GeoComplexPolygon fails when test or/and check point are near a pole

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

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

[~ivera] I cannot evaluate this today; the patch is too large for that.

The general principle during travel plane construction, however, is to first decide how many dimensions you need to travel in, and then construct the planes then.  It looks like you're changing the dual plane mode to be sometimes single-plane and that seems wrong to me.


> 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