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

Implement $geoNear for MultiPoints and GeometryCollections containing a single point

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Component/s: Geo
    • Labels:
      None

      Description

      Can't run $geoNear queries for a MultiPoint like this:

      { 'type' : 'MultiPoint', 'coordinates' : [ [1, 1] ] }

      or a GeometryCollection like this:

      { 'type' : 'GeometryCollection',
      'geometries' : [

      { 'type' : 'Point', 'coordinates' : [1, 1] }

      ]
      }

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated: