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

Add support for $geoIntersects with geo operator $centerSphere

    • Query Integration

      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.

        1. geointersect_sphere.js
          2 kB
          Wan Bachtiar

            Assignee:
            backlog-query-integration [DO NOT USE] Backlog - Query Integration
            Reporter:
            wan.bachtiar@mongodb.com Wan Bachtiar
            Votes:
            2 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: