title: Mongoimport location from independent latitude and longitude columns in a CSV
body: <p>I have a CSV with 3 fields: name, latitude, longitude. A row of looks like this:</p>
  
  <pre><code>Place 1,73.992964,40.739037
  </code></pre>
  
  <p>What's the correct way to mongoimport latitude and longitude into a loc field? I understand that location indexed fields need to be longitude,latitude and are a single array instead of 2 discrete fields for latitude and longitude but I'm missing if there is a way to handle going from discreet values to the array via mongoimport</p>
  
  <p>Do I need to first transform to a CSV with a single column loc with longitude and latitude in it instead?</p>
  
  <pre><code>Place1,[-73.992964,40.739037]
  </code></pre>
  
  <p>I'm frequently going to be dealing with CSVs that have latitude and longitude stored in independent columns so I'm hoping to find a way to do this with mongoimport.</p>