{"id":22490,"date":"2024-10-21T05:13:09","date_gmt":"2024-10-21T05:13:09","guid":{"rendered":"http:\/\/www.withdata.com\/blog\/?p=22490"},"modified":"2024-11-22T16:37:36","modified_gmt":"2024-11-22T16:37:36","slug":"convert-kml-to-csv","status":"publish","type":"post","link":"https:\/\/www.withdata.com\/blog\/use\/convert-kml-to-csv.html","title":{"rendered":"Convert KML to CSV"},"content":{"rendered":"<p>If you want to convert <a href=\"https:\/\/developers.google.com\/kml\">KML<\/a> files to CSV files, you can try <a href=\"https:\/\/www.withdata.com\/data-file-converter\/\" target=\"_blank\" rel=\"noopener\">Data File Converter<\/a>.<\/p>\n<p>An sample KML (Keyhole Markup Language) file like this:<\/p>\n<pre>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\r\n&lt;kml xmlns=\"http:\/\/www.opengis.net\/kml\/2.2\"&gt;\r\n  &lt;Placemark&gt;\r\n    &lt;name&gt;Simple placemark&lt;\/name&gt;\r\n    &lt;description&gt;Attached to the ground. Intelligently places itself \r\n       at the height of the underlying terrain.&lt;\/description&gt;\r\n    &lt;Point&gt;\r\n      &lt;coordinates&gt;-122.0822035425683,37.42228990140251,0&lt;\/coordinates&gt;\r\n    &lt;\/Point&gt;\r\n  &lt;\/Placemark&gt;\r\n&lt;\/kml&gt;\r\n<\/pre>\n<p>1. Open KML in DataFileConverter.<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/case\/kml-to-csv-type.png\" alt=\"Convert KML to CSV - file type\" width=\"615\" height=\"443\" style=\"max-width:100%;height:auto;display:block;\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/case\/kml-to-csv-source.png\" alt=\"Convert KML to CSV - open KML\" width=\"722\" height=\"572\" style=\"max-width:100%;height:auto;display:block;\" \/><\/p>\n<p>2. &#8220;Next&#8221; and &#8220;Next&#8221;, convert, get output CSV file.<\/p>\n<pre>name,description,Point\/coordinates\r\nSimple placemark,Attached to the ground. Intelligently places itself at the height of the underlying terrain.,\"-122.0822035425683,37.42228990140251,0\"\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you want to convert KML files to CSV files, you can try Data File Converter. An sample KML (Keyhole Markup Language) file like this: &lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt; &lt;kml xmlns=&#8221;http:\/\/www.opengis.net\/kml\/2.2&#8243;&gt; &lt;Placemark&gt; &lt;name&gt;Simple placemark&lt;\/name&gt; &lt;description&gt;Attached to the ground. Intelligently places itself at the height of the underlying terrain.&lt;\/description&gt; &lt;Point&gt; &lt;coordinates&gt;-122.0822035425683,37.42228990140251,0&lt;\/coordinates&gt; &lt;\/Point&gt; &lt;\/Placemark&gt; &lt;\/kml&gt; 1. Open KML [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3141],"tags":[34,3690,3691],"class_list":["post-22490","post","type-post","status-publish","format-standard","hentry","category-use","tag-csv","tag-kml","tag-kml-to-csv"],"_links":{"self":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/22490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/comments?post=22490"}],"version-history":[{"count":4,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/22490\/revisions"}],"predecessor-version":[{"id":22762,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/22490\/revisions\/22762"}],"wp:attachment":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/media?parent=22490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/categories?post=22490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/tags?post=22490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}