Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6908

TestGeoUtils.testGeoRelations is buggy with irregular rectangles

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      The .testGeoRelations method doesn't exactly test the behavior of GeoPoint*Query as its using the BKD split technique (instead of quad cell division) to divide the space on each pass. For "large" distance queries this can create a lot of irregular rectangles producing large radial distortion error when using the cartesian approximation methods provided by GeoUtils. This issue improves the accuracy of GeoUtils cartesian approximation methods on irregular rectangles without having to cut over to an expensive oblate geometry approach.

        Attachments

        1. LUCENE-6908.patch
          9 kB
          Nicholas Knize
        2. LUCENE-6908.patch
          47 kB
          Nicholas Knize
        3. LUCENE-6908.patch
          69 kB
          Nicholas Knize
        4. LUCENE-6908.patch
          72 kB
          Nicholas Knize
        5. LUCENE-6908.patch
          7 kB
          Nicholas Knize

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nknize Nicholas Knize
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: