[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16334818#comment-16334818 ]
Karl Wright commented on LUCENE-8133: ------------------------------------- It should be possible to generate a single concave polygon to cover this case. What it's apparently doing, though, is trying to tile it with multiple convex polygons, which is why it gets into trouble. The way to debug it is to log (using System.out.println) the decisions it is making during the tiling process, and why those decisions are being made. Then we find where the error is and figure out why it made the bad decision. > Small polygon fails with misleading error: Convex polygon has a side that is > more than 180 degrees > --------------------------------------------------------------------------------------------------- > > Key: LUCENE-8133 > URL: https://issues.apache.org/jira/browse/LUCENE-8133 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d > Reporter: Ignacio Vera > Assignee: Karl Wright > Priority: Major > Attachments: LUCENE-8133.patch, image-2018-01-22-12-52-21-656.png, > image-2018-01-22-12-55-17-096.png > > > Hi [~karl wright], > I am trying to create a polygon that is valid but I am getting an error which > is probably incorrect. I think it is a problem with precision. > I will attach a test. > -- 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