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

Geo3d's convex and concave polygons do not handle hole intersections properly

    XMLWordPrintableJSON

    Details

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

      Description

      The addition of holes to GeoConvex and GeoConcave polygon shapes has broken two things:
      (1) The edge points returned should include the hole edge points;
      (2) The outer distance computation should include distance from hole edges.

      This ticket is complicated by the fact that holes as provided by GeoPolygonFactory can be entirely outside of the polygon; no checking or pruning is done. It is unknown whether having edge points from outside holes will lead to improper return values for getRelationship() results.

        Attachments

          Activity

            People

            • Assignee:
              kwright@metacarta.com Karl Wright
              Reporter:
              kwright@metacarta.com Karl Wright
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: