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

GeoPointInPolygonQuery can be improved

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • None
    • None
    • None
    • None
    • New

    Description

      GeoRelationutils uses a basic algebraic approach for computing if (and where) a rectangle crosses a polygon by checking the line segments of both the polygon and rectangle. The current suboptimal line crossing approach can be greatly improved by exploiting the orientation of the lines and endpoints. If the endpoints of one line are on different "sides" of the line segment then the two may cross.

      Attachments

        1. LUCENE-6951.patch
          8 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: