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

Comment on: "manual/reference/operator/near.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      The text states:

      "If you query for legacy coordinate pairs, specify $maxDistance in radians."

      But I think – from my tests – the correct statement would be:

      "If you query for legacy coordinate pairs, specify $maxDistance in whatever unit you are using for your coordinates. For example, if your units are UTM "easting/northing", then the unit is implicitly meters. If you are using latitude and longitude, the unit is degrees – but note using degrees this way is naive, and conversion to linear distance is problematic."

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            dharasty Dan Harasty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 19 weeks, 6 days ago