+ template for the gpx format
authortgambet
Thu, 25 Aug 2011 16:28:08 -0400
changeset 96 31af8abd0fc7
parent 89 3fde3593d89c
child 97 40a45ab37edb
+ template for the gpx format
src/main/resources/templates/gpx.ssp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/resources/templates/gpx.ssp	Thu Aug 25 16:28:08 2011 -0400
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<gpx creator="BuddyRunner.com" version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
+
+<metadata>
+	<time>2011-08-10T06:13:35.711-0400</time> <!-- From the schema: "The creation date of the file." - Optional -->
+	<extensions>
+		<activity>http://dbpedia.org/resource/Running</activity>
+		<time></time>
+		<duration></duration>
+		<distance></distance>
+		<useragent><useragent>
+	</extensions>
+</metadata>
+
+<trk>
+<trkseg>
+
+<!-- A Track Segment holds a list of Track Points which are logically connected in order. To represent a single GPS track where GPS reception was lost, or the GPS receiver was turned off, start a new Track Segment for each continuous span of track data. -->
+
+	<trkpt lat="42.412414" lon="-71.140267">
+		<time>2011-08-10T06:13:34.000-0400</time>
+		<ele>-31.0</ele>
+	</trkpt>
+	<trkpt lat="42.412457" lon="-71.140305">
+		<time>2011-08-10T06:13:37.000-0400</time>
+		<ele>-34.0</ele>
+	</trkpt>
+</trkseg>
+</trk>
+</gpx>
\ No newline at end of file