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

Support geo searches across the anti-meridian

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.3.2
    • Affects Version/s: 1.7.0
    • Component/s: Geo
    • None

      Improvement request:

      Customer wants to be able to take the viewport that Google Maps generates and use Mongo to find my points within that viewport. If the viewport spans the anti-meridian, you currently get the error "area must be > 0". For example, lower left corner is [10, 170] and upper right is [20, 30].

      Without this, customer will need to split the viewport into two and do two queries, then join the results.

      It would be much better if MongoDB handled it directly.

      Implementation details:
      Would need to support $center and $near, need to determine applicability of $box

      Search keywords: geo wrap

            Assignee:
            greg_10gen Greg Studer
            Reporter:
            alvin Alvin Richards (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: