7 ms·
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..
by frumious 14y ago
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...
- idbentley 14y agoHi 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.