Skip to content

Conversation

@scttl
Copy link

@scttl scttl commented Jun 11, 2014

Per
http://docs.mongodb.org/manual/release-notes/2.6-compatibility/#maxdistance-changes
$maxDistance must now be located within the $near operator on geoJSON objects,
not outside (as of mongoDB 2.6).

Note that this fix is backwards compatible with prior mongo releases as
geoJSON $near has always supported $maxDistance.

Per
http://docs.mongodb.org/manual/release-notes/2.6-compatibility/#maxdistance-changes
$maxDistance must now be located within the $near operator on geoJSON objects,
not outside (as of mongoDB 2.6).

Note that this fix is backwards compatible with prior mongo releases as
geoJSON $near has always supported $maxDistance.
@rozza
Copy link
Contributor

rozza commented Jun 17, 2014

Looks good - Travis failed due to connection to pypi issues.

Shame we have to break pre 2.6 mongodbs.

@rozza rozza closed this in cfc31ee Jun 26, 2014
@rozza
Copy link
Contributor

rozza commented Jun 26, 2014

Thanks @scttl - I've added a fix for pre 2.6 servers as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants