Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-3320

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 1.8.2
    • Geo
    • None
    • Linux CentOS 5.5 64bit
    • ALL

    Description

      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.

      Attachments

        Activity

          People

            greg_10gen Greg Studer
            muratmat Matteo Muratori
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: