title: Import CSV with semicolon separator into MongoDB database
body: <p>I've just try to import a CSV file (with semicolon ; separator) into a MongoDB database. I managed import with <code>mongoimport -d mydb -c things --type csv --file files.csv --headerline</code> but the result is not what I'm expecting.
  The files have that form:</p>
  
  <p><a href="https://i.stack.imgur.com/vk96y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vk96y.png" alt=""></a></p>
  
  <p>And I get the following result:</p>
  
  <p><a href="https://i.stack.imgur.com/3Ov5g.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3Ov5g.png" alt=""></a></p>
  
  <p>But I want to have something like:</p>
  
  <pre><code>{
  
     "_id": ObjectId("57b6e2654bf4a357b679305"),
  
     "geom_x_y" : "48.87792844925 , 2.3664591564",
  
     "circonfere" : "25.0",
  
     "adresse" : "PARIS 10E ARRDT - QUAI DE JEMMAPES",
  
     "hauteurnm" : "5.0",
  
     "espece" : "Acer platanoides",
  
     "varieteouc" : "'Schwedleri'",
  
     "dateplanta" : "31/12/2014"
  
  }
  </code></pre>