Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.29 KB

README.md

File metadata and controls

35 lines (28 loc) · 1.29 KB

Kameleon

Generate a Google Earth compatible KML file from a CSV file

Run the default generator

The default.js generator uses the following CSV format (as generated by the TrackDown Android App):

Timestamp (UTC), Latitude, Longitude, Display Radius (Meters), Source, Device Tag, Platform, WiFi Results
2019-06-27T13:51:31.000Z,39.2632465,-107.0982669,3.0,fused,02:00:00:00:00:00,android/Google/Pixel 2,

To run:

npm install
node default.js -f sample/maroon-bells.csv -o maroon-bells.kml
Options:
  -V, --version            output the version number
  -f, --file <filename>    set the input CSV file
  -o, --output <filename>  set the output file path (defaults to stdout)
  -c, --columns <columns>  comma separated string of ordered column names
                           - recognized: "time,long,lat,rad,src,dev,plat,wifi"
                           - required: long,lat
  
  -h, --help               display help for command

Examples:
  --timezone America/New_York
  --columns "time,long,lat,rad,src,dev,plat,wifi"

start marker

start to finish