$geoIntersects returns false intersection on close non-intersecting polygons

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.6.1
    • Component/s: Geo
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      $geoIntersects will show these two polygons as intersecting:

      { "type" : "Polygon", "coordinates" : [[[ 1.0,  3.0], [ 12.0,  3.0], [ 12.0,  8.0],  [ 1.0,  8.0], [ 1.0,  3.0]]] },
      
      { "type" : "Polygon", "coordinates" : [ [ [ 6, 9 ], [ 7, 9 ], [ 7, 8.02 ], [ 6, 8.02 ], [ 6, 9 ] ] ] }
      

      The top of the first polygon is .02 degrees away from the bottom of the second one. The range of false intersections increases with lattitude. I wasn't able to reproduce this with longitudinally near polygons.

        1. geoInt.js
          2 kB
        2. 13920-flat-earth.png
          13920-flat-earth.png
          66 kB
        3. 13920-round-earth.png
          13920-round-earth.png
          65 kB

              Assignee:
              Greg Studer (Inactive)
              Reporter:
              Michael Grundy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: