Skip to content

jeremiahrappley/csv-to-kml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

csv-to-kml

This simple script converts a CSV file containing location data into a KML file that can be imported and displayed in Google Earth.

The CSV file should contain the following headers:

  • latitude
  • longitude
  • placeName
  • arrivalDate
  • departureDate

If you're starting from a JSON file, you can first convert it to CSV using an online tool such as JSON to CSV Converter.

How to use

  1. Place the input.csv file in the same directory as the script
  2. Install dependencies with npm install
  3. Run the script with node script.js
  4. The output.kml file will be created in the same directory

About

Simple JS script that converts a CSV file to KML

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published