Convert CSV to KML
Turn CSV files into KML. A KML document in WGS 84 with each feature as a placemark and its attributes as extended data.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop CSV files on the dialor turn it to pick what to do
Rows of a table, placed on a map.Each row with a location becomes a placemark in a KML file.
What you get
One KML file in WGS 84. Each feature is a placemark, and its attributes are stored as extended data, so Google Earth shows them with the placemark.
A row becomes a point when the table has longitude and latitude columns, such as lon and lat or x and y. A row becomes a shape when the table has a WKT column. The other columns become attributes.
What changes or is left out
Coordinates are taken as WGS 84. Values in another coordinate system are not converted, so they are read as if they were WGS 84.
Features without a geometry are left out. A row with no usable location does not appear in the KML file.
When it fails
A table with no longitude and latitude columns and no WKT column has nothing to place on a map. The conversion stops with
unsupported_elements.To go the other way, use KML to CSV.
CSV and KML.What each format is.
The formats
CSV
Rows of comma-separated values. The plainest way to move a table between programs.
- Extensions
- .csv
- MIME type
- text
/csv - Kind
- Text and data
KML
Placemarks, paths and polygons for Google Earth.
- Extensions
- .kml
- MIME type
- application
/vnd .google -earth .kml +xml - Kind
- Text and data
In your code.The same CSV to KML conversion through the API, for your app or your agent.
$ cv convert sheet.csv sheet.kml$ cv convert sheet.csv sheet.kmlQuestions.What people ask about CSV to KML.
Longitude and latitude columns, such as lon and lat or x and y, give a point for each row. A WKT column gives a shape instead.
They become attributes of each placemark, stored as extended data in the KML file.
The table has no longitude and latitude columns and no WKT column. Without one of them, there is no geometry to place.
No. Features without a geometry are left out of the file.