Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-3901

Comment on: "manual/reference/operator/aggregation/geoNear.txt"

    XMLWordPrintableJSON

Details

    Description

      There is conflicting information on this page regarding the geoNear command and manual/reference/command/geoNear with regards to maxDistance. This page states that distance should be given in radians while the other page states that radians should only be used for legacy coordinate pairs.

      Granted that one is a aggregation command and the other is not, but I have been using $geoNear in an aggregation pipeline with GeoJSON objects and have experienced that maxDistance in this instance requires meters and not radians as the text on this page explicitly states.

      Attachments

        Activity

          People

            Unassigned Unassigned
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 26 weeks, 1 day ago