Polygon::contains() can return wrong result with points on edge

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.0.5, 2.4.1
    • Component/s: Geo
    • Query Integration
    • Linux
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The result set from the attached example code, depending on the value of 'increment', should always contain a square number of entries: 1, 9, 25, 49, 81, 121...

      when 'increment' is .1, the number produced should be 441 but only 400 are generated. Further, when 'offset' is 2, 391 entries are generated.

      Dude, what gives?

        1. diagram.png
          diagram.png
          75 kB
        2. mongotest.js
          0.4 kB

            Assignee:
            [DO NOT USE] Backlog - Query Integration
            Reporter:
            Hal St. Clair
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: