[SERVER-15626] Support longitude out of bound of [-180, 180] Created: 13/Oct/14 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: | Siyuan Zhou | Assignee: | Backlog - Query Execution |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Execution
|
| Participants: |
| Description |
|
Since some map libraries like leaflet support longitude less than -180 or greater than 180, but they are considered as invalid longitude in MongoDB. We can wrap the longitude out of bound into [-180, 180]. Note that this is only unambiguous in GeoJSON shapes - legacy points may exceed these bounds. Reported in |