Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 1.11 KB

README.md

File metadata and controls

48 lines (28 loc) · 1.11 KB

t2gpx

A tool to convert TXT files to GPX files

Usage

Get t2gpx

  • Get jar from releases

  • Build jar from source

    Java 8 and Maven >=3.3 are required.

    Download:

    git clone [email protected]:miantiao5115/t2gpx.git

    Then ,import this maven project to your IDE and build.

    Build:

    mvn package -DskipTests

Run t2gpx

When you get a jar file, you can run it with a txt file path, then you will get a corresponding gpx file in the same file path.

eg:

java -jar t2gpx-1.0.jar C:\User\miantiao\test.txt

In the same file path, you can see a gpx file named test.gpx.

Addition

  • About txt file

The first three columns of the TXT file must be latitude, longitude, GPS time in sequence, and the columns must be separated by ',', it also has no column header. eg: test.txt

  • About gpx file

    the gpx file complies with graphhopper schema. eg: test.gpx