jbaysolutions / gpx-parser

Java Parser to read and write GPX files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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();

About

Java Parser to read and write GPX files

License:GNU General Public License v2.0


Languages

Language:Java 100.0%