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

Karl Wright commented on LUCENE-8280:
-------------------------------------

[~ivera], an intersection point on the edge of the polygon is automatically 
"in-set", so that is not a problem.

Have you plotted this polygon?  There's an edge that goes from (lat=-0.25, 
lon=-PI) -> (lat=-0.40, lon=0), as well as another edge intersection at 
(lat=-0.91, 0).  Therefore, it looks to me like there's quite a likelihood that 
this polygon overlaps itself, at least glancingly.  I'm not sure how the 
complex polygon code behaves under those conditions frankly.

I've verified that the bounds look correct.

What isn't correct is the decision that the point is actually "in set".  It's 
clearly not.


> Repeatable failure for GeoConvexPolygons
> ----------------------------------------
>
>                 Key: LUCENE-8280
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8280
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial3d
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>            Priority: Major
>
> Reproduce with:
> {code}
> ant test  -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations 
> -Dtests.seed=1F49469C1989BC0 -Dtests.slow=true -Dtests.badapples=true 
> -Dtests.locale=fr-BE -Dtests.timezone=Europe/Malta -Dtests.asserts=true 
> -Dtests.file.encoding=Cp1252
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to