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/19 12:20:00 UTC

[jira] [Comment Edited] (LUCENE-8258) GeoComplexPolygon fails computing traversals

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

Karl Wright edited comment on LUCENE-8258 at 4/19/18 12:19 PM:
---------------------------------------------------------------

Nope, it isn't the bounds.  There's no actual intersection on the world:

{code}
   [junit4]   1> Looking for intersection between plane [A=0.0, B=0.0; C=1.0; D=-3.590718044207102E-6] and plane [A=1.0, B=0.0; C=0.0; D=-0.9999999999942558] within bounds
   [junit4]   1>  no solutions - no intersection - BsquaredMinus=-5.619504861442692E-12
{code}

I'm at a loss to explain why it picks these travel planes.  The ellipsoid is a sphere, which should be easy.  The BsquaredMinus term's limit is 1e-24, so this is off by the proverbial mile from intersecting the world, and even when I try limiting the choice of planes by restricting their legal values further, it doesn't seem to have any problem with any of them, and we still pick exactly the same ones.

I have no further time today, but if [~ivera] would like to explore the problem a bit more maybe by this weekend we can at least understand what the issue is.




was (Author: kwright@metacarta.com):
Nope, it isn't the bounds.  There's no actual intersection on the world:

{code}
   [junit4]   1> Looking for intersection between plane [A=0.0, B=0.0; C=1.0; D=-3.590718044207102E-6] and plane [A=1.0, B=0.0; C=0.0; D=-0.9999999999942558] within bounds
   [junit4]   1>  no solutions - no intersection - BsquaredMinus=-5.619504861442692E-12
{code}


> GeoComplexPolygon fails computing traversals
> --------------------------------------------
>
>                 Key: LUCENE-8258
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8258
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial3d
>            Reporter: Ignacio Vera
>            Assignee: Karl Wright
>            Priority: Major
>         Attachments: LUCENE-8258.jpg, LUCENE-8258.patch
>
>
> There are some situations when checking for memebership for a GeoComplexPolygon results in the following error:
> {{java.lang.IllegalArgumentException: No off-plane intersection points were found; can't compute traversal}}
> It seems the intersection of auxiliary planes created is outside of the world.
>  



--
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