title: Export Datatable to KML file
body: <p>i Guys,
  I have a problem when i export a datable of 1000 records to a KML file with c#, When i export it only the last placemark is write in to the kml file, but i dont know why...</p>
  
  <p>This is my code</p>
  
  <pre><code>public static void generar_kml(DataTable data_gps)
  {
      var document = new Document();
      var kml = new Kml();
      Placemark placemarks;
      Point Punto_gps;
      foreach (DataRow datatable in data_gps.Rows)
      {
          Punto_gps = new Point();
          Punto_gps.Coordinate = new 
          Vector(double.Parse(datatable["Long"].ToString()),
          double.Parse(datatable["Lat"].ToString()));
          placemarks = new Placemark();
          placemarks.Name = datatable["Place"].ToString();
          placemarks.Geometry = Punto_gps;
          kml.Feature = placemarks;
      }
      Serializer serializer = new Serializer();
      serializer.Serialize(kml);
      Console.WriteLine(serializer.Xml);
      Console.ReadKey();  
  }
  </code></pre>
  
  <p>this is the output;</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;kml xmlns="http://www.opengis.net/kml/2.2"&gt;
  &lt;Placemark&gt;
      &lt;name&gt;Name of place&lt;/name&gt;
  &lt;Point&gt;
      &lt;coordinates&gt;-84.135109999999997,9.9416100000000007&lt;/coordinates&gt;
  &lt;/Point&gt;
  &lt;/Placemark&gt;
  &lt;/kml&gt;"
  </code></pre>