[DOCS-1414] GeoWithin $centerSphere shouldn't have $maxDistance Created: 19/Apr/13  Updated: 30/Oct/23  Resolved: 26/Apr/13

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: mongodb-2.4
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Major - P3
Reporter: Asya Kamsky Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 10 years, 42 weeks, 5 days ago

 Description   

Page: http://docs.mongodb.org/manual/reference/geospatial-queries/

Table section:

{ $geoWithin : {
  $centerSphere :
    [[x, y], radius]
  $maxDistance : d
} }

$maxDistance doesn't make sense (it'd be redundant of radius). It also has no effect no matter what its value is (though to test it you have to add a comma after "radius]"



 Comments   
Comment by auto [ 26/Apr/13 ]

Author:

{u'date': u'2013-04-26T20:04:03Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: minor: removing unrequired parameter from query to resolve DOCS-1414
Branch: master
https://github.com/mongodb/docs/commit/00f3da70951c7245fdcc4c40d43d760f28afbbe0

Generated at Thu Feb 08 07:40:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.