[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-23 Thread Karl Wright (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16335720#comment-16335720 ] Karl Wright commented on LUCENE-8133: - I increased the MINIMUM_RESOLUTION as described and all seems

[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-23 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16335719#comment-16335719 ] ASF subversion and git services commented on LUCENE-8133: - Commit

[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-23 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16335717#comment-16335717 ] ASF subversion and git services commented on LUCENE-8133: - Commit

[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-23 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16335715#comment-16335715 ] ASF subversion and git services commented on LUCENE-8133: - Commit

[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-23 Thread Karl Wright (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16335695#comment-16335695 ] Karl Wright commented on LUCENE-8133: - The distance from the plane constructed to the points that

[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-23 Thread Karl Wright (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16335685#comment-16335685 ] Karl Wright commented on LUCENE-8133: - The normalization was added because if it isn't there there

[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-23 Thread Ignacio Vera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16335560#comment-16335560 ] Ignacio Vera commented on LUCENE-8133: -- One thing I notice is that if the normalization of the

[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-23 Thread Karl Wright (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16335535#comment-16335535 ] Karl Wright commented on LUCENE-8133: - I'm going to need to think about this. The precision limit of

[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-23 Thread Karl Wright (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16335514#comment-16335514 ] Karl Wright commented on LUCENE-8133: - {code} [junit4] 1> Magnitude = 9.005955889077574E-6 {code}

[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-23 Thread Karl Wright (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16335509#comment-16335509 ] Karl Wright commented on LUCENE-8133: - Hmm. There is code in Vector which is supposed to prevent

[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-22 Thread Ignacio Vera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16335416#comment-16335416 ] Ignacio Vera commented on LUCENE-8133: -- I disagree with the assessment. I think the factory is doing

[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-22 Thread Karl Wright (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16335070#comment-16335070 ] Karl Wright commented on LUCENE-8133: - Ok, what is happening is that the polygon tiling code "tries"

[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-22 Thread Karl Wright (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16334818#comment-16334818 ] Karl Wright commented on LUCENE-8133: - It should be possible to generate a single concave polygon to

[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-22 Thread Ignacio Vera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16334782#comment-16334782 ] Ignacio Vera commented on LUCENE-8133: -- I understand that is clockwise when looking from the inside

[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-22 Thread Karl Wright (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16334643#comment-16334643 ] Karl Wright commented on LUCENE-8133: - [~ivera], the first example you gave ( (0 0), (0 1),(1 1), (1

[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-22 Thread Ignacio Vera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16334514#comment-16334514 ] Ignacio Vera commented on LUCENE-8133: -- That is odd. I have been using the factory to build simple

[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-22 Thread Karl Wright (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16334344#comment-16334344 ] Karl Wright commented on LUCENE-8133: - One thing to note is the javadoc for createGeoPolygon():

[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-22 Thread David Smiley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16334341#comment-16334341 ] David Smiley commented on LUCENE-8133: -- Since we're on the subject of JIRA etiquette, please don't

[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-22 Thread Karl Wright (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16334286#comment-16334286 ] Karl Wright commented on LUCENE-8133: - I will be able to look at this by this afternoon.   > Small

[jira] [Commented] (LUCENE-8133) Small polygon fails with misleading error: Convex polygon has a side that is more than 180 degrees

2018-01-22 Thread Ignacio Vera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16334179#comment-16334179 ] Ignacio Vera commented on LUCENE-8133: -- Note I am trying to construct the following polygon: