Parser to convert GPX file into a valid GeoJson for Leaflet HeighGraph plugin.
- Install dependencies with
npm install
oryarn
- Move .gpx files into /input folder. They will be parsed and moved into /ouput folder with same file name.
- Run script using
npm run parse
oryarn parse
You MUST create a config.js
file into root folder with following structure:
module.exports = {
creator: 'John Doe',
summary: 'Elevation',
removeWaypoints: true,
}