[SERVER-47651] $geointersects does not work when polygon bigger than semi-sphere Created: 19/Apr/20 Updated: 23/Apr/20 Resolved: 22/Apr/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Geo |
| Affects Version/s: | 4.3.6 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Ohad R | Assignee: | Carl Champain (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
i enter a single entry to mongo, with Polygon which contains most of the earth:
then, when i query for a Point to get the Polygon(s) who contains it:
i do not get any result. this is because mongo searches in the small part and not in the big one. if i query for a Point which is in the small section, i do get the result:
CRS can help me ONLY if i query for a Polygon. but in my case, I query for a Point.
I suggest to support CRS upon insertions of Polygons. |
| Comments |
| Comment by Ohad R [ 23/Apr/20 ] |
|
thanks. yes, it is very similar. guess I've missed it...
|
| Comment by Carl Champain (Inactive) [ 22/Apr/20 ] |
|
I believe this is being worked on in SERVER-45189 so I'm going to close this ticket as a duplicate. Please let me know if this is not the case. Thank you, |
| Comment by Ohad R [ 21/Apr/20 ] |
|
thanks for formatting. I tried to edit after I've posted, but I do not have the option for editing. |
| Comment by Ohad R [ 19/Apr/20 ] |