Menu

Tree [d50f69] master /
 History

HTTPS access


File Date Author Commit
 src 2015-02-28 Frank Taylor Frank Taylor [d50f69] removed System.out.print from TrackSegment
 target 2015-02-28 Frank Taylor Frank Taylor [d50f69] removed System.out.print from TrackSegment
 README.txt 2014-12-06 Frank Taylor Frank Taylor [f13cb3] comments
 gps.gpx 2013-12-03 Frank Taylor Frank Taylor [65d039] kml files
 gps.kml 2013-12-03 Frank Taylor Frank Taylor [65d039] kml files
 pom.xml 2014-12-06 Frank Taylor Frank Taylor [8c3028] Tracks, Segments, Points hierarchy

Read Me

To get code from sourceforge:
git clone git://git.code.sf.net/p/gpsanalysis/code gpsanalysis-code

also see: https://github.com/Danny02/WanderrouteJS/blob/master/gpsanalysis-code
#git pull
#git push

To build jar file:
mvn clean compile package


Java code example (assuming GPS-library.jar in classpath):

//gets points from a GPX or KML file
final List<TrackPoint> points= GpxFileDataAccess.getPoints(new File("/path/toGpxFile.gpx"));
//or
final List<TrackPoint> points= GpxFileDataAccess.getPoints(new FileInputStream(new File("/path/toGpxFile.gpx")));

//Creates and does some analysis on GPX or KML file
final Trip trip= Trip.makeTrip(-1, new TrackSegment(points, TrackSegment.caminarType.undef));

//Returns tracks, segments and points after analysis
final List<Track> allTracks= trip.getTracks();
final List<Track> tracks= GpxFileDataAccess.getTracks(TEST_GPX_FILE);
final List<TrackSegment> allSegments= trip.getFirstTrack().getSegments();
final List<TrackPoint> allPoints= trip.getPoints();
final List<TrackPoint> segmentsPoints= tracks.getFirstSegment().getPoints();


//Returns all points as populated objects for your own analysis
final List<TrackPoint> allPoints= trip.getPoints();

try it online at: http://gps-site.fmtmac.cloudbees.net
or on Android at: http://dl.dropboxusercontent.com/u/688127/public-web-site/gpsdiary/gpsdiary.htm
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.