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

error not being thrown for out-of-bounds distances in geospatial coordinates

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 1.9.0
    • Geo
    • None
    • ALL

    Description

      Seems like the following should throw an error:

      db.runCommand(

      { geoNear : "xy", near : [44, 44], spherical : true, maxDistance : 12000 }

      )

      but it doesn't.

      Attachments

        Activity

          People

            greg_10gen Greg Studer
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: