Gooby 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README +5 -10
- data/bin/forerunner_xml_parser.rb +3 -1
- data/bin/forerunner_xml_splitter.rb +3 -0
- data/bin/gen_gmap.rb +3 -0
- data/bin/tests_gen.rb +3 -0
- data/data/run_2007_01_10_22_44_54.csv +1 -1
- data/lib/gooby.rb +43 -0
- data/lib/{cls_counter_hash.rb → gooby/cls_counter_hash.rb} +0 -0
- data/lib/{cls_delim_line.rb → gooby/cls_delim_line.rb} +0 -0
- data/lib/{cls_dttm.rb → gooby/cls_dttm.rb} +0 -0
- data/lib/{cls_duration.rb → gooby/cls_duration.rb} +0 -2
- data/lib/{cls_forerunner_xml_parser.rb → gooby/cls_forerunner_xml_parser.rb} +0 -0
- data/lib/{cls_forerunner_xml_splitter.rb → gooby/cls_forerunner_xml_splitter.rb} +0 -2
- data/lib/{cls_geo_data.rb → gooby/cls_geo_data.rb} +0 -0
- data/lib/{cls_gooby_object.rb → gooby/cls_gooby_object.rb} +0 -0
- data/lib/{cls_google_map_generator.rb → gooby/cls_google_map_generator.rb} +0 -0
- data/lib/{cls_history.rb → gooby/cls_history.rb} +0 -0
- data/lib/{cls_lap.rb → gooby/cls_lap.rb} +0 -0
- data/lib/{cls_line.rb → gooby/cls_line.rb} +0 -0
- data/lib/{cls_options.rb → gooby/cls_options.rb} +0 -0
- data/lib/{cls_position.rb → gooby/cls_position.rb} +0 -0
- data/lib/{cls_run.rb → gooby/cls_run.rb} +0 -0
- data/lib/{cls_simple_xml_parser.rb → gooby/cls_simple_xml_parser.rb} +0 -0
- data/lib/{cls_test_regen.rb → gooby/cls_test_regen.rb} +1 -1
- data/lib/{cls_track.rb → gooby/cls_track.rb} +0 -0
- data/lib/{cls_trackpoint.rb → gooby/cls_trackpoint.rb} +0 -0
- data/lib/{mod_introspect.rb → gooby/mod_introspect.rb} +0 -0
- data/lib/{mod_io.rb → gooby/mod_io.rb} +0 -0
- data/lib/{mod_project_info.rb → gooby/mod_project_info.rb} +1 -1
- data/lib/{mod_string.rb → gooby/mod_string.rb} +0 -0
- data/lib/{mod_test_helper.rb → gooby/mod_test_helper.rb} +0 -0
- data/samples/run_2007_01_10_22_44_54.html +113 -58
- data/tests/{tst_cls_counter_hash.rb → tc_cls_counter_hash.rb} +0 -0
- data/tests/{tst_cls_delim_line.rb → tc_cls_delim_line.rb} +0 -0
- data/tests/{tst_cls_dttm.rb → tc_cls_dttm.rb} +0 -0
- data/tests/{tst_cls_duration.rb → tc_cls_duration.rb} +0 -0
- data/tests/{tst_cls_forerunner_xml_parser.rb → tc_cls_forerunner_xml_parser.rb} +0 -0
- data/tests/{tst_cls_geo_data.rb → tc_cls_geo_data.rb} +0 -0
- data/tests/{tst_cls_gooby_object.rb → tc_cls_gooby_object.rb} +0 -0
- data/tests/{tst_cls_google_map_generator.rb → tc_cls_google_map_generator.rb} +0 -0
- data/tests/{tst_cls_history.rb → tc_cls_history.rb} +0 -0
- data/tests/{tst_cls_lap.rb → tc_cls_lap.rb} +0 -0
- data/tests/{tst_cls_line.rb → tc_cls_line.rb} +0 -0
- data/tests/{tst_cls_options.rb → tc_cls_options.rb} +0 -0
- data/tests/{tst_cls_position.rb → tc_cls_position.rb} +0 -0
- data/tests/{tst_cls_run.rb → tc_cls_run.rb} +0 -0
- data/tests/{tst_cls_simple_xml_parser.rb → tc_cls_simple_xml_parser.rb} +0 -0
- data/tests/{tst_cls_track.rb → tc_cls_track.rb} +0 -0
- data/tests/{tst_cls_trackpoint.rb → tc_cls_trackpoint.rb} +0 -0
- data/tests/tc_gooby.rb +32 -0
- data/tests/{tst_mod_introspect.rb → tc_mod_introspect.rb} +0 -0
- data/tests/{tst_mod_io.rb → tc_mod_io.rb} +0 -0
- data/tests/{tst_mod_project_info.rb → tc_mod_project_info.rb} +1 -1
- data/tests/{tst_mod_string.rb → tc_mod_string.rb} +0 -0
- metadata +51 -51
- data/bin/forerunner_xml_parser.sh +0 -16
- data/bin/gen_gmap.sh +0 -19
- data/tests/tst_gooby.rb +0 -28
data/README
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
= Gooby -- Google APIs + Ruby
|
|
2
2
|
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.1
|
|
4
4
|
|
|
5
5
|
This package contains 'Gooby', a set of Ruby code to assist you with using and
|
|
6
6
|
producing content for the various Google APIs. The initial focus of version
|
|
7
|
-
0.9.
|
|
7
|
+
0.9.1 is on the Google Maps API, version 2.0.
|
|
8
8
|
|
|
9
9
|
Google Maps can be produced using Gooby from either CSV files, or from exported
|
|
10
10
|
and parsed Garmin Forerunner 201 XML files. Both file formats will contain
|
|
@@ -21,7 +21,7 @@ are also well suited for Gooby. Given a waterproof GPS receiver, sailing and
|
|
|
21
21
|
swimming Google Maps can also be created with Gooby. Please let me know how
|
|
22
22
|
you use Gooby!
|
|
23
23
|
|
|
24
|
-
All Gooby 1
|
|
24
|
+
All Gooby 0.9.1 functionality is intended to be invoked from a command line.
|
|
25
25
|
Web and Rails integration will be done in a later release.
|
|
26
26
|
|
|
27
27
|
See the Goals/Requirements and Usage sections below for the complete list of
|
|
@@ -53,18 +53,13 @@ Gooby is packaged and installed as a Gem.
|
|
|
53
53
|
To execute the test suite, run the following command from the main 'gooby'
|
|
54
54
|
directory:
|
|
55
55
|
|
|
56
|
-
> ruby tests/
|
|
56
|
+
> ruby tests/tc_gooby.rb
|
|
57
57
|
|
|
58
|
-
Gooby regression test files are in the 'tests' directory. File '
|
|
58
|
+
Gooby regression test files are in the 'tests' directory. File 'tc_gooby.rb'
|
|
59
59
|
is the main test file, which invokes the other more granular test files.
|
|
60
60
|
The philosophy of the Gooby project is to use the Ruby 'test/unit' framework,
|
|
61
61
|
and to have one test file for each source code file in the 'lib' directory.
|
|
62
62
|
|
|
63
|
-
To run an individual test file, cd to the tests directory, then execute the
|
|
64
|
-
following command; note the -I option providing the parent directory.
|
|
65
|
-
|
|
66
|
-
> ruby -I.. tst_cls_trackpoint.rb
|
|
67
|
-
|
|
68
63
|
== Online Resources
|
|
69
64
|
|
|
70
65
|
* The Gooby home page http://rubyforge.org/projects/gooby/.
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
|
|
2
|
+
# The following prefixes ../lib to the active ruby load path
|
|
3
|
+
$:.unshift File.join(File.dirname(__FILE__), "..", "lib")
|
|
4
|
+
|
|
2
5
|
require 'gooby'
|
|
3
6
|
|
|
4
7
|
include REXML
|
|
@@ -14,7 +17,6 @@ Example command lines:
|
|
|
14
17
|
ruby bin/forerunner_xml_parser.rb data/phx.xml > data/phx.csv
|
|
15
18
|
ruby bin/forerunner_xml_parser.rb data/run_2007_01_10_22_44_54.xml > data/run_2007_01_10_22_44_54.csv
|
|
16
19
|
ruby bin/forerunner_xml_parser.rb data/run_2007_02_24_15_01_35.xml > data/run_2007_02_24_15_01_35.csv
|
|
17
|
-
ruby bin/forerunner_xml_parser.rb data/forerunner_2007.xml > data/forerunner_2007.csv
|
|
18
20
|
|
|
19
21
|
Gooby - Copyright 2007 by Chris Joakim.
|
|
20
22
|
Gooby is available under GNU General Public License (GPL) license.
|
data/bin/gen_gmap.rb
CHANGED
data/bin/tests_gen.rb
CHANGED
|
@@ -109,4 +109,4 @@
|
|
|
109
109
|
1 | 2007-01-10T23:07:16Z | 108 | 35.49522 | -80.83230 | 241.428 | 1.34247276579914
|
|
110
110
|
1 | 2007-01-10T23:07:29Z | 109 | 35.49539 | -80.83221 | 242.390 | 1.35526252304726
|
|
111
111
|
1 | 2007-01-10T23:07:31Z | 110 | 35.49541 | -80.83221 | 241.909 | 1.35664337849314
|
|
112
|
-
1 | 2007-01-10T23:07:36Z | 111 | 35.49545 | -80.83225 | 241.909 | 1.36020710502239
|
|
112
|
+
1 | 2007-01-10T23:07:36Z | 111 | 35.49545 | -80.83225 | 241.909 | 1.36020710502239
|
data/lib/gooby.rb
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
|
|
3
|
+
Gooby - Copyright 2007 by Chris Joakim.
|
|
4
|
+
Gooby is available under GNU General Public License (GPL) license.
|
|
5
|
+
|
|
6
|
+
=end
|
|
7
|
+
|
|
8
|
+
require 'date'
|
|
9
|
+
require 'find'
|
|
10
|
+
require 'rbconfig'
|
|
11
|
+
require 'rexml/document'
|
|
12
|
+
require 'rexml/streamlistener'
|
|
13
|
+
require 'time'
|
|
14
|
+
require 'yaml'
|
|
15
|
+
|
|
16
|
+
require 'gooby/mod_introspect'
|
|
17
|
+
require 'gooby/mod_io'
|
|
18
|
+
require 'gooby/mod_project_info'
|
|
19
|
+
require 'gooby/mod_string'
|
|
20
|
+
require 'gooby/mod_test_helper'
|
|
21
|
+
require 'gooby/mod_constants.rb'
|
|
22
|
+
|
|
23
|
+
require 'gooby/cls_gooby_object'
|
|
24
|
+
|
|
25
|
+
require 'gooby/cls_counter_hash'
|
|
26
|
+
require 'gooby/cls_delim_line'
|
|
27
|
+
require 'gooby/cls_dttm'
|
|
28
|
+
require 'gooby/cls_duration'
|
|
29
|
+
require 'gooby/cls_forerunner_xml_parser'
|
|
30
|
+
require 'gooby/cls_forerunner_xml_splitter'
|
|
31
|
+
require 'gooby/cls_geo_data'
|
|
32
|
+
require 'gooby/cls_google_map_generator'
|
|
33
|
+
require 'gooby/cls_history'
|
|
34
|
+
require 'gooby/cls_lap'
|
|
35
|
+
require 'gooby/cls_line'
|
|
36
|
+
require 'gooby/cls_options'
|
|
37
|
+
require 'gooby/cls_position'
|
|
38
|
+
require 'gooby/cls_run'
|
|
39
|
+
require 'gooby/cls_simple_xml_parser'
|
|
40
|
+
require 'gooby/cls_test_regen'
|
|
41
|
+
require 'gooby/cls_track'
|
|
42
|
+
require 'gooby/cls_trackpoint'
|
|
43
|
+
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -14,66 +14,121 @@
|
|
|
14
14
|
map.addControl(new GMapTypeControl());
|
|
15
15
|
|
|
16
16
|
var centerPoint = new GLatLng(35.495795, -80.84088);
|
|
17
|
-
map.setCenter(centerPoint,
|
|
17
|
+
map.setCenter(centerPoint, 12);
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var points = new Array();
|
|
21
21
|
points.push(new GLatLng(35.49764,-80.84955)); // 1 (1 of 111.0) 2007-01-10T22:44:54Z 0 00:00:00 0.0
|
|
22
|
-
points.push(new GLatLng(35.
|
|
23
|
-
points.push(new GLatLng(35.
|
|
24
|
-
points.push(new GLatLng(35.
|
|
25
|
-
points.push(new GLatLng(35.
|
|
26
|
-
points.push(new GLatLng(35.
|
|
27
|
-
points.push(new GLatLng(35.
|
|
28
|
-
points.push(new GLatLng(35.
|
|
29
|
-
points.push(new GLatLng(35.
|
|
30
|
-
points.push(new GLatLng(35.
|
|
31
|
-
points.push(new GLatLng(35.
|
|
32
|
-
points.push(new GLatLng(35.
|
|
33
|
-
points.push(new GLatLng(35.
|
|
34
|
-
points.push(new GLatLng(35.
|
|
35
|
-
points.push(new GLatLng(35.
|
|
36
|
-
points.push(new GLatLng(35.
|
|
37
|
-
points.push(new GLatLng(35.
|
|
38
|
-
points.push(new GLatLng(35.
|
|
39
|
-
points.push(new GLatLng(35.
|
|
40
|
-
points.push(new GLatLng(35.
|
|
41
|
-
points.push(new GLatLng(35.
|
|
42
|
-
points.push(new GLatLng(35.
|
|
43
|
-
points.push(new GLatLng(35.
|
|
44
|
-
points.push(new GLatLng(35.
|
|
45
|
-
points.push(new GLatLng(35.
|
|
46
|
-
points.push(new GLatLng(35.
|
|
47
|
-
points.push(new GLatLng(35.
|
|
48
|
-
points.push(new GLatLng(35.
|
|
49
|
-
points.push(new GLatLng(35.
|
|
50
|
-
points.push(new GLatLng(35.
|
|
51
|
-
points.push(new GLatLng(35.
|
|
52
|
-
points.push(new GLatLng(35.
|
|
53
|
-
points.push(new GLatLng(35.
|
|
54
|
-
points.push(new GLatLng(35.
|
|
55
|
-
points.push(new GLatLng(35.
|
|
56
|
-
points.push(new GLatLng(35.
|
|
57
|
-
points.push(new GLatLng(35.
|
|
58
|
-
points.push(new GLatLng(35.
|
|
59
|
-
points.push(new GLatLng(35.
|
|
60
|
-
points.push(new GLatLng(35.
|
|
61
|
-
points.push(new GLatLng(35.
|
|
62
|
-
points.push(new GLatLng(35.
|
|
63
|
-
points.push(new GLatLng(35.
|
|
64
|
-
points.push(new GLatLng(35.
|
|
65
|
-
points.push(new GLatLng(35.
|
|
66
|
-
points.push(new GLatLng(35.
|
|
67
|
-
points.push(new GLatLng(35.
|
|
68
|
-
points.push(new GLatLng(35.
|
|
69
|
-
points.push(new GLatLng(35.
|
|
70
|
-
points.push(new GLatLng(35.
|
|
71
|
-
points.push(new GLatLng(35.
|
|
72
|
-
points.push(new GLatLng(35.
|
|
73
|
-
points.push(new GLatLng(35.
|
|
74
|
-
points.push(new GLatLng(35.
|
|
75
|
-
points.push(new GLatLng(35.
|
|
76
|
-
points.push(new GLatLng(35.
|
|
22
|
+
points.push(new GLatLng(35.49762,-80.84953)); // 2 (2 of 111.0) 2007-01-10T22:44:59Z 5 00:00:05 0.00178235137948567
|
|
23
|
+
points.push(new GLatLng(35.49768,-80.84938)); // 3 (3 of 111.0) 2007-01-10T22:45:06Z 12 00:00:12 0.0111828122783003
|
|
24
|
+
points.push(new GLatLng(35.49773,-80.84927)); // 4 (4 of 111.0) 2007-01-10T22:45:13Z 19 00:00:19 0.0182691394228976
|
|
25
|
+
points.push(new GLatLng(35.49779,-80.84903)); // 5 (5 of 111.0) 2007-01-10T22:45:27Z 33 00:00:33 0.0323908822261979
|
|
26
|
+
points.push(new GLatLng(35.49781,-80.84897)); // 6 (6 of 111.0) 2007-01-10T22:45:31Z 37 00:00:37 0.0360376094500581
|
|
27
|
+
points.push(new GLatLng(35.49796,-80.8489)); // 7 (7 of 111.0) 2007-01-10T22:45:43Z 49 00:00:49 0.0471237551221188
|
|
28
|
+
points.push(new GLatLng(35.49809,-80.84886)); // 8 (8 of 111.0) 2007-01-10T22:45:54Z 60 00:01:00 0.0563830579826947
|
|
29
|
+
points.push(new GLatLng(35.49822,-80.84882)); // 9 (9 of 111.0) 2007-01-10T22:46:04Z 70 00:01:10 0.0656423608432706
|
|
30
|
+
points.push(new GLatLng(35.49837,-80.84875)); // 10 (10 of 111.0) 2007-01-10T22:46:15Z 81 00:01:21 0.0767285065153313
|
|
31
|
+
points.push(new GLatLng(35.49854,-80.84867)); // 11 (11 of 111.0) 2007-01-10T22:46:28Z 94 00:01:34 0.0893062088261944
|
|
32
|
+
points.push(new GLatLng(35.49874,-80.84858)); // 12 (12 of 111.0) 2007-01-10T22:46:42Z 108 00:01:48 0.104022308809234
|
|
33
|
+
points.push(new GLatLng(35.49891,-80.8485)); // 13 (13 of 111.0) 2007-01-10T22:46:55Z 121 00:02:01 0.116600011120098
|
|
34
|
+
points.push(new GLatLng(35.49912,-80.84841)); // 14 (14 of 111.0) 2007-01-10T22:47:10Z 136 00:02:16 0.131966606814057
|
|
35
|
+
points.push(new GLatLng(35.49914,-80.84839)); // 15 (15 of 111.0) 2007-01-10T22:47:11Z 137 00:02:17 0.133747981830073
|
|
36
|
+
points.push(new GLatLng(35.49912,-80.84826)); // 16 (16 of 111.0) 2007-01-10T22:47:19Z 145 00:02:25 0.141189728864526
|
|
37
|
+
points.push(new GLatLng(35.49908,-80.84805)); // 17 (17 of 111.0) 2007-01-10T22:47:32Z 158 00:02:38 0.15332074885252
|
|
38
|
+
points.push(new GLatLng(35.49904,-80.84779)); // 18 (18 of 111.0) 2007-01-10T22:47:46Z 172 00:02:52 0.168204009137646
|
|
39
|
+
points.push(new GLatLng(35.49899,-80.84759)); // 19 (19 of 111.0) 2007-01-10T22:47:58Z 184 00:03:04 0.179971922811475
|
|
40
|
+
points.push(new GLatLng(35.49893,-80.84734)); // 20 (20 of 111.0) 2007-01-10T22:48:13Z 199 00:03:19 0.194632116478706
|
|
41
|
+
points.push(new GLatLng(35.49889,-80.8471)); // 21 (21 of 111.0) 2007-01-10T22:48:26Z 212 00:03:32 0.208411662662138
|
|
42
|
+
points.push(new GLatLng(35.49884,-80.84687)); // 22 (22 of 111.0) 2007-01-10T22:48:40Z 226 00:03:46 0.221801761878976
|
|
43
|
+
points.push(new GLatLng(35.4988,-80.84663)); // 23 (23 of 111.0) 2007-01-10T22:48:53Z 239 00:03:59 0.235581308062409
|
|
44
|
+
points.push(new GLatLng(35.49874,-80.84637)); // 24 (24 of 111.0) 2007-01-10T22:49:08Z 254 00:04:14 0.250782167330245
|
|
45
|
+
points.push(new GLatLng(35.49869,-80.84614)); // 25 (25 of 111.0) 2007-01-10T22:49:22Z 268 00:04:28 0.264172396474253
|
|
46
|
+
points.push(new GLatLng(35.49865,-80.84592)); // 26 (26 of 111.0) 2007-01-10T22:49:34Z 280 00:04:40 0.276851767937929
|
|
47
|
+
points.push(new GLatLng(35.49859,-80.84571)); // 27 (27 of 111.0) 2007-01-10T22:49:47Z 293 00:04:53 0.289370268336243
|
|
48
|
+
points.push(new GLatLng(35.49854,-80.84545)); // 28 (28 of 111.0) 2007-01-10T22:50:02Z 308 00:05:08 0.304397197818503
|
|
49
|
+
points.push(new GLatLng(35.49848,-80.84521)); // 29 (29 of 111.0) 2007-01-10T22:50:15Z 321 00:05:21 0.318518817424989
|
|
50
|
+
points.push(new GLatLng(35.49837,-80.84496)); // 30 (30 of 111.0) 2007-01-10T22:50:31Z 337 00:05:37 0.334503157173033
|
|
51
|
+
points.push(new GLatLng(35.49826,-80.84481)); // 31 (31 of 111.0) 2007-01-10T22:50:42Z 348 00:05:48 0.345858465378363
|
|
52
|
+
points.push(new GLatLng(35.49809,-80.84461)); // 32 (32 of 111.0) 2007-01-10T22:50:58Z 364 00:06:04 0.362122259589831
|
|
53
|
+
points.push(new GLatLng(35.49796,-80.84442)); // 33 (33 of 111.0) 2007-01-10T22:51:13Z 379 00:06:19 0.376082679385477
|
|
54
|
+
points.push(new GLatLng(35.49779,-80.8442)); // 34 (34 of 111.0) 2007-01-10T22:51:28Z 394 00:06:34 0.393143961989371
|
|
55
|
+
points.push(new GLatLng(35.49764,-80.84403)); // 35 (35 of 111.0) 2007-01-10T22:51:43Z 409 00:06:49 0.407244992629068
|
|
56
|
+
points.push(new GLatLng(35.49751,-80.84382)); // 36 (36 of 111.0) 2007-01-10T22:51:58Z 424 00:07:04 0.422084236128058
|
|
57
|
+
points.push(new GLatLng(35.49738,-80.84365)); // 37 (37 of 111.0) 2007-01-10T22:52:11Z 437 00:07:17 0.435203291181872
|
|
58
|
+
points.push(new GLatLng(35.49726,-80.8435)); // 38 (38 of 111.0) 2007-01-10T22:52:23Z 449 00:07:29 0.447032251492622
|
|
59
|
+
points.push(new GLatLng(35.49708,-80.84328)); // 39 (39 of 111.0) 2007-01-10T22:52:39Z 465 00:07:45 0.464576364065138
|
|
60
|
+
points.push(new GLatLng(35.49695,-80.84309)); // 40 (40 of 111.0) 2007-01-10T22:52:53Z 479 00:07:59 0.478536783860784
|
|
61
|
+
points.push(new GLatLng(35.4968,-80.84287)); // 41 (41 of 111.0) 2007-01-10T22:53:08Z 494 00:08:14 0.494678171067848
|
|
62
|
+
points.push(new GLatLng(35.49668,-80.8427)); // 42 (42 of 111.0) 2007-01-10T22:53:22Z 508 00:08:28 0.507334332670827
|
|
63
|
+
points.push(new GLatLng(35.49655,-80.84253)); // 43 (43 of 111.0) 2007-01-10T22:53:34Z 520 00:08:40 0.520453520336123
|
|
64
|
+
points.push(new GLatLng(35.49642,-80.84234)); // 44 (44 of 111.0) 2007-01-10T22:53:48Z 534 00:08:54 0.534413940131769
|
|
65
|
+
points.push(new GLatLng(35.49629,-80.84219)); // 45 (45 of 111.0) 2007-01-10T22:54:00Z 546 00:09:06 0.546737046903595
|
|
66
|
+
points.push(new GLatLng(35.49616,-80.84197)); // 46 (46 of 111.0) 2007-01-10T22:54:14Z 560 00:09:20 0.562027827210274
|
|
67
|
+
points.push(new GLatLng(35.49605,-80.84182)); // 47 (47 of 111.0) 2007-01-10T22:54:25Z 571 00:09:31 0.573383135415603
|
|
68
|
+
points.push(new GLatLng(35.49595,-80.84167)); // 48 (48 of 111.0) 2007-01-10T22:54:36Z 582 00:09:42 0.584288275795647
|
|
69
|
+
points.push(new GLatLng(35.49584,-80.84144)); // 49 (49 of 111.0) 2007-01-10T22:54:50Z 596 00:09:56 0.599292844021932
|
|
70
|
+
points.push(new GLatLng(35.49577,-80.8412)); // 50 (50 of 111.0) 2007-01-10T22:55:04Z 610 00:10:10 0.613632927459339
|
|
71
|
+
points.push(new GLatLng(35.49571,-80.84096)); // 51 (51 of 111.0) 2007-01-10T22:55:18Z 624 00:10:24 0.627755163039149
|
|
72
|
+
points.push(new GLatLng(35.49562,-80.84069)); // 52 (52 of 111.0) 2007-01-10T22:55:35Z 641 00:10:41 0.644166442664549
|
|
73
|
+
points.push(new GLatLng(35.49554,-80.84045)); // 53 (53 of 111.0) 2007-01-10T22:55:49Z 655 00:10:55 0.658754186409555
|
|
74
|
+
points.push(new GLatLng(35.49547,-80.84021)); // 54 (54 of 111.0) 2007-01-10T22:56:03Z 669 00:11:09 0.673094391166952
|
|
75
|
+
points.push(new GLatLng(35.49541,-80.83998)); // 55 (55 of 111.0) 2007-01-10T22:56:17Z 683 00:11:23 0.686679905063069
|
|
76
|
+
points.push(new GLatLng(35.49535,-80.83974)); // 56 (56 of 111.0) 2007-01-10T22:56:31Z 697 00:11:37 0.700802140642878
|
|
77
|
+
points.push(new GLatLng(35.49528,-80.83953)); // 57 (57 of 111.0) 2007-01-10T22:56:44Z 710 00:11:50 0.713566571883795
|
|
78
|
+
points.push(new GLatLng(35.49522,-80.83933)); // 58 (58 of 111.0) 2007-01-10T22:56:55Z 721 00:12:01 0.725556223401969
|
|
79
|
+
points.push(new GLatLng(35.49515,-80.8391)); // 59 (59 of 111.0) 2007-01-10T22:57:09Z 735 00:12:15 0.739368179184334
|
|
80
|
+
points.push(new GLatLng(35.49507,-80.8388)); // 60 (60 of 111.0) 2007-01-10T22:57:26Z 752 00:12:32 0.75712548831976
|
|
81
|
+
points.push(new GLatLng(35.495,-80.83856)); // 61 (61 of 111.0) 2007-01-10T22:57:40Z 766 00:12:46 0.77146581439612
|
|
82
|
+
points.push(new GLatLng(35.49494,-80.83833)); // 62 (62 of 111.0) 2007-01-10T22:57:54Z 780 00:13:00 0.785051456350546
|
|
83
|
+
points.push(new GLatLng(35.49487,-80.83811)); // 63 (63 of 111.0) 2007-01-10T22:58:07Z 793 00:13:13 0.798338254277855
|
|
84
|
+
points.push(new GLatLng(35.49479,-80.83785)); // 64 (64 of 111.0) 2007-01-10T22:58:23Z 809 00:13:29 0.813973095170561
|
|
85
|
+
points.push(new GLatLng(35.49472,-80.83764)); // 65 (65 of 111.0) 2007-01-10T22:58:35Z 821 00:13:41 0.826737526411478
|
|
86
|
+
points.push(new GLatLng(35.49466,-80.83749)); // 66 (66 of 111.0) 2007-01-10T22:58:46Z 832 00:13:52 0.836138542504803
|
|
87
|
+
points.push(new GLatLng(35.49466,-80.83742)); // 67 (67 of 111.0) 2007-01-10T22:58:52Z 838 00:13:58 0.840076132826643
|
|
88
|
+
points.push(new GLatLng(35.49462,-80.83727)); // 68 (68 of 111.0) 2007-01-10T22:59:01Z 847 00:14:07 0.848954836380976
|
|
89
|
+
points.push(new GLatLng(35.49451,-80.83704)); // 69 (69 of 111.0) 2007-01-10T22:59:17Z 863 00:14:23 0.863959636500997
|
|
90
|
+
points.push(new GLatLng(35.49442,-80.83684)); // 70 (70 of 111.0) 2007-01-10T22:59:28Z 874 00:14:34 0.876813843955862
|
|
91
|
+
points.push(new GLatLng(35.49434,-80.83661)); // 71 (71 of 111.0) 2007-01-10T22:59:43Z 889 00:14:49 0.890882759945099
|
|
92
|
+
points.push(new GLatLng(35.49421,-80.83642)); // 72 (72 of 111.0) 2007-01-10T22:59:57Z 903 00:15:03 0.904843428978322
|
|
93
|
+
points.push(new GLatLng(35.49408,-80.83622)); // 73 (73 of 111.0) 2007-01-10T23:00:10Z 916 00:15:16 0.91923921167447
|
|
94
|
+
points.push(new GLatLng(35.49399,-80.83607)); // 74 (74 of 111.0) 2007-01-10T23:00:21Z 927 00:15:27 0.929720528831793
|
|
95
|
+
points.push(new GLatLng(35.49389,-80.83588)); // 75 (75 of 111.0) 2007-01-10T23:00:35Z 941 00:15:41 0.942447013265988
|
|
96
|
+
points.push(new GLatLng(35.4938,-80.83575)); // 76 (76 of 111.0) 2007-01-10T23:00:43Z 949 00:15:49 0.952045812942798
|
|
97
|
+
points.push(new GLatLng(35.49371,-80.83566)); // 77 (77 of 111.0) 2007-01-10T23:00:50Z 956 00:15:56 0.96006417051236
|
|
98
|
+
points.push(new GLatLng(35.49359,-80.83541)); // 78 (78 of 111.0) 2007-01-10T23:01:06Z 972 00:16:12 0.976388930609757
|
|
99
|
+
points.push(new GLatLng(35.4935,-80.83528)); // 79 (79 of 111.0) 2007-01-10T23:01:16Z 982 00:16:22 0.985987911531073
|
|
100
|
+
points.push(new GLatLng(35.49341,-80.83508)); // 80 (80 of 111.0) 2007-01-10T23:01:31Z 997 00:16:37 0.998842254329715
|
|
101
|
+
points.push(new GLatLng(35.49326,-80.83489)); // 81 (81 of 111.0) 2007-01-10T23:01:44Z 1010 00:16:50 1.01372948843991 1.0 00:16:50
|
|
102
|
+
points.push(new GLatLng(35.49309,-80.83461)); // 82 (82 of 111.0) 2007-01-10T23:02:02Z 1028 00:17:08 1.03337710381922
|
|
103
|
+
points.push(new GLatLng(35.4929,-80.83436)); // 83 (83 of 111.0) 2007-01-10T23:02:20Z 1046 00:17:26 1.05261471688646
|
|
104
|
+
points.push(new GLatLng(35.49281,-80.83421)); // 84 (84 of 111.0) 2007-01-10T23:02:30Z 1056 00:17:36 1.06309603404378
|
|
105
|
+
points.push(new GLatLng(35.49266,-80.83395)); // 85 (85 of 111.0) 2007-01-10T23:02:47Z 1073 00:17:53 1.08102116260463
|
|
106
|
+
points.push(new GLatLng(35.49253,-80.83371)); // 86 (86 of 111.0) 2007-01-10T23:03:04Z 1090 00:18:10 1.09723653406655
|
|
107
|
+
points.push(new GLatLng(35.49245,-80.83352)); // 87 (87 of 111.0) 2007-01-10T23:03:21Z 1107 00:18:27 1.10926934887535
|
|
108
|
+
points.push(new GLatLng(35.49251,-80.83345)); // 88 (88 of 111.0) 2007-01-10T23:03:26Z 1112 00:18:32 1.11498685093922
|
|
109
|
+
points.push(new GLatLng(35.49264,-80.83337)); // 89 (89 of 111.0) 2007-01-10T23:03:36Z 1122 00:18:42 1.12503287867213
|
|
110
|
+
points.push(new GLatLng(35.49275,-80.83326)); // 90 (90 of 111.0) 2007-01-10T23:03:47Z 1133 00:18:53 1.13483328195688
|
|
111
|
+
points.push(new GLatLng(35.4929,-80.83313)); // 91 (91 of 111.0) 2007-01-10T23:04:01Z 1147 00:19:07 1.14751704340475
|
|
112
|
+
points.push(new GLatLng(35.49307,-80.83296)); // 92 (92 of 111.0) 2007-01-10T23:04:15Z 1161 00:19:21 1.16266286679578
|
|
113
|
+
points.push(new GLatLng(35.49326,-80.83279)); // 93 (93 of 111.0) 2007-01-10T23:04:31Z 1177 00:19:37 1.17890375318809
|
|
114
|
+
points.push(new GLatLng(35.49331,-80.83277)); // 94 (94 of 111.0) 2007-01-10T23:04:34Z 1180 00:19:40 1.18253614009992
|
|
115
|
+
points.push(new GLatLng(35.49339,-80.83279)); // 95 (95 of 111.0) 2007-01-10T23:04:42Z 1188 00:19:48 1.18817674975591
|
|
116
|
+
points.push(new GLatLng(35.49361,-80.83283)); // 96 (96 of 111.0) 2007-01-10T23:04:58Z 1204 00:20:04 1.2035422132471
|
|
117
|
+
points.push(new GLatLng(35.49376,-80.83292)); // 97 (97 of 111.0) 2007-01-10T23:05:09Z 1215 00:20:15 1.21507628916779
|
|
118
|
+
points.push(new GLatLng(35.49387,-80.83309)); // 98 (98 of 111.0) 2007-01-10T23:05:21Z 1227 00:20:27 1.22729120250804
|
|
119
|
+
points.push(new GLatLng(35.49402,-80.83324)); // 99 (99 of 111.0) 2007-01-10T23:05:34Z 1240 00:20:40 1.24065516072
|
|
120
|
+
points.push(new GLatLng(35.49417,-80.83324)); // 100 (100 of 111.0) 2007-01-10T23:05:44Z 1250 00:20:50 1.25101862962823
|
|
121
|
+
points.push(new GLatLng(35.49421,-80.83322)); // 101 (101 of 111.0) 2007-01-10T23:05:47Z 1253 00:20:53 1.254002590203
|
|
122
|
+
points.push(new GLatLng(35.49425,-80.83322)); // 102 (102 of 111.0) 2007-01-10T23:05:51Z 1257 00:20:57 1.25676681975547
|
|
123
|
+
points.push(new GLatLng(35.4944,-80.83302)); // 103 (103 of 111.0) 2007-01-10T23:06:06Z 1272 00:21:12 1.27206283292987
|
|
124
|
+
points.push(new GLatLng(35.49457,-80.83281)); // 104 (104 of 111.0) 2007-01-10T23:06:22Z 1288 00:21:28 1.28872084926765
|
|
125
|
+
points.push(new GLatLng(35.49472,-80.83264)); // 105 (105 of 111.0) 2007-01-10T23:06:37Z 1303 00:21:43 1.30282212665965
|
|
126
|
+
points.push(new GLatLng(35.49489,-80.83249)); // 106 (106 of 111.0) 2007-01-10T23:06:51Z 1317 00:21:57 1.31728398411978
|
|
127
|
+
points.push(new GLatLng(35.49507,-80.83238)); // 107 (107 of 111.0) 2007-01-10T23:07:04Z 1330 00:22:10 1.3311744414629
|
|
128
|
+
points.push(new GLatLng(35.49522,-80.8323)); // 108 (108 of 111.0) 2007-01-10T23:07:16Z 1342 00:22:22 1.34247276579914
|
|
129
|
+
points.push(new GLatLng(35.49539,-80.83221)); // 109 (109 of 111.0) 2007-01-10T23:07:29Z 1355 00:22:35 1.35526252304726
|
|
130
|
+
points.push(new GLatLng(35.49541,-80.83221)); // 110 (110 of 111.0) 2007-01-10T23:07:31Z 1357 00:22:37 1.35664337849314
|
|
131
|
+
points.push(new GLatLng(35.49545,-80.83225)); // 111 (111 of 111.0) 2007-01-10T23:07:36Z 1362 00:22:42 1.36020710502239
|
|
77
132
|
|
|
78
133
|
var routePolyline = new GPolyline(points);
|
|
79
134
|
map.addOverlay(routePolyline);
|
|
@@ -137,8 +192,8 @@
|
|
|
137
192
|
</head>
|
|
138
193
|
<body onload="load()" onunload="GUnload()">
|
|
139
194
|
<center>
|
|
140
|
-
<h3>
|
|
141
|
-
<h5> Generated by Gooby Sun Feb 25
|
|
195
|
+
<h3> Richmond Marathon - 2004-11-13 </h3>
|
|
196
|
+
<h5> Generated by Gooby Sun Feb 25 16:22:20 EST 2007 <br> Gooby = Google APIs + Ruby </h5>
|
|
142
197
|
<div id="map" style="width: 900px; height: 600px"></div>
|
|
143
198
|
<div id="messages"></div>
|
|
144
199
|
</center>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/tests/tc_gooby.rb
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
=begin rdoc
|
|
2
|
+
|
|
3
|
+
Gooby - Copyright 2007 by Chris Joakim.
|
|
4
|
+
Gooby is available under GNU General Public License (GPL) license.
|
|
5
|
+
|
|
6
|
+
=end
|
|
7
|
+
|
|
8
|
+
# The following prefixes ../lib to the active ruby load path
|
|
9
|
+
$:.unshift File.join(File.dirname(__FILE__), "..", "lib")
|
|
10
|
+
|
|
11
|
+
require 'test/unit'
|
|
12
|
+
|
|
13
|
+
require 'lib/gooby'
|
|
14
|
+
|
|
15
|
+
require 'tests/tc_mod_project_info.rb'
|
|
16
|
+
require 'tests/tc_mod_introspect.rb'
|
|
17
|
+
require 'tests/tc_mod_io.rb'
|
|
18
|
+
|
|
19
|
+
require 'tests/tc_cls_gooby_object.rb'
|
|
20
|
+
require 'tests/tc_cls_options.rb'
|
|
21
|
+
require 'tests/tc_cls_counter_hash.rb'
|
|
22
|
+
require 'tests/tc_cls_delim_line.rb'
|
|
23
|
+
require 'tests/tc_cls_dttm.rb'
|
|
24
|
+
require 'tests/tc_cls_position.rb'
|
|
25
|
+
require 'tests/tc_cls_track.rb'
|
|
26
|
+
require 'tests/tc_cls_trackpoint.rb'
|
|
27
|
+
require 'tests/tc_cls_lap.rb'
|
|
28
|
+
require 'tests/tc_cls_run.rb'
|
|
29
|
+
require 'tests/tc_cls_history.rb'
|
|
30
|
+
require 'tests/tc_cls_forerunner_xml_parser.rb'
|
|
31
|
+
require 'tests/tc_cls_simple_xml_parser.rb'
|
|
32
|
+
require 'tests/tc_cls_google_map_generator.rb'
|
|
File without changes
|
|
File without changes
|
|
@@ -58,7 +58,7 @@ class TestModuleProjectInfo < Test::Unit::TestCase
|
|
|
58
58
|
def test_module_GoobyProjectInfo_project_version_number
|
|
59
59
|
|
|
60
60
|
obj = Gooby::GoobyObject.new
|
|
61
|
-
assert_equal '0.9.
|
|
61
|
+
assert_equal '0.9.1', obj.project_version_number
|
|
62
62
|
end
|
|
63
63
|
|
|
64
64
|
def test_module_GoobyProjectInfo_project_year
|
|
File without changes
|
metadata
CHANGED
|
@@ -3,13 +3,13 @@ rubygems_version: 0.9.0
|
|
|
3
3
|
specification_version: 1
|
|
4
4
|
name: Gooby
|
|
5
5
|
version: !ruby/object:Gem::Version
|
|
6
|
-
version: 0.9.
|
|
6
|
+
version: 0.9.1
|
|
7
7
|
date: 2007-02-25 00:00:00 -05:00
|
|
8
8
|
summary: Google APIs + Ruby = Gooby
|
|
9
9
|
require_paths:
|
|
10
10
|
- lib
|
|
11
11
|
email: chris@joakimsoftware.com
|
|
12
|
-
homepage: http://
|
|
12
|
+
homepage: http://rubyforge.org/projects/gooby/
|
|
13
13
|
rubyforge_project: gooby
|
|
14
14
|
description:
|
|
15
15
|
autorequire: gooby
|
|
@@ -30,10 +30,8 @@ authors:
|
|
|
30
30
|
- Chris Joakim
|
|
31
31
|
files:
|
|
32
32
|
- bin/forerunner_xml_parser.rb
|
|
33
|
-
- bin/forerunner_xml_parser.sh
|
|
34
33
|
- bin/forerunner_xml_splitter.rb
|
|
35
34
|
- bin/gen_gmap.rb
|
|
36
|
-
- bin/gen_gmap.sh
|
|
37
35
|
- bin/tests_gen.rb
|
|
38
36
|
- data/20041113_richmond_marathon.csv
|
|
39
37
|
- data/20041113_richmond_marathon.xml
|
|
@@ -72,30 +70,32 @@ files:
|
|
|
72
70
|
- data/run_2007_02_24_15_01_35.csv
|
|
73
71
|
- data/run_2007_02_24_15_01_35.xml
|
|
74
72
|
- data/test1.txt
|
|
75
|
-
- lib/
|
|
76
|
-
- lib/
|
|
77
|
-
- lib/
|
|
78
|
-
- lib/
|
|
79
|
-
- lib/
|
|
80
|
-
- lib/
|
|
81
|
-
- lib/
|
|
82
|
-
- lib/
|
|
83
|
-
- lib/
|
|
84
|
-
- lib/
|
|
85
|
-
- lib/
|
|
86
|
-
- lib/
|
|
87
|
-
- lib/
|
|
88
|
-
- lib/
|
|
89
|
-
- lib/
|
|
90
|
-
- lib/
|
|
91
|
-
- lib/
|
|
92
|
-
- lib/
|
|
93
|
-
- lib/
|
|
94
|
-
- lib/
|
|
95
|
-
- lib/
|
|
96
|
-
- lib/
|
|
97
|
-
- lib/
|
|
98
|
-
- lib/
|
|
73
|
+
- lib/gooby
|
|
74
|
+
- lib/gooby.rb
|
|
75
|
+
- lib/gooby/cls_counter_hash.rb
|
|
76
|
+
- lib/gooby/cls_delim_line.rb
|
|
77
|
+
- lib/gooby/cls_dttm.rb
|
|
78
|
+
- lib/gooby/cls_duration.rb
|
|
79
|
+
- lib/gooby/cls_forerunner_xml_parser.rb
|
|
80
|
+
- lib/gooby/cls_forerunner_xml_splitter.rb
|
|
81
|
+
- lib/gooby/cls_geo_data.rb
|
|
82
|
+
- lib/gooby/cls_gooby_object.rb
|
|
83
|
+
- lib/gooby/cls_google_map_generator.rb
|
|
84
|
+
- lib/gooby/cls_history.rb
|
|
85
|
+
- lib/gooby/cls_lap.rb
|
|
86
|
+
- lib/gooby/cls_line.rb
|
|
87
|
+
- lib/gooby/cls_options.rb
|
|
88
|
+
- lib/gooby/cls_position.rb
|
|
89
|
+
- lib/gooby/cls_run.rb
|
|
90
|
+
- lib/gooby/cls_simple_xml_parser.rb
|
|
91
|
+
- lib/gooby/cls_test_regen.rb
|
|
92
|
+
- lib/gooby/cls_track.rb
|
|
93
|
+
- lib/gooby/cls_trackpoint.rb
|
|
94
|
+
- lib/gooby/mod_introspect.rb
|
|
95
|
+
- lib/gooby/mod_io.rb
|
|
96
|
+
- lib/gooby/mod_project_info.rb
|
|
97
|
+
- lib/gooby/mod_string.rb
|
|
98
|
+
- lib/gooby/mod_test_helper.rb
|
|
99
99
|
- samples/20041113_richmond_marathon.html
|
|
100
100
|
- samples/20050305_corporate_cup_hm.html
|
|
101
101
|
- samples/20050430_nashville_marathon.html
|
|
@@ -103,31 +103,31 @@ files:
|
|
|
103
103
|
- samples/phoenix_marathon.html
|
|
104
104
|
- samples/run_2007_01_10_22_44_54.html
|
|
105
105
|
- samples/run_2007_02_24_15_01_35.html
|
|
106
|
-
- tests/
|
|
107
|
-
- tests/
|
|
108
|
-
- tests/
|
|
109
|
-
- tests/
|
|
110
|
-
- tests/
|
|
111
|
-
- tests/
|
|
112
|
-
- tests/
|
|
113
|
-
- tests/
|
|
114
|
-
- tests/
|
|
115
|
-
- tests/
|
|
116
|
-
- tests/
|
|
117
|
-
- tests/
|
|
118
|
-
- tests/
|
|
119
|
-
- tests/
|
|
120
|
-
- tests/
|
|
121
|
-
- tests/
|
|
122
|
-
- tests/
|
|
123
|
-
- tests/
|
|
124
|
-
- tests/
|
|
125
|
-
- tests/
|
|
126
|
-
- tests/
|
|
127
|
-
- tests/
|
|
106
|
+
- tests/tc_cls_counter_hash.rb
|
|
107
|
+
- tests/tc_cls_delim_line.rb
|
|
108
|
+
- tests/tc_cls_dttm.rb
|
|
109
|
+
- tests/tc_cls_duration.rb
|
|
110
|
+
- tests/tc_cls_forerunner_xml_parser.rb
|
|
111
|
+
- tests/tc_cls_geo_data.rb
|
|
112
|
+
- tests/tc_cls_gooby_object.rb
|
|
113
|
+
- tests/tc_cls_google_map_generator.rb
|
|
114
|
+
- tests/tc_cls_history.rb
|
|
115
|
+
- tests/tc_cls_lap.rb
|
|
116
|
+
- tests/tc_cls_line.rb
|
|
117
|
+
- tests/tc_cls_options.rb
|
|
118
|
+
- tests/tc_cls_position.rb
|
|
119
|
+
- tests/tc_cls_run.rb
|
|
120
|
+
- tests/tc_cls_simple_xml_parser.rb
|
|
121
|
+
- tests/tc_cls_track.rb
|
|
122
|
+
- tests/tc_cls_trackpoint.rb
|
|
123
|
+
- tests/tc_gooby.rb
|
|
124
|
+
- tests/tc_mod_introspect.rb
|
|
125
|
+
- tests/tc_mod_io.rb
|
|
126
|
+
- tests/tc_mod_project_info.rb
|
|
127
|
+
- tests/tc_mod_string.rb
|
|
128
128
|
- README
|
|
129
129
|
test_files:
|
|
130
|
-
- tests/
|
|
130
|
+
- tests/tc_gooby.rb
|
|
131
131
|
rdoc_options: []
|
|
132
132
|
|
|
133
133
|
extra_rdoc_files:
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# This shell script executes class ForerunnerXmlParser several times to read
|
|
3
|
-
# Garmin Forerunner XML export files, and parse each into CSV format.
|
|
4
|
-
#
|
|
5
|
-
# Sample command line:
|
|
6
|
-
# bin/forerunner_xml_parser.sh
|
|
7
|
-
#
|
|
8
|
-
# Gooby - Copyright 2007 by Chris Joakim.
|
|
9
|
-
# Gooby is available under GNU General Public License (GPL) license.
|
|
10
|
-
|
|
11
|
-
ruby bin/forerunner_xml_parser.rb data/20041113_richmond_marathon.xml > data/20041113_richmond_marathon.csv
|
|
12
|
-
ruby bin/forerunner_xml_parser.rb data/20050305_corporate_cup_hm.xml > data/20050305_corporate_cup_hm.csv
|
|
13
|
-
ruby bin/forerunner_xml_parser.rb data/20050430_nashville_marathon.xml > data/20050430_nashville_marathon.csv
|
|
14
|
-
ruby bin/forerunner_xml_parser.rb data/20051119_dowd_ymca_hm.xml > data/20051119_dowd_ymca_hm.csv
|
|
15
|
-
ruby bin/forerunner_xml_parser.rb data/20051124_hyatt_turkey_trot_8K.xml > data/20051124_hyatt_turkey_trot_8K.csv
|
|
16
|
-
ruby bin/forerunner_xml_parser.rb data/phx.xml > data/phx.csv
|
data/bin/gen_gmap.sh
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# This shell script executes class GoogleMapGenerator several times to read
|
|
3
|
-
# CSV files containing GPS data, and produce Google Map content in HTML format.
|
|
4
|
-
#
|
|
5
|
-
# You can then upload the generated HTML to your web site, after optionally
|
|
6
|
-
# modifying its content.
|
|
7
|
-
#
|
|
8
|
-
# Sample command line:
|
|
9
|
-
# bin/gen_gmap.sh
|
|
10
|
-
#
|
|
11
|
-
# Gooby - Copyright 2007 by Chris Joakim.
|
|
12
|
-
# Gooby is available under GNU General Public License (GPL) license.
|
|
13
|
-
|
|
14
|
-
ruby bin/gen_gmap.rb data/20041113_richmond_marathon.csv > samples/20041113_richmond_marathon.html
|
|
15
|
-
ruby bin/gen_gmap.rb data/20050305_corporate_cup_hm.csv > samples/20050305_corporate_cup_hm.html
|
|
16
|
-
ruby bin/gen_gmap.rb data/20050430_nashville_marathon.csv > samples/20050430_nashville_marathon.html
|
|
17
|
-
ruby bin/gen_gmap.rb data/20051119_dowd_ymca_hm.csv > samples/20051119_dowd_ymca_hm.html
|
|
18
|
-
ruby bin/gen_gmap.rb data/20051124_hyatt_turkey_trot_8K.csv > samples/20051124_hyatt_turkey_trot_8K.html
|
|
19
|
-
ruby bin/gen_gmap.rb data/phx.csv > samples/phx.html
|
data/tests/tst_gooby.rb
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
=begin rdoc
|
|
2
|
-
|
|
3
|
-
Gooby - Copyright 2007 by Chris Joakim.
|
|
4
|
-
Gooby is available under GNU General Public License (GPL) license.
|
|
5
|
-
|
|
6
|
-
=end
|
|
7
|
-
|
|
8
|
-
require 'gooby'
|
|
9
|
-
require 'test/unit'
|
|
10
|
-
|
|
11
|
-
require 'tests/tst_mod_project_info.rb'
|
|
12
|
-
require 'tests/tst_mod_introspect.rb'
|
|
13
|
-
require 'tests/tst_mod_io.rb'
|
|
14
|
-
|
|
15
|
-
require 'tests/tst_cls_gooby_object.rb'
|
|
16
|
-
require 'tests/tst_cls_options.rb'
|
|
17
|
-
require 'tests/tst_cls_counter_hash.rb'
|
|
18
|
-
require 'tests/tst_cls_delim_line.rb'
|
|
19
|
-
require 'tests/tst_cls_dttm.rb'
|
|
20
|
-
require 'tests/tst_cls_position.rb'
|
|
21
|
-
require 'tests/tst_cls_track.rb'
|
|
22
|
-
require 'tests/tst_cls_trackpoint.rb'
|
|
23
|
-
require 'tests/tst_cls_lap.rb'
|
|
24
|
-
require 'tests/tst_cls_run.rb'
|
|
25
|
-
require 'tests/tst_cls_history.rb'
|
|
26
|
-
require 'tests/tst_cls_forerunner_xml_parser.rb'
|
|
27
|
-
require 'tests/tst_cls_simple_xml_parser.rb'
|
|
28
|
-
require 'tests/tst_cls_google_map_generator.rb'
|