Skip to content
Java Parser to read and write GPX files
Java
Branch: master
Clone or download
Latest commit 6a36767 Nov 15, 2018

README.md

gpx-parser

Java Parser for reading and writing GPX files

using base from gpxparser

Follows GPX schema version 1.1

Example Uses:

include jar to your classpath Download JAR

To read GPX file:

GPXParser p = new GPXParser();
FileInputStream in = new FileInputStream("inFile.gpx");
GPX gpx = p.parseGPX(in);

To write to GPX file:

GPXWriter writer = new GPXWriter();
FileOutputStream out = new FileOutputStream("outFile.gpx");
writer.writeGPX(gpx, out);
out.close();
You can’t perform that action at this time.