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

Add support for $geoIntersects with geo operator $centerSphere

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Geo, Querying

      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

              • Votes:
                2 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated: