[DOCS-934] Multiple $centerSphere examples are wrong and related issues with $within and $centerSphere Created: 03/Jan/13 Updated: 30/Oct/23 Resolved: 14/Feb/13 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Thomas Rueckstiess | Assignee: | Bob Grabar |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Days since reply: | 11 years, 5 days ago | ||||||||||||||||
| Description |
$centerSphere examples wrongThe geo query operator $centerSphere is the spherical (3D) equivalent to $center (2D). Both are meant to be used with the $within operator (unlike for example $near or $nearSphere). All references to $centerSphere in the docs I could find so far use a wrong example:
Instead, the example should read:
Note there are two differences:
These are the links I found so far that need to be changed: There may be other references that I couldn't find. $within docs don't mention $centerSphereIn addition, the docs on $within say they only support three shapes: $box, $center, $polygon. They should also mention the fourth one, $centerSphere with appropriate example. Operators reference page ordering is confusingLastly, the operators page lists all the different operators, but the order is confusing. It mentions $near, then $within, and much further below $nearSphere and $centerSphere. This needs to be cleaned up as well. The hierarchy should be:
|
| Comments |
| Comment by auto [ 15/Feb/13 ] |
|
Author: {u'date': u'2013-01-14T21:34:03Z', u'name': u'Bob Grabar', u'email': u'bob.grabar@10gen.com'}Message: |
| Comment by auto [ 15/Feb/13 ] |
|
Author: {u'date': u'2013-01-11T02:54:49Z', u'name': u'Bob Grabar', u'email': u'bob.grabar@10gen.com'}Message: |