db.cities.createIndex( { location: '2d', *bits: 4* } )
  • Default bits is 26, about 0.3 meter resolution (½ * 40000 / 2^26)