1.0.6 • Published 2 years ago

gpxtojs v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

GPX Parser

a library for parsing gpx files and extract data that provide functionalities

  • extract gpx metadata and waypoints
  • extract tracks and routes with points and total distance of the route
  • convert the gpx to geojson

Install

npm i gpxtojs

Usage

const gpxtojs = require("gpxtojs")
const gpx = new gpxtojs.GPXParser();
gpx.parse(gpxString)
gpx.getMetadata()
gpx.getWaypoints()
gpx.getTracks()
gpx.getRoutes()

Convert to Geojson

gpx.toGeoJson()
1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago