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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 6.0
    • None
    • modules/spatial3d
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: