News for hackers. Stuff that matters.
Re:Live Demo of the new geo queries in Mongo 2.4 by frumious on Sunday February 03, 2013 @08:24PM (#5161955)
This is a great example. I tried running it myself locally.

The README.md doesn't explain how to create the mongodb indexes, and it doesn't work without them...

Re:Live Demo of the new geo queries in Mongo 2.4 by idbentley on Monday February 11, 2013 @02:04PM (#5202584)
Hi frumious.

Sorry that the readme is light in this area. Before loading the data, just start a connection to mongo, and `use geo` `db.ny.ensureIndex({"geo": "2dsphere"})`. And you'll have your index.

Re:Live Demo of the new geo queries in Mongo 2.4 by ranman on Thursday January 31, 2013 @05:33PM (#5147917)
This is pretty boss but the $within query return values seem... random. It also doesn't return in the same order everytime (at least that's what it looks like).
Re:Live Demo of the new geo queries in Mongo 2.4 by tbrock on Thursday January 31, 2013 @05:33PM (#5147923)
Agreed, this is sweet. Can't wait for Mongo 2.4
Re:Live Demo of the new geo queries in Mongo 2.4 by telm on Thursday January 31, 2013 @06:14PM (#5148108)
those features look really good, very little code required.