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-8063) Polygons with holes don't compute bounds properly in certain situations
Date Thu, 23 Nov 2017 17:16:00 GMT

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

Karl Wright commented on LUCENE-8063:
-------------------------------------

There is no checking to insure that holes are in fact inside the polygon.
Random tests I've written that construct polygons with holes are carefully written to insure
there is no crossing.  Apparently your polygon constructor, though, permits holes that aren't
legal.



> Polygons with holes don't compute bounds properly in certain situations
> -----------------------------------------------------------------------
>
>                 Key: LUCENE-8063
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8063
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial3d
>            Reporter: Ignacio Vera
>            Assignee: Karl Wright
>            Priority: Minor
>         Attachments: LUCENE_8063_fix.patch, LUCENE_8063_test.patch
>
>
> Hi [~daddywri],
> I thought it would be useful to create a random test for bounds. The test have shown
problems with polygon with holes. In this ticket I will submit a random test for bounds and
propose a fix for bounds for polygons.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message