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

Add support for $geoIntersects with geo operator $centerSphere

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • Geo, Querying
    • Query Integration

    Description

      There is no code implementation for $geoIntersects / $centerSphere.
      Although there is also no documentation for usage of $geoIntersects with $centerSphere shape operator

      The manual on https://docs.mongodb.com/manual/reference/operator/query/geoIntersects/ mentions:

      The $geoIntersects operator uses the $geometry operator to specify the GeoJSON object.
      

      Although if you specify $centerSphere instead of $geometry for $geoIntersects, it does not throw unknown geo specifier error.

      This ticket could be either to add a catch to throw an error to indicate 'not supported' or to add functionality behind the scene for it.

      Attachments

        Issue Links

          Activity

            People

              backlog-query-integration Backlog - Query Integration
              wan.bachtiar@mongodb.com Wan Bachtiar
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: