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

TestGeoUtils.testGeoRelations is buggy with irregular rectangles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • 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
          Nick Knize
        2. LUCENE-6908.patch
          47 kB
          Nick Knize
        3. LUCENE-6908.patch
          69 kB
          Nick Knize
        4. LUCENE-6908.patch
          72 kB
          Nick Knize
        5. LUCENE-6908.patch
          7 kB
          Nick Knize

        Activity

          People

            Unassigned Unassigned
            nknize Nick Knize
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: