[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16778995#comment-16778995 ] ASF subversion and git services commented on LUCENE-8696: - Commit d82118323b4ff42321c2bf23ac1481d2d418a438 in lucene-solr's branch refs/heads/branch_8x from Karl Wright [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=d821183 ] LUCENE-8696: Rework how endpoint circles are represented to allow for consistency on WGS84. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16778993#comment-16778993 ] ASF subversion and git services commented on LUCENE-8696: - Commit ff799ac03d3de3807ee021bd4df6fa65a9e4771a in lucene-solr's branch refs/heads/master from Karl Wright [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=ff799ac ] LUCENE-8696: Rework how endpoint circles are represented to allow for consistency on WGS84. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16778994#comment-16778994 ] ASF subversion and git services commented on LUCENE-8696: - Commit 0f69cb63f24cc096e97ec75b6f0ae9f7c930afcb in lucene-solr's branch refs/heads/branch_7_7 from Karl Wright [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=0f69cb6 ] LUCENE-8696: Rework how endpoint circles are represented to allow for consistency on WGS84. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16778005#comment-16778005 ] Karl Wright commented on LUCENE-8696: - I have confirmed that the above is indeed the issue. I did this by checking whether intersection with the segment end planes was taking place, and it was. There are two ways forward. First way is to make this hack officially part of the code base. That will probably be fine for real-world paths, because real-world paths are much narrower than what occurs in random testing. The second fix would be to change how we represent segment endpoints, so that there is no gap between one of the points and the adjoining path segment. The way to do that is to use TWO planes rather than one, but only when there are two adjoining segments and a gap is thus present. Membership would be tricky because, depending on the specific conformation of the segment endpoint, EITHER plane or BOTH planes would need to match the point being tested. But we could determine this by simply looking at the fourth point in the context of a plane constructed from the other three. Such a change would finally make GeoPaths first-class citizens in the oblate world, at the cost of needing to have a second plane for each segment endpoint. But there's no reason we can't use class inheritance to solve that problem too. So a base SegmentEndpoint class or interface would have multiple implementations, and the right one could be picked at path construction time, to match the conformation. For SPHERE planets, the simplest implementation would still be the one that got used. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16777927#comment-16777927 ] ASF subversion and git services commented on LUCENE-8696: - Commit c9f22a31a5286aaeee354acfc5b6076f15dd0e61 in lucene-solr's branch refs/heads/branch_8x from Karl Wright [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=c9f22a3 ] LUCENE-8696: Refactor, in preparation for creating a new SegmentEndpoint implementation to fix the problem. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16777926#comment-16777926 ] ASF subversion and git services commented on LUCENE-8696: - Commit 149469ddbcefd6688e56d54e0a0f2812793214b9 in lucene-solr's branch refs/heads/master from Karl Wright [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=149469d ] LUCENE-8696: Refactor, in preparation for creating a new SegmentEndpoint implementation to fix the problem. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16777922#comment-16777922 ] ASF subversion and git services commented on LUCENE-8696: - Commit a6c6304ba099ecf6c4bf6c4b669c5c3177f71ae1 in lucene-solr's branch refs/heads/branch_7_7 from Karl Wright [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=a6c6304 ] LUCENE-8696: Refactor, in preparation for creating a new SegmentEndpoint implementation to fix the problem. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16777688#comment-16777688 ] Karl Wright commented on LUCENE-8696: - Since we've eliminated the computation of the solid's example intersection points, that basically leaves numerical factors as the only potential cause. Let's examine this further. In the case of GeoPaths on the WGS84 globe, path intersection points are described by "circles", which are in fact just planes that are picked so as to connect the path segments together, as described above. But, each plane with two adjoining segments is selected based on FOUR surface points, not three. That means that there is a gap between one of the points and the actual endpoint circle. When we compute membership in the path, we exclude points in that gap from membership. This is done by considering the path segment end planes as delimiters of membership for both the endpoint "circles" as well as the segments. But, those segment end planes are not considered when determining intersection, because they are "interior" to the path. This means that it is possible for getRelationship() to miss an intersection with the path edge if the "gap" is large enough and everything lines up perfectly, and thus "CONTAINS" is reported where "OVERLAPS" would be the actual correct answer. It should be possible to see if our test case would be resolved by considering path segment end edges. A simple trial code change should be sufficient to know. Then the question becomes how to prevent spurious intersections? We could just permit them (it's allowed in the contract), or we could make more significant changes to path representation, for better accuracy. Stay tuned. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776975#comment-16776975 ] Karl Wright commented on LUCENE-8696: - [~jpountz], should be addressed now. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776970#comment-16776970 ] ASF subversion and git services commented on LUCENE-8696: - Commit ad42f6c3467041b8e5e82ad5fb3d8f2306d31f00 in lucene-solr's branch refs/heads/branch_7_7 from Karl Wright [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=ad42f6c ] LUCENE-8696: Fix precommit objections > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776969#comment-16776969 ] ASF subversion and git services commented on LUCENE-8696: - Commit a86a64fd0eae840f82803e31daf9e5b93a3e2187 in lucene-solr's branch refs/heads/branch_7_7 from Karl Wright [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=a86a64f ] LUCENE-8696: Update test to be what's actually failing > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776964#comment-16776964 ] ASF subversion and git services commented on LUCENE-8696: - Commit e7e5798792e89eea2c04dc61a2ee034a9e393984 in lucene-solr's branch refs/heads/branch_8x from Karl Wright [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=e7e5798 ] LUCENE-8696: Fix precommit objections > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776963#comment-16776963 ] ASF subversion and git services commented on LUCENE-8696: - Commit 4be095e69823451f094152d8e2142605418caf4e in lucene-solr's branch refs/heads/branch_7x from Karl Wright [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=4be095e ] LUCENE-8696: Fix precommit objections > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776958#comment-16776958 ] ASF subversion and git services commented on LUCENE-8696: - Commit 8c34da8a626634eac07841795b72c8e225de3b04 in lucene-solr's branch refs/heads/master from Karl Wright [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=8c34da8 ] LUCENE-8696: Fix precommit objections > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776920#comment-16776920 ] Adrien Grand commented on LUCENE-8696: -- [~kwri...@metacarta.com] FYI your latest commits are causing precommit failures, see eg. https://builds.apache.org/job/Lucene-Solr-SmokeRelease-master/1265/consoleFull. Also I see that you pushed some code to branch_7x even though we will likely never create new releases from this branch anymore, only from branch_7_7. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776899#comment-16776899 ] Karl Wright commented on LUCENE-8696: - Reviewing the solid, and what the edge points *should* be: minx, maxx: -0.7731590077686981, 1.0011188539924791 miny, maxy: 0.9519964046486451, 1.0011188539924791 minz, maxz: -0.9977622932859775, 0.9977599768255027 The minz/maxz planes might touch the world at the poles, but probably don't. The maxx plane might touch the world at the max X pole. The minx plane definitely slices the world, so it should generate at least one point. The maxy plane might touch the world at the max Y pole. The miny plane slices the world, so it should generate at least one point. We therefore should expect a minimum of two points, which is what we see. If any of these planes actually encounters the pole, though, we should have gotten another point from that. The maxZ plane looks potentially like it might qualify. Out of time for the moment though. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776881#comment-16776881 ] Karl Wright commented on LUCENE-8696: - Reviewing the solid edge point logic finds nothing wrong. Will try to rule out numerical precision problems next. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776841#comment-16776841 ] Karl Wright commented on LUCENE-8696: - I've verified that there are two solid edge points and they both lie within the path: {code} [junit4] 2> solid edge point [X=0.0, Y=0.9519964046486451, Z=-0.30870622678085735] path.isWithin()? true [junit4] 2> solid edge point [X=-0.0, Y=1.0011188539924791, Z=0.0] path.isWithin()? true [junit4] 2> path edge point [X=0.22516844226485835, Y=0.003930329545205224, Z=0.9721897091178435] isWithin()? false minx=0.9983274500335564 maxx=-0.7759504117276208 miny=-0.9480660751034399 maxy=-0.9971885244472739 minz=1.969952002403821 maxz=-0.025570267707659133 {code} So this confirms that there is no intersection detected, and how the conclusion that the solid is completely within the path is arrived at. Possible errors that would cause this: (1) We might be missing a solid edge point. These edge points are computed based on the lines of intersection between adjoining solid planes and the surface of the world. There is also special computation to handle the case where a solid edge plane intersects the world by itself, but this logic might not be complete. We need to capture all plane/world intersection closed curves and come up with an example point for each. (2) There might be numerical precision issues with intersection computation that prevent us from concluding that the path edges intersect the solid edges. I still have to figure out which is the real problem here. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776831#comment-16776831 ] Ignacio Vera commented on LUCENE-8696: -- Yes, that is how it surface in the test. Is it true that if you have a GeoPath with cutoff angle x, the same GeoPath with cutoff angle x + 1 should contain all points of the GeoPath with smaller cutoff angle? > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776821#comment-16776821 ] Karl Wright commented on LUCENE-8696: - Looking at the actual failure now. Basically, problem is that the relationship between the XYZSolid and the GeoPath is containment: the XYZSolid is reported to be inside the GeoPath. It reaches this conclusion because it detects no intersections between the solid and the path edges, and because the path edge point it is using is outside the solid: {code} [junit4] 1> in isShapeInsideArea [junit4] 1> there are 1 pathPoints [junit4] 1> pathpoint [X=0.22516844226485835, Y=0.003930329545205224, Z=0.9721897091178435]... [junit4] 1> outside {code} Haven't verified it yet, but this implies that at least one of the solid's surface points is inside of the path too. Still too early to know which conclusion is incorrect. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776662#comment-16776662 ] ASF subversion and git services commented on LUCENE-8696: - Commit 70732a82ecc74da63952da51c23ea1f03035e500 in lucene-solr's branch refs/heads/branch_8x from Karl Wright [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=70732a8 ] LUCENE-8696: Update test to be what's actually failing > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776661#comment-16776661 ] ASF subversion and git services commented on LUCENE-8696: - Commit 7ff2f03db2ff008ac1335f890e51375612aaf941 in lucene-solr's branch refs/heads/branch_7x from Karl Wright [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=7ff2f03 ] LUCENE-8696: Update test to be what's actually failing > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776659#comment-16776659 ] ASF subversion and git services commented on LUCENE-8696: - Commit 9bf2c8cb93350ec26b98602b88553f3b3d774017 in lucene-solr's branch refs/heads/master from Karl Wright [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=9bf2c8c ] LUCENE-8696: Update test to be what's actually failing > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776637#comment-16776637 ] Karl Wright commented on LUCENE-8696: - I revised the simple test case to match the actual failure, and committed it with @AwaitsFix. I'm now committing to master and to master, branch_7x, and branch_8x. No further fixes for branch_6x. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776617#comment-16776617 ] Karl Wright commented on LUCENE-8696: - [~ivera], I'm looking at your test case for reproducing the original failure and I honestly can't find any place in testGeo3DRelations where we expect two paths with different widths to exactly fit inside one another. The only relationships that are computed in this test are between an xyz solid and a path. Can you describe how you came up with the simplified test case? > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776010#comment-16776010 ] Karl Wright commented on LUCENE-8696: - More debugging shows that the second circle plane is wildly different in the two runs: {code} [junit4] 1> Checking 'iswithin' for 0.020717830200521595 0.9523290534985549 0.30699177254488114 [junit4] 1> pathPoint... [junit4] 1> outside of circle [A=0.9998476951745469, B=0.01745240539714465, C=-0.0, D=-0.5409068252602056, side=1.0] [junit4] 1> pathPoint... [junit4] 1> passes circle plane [A=0.7071067811865476, B=-0.7071067811865476, C=0.0, D=0.05929892163149414, side=-1.0] [junit4] 1> within! [junit4] 1> Checking 'iswithin' for 0.020717830200521595 0.9523290534985549 0.30699177254488114 [junit4] 1> pathPoint... [junit4] 1> outside of circle [A=0.9998476951745469, B=0.017452405397144648, C=-0.0, D=-0.22520274172912894, side=1.0] [junit4] 1> pathPoint... [junit4] 1> outside of circle [A=0.7863183388224225, B=-0.6178215519319035, C=0.0, D=-0.0021572780909792644, side=1.0] [junit4] 1> pathPoint... [junit4] 1> outside of cutoff plane [A=0.6045468388328157, B=-0.796569594986684, C=-3.0241383426688587E-48, D=0.0, side=1.0] [junit4] 1> pathPoint... [junit4] 1> outside of cutoff plane [A=-0.6885949363624547, B=-0.29030954074708304, C=-0.6644978436136604, D=0.0, side=1.0] [junit4] 1> segment... [junit4] 1> segment... [junit4] 1> segment... {code} For the successful run it's: [A=0.7071067811865476, B=-0.7071067811865476, C=0.0, D=0.05929892163149414, side=-1.0] For the failed run it's: [A=0.7863183388224225, B=-0.6178215519319035, C=0.0, D=-0.0021572780909792644, side=1.0] The naive expectation would be that the vector is identical (A,B,C), but the displacement differs (D). But because this is WGS84, that expectation is incorrect, because oblateness can affect the vector. Because of oblateness, the circle is constructed from three of the four points where the segment edges intersect. Which three it picks is random, but the hope is that the selection is not important. What this shows is that very wide paths on oblate spheroids are mathematically unrelatable to each other. This is not exactly surprising in retrospect; paths were originally designed for a SPHERE world and retrofitting them to WGS84 involved compromises. I therefore think the best approach might be to modify the test suite to limit the width of paths tested on WGS84. [~ivera], what do you think? > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776006#comment-16776006 ] Karl Wright commented on LUCENE-8696: - Added some simple diagnostics. The difference lies in the construction of the second circle plane: {code} [junit4] 1> Checking 'iswithin' for 0.020717830200521595 0.9523290534985549 0.30699177254488114 [junit4] 1> pathPoint... [junit4] 1> outside of circle [junit4] 1> pathPoint... [junit4] 1> within! [junit4] 1> Checking 'iswithin' for 0.020717830200521595 0.9523290534985549 0.30699177254488114 [junit4] 1> pathPoint... [junit4] 1> outside of circle [junit4] 1> pathPoint... [junit4] 1> outside of circle [junit4] 1> pathPoint... [junit4] 1> outside of cutoff plane [A=0.6045468388328157, B=-0.796569594986684, C=-3.0241383426688587E-48, D=0.0, side=1.0] [junit4] 1> pathPoint... [junit4] 1> outside of cutoff plane [A=-0.6885949363624547, B=-0.29030954074708304, C=-0.6644978436136604, D=0.0, side=1.0] [junit4] 1> segment... [junit4] 1> segment... [junit4] 1> segment... {code} So the second circle plane accepts the point in the narrower case, but rejects it in the wider case. Digging further. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16776002#comment-16776002 ] Karl Wright commented on LUCENE-8696: - Hmm, even when I use createSurfacePoint() with this point, it still fails. So I need to look deeper. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16775839#comment-16775839 ] Karl Wright commented on LUCENE-8696: - Preliminary results indicate that the problem may be due to the fact that the point isn't on the surface. The following test fails: {code} GeoPoint check = new GeoPoint(0.02071783020158524, 0.9523290535474472, 0.30699177256064203); assertTrue(PlanetModel.WGS84.pointOnSurface(check)); {code} Because path geometry uses surface circles and parallel slicing planes, they can be particularly susceptible to misconstruing membership for points that are off the world. I'll try to confirm this picture. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16775050#comment-16775050 ] Karl Wright commented on LUCENE-8696: - The path in the test retraces its steps, but that should not be a problem for membership testing. I'll look into it starting this evening. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > Attachments: LUCENE-8696.patch > > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16771733#comment-16771733 ] Ignacio Vera commented on LUCENE-8696: -- I will try to see if I can isolate the failure [~kwri...@metacarta.com] > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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
[jira] [Commented] (LUCENE-8696) TestGeo3DPoint.testGeo3DRelations failure
[ https://issues.apache.org/jira/browse/LUCENE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16771682#comment-16771682 ] Karl Wright commented on LUCENE-8696: - [~ivera], would you be willing to construct a simple test case? I can't possibly look at this until the weekend, but it would help. > TestGeo3DPoint.testGeo3DRelations failure > - > > Key: LUCENE-8696 > URL: https://issues.apache.org/jira/browse/LUCENE-8696 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d >Reporter: Ignacio Vera >Assignee: Karl Wright >Priority: Major > > Reproduce with: > {code:java} > ant test -Dtestcase=TestGeo3DPoint -Dtests.method=testGeo3DRelations > -Dtests.seed=721195D0198A8470 -Dtests.slow=true -Dtests.badapples=true > -Dtests.locale=sr-RS -Dtests.timezone=Europe/Istanbul -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1{code} > Error: > {code:java} > [junit4] FAILURE 1.16s | TestGeo3DPoint.testGeo3DRelations <<< > [junit4] > Throwable #1: java.lang.AssertionError: invalid hits for > shape=GeoStandardPath: {planetmodel=PlanetModel.WGS84, > width=1.3439035240356338(77.01), > points={[[lat=2.4457272005608357E-47, > lon=0.017453291479645996([X=1.0009663787601641, Y=0.017471932090601616, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.8952476719156919([X=0.6260252093310985, Y=0.7812370940381473, > Z=2.448463612203698E-47])], [lat=2.4457272005608357E-47, > lon=0.6491968536639036([X=0.7974608400583222, Y=0.6052232384770843, > Z=2.448463612203698E-47])], [lat=-0.7718789008737459, > lon=0.9236607495528212([X=0.43181767034308555, Y=0.5714183775701452, > Z=-0.6971214014446648])]]}}{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