Ignacio Vera created LUCENE-8761:
------------------------------------
Summary: RandomGeoPolygonTest.testCompareSmallPolygons test failure
Key: LUCENE-8761
URL: https://issues.apache.org/jira/browse/LUCENE-8761
Project: Lucene - Core
Issue Type: Bug
Components: modules/spatial3d
Reporter: Ignacio Vera
Reproduce with:
{code:java}
ant test -Dtestcase=RandomGeoPolygonTest
-Dtests.method=testCompareSmallPolygons -Dtests.seed=5616B8AF18E73F5
-Dtests.slow=true -Dtests.badapples=true -Dtests.locale=it-IT
-Dtests.timezone=Africa/Luanda -Dtests.asserts=true
-Dtests.file.encoding=UTF-8{code}
Output:
{code:java}
[junit4] FAILURE 0.25s | RandomGeoPolygonTest.testCompareSmallPolygons
{seed=[5616B8AF18E73F5:3F0F8C29D1934F55]} <<<
[junit4] > Throwable #1: java.lang.AssertionError:
[junit4] > Standard polygon: GeoCompositePolygon: {[GeoConvexPolygon:
{planetmodel=PlanetModel.WGS84, points=[[lat=4.0E-323,
lon=-1.5642641387776646([X=0.0065394500758205526, Y=-1.0010974954578205,
Z=4.0E-323])], [lat=-4.1204793742327684E-7,
lon=-1.5642638751890106([X=0.0065397139537611325, Y=-1.0010974937339752,
Z=-4.125089589031438E-7])], [lat=4.7042128367572116E-7,
lon=-1.5642630821305357([X=0.006540507882610503, Y=-1.0010974885472588,
Z=4.709476164070912E-7])], [lat=1.0079428885548814E-6,
lon=-1.5642647153663134([X=0.006538872854363873, Y=-1.0010974992277146,
Z=1.0090706294797576E-6])]], internalEdges={3}}, GeoConvexPolygon:
{planetmodel=PlanetModel.WGS84, points=[[lat=4.0E-323,
lon=-1.5642641387776646([X=0.0065394500758205526, Y=-1.0010974954578205,
Z=4.0E-323])], [lat=1.0079428885548814E-6,
lon=-1.5642647153663134([X=0.006538872854363873, Y=-1.0010974992277146,
Z=1.0090706294797576E-6])], [lat=5.018093706393593E-7,
lon=-1.5642651810798487([X=0.006538406629710141, Y=-1.0010975022732327,
Z=5.02370822057141E-7])]], internalEdges={0}}]}
[junit4] > Large polygon: GeoComplexPolygon:
{planetmodel=PlanetModel.WGS84, number of shapes=1, address=24da76d0,
testPoint=[lat=3.1362512108941996E-7,
lon=-1.5642641985086745([X=0.006539390279255702, Y=-1.0010974958483772,
Z=3.139760218082874E-7])], testPointInSet=true, shapes={
{[lat=5.018093706393593E-7, lon=-1.5642651810798487([X=0.006538406629710141,
Y=-1.0010975022732327, Z=5.02370822057141E-7])], [lat=4.0E-323,
lon=-1.5642641387776646([X=0.0065394500758205526, Y=-1.0010974954578205,
Z=4.0E-323])], [lat=-4.1204793742327684E-7,
lon=-1.5642638751890106([X=0.0065397139537611325, Y=-1.0010974937339752,
Z=-4.125089589031438E-7])], [lat=4.7042128367572116E-7,
lon=-1.5642630821305357([X=0.006540507882610503, Y=-1.0010974885472588,
Z=4.709476164070912E-7])], [lat=1.0079428885548814E-6,
lon=-1.5642647153663134([X=0.006538872854363873, Y=-1.0010974992277146,
Z=1.0090706294797576E-6])]}}
[junit4] > Point: [lat=2.8705346198541964E-8,
lon=7.537339947889447E-73([X=1.0011188539924787, Y=7.545773130782812E-73,
Z=2.8737463289741695E-8])]
[junit4] > WKT: POLYGON((-89.62573319562668 2.263E-321,-89.62571809310927
-2.3608607771424413E-5,-89.62567265420576
2.6953154147745272E-5,-89.62576623172276
5.775087350441979E-5,-89.62579291514281 2.875155905775134E-5,-89.62573319562668
2.263E-321))
[junit4] > WKT: POINT(4.318577677694212E-71 1.6446951866383562E-6)
[junit4] > normal polygon: false
[junit4] > large polygon: true{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]