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

Find an O(N) way to tile arbitrary geo3d polygons

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 6.0
    • Fix Version/s: None
    • Component/s: modules/spatial3d
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Construction of GeoPolygons through GeoPolygonFactory.makeGeoPolygon() takes O(N^2) time, where N is the number of points. This is due to the non-transitive nature of edge/point comparisons in Geo3D; just knowing that the next point is on the right side of an edge doesn't tell you anything about previous edges. Still, maybe there is a 2D algorithm somewhere that can be adapted to run in O(N) time.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: