Querying along a polyline

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Geo
    • None
    • Query Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I'll like to be able to query along a polyline. The idea is to give
      mongo an array of points and a max distance. Mongo should return every
      document within the max distance from the polyline. There should also
      be an option to tell if it should only be distinct document or not.
      polyline = [[10, 20], [10, 40], [30, 40], [30, 20]]
      db.places.find({ "loc":

      { $along: polygonA, $maxDistance: 5, $uniqueDocs: true }

      })

            Assignee:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            Esben Nepper
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: