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

GeoComplexPolygon throws error when checking within() for a point parallel to test point

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.7, 7.3, 8.0
    • modules/spatial3d
    • None
    • New

    Description

      If a GeoComplexPolygon is created with test point (x, y, z) and we try to check if point(-x,-y,-z) is {{within()}}then an error is thrown. It seems we need to handle the case when a point is parallel to the test point but not identical.

       

      Attachments

        1. LUCENE-8211.patch
          2 kB
          Ignacio Vera

        Activity

          People

            kwright@metacarta.com Karl Wright
            ivera Ignacio Vera
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: