Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
New
Description
The issue can be reproduced with the following test:
@Test public void testBBoxLatDegenerate() { double minX = Geo3DUtil.fromDegrees(-180.0); double maxX = Geo3DUtil.fromDegrees(-174.37500008381903); double minY = Geo3DUtil.fromDegrees(89.99999765306711); double maxY = Geo3DUtil.fromDegrees(89.99999794643372); assertNotNull(GeoAreaFactory.makeGeoArea(PlanetModel.SPHERE, maxY, minY, minX, maxX)); }
this currently fails with the following error:
Cannot determine sidedness because check point is on plane. java.lang.IllegalArgumentException: Cannot determine sidedness because check point is on plane. at __randomizedtesting.SeedInfo.seed([F8095E23398C1BA6:396A213B6362092D]:0) at org.apache.lucene.spatial3d.geom.SidedPlane.<init>(SidedPlane.java:137) at org.apache.lucene.spatial3d.geom.GeoRectangle.<init>(GeoRectangle.java:149) at org.apache.lucene.spatial3d.geom.GeoBBoxFactory.makeGeoBBox(GeoBBoxFactory.java:134) at org.apache.lucene.spatial3d.geom.GeoAreaFactory.makeGeoArea(GeoAreaFactory.java:43) at org.apache.lucene.spatial3d.geom.TestGeoBBox.testBBoxLonDegenerate(TestGeoBBox.java:538) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568)
Attachments
Issue Links
- links to