# gpx-parser **Repository Path**: mirrors_jbaysolutions/gpx-parser ## Basic Information - **Project Name**: gpx-parser - **Description**: Java Parser to read and write GPX files - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2026-03-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # gpx-parser Java Parser for reading and writing GPX files using base from [gpxparser](http://sourceforge.net/projects/gpxparser/) Follows [GPX schema version 1.1](http://www.topografix.com/gpx/1/1/) ## Example Uses: include jar to your classpath [Download JAR](https://github.com/ThomasDaheim/gpx-parser/files/1733894/gpx-parser-1.2.jar.zip) 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(); ```