Assertion error on Box queries with -80 and 180 longitude values

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.8.2
    • Component/s: Geo
    • None
    • Environment:
      Linux CentOS 5.5 64bit
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      db.MyTable.find({ 'pos': { $within: { $box: [[-180, -90], [180, 90]] }} }) <-- error:

      { "$err" : "assertion db/geo/2d.cpp:236" }

      -180 and 180 longitude values make the assertion out; -90 and 90 latitude values seems instead to be ok.

            Assignee:
            Greg Studer (Inactive)
            Reporter:
            Matteo Muratori
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: