[SERVER-1720] can't store points at extreme edges in geo index Created: 02/Sep/10 Updated: 12/Jul/16 Resolved: 05/Apr/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Geo |
| Affects Version/s: | None |
| Fix Version/s: | 1.9.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Mathias Stearn | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
These work and are correct: PRINT(Point(180-g._error,180-g._error).hash(&g).toString()); Works but incorrect ("00000...') Asserts: |
| Comments |
| Comment by Greg Studer [ 05/Apr/11 ] |
|
Pretty sure this is solved by the solution to Points must be in bounds interval [min, max) , so users just need to mod their coordinates by the interval range to avoid insert errors. Also integrates well with future wrapping functionality, if desired. |
| Comment by auto [ 03/Sep/10 ] |
|
Author: {'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}Message: Limit generated points to [-179.9, 179.9] due to |
| Comment by Mathias Stearn [ 02/Sep/10 ] |
|
This would probably require a reindex to fix |