1.0.6 • Published 3 years ago

gpxtojs v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
3 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

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago