title: Convert kilometers to radians
body: <p>I need to convert kilometers to radians. Is this correct formula?
  I need radians for nearsphere in MongoDB.</p>
  
  <p>If I need to convert 5 kilometers to radians I do this:</p>
  
  <pre><code>5/6371
  </code></pre>
  
  <p>And I get this result (does it seem correct):</p>
  
  <pre><code>0.000784806153
  </code></pre>
  
  <p><strong>UPDATE</strong></p>
  
  <p>This is not a math issue, I really need to know if I am doing the correct calculations from kilometers to radians to be able to do geospatial queries with MongoDB.</p>