This app converts a list of points to a KML file that can be visualized with Google Earth.
npm install
Prepare two CSV files with the following format:
id | group | x / lon | y / lat | desc |
---|---|---|---|---|
85632 | 1 | 7.65833 | 45.97642 | desc1 |
84552 | 1 | 7.60494 | 45.96990 | |
FMDS | 2 | 7.65764 | 45.97597 | desc2 |
NDYS | 2 | 7.60274 | 45.96999 | |
SHJE | 2 | 7.62435 | 45.96626 | desc3 |
id1 | id2 | desc |
---|---|---|
85632 | FMDS | link1 |
84552 | NDYS | link2 |
Run the app specifying the name of the CSV files:
$ node app.js points.csv links.csv
Read 5 points
Read 2 links
Generated output.kml