[SERVER-4339] Querying along a polyline Created: 21/Nov/11  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Geo
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Esben Nepper Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 4
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-14948 Find Points near LineString Open
Assigned Teams:
Query Execution
Participants:

 Description   

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 }

})


Generated at Thu Feb 08 03:05:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.