[ 
https://issues.apache.org/jira/browse/LUCENE-6759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14709579#comment-14709579
 ] 

Karl Wright commented on LUCENE-6759:
-------------------------------------

I wound up discovering that the delta between a shape and the XYZBounds that 
might be returned for a shape was more than 10x 1.5e-12.   That's not a number 
I can increase MINIMUM_RESOLUTION to, unfortunately.

The cause of the delta is that very same case of a very small circle on or 
about z=0.  The delta between the geocircle's plane and the maxz value may only 
be 1e-16, but if the circle is small enough that delta translates to a delta in 
Z of 5e-11 or so, which is way outside the MINIMUM_RESOLUTION in z.

The solution I'm exploring now is to simply add a "fudge factor" to all bounds 
values. This fudge factor is designed to cover any deltas due to error values 
being magnified in this way.  So far (beasting round 20) it seems to be 
working.  I may also reduce MINIMUM_RESOLUTION to a lower value if this seems 
to be effective for all of our test cases.

> Integrate lat/long BKD and spatial 3d, part 2
> ---------------------------------------------
>
>                 Key: LUCENE-6759
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6759
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Michael McCandless
>         Attachments: LUCENE-6699.patch
>
>
> This is just a continuation of LUCENE-6699, which became too big.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to