[SERVER-47217] Allow to check if a point is within ellipse on sphere Created: 01/Apr/20  Updated: 14/Apr/22

Status: Open
Project: Core Server
Component/s: Geo
Affects Version/s: 4.5 Desired
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Katya Kamenieva Assignee: Katya Kamenieva
Resolution: Unresolved Votes: 0
Labels: qexec-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Query 2020-11-30, Query 2021-01-11, Query 2021-01-25, Query Execution 2021-02-22
Participants:

 Description   

The use case from astronomical research team at CalTech: identify if the coordinates of the object (point) fall within the galaxy (boundaries are described as ellipse).
Currently ellipse is not supported natively, so the workaround is to store parameters of ellipses (not as geo data), use $geoWithin to perform search within much larger circle area and process data further in the code, which produces a lot of overhead.



 Comments   
Comment by Pawel Terlecki [ 05/Apr/20 ]

I believe they could encode their second filter as a UDF in 4.4 or even using $where in 4.2. I am curious if that would improve performance or quite the opposite.

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