lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <>
Subject [jira] [Commented] (LUCENE-6759) Integrate lat/long BKD and spatial 3d, part 2
Date Fri, 28 Aug 2015 09:06:45 GMT


Karl Wright commented on LUCENE-6759:

Hi Mike,

This code demonstrates the arrangement, as far as I have been able to research so far:

    c = new GeoCircle(PlanetModel.SPHERE,0.004729080495762766,-7.023094095867159E-5,0.002549346432178953);
    p1 = new GeoPoint(PlanetModel.SPHERE,0.007197150578698408,0.0010389455251423893);
    xyzb = new XYZBounds();
    area = GeoAreaFactory.makeGeoArea(PlanetModel.SPHERE, 
      xyzb.getMinimumX(), xyzb.getMaximumX(), xyzb.getMinimumY(), xyzb.getMaximumY(), xyzb.getMinimumZ(),
    relationship = area.getRelationship(c);
    assertTrue(relationship == GeoArea.OVERLAPS || relationship == GeoArea.WITHIN);
    // Point is actually inside the bounds, but outside the shape

So somewhere along the line during the bkd descent for the point in question, the point is
being included when it shouldn't be, possibly because a CONTAINS result is being returned
for a subarea.  But we don't yet know what that is.

[~mikemccand], what I think we need for debugging situations of this kind is a test method
that can be called that starts with a shape and descends solely with the view of analyzing
a single provided point.  It may be that your architecture works great for this already, but
I'm not sure.  For the moment I'm going to try assuming that the problem is a CONTAINS result
that should have been an OVERLAPS, and adjusting the MINIMUM_RESOLUTION etc.

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

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message