title: MongoDB geoNear command result distance in kilometer
body: <p>I am using mongoDB to store GPS locations data as this GeoJSON document</p>
  
  <p>{"type" : "Point", "coordinates" : [33.313183, 44.465632]}</p>
  
  <p>{"type" : "Point", "coordinates" : [33.2926487, 44.4159651]}</p>
  
  <p>Update: I also ensured 2dspher index like follow </p>
  
  <pre><code>db.test.ensureIndex( { loc : "2dsphere" } )
  </code></pre>
  
  <p>I got the coordinates from Google maps 
  Now if I search using this command I cant convert the distances in result to kilometers </p>
  
  <pre><code>db.runCommand({geoNear: 'test', spherical: true, near: {type: "Point" , coordinates: [33.2926487, 44.4159651]}})
  </code></pre>
  
  <p>the result is as follow </p>
  
  <pre><code>"results" : [
      {
          "dis" : 0.0033427770982422957,
          "obj" : {
              "_id" : ObjectId("54a96f348fa05fcaed637a22"),
              "loc" : {
                  "type" : "Point",
                  "coordinates" : [
                      33.2926487,
                      44.4159651
                  ]
              }
          }
      },
      {
          "dis" : 5764.7060911604085,
          "obj" : {
              "_id" : ObjectId("54a96f4c8fa05fcaed637a23"),
              "loc" : {
                  "type" : "Point",
                  "coordinates" : [
                      33.313183,
                      44.465632
                  ]
              }
          }
      }
  ]
  </code></pre>
  
  <p>the first result is expected to be Zero since its the same point that I want to get the distance from source = destination coordinates, but still has value.</p>
  
  <p>the second value I cant convert to Kilometers, in Google distance calculator is about 5.26KM.</p>