[SERVER-30390] Add support for $geoIntersects with geo operator $centerSphere Created: 28/Jul/17  Updated: 27/Dec/23

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

Type: New Feature Priority: Major - P3
Reporter: Wan Bachtiar Assignee: Backlog - Query Integration
Resolution: Unresolved Votes: 2
Labels: qi-geo, query-44-grooming
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File geointersect_sphere.js    
Issue Links:
Related
is related to SERVER-27968 $geoWithin with $centerSphere does no... Closed
Assigned Teams:
Query Integration
Participants:

 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.



 Comments   
Comment by Thomas Rueckstiess [ 08/Aug/17 ]

tess.avitabile Not yet, but we would like to add more geo features, including $geoIntersects, in the future.

Comment by Tess Avitabile (Inactive) [ 07/Aug/17 ]

thomasr, is this an issue for Compass (i.e. does Compass use $geoIntersects)?

Comment by Ian Whalen (Inactive) [ 03/Aug/17 ]

tess.avitabile can you take a look and decide what we should do here?

Generated at Thu Feb 08 04:23:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.