The GPX Reader is an XML-based GPS Exchange Format (GPX) reader.
GPX (the GPS Exchange Format) is a light-weight XML data format for the interchange of GPS data (waypoints, routes, and tracks) between applications and Web services on the Internet.
Implements the FeatureIterator interface
import { GPXReader } from 'gis-tools-ts';import { FileReader } from 'gis-tools-ts/file';const fileReader = new FileReader('./example.gpx');const gpxReader = new GPXReader(fileReader);for await (const feature of gpxReader) { console.log(feature);} Copy
import { GPXReader } from 'gis-tools-ts';import { FileReader } from 'gis-tools-ts/file';const fileReader = new FileReader('./example.gpx');const gpxReader = new GPXReader(fileReader);for await (const feature of gpxReader) { console.log(feature);}
https://www.topografix.com/gpx.asp
The data as either a buffer or file reader
Generator to iterate over each WGS84 lon-lat point
GPX Reader
Description
The GPX Reader is an XML-based GPS Exchange Format (GPX) reader.
GPX (the GPS Exchange Format) is a light-weight XML data format for the interchange of GPS data (waypoints, routes, and tracks) between applications and Web services on the Internet.
Implements the FeatureIterator interface
Usage
Links
https://www.topografix.com/gpx.asp