gooby 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +200 -35
- data/bin/code_scan.rb +1 -3
- data/bin/gooby_been_there.rb +12 -14
- data/bin/gooby_config.rb +11 -3
- data/bin/gooby_csv_validation.rb +50 -0
- data/bin/gooby_first_trackpoints_as_poi.rb +31 -0
- data/bin/gooby_gen_gmap.rb +7 -3
- data/bin/gooby_parser.rb +7 -5
- data/bin/gooby_splitter.rb +7 -4
- data/bin/gooby_version.rb +7 -3
- data/bin/run_all.sh +12 -2
- data/bin/run_been_there.sh +4 -1
- data/bin/run_config.sh +12 -0
- data/bin/run_csv_validation.sh +15 -0
- data/bin/run_db_gen.sh +1 -1
- data/bin/run_db_load.sh +1 -1
- data/bin/run_first_trackpoints_as_poi.sh +16 -0
- data/bin/run_gen_gmaps.sh +7 -6
- data/bin/run_parse_full.sh +45 -0
- data/bin/run_parse_samples.sh +21 -0
- data/bin/run_split.sh +5 -4
- data/bin/run_version.sh +12 -0
- data/config/gooby_config.yaml +130 -131
- data/data/20050305_corporate_cup_hm.csv +251 -251
- data/data/20050430_nashville_marathon_km.csv +1208 -0
- data/data/20060115_phoenix_marathon.csv +1280 -1280
- data/data/20070101_davidson_11m.csv +251 -0
- data/data/{davidson_11m_20070101.xml → 20070101_davidson_11m.xml} +0 -0
- data/data/{davidson_5K_20070505.xml → 20070505_davidson_5k.xml} +0 -0
- data/data/20070505_davidson_5k_km.csv +286 -0
- data/data/hrm1.csv +5 -0
- data/lib/gooby.rb +27 -3144
- data/lib/gooby_code_scanner.rb +288 -0
- data/lib/gooby_command.rb +210 -0
- data/lib/gooby_configuration.rb +123 -0
- data/lib/gooby_counter_hash.rb +95 -0
- data/lib/gooby_course.rb +117 -0
- data/lib/gooby_csv_point.rb +71 -0
- data/lib/gooby_csv_reader.rb +71 -0
- data/lib/gooby_csv_run.rb +28 -0
- data/lib/gooby_delim_line.rb +42 -0
- data/lib/gooby_dttm.rb +87 -0
- data/lib/gooby_duration.rb +86 -0
- data/lib/gooby_forerunner_xml_parser.rb +191 -0
- data/lib/gooby_forerunner_xml_splitter.rb +115 -0
- data/lib/gooby_google_map_generator.rb +385 -0
- data/lib/gooby_history.rb +41 -0
- data/lib/gooby_kernel.rb +163 -0
- data/lib/gooby_lap.rb +30 -0
- data/lib/gooby_line.rb +80 -0
- data/lib/gooby_object.rb +22 -0
- data/lib/gooby_point.rb +172 -0
- data/lib/gooby_run.rb +213 -0
- data/lib/gooby_simple_xml_parser.rb +50 -0
- data/lib/gooby_test_helper.rb +23 -0
- data/lib/gooby_track.rb +47 -0
- data/lib/gooby_track_point.rb +229 -0
- data/lib/gooby_training_center_xml_parser.rb +224 -0
- data/lib/gooby_training_center_xml_splitter.rb +116 -0
- data/lib/split_code.sh +29 -0
- data/samples/20050305_corporate_cup_hm.html +269 -269
- data/samples/20050430_nashville_marathon.html +1410 -1266
- data/samples/20060115_phoenix_marathon.html +1311 -1311
- data/samples/{davidson_11m_20070101.html → 20070101_davidson_11m.html} +267 -267
- data/samples/20070505_davidson_5k.html +413 -0
- data/samples/been_there.txt +52 -704
- data/samples/hrm1.html +87 -0
- data/sql/gooby.ddl +20 -16
- data/sql/gooby_load.dml +36 -9
- metadata +48 -14
- data/bin/example_usage.txt +0 -55
- data/bin/run_parse.sh +0 -43
- data/bin/run_parse_named.sh +0 -19
- data/data/20050430_nashville_marathon.csv +0 -1208
- data/data/davidson_11m_20070101.csv +0 -251
- data/data/davidson_5K_20070505.csv +0 -286
- data/data/test1.txt +0 -4
- data/samples/davidson_5K_20070505.html +0 -395
@@ -0,0 +1,31 @@
|
|
1
|
+
=begin
|
2
|
+
|
3
|
+
Gooby = Google APIs + Ruby
|
4
|
+
Gooby - Copyright 2007 by Chris Joakim.
|
5
|
+
Gooby is available under GNU General Public License (GPL) license.
|
6
|
+
|
7
|
+
=end
|
8
|
+
|
9
|
+
# The following prefixes ../lib to the active ruby load path
|
10
|
+
$:.unshift File.join(File.dirname(__FILE__), "..", "lib")
|
11
|
+
|
12
|
+
require 'rubygems'
|
13
|
+
require 'gooby'
|
14
|
+
include REXML
|
15
|
+
|
16
|
+
config_filename = '/devtools/workspace/RF_Gooby/config/gooby_config.yaml'
|
17
|
+
|
18
|
+
gooby = Gooby::GoobyCommand.new(config_filename)
|
19
|
+
|
20
|
+
# first read the csv file(s) parsed from your Garmin export tcx/xml files.
|
21
|
+
list = Array.new
|
22
|
+
list << '/devtools/workspace/RF_Gooby/data/hrm1.csv'
|
23
|
+
list << '/devtools/workspace/RF_Gooby/data/20050305_corporate_cup_hm.csv'
|
24
|
+
list << '/devtools/workspace/RF_Gooby/data/20050430_nashville_marathon_km.csv'
|
25
|
+
list << '/devtools/workspace/RF_Gooby/data/20060115_phoenix_marathon.csv'
|
26
|
+
list << '/devtools/workspace/RF_Gooby/data/20070101_davidson_11m.csv'
|
27
|
+
list << '/devtools/workspace/RF_Gooby/data/20070505_davidson_5k_km.csv'
|
28
|
+
gooby.read_csv_files(list)
|
29
|
+
|
30
|
+
# optional first arg is the date of the run, otherwise the all dates.
|
31
|
+
gooby.first_trackpoints_as_poi(ARGV[0])
|
data/bin/gooby_gen_gmap.rb
CHANGED
@@ -1,10 +1,14 @@
|
|
1
|
+
=begin
|
2
|
+
|
3
|
+
Gooby = Google APIs + Ruby
|
4
|
+
Gooby - Copyright 2007 by Chris Joakim.
|
5
|
+
Gooby is available under GNU General Public License (GPL) license.
|
6
|
+
|
7
|
+
=end
|
1
8
|
|
2
9
|
# The following prefixes ../lib to the active ruby load path
|
3
10
|
$:.unshift File.join(File.dirname(__FILE__), "..", "lib")
|
4
11
|
|
5
|
-
# Example usage:
|
6
|
-
# ruby bin/gooby_gen_gmap.rb data/20070505_Davidson_5K.csv > samples/20070505_Davidson_5K.html
|
7
|
-
|
8
12
|
require 'rubygems'
|
9
13
|
require 'gooby'
|
10
14
|
include REXML
|
data/bin/gooby_parser.rb
CHANGED
@@ -1,12 +1,14 @@
|
|
1
|
+
=begin
|
2
|
+
|
3
|
+
Gooby = Google APIs + Ruby
|
4
|
+
Gooby - Copyright 2007 by Chris Joakim.
|
5
|
+
Gooby is available under GNU General Public License (GPL) license.
|
6
|
+
|
7
|
+
=end
|
1
8
|
|
2
9
|
# The following prefixes ../lib to the active ruby load path
|
3
10
|
$:.unshift File.join(File.dirname(__FILE__), "..", "lib")
|
4
11
|
|
5
|
-
# Example usage:
|
6
|
-
# ruby bin/gooby_parser.rb garmin205 data/activity_2007_05_05_12_28_32.xml > data/20070505_Davidson_5K.csv
|
7
|
-
# ruby bin/gooby_parser.rb garmin205 data/raw/20070609.tcx > data/2007.csv
|
8
|
-
# ruby bin/gooby_parser.rb garmin201 data/raw/forerunner_2007.xml > data/2007f.csv
|
9
|
-
|
10
12
|
require 'rubygems'
|
11
13
|
require 'gooby'
|
12
14
|
include REXML
|
data/bin/gooby_splitter.rb
CHANGED
@@ -1,11 +1,14 @@
|
|
1
|
+
=begin
|
2
|
+
|
3
|
+
Gooby = Google APIs + Ruby
|
4
|
+
Gooby - Copyright 2007 by Chris Joakim.
|
5
|
+
Gooby is available under GNU General Public License (GPL) license.
|
6
|
+
|
7
|
+
=end
|
1
8
|
|
2
9
|
# The following prefixes ../lib to the active ruby load path
|
3
10
|
$:.unshift File.join(File.dirname(__FILE__), "..", "lib")
|
4
11
|
|
5
|
-
# Example usage:
|
6
|
-
# ruby bin/gooby_splitter.rb garmin205 data/raw/20070609.tcx /temp/splits
|
7
|
-
# ruby bin/gooby_splitter.rb garmin201 data/raw/forerunner_2007.xml > /temp/splits
|
8
|
-
|
9
12
|
require 'rubygems'
|
10
13
|
require 'gooby'
|
11
14
|
include REXML
|
data/bin/gooby_version.rb
CHANGED
@@ -1,10 +1,14 @@
|
|
1
|
+
=begin
|
2
|
+
|
3
|
+
Gooby = Google APIs + Ruby
|
4
|
+
Gooby - Copyright 2007 by Chris Joakim.
|
5
|
+
Gooby is available under GNU General Public License (GPL) license.
|
6
|
+
|
7
|
+
=end
|
1
8
|
|
2
9
|
# The following prefixes ../lib to the active ruby load path
|
3
10
|
$:.unshift File.join(File.dirname(__FILE__), "..", "lib")
|
4
11
|
|
5
|
-
# Example usage:
|
6
|
-
# ruby bin/gooby_version.rb
|
7
|
-
|
8
12
|
require 'rubygems'
|
9
13
|
require 'gooby'
|
10
14
|
include REXML
|
data/bin/run_all.sh
CHANGED
@@ -1,23 +1,33 @@
|
|
1
1
|
|
2
2
|
# ============================================================================
|
3
|
+
# Gooby = Google APIs + Ruby
|
3
4
|
# Gooby - Copyright 2007 by Chris Joakim.
|
4
5
|
# Gooby is available under GNU General Public License (GPL) license.
|
5
|
-
# 2007/06/10
|
6
6
|
#
|
7
7
|
# This shell script is used to execute all of the Gooby scripts in their
|
8
8
|
# propper sequence. It generates the appropriate files for the gem
|
9
9
|
# distribution file, as well as provides an example for Gooby users.
|
10
10
|
# ============================================================================
|
11
11
|
|
12
|
+
/devtools/workspace/RF_Gooby/bin/run_version.sh
|
13
|
+
|
14
|
+
/devtools/workspace/RF_Gooby/bin/run_config.sh
|
15
|
+
|
12
16
|
/devtools/workspace/RF_Gooby/bin/run_split.sh
|
13
17
|
|
14
|
-
/devtools/workspace/RF_Gooby/bin/
|
18
|
+
/devtools/workspace/RF_Gooby/bin/run_parse_samples.sh
|
19
|
+
|
20
|
+
/devtools/workspace/RF_Gooby/bin/run_csv_validation.sh
|
15
21
|
|
16
22
|
/devtools/workspace/RF_Gooby/bin/run_been_there.sh
|
17
23
|
|
18
24
|
/devtools/workspace/RF_Gooby/bin/run_gen_gmaps.sh
|
19
25
|
|
26
|
+
/devtools/workspace/RF_Gooby/bin/run_first_trackpoints_as_poi.sh
|
27
|
+
|
20
28
|
/devtools/workspace/RF_Gooby/bin/run_db_gen.sh
|
21
29
|
/devtools/workspace/RF_Gooby/bin/run_db_load.sh
|
22
30
|
|
31
|
+
/devtools/workspace/RF_Gooby/bin/run_parse_full.sh
|
32
|
+
|
23
33
|
echo all done
|
data/bin/run_been_there.sh
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
|
2
2
|
# ============================================================================
|
3
|
+
# Gooby = Google APIs + Ruby
|
3
4
|
# Gooby - Copyright 2007 by Chris Joakim.
|
4
5
|
# Gooby is available under GNU General Public License (GPL) license.
|
5
|
-
# 2007/06/10
|
6
6
|
#
|
7
7
|
# This shell script is used to execute Gooby 'proximity' logic to determine
|
8
8
|
# if you've been on specified course(s) before. The courses and points along
|
@@ -12,5 +12,8 @@
|
|
12
12
|
|
13
13
|
ruby /devtools/workspace/RF_Gooby/bin/gooby_been_there.rb > /devtools/workspace/RF_Gooby/samples/been_there.txt
|
14
14
|
|
15
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_been_there.rb
|
16
|
+
|
17
|
+
|
15
18
|
echo done
|
16
19
|
|
data/bin/run_config.sh
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
|
2
|
+
# ============================================================================
|
3
|
+
# Gooby = Google APIs + Ruby
|
4
|
+
# Gooby - Copyright 2007 by Chris Joakim.
|
5
|
+
# Gooby is available under GNU General Public License (GPL) license.
|
6
|
+
#
|
7
|
+
# This shell script is used to display Gooby version information.
|
8
|
+
# ============================================================================
|
9
|
+
|
10
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_config.rb
|
11
|
+
|
12
|
+
echo done
|
@@ -0,0 +1,15 @@
|
|
1
|
+
|
2
|
+
# ============================================================================
|
3
|
+
# Gooby = Google APIs + Ruby
|
4
|
+
# Gooby - Copyright 2007 by Chris Joakim.
|
5
|
+
# Gooby is available under GNU General Public License (GPL) license.
|
6
|
+
#
|
7
|
+
# This shell script is used to validate the csv files created by Gooby.
|
8
|
+
# ============================================================================
|
9
|
+
|
10
|
+
ls -al /devtools/workspace/RF_Gooby/data/*.csv
|
11
|
+
|
12
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_csv_validation.rb
|
13
|
+
|
14
|
+
echo done
|
15
|
+
|
data/bin/run_db_gen.sh
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
|
2
2
|
# ============================================================================
|
3
|
+
# Gooby = Google APIs + Ruby
|
3
4
|
# Gooby - Copyright 2007 by Chris Joakim.
|
4
5
|
# Gooby is available under GNU General Public License (GPL) license.
|
5
|
-
# 2007/06/10
|
6
6
|
#
|
7
7
|
# This shell script is used to delete/define the optional MySQL database for
|
8
8
|
# Gooby gps_data.
|
data/bin/run_db_load.sh
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
|
2
2
|
# ============================================================================
|
3
|
+
# Gooby = Google APIs + Ruby
|
3
4
|
# Gooby - Copyright 2007 by Chris Joakim.
|
4
5
|
# Gooby is available under GNU General Public License (GPL) license.
|
5
|
-
# 2007/06/10
|
6
6
|
#
|
7
7
|
# This shell script is used to load the optional MySQL database for
|
8
8
|
# Gooby gps_data with a parsed csv file.
|
@@ -0,0 +1,16 @@
|
|
1
|
+
|
2
|
+
# ============================================================================
|
3
|
+
# Gooby = Google APIs + Ruby
|
4
|
+
# Gooby - Copyright 2007 by Chris Joakim.
|
5
|
+
# Gooby is available under GNU General Public License (GPL) license.
|
6
|
+
#
|
7
|
+
# This shell script is used to execute Gooby 'proximity' logic to determine
|
8
|
+
# if you've been on specified course(s) before. The courses and points along
|
9
|
+
# the courses are defined in the yaml file as 'course.x' and 'poi.x'
|
10
|
+
# entries.
|
11
|
+
# ============================================================================
|
12
|
+
|
13
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_first_trackpoints_as_poi.rb
|
14
|
+
|
15
|
+
echo done
|
16
|
+
|
data/bin/run_gen_gmaps.sh
CHANGED
@@ -1,18 +1,19 @@
|
|
1
1
|
|
2
2
|
# ============================================================================
|
3
|
+
# Gooby = Google APIs + Ruby
|
3
4
|
# Gooby - Copyright 2007 by Chris Joakim.
|
4
5
|
# Gooby is available under GNU General Public License (GPL) license.
|
5
|
-
# 2007/06/10
|
6
6
|
#
|
7
7
|
# This shell script is used to split generate Google Maps from your CVS data
|
8
8
|
# previously parsed by Gooby (see 'run_parse.sh').
|
9
9
|
# ============================================================================
|
10
10
|
|
11
|
-
ruby /devtools/workspace/RF_Gooby/bin/gooby_gen_gmap.rb /devtools/workspace/RF_Gooby/data/20050305_corporate_cup_hm.csv
|
12
|
-
ruby /devtools/workspace/RF_Gooby/bin/gooby_gen_gmap.rb /devtools/workspace/RF_Gooby/data/
|
13
|
-
ruby /devtools/workspace/RF_Gooby/bin/gooby_gen_gmap.rb /devtools/workspace/RF_Gooby/data/20060115_phoenix_marathon.csv
|
14
|
-
ruby /devtools/workspace/RF_Gooby/bin/gooby_gen_gmap.rb /devtools/workspace/RF_Gooby/data/
|
15
|
-
ruby /devtools/workspace/RF_Gooby/bin/gooby_gen_gmap.rb /devtools/workspace/RF_Gooby/data/
|
11
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_gen_gmap.rb /devtools/workspace/RF_Gooby/data/20050305_corporate_cup_hm.csv > /devtools/workspace/RF_Gooby/samples/20050305_corporate_cup_hm.html
|
12
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_gen_gmap.rb /devtools/workspace/RF_Gooby/data/20050430_nashville_marathon_km.csv > /devtools/workspace/RF_Gooby/samples/20050430_nashville_marathon.html
|
13
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_gen_gmap.rb /devtools/workspace/RF_Gooby/data/20060115_phoenix_marathon.csv > /devtools/workspace/RF_Gooby/samples/20060115_phoenix_marathon.html
|
14
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_gen_gmap.rb /devtools/workspace/RF_Gooby/data/20070101_davidson_11m.csv > /devtools/workspace/RF_Gooby/samples/20070101_davidson_11m.html
|
15
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_gen_gmap.rb /devtools/workspace/RF_Gooby/data/20070505_davidson_5k_km.csv > /devtools/workspace/RF_Gooby/samples/20070505_davidson_5k.html
|
16
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_gen_gmap.rb /devtools/workspace/RF_Gooby/data/hrm1.csv > /devtools/workspace/RF_Gooby/samples/hrm1.html
|
16
17
|
|
17
18
|
ls -al /devtools/workspace/RF_Gooby/samples/
|
18
19
|
|
@@ -0,0 +1,45 @@
|
|
1
|
+
|
2
|
+
# ============================================================================
|
3
|
+
# Gooby = Google APIs + Ruby
|
4
|
+
# Gooby - Copyright 2007 by Chris Joakim.
|
5
|
+
# Gooby is available under GNU General Public License (GPL) license.
|
6
|
+
#
|
7
|
+
# This shell script is used to parse 'full size' versions of all Forerunner
|
8
|
+
# export files - models 201, 205, and 305.
|
9
|
+
# ============================================================================
|
10
|
+
|
11
|
+
# Parsing of the Garmin Forerunner 201 file.
|
12
|
+
|
13
|
+
echo wc /devtools/workspace/RF_Gooby/data/raw/forerunner_201_2007.xml ...
|
14
|
+
wc /devtools/workspace/RF_Gooby/data/raw/forerunner_201_2007.xml
|
15
|
+
|
16
|
+
echo parsing the forerunner 201 xml file...
|
17
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_parser.rb garmin201 mi /devtools/workspace/RF_Gooby/data/raw/forerunner_201_2007.xml > /devtools/workspace/RF_Gooby/data/2007_g201.csv
|
18
|
+
|
19
|
+
echo wc /devtools/workspace/RF_Gooby/data/2007_g201.csv
|
20
|
+
wc /devtools/workspace/RF_Gooby/data/2007_g201.csv
|
21
|
+
|
22
|
+
# Parsing of the Garmin Forerunner 205 file.
|
23
|
+
|
24
|
+
echo wc /devtools/workspace/RF_Gooby/data/raw/forerunner_205_2007.tcx ...
|
25
|
+
wc /devtools/workspace/RF_Gooby/data/raw/forerunner_205_2007.tcx
|
26
|
+
|
27
|
+
echo parsing the forerunner 205 xml file...
|
28
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_parser.rb garmin205 mi /devtools/workspace/RF_Gooby/data/raw/forerunner_205_2007.tcx > /devtools/workspace/RF_Gooby/data/2007_g205.csv
|
29
|
+
|
30
|
+
echo wc /devtools/workspace/RF_Gooby/data/2007_g205.csv
|
31
|
+
wc /devtools/workspace/RF_Gooby/data/2007_g205.csv
|
32
|
+
|
33
|
+
# Parsing of the Garmin Forerunner 305 file.
|
34
|
+
|
35
|
+
echo wc /devtools/workspace/RF_Gooby/data/raw/forerunner_305_2007.tcx ...
|
36
|
+
wc /devtools/workspace/RF_Gooby/data/raw/forerunner_305_2007.tcx
|
37
|
+
|
38
|
+
echo parsing the forerunner 305 xml file...
|
39
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_parser.rb garmin305 mi /devtools/workspace/RF_Gooby/data/raw/forerunner_305_2007.tcx > /devtools/workspace/RF_Gooby/data/2007_g305.csv
|
40
|
+
|
41
|
+
echo wc /devtools/workspace/RF_Gooby/data/2007_g305.csv
|
42
|
+
wc /devtools/workspace/RF_Gooby/data/2007_g305.csv
|
43
|
+
|
44
|
+
echo done
|
45
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
|
2
|
+
# ============================================================================
|
3
|
+
# Gooby = Google APIs + Ruby
|
4
|
+
# Gooby - Copyright 2007 by Chris Joakim.
|
5
|
+
# Gooby is available under GNU General Public License (GPL) license.
|
6
|
+
#
|
7
|
+
# This shell script is used to parse both the Forerunner 201 and 205 files
|
8
|
+
# exported from Garmin software.
|
9
|
+
# ============================================================================
|
10
|
+
|
11
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_parser.rb garmin201 mi /devtools/workspace/RF_Gooby/data/20050305_corporate_cup_hm.xml > /devtools/workspace/RF_Gooby/data/20050305_corporate_cup_hm.csv
|
12
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_parser.rb garmin201 km /devtools/workspace/RF_Gooby/data/20050430_nashville_marathon.xml > /devtools/workspace/RF_Gooby/data/20050430_nashville_marathon_km.csv
|
13
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_parser.rb garmin201 mi /devtools/workspace/RF_Gooby/data/20060115_phoenix_marathon.xml > /devtools/workspace/RF_Gooby/data/20060115_phoenix_marathon.csv
|
14
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_parser.rb garmin201 mi /devtools/workspace/RF_Gooby/data/20070101_davidson_11m.xml > /devtools/workspace/RF_Gooby/data/20070101_davidson_11m.csv
|
15
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_parser.rb garmin205 km /devtools/workspace/RF_Gooby/data/20070505_davidson_5k.xml > /devtools/workspace/RF_Gooby/data/20070505_davidson_5k_km.csv
|
16
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_parser.rb garmin305 mi /devtools/workspace/RF_Gooby/data/raw/activity_2007_07_16_23_42_44.xml > /devtools/workspace/RF_Gooby/data/hrm1.csv
|
17
|
+
|
18
|
+
ls -al /devtools/workspace/RF_Gooby/data/
|
19
|
+
|
20
|
+
echo done
|
21
|
+
|
data/bin/run_split.sh
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
|
2
2
|
# ============================================================================
|
3
|
+
# Gooby = Google APIs + Ruby
|
3
4
|
# Gooby - Copyright 2007 by Chris Joakim.
|
4
5
|
# Gooby is available under GNU General Public License (GPL) license.
|
5
|
-
# 2007/06/10
|
6
6
|
#
|
7
7
|
# This shell script is used to split both the Forerunner 201 and 205 files,
|
8
8
|
# exported from Garmin software, into individual run xml files.
|
@@ -11,13 +11,14 @@
|
|
11
11
|
rm /temp/splits/*.*
|
12
12
|
|
13
13
|
ruby /devtools/workspace/RF_Gooby/bin/gooby_splitter.rb garmin201 /devtools/workspace/RF_Gooby/data/raw/forerunner_201_2007.xml /temp/splits
|
14
|
-
|
15
14
|
ruby /devtools/workspace/RF_Gooby/bin/gooby_splitter.rb garmin205 /devtools/workspace/RF_Gooby/data/raw/forerunner_205_2007.tcx /temp/splits
|
15
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_splitter.rb garmin305 /devtools/workspace/RF_Gooby/data/raw/forerunner_305_2007.tcx /temp/splits
|
16
16
|
|
17
17
|
ls -al /temp/splits
|
18
18
|
|
19
|
-
cp /temp/splits/run_2007_01_01_16_38_27.xml /devtools/workspace/RF_Gooby/data/
|
20
|
-
cp /temp/splits/activity_2007_05_05_12_28_32.xml /devtools/workspace/RF_Gooby/data/
|
19
|
+
cp /temp/splits/run_2007_01_01_16_38_27.xml /devtools/workspace/RF_Gooby/data/20070101_davidson_11m.xml
|
20
|
+
cp /temp/splits/activity_2007_05_05_12_28_32.xml /devtools/workspace/RF_Gooby/data/20070505_davidson_5k.xml
|
21
21
|
|
22
22
|
echo done
|
23
23
|
|
24
|
+
|
data/bin/run_version.sh
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
|
2
|
+
# ============================================================================
|
3
|
+
# Gooby = Google APIs + Ruby
|
4
|
+
# Gooby - Copyright 2007 by Chris Joakim.
|
5
|
+
# Gooby is available under GNU General Public License (GPL) license.
|
6
|
+
#
|
7
|
+
# This shell script is used to display Gooby version information.
|
8
|
+
# ============================================================================
|
9
|
+
|
10
|
+
ruby /devtools/workspace/RF_Gooby/bin/gooby_version.rb
|
11
|
+
|
12
|
+
echo done
|
data/config/gooby_config.yaml
CHANGED
@@ -1,137 +1,136 @@
|
|
1
1
|
---
|
2
|
-
"csv_dttm_idx":
|
3
|
-
"csv_num_idx":
|
4
|
-
"csv_lat_idx":
|
5
|
-
"csv_lng_idx":
|
6
|
-
"csv_alt_idx":
|
7
|
-
"csv_cdist_idx":
|
8
|
-
"gmap_approx_max_points":
|
9
|
-
"gmap_first_tkpt_number":
|
10
|
-
"gmap_gen_comments":
|
11
|
-
"gmap_height":
|
12
|
-
"gmap_icon_url_base":
|
13
|
-
"gmap_key":
|
2
|
+
"csv_dttm_idx": 1
|
3
|
+
"csv_num_idx": 4
|
4
|
+
"csv_lat_idx": 5
|
5
|
+
"csv_lng_idx": 6
|
6
|
+
"csv_alt_idx": 7
|
7
|
+
"csv_cdist_idx": 8
|
8
|
+
"gmap_approx_max_points": 200
|
9
|
+
"gmap_first_tkpt_number": 1
|
10
|
+
"gmap_gen_comments": true
|
11
|
+
"gmap_height": 600px
|
12
|
+
"gmap_icon_url_base": http://www.joakim-systems.com/gicons/
|
13
|
+
"gmap_key": ABQIAAAAdn5SVzjZKZKs1IRkFdx52xR1l5lLpU9GCFYoS8YrTf8v3gVJ2hRLV1dTSiqDWwWSnMRkM7SVr0EKSA
|
14
14
|
"gmap_key_joakim_software_gmap": ABQIAAAAdn5SVzjZKZKs1IRkFdx52xQg0TO_bCqGOTsRH2RbuhBZnI0wvRQW0Q92mw1taN1NJCk2cxlQQutfuA
|
15
15
|
"gmap_key_joakim_systems_gmaps": ABQIAAAAdn5SVzjZKZKs1IRkFdx52xR1l5lLpU9GCFYoS8YrTf8v3gVJ2hRLV1dTSiqDWwWSnMRkM7SVr0EKSA
|
16
|
-
"gmap_last_tkpt_number":
|
17
|
-
"gmap_map_element_id":
|
18
|
-
"gmap_size_control":
|
19
|
-
"gmap_type":
|
20
|
-
"gmap_type_control":
|
21
|
-
"gmap_width":
|
22
|
-
"gmap_zoom_level":
|
23
|
-
"gmap_zoom_tab":
|
16
|
+
"gmap_last_tkpt_number": 5000
|
17
|
+
"gmap_map_element_id": map
|
18
|
+
"gmap_size_control": large
|
19
|
+
"gmap_type": normal
|
20
|
+
"gmap_type_control": true
|
21
|
+
"gmap_width": 900px
|
22
|
+
"gmap_zoom_level": 12
|
23
|
+
"gmap_zoom_tab": true
|
24
24
|
"/devtools/workspace/RF_Gooby/data/20050305_corporate_cup_hm.csv": 2005/03/05 Charlotte Corporate Cup Half Marathon
|
25
25
|
"/devtools/workspace/RF_Gooby/data/20050430_nashville_marathon.csv": 2005/04/30 Nashville Marathon
|
26
26
|
"/devtools/workspace/RF_Gooby/data/20060115_phoenix_marathon.csv": 2006/01/15 Phoenix Marathon
|
27
|
-
"/devtools/workspace/RF_Gooby/data/
|
28
|
-
"/devtools/workspace/RF_Gooby/data/
|
29
|
-
"course.1":
|
30
|
-
"course.2":
|
31
|
-
"course.
|
32
|
-
"
|
33
|
-
"
|
34
|
-
"poi.
|
35
|
-
"poi.
|
36
|
-
"poi.
|
37
|
-
"poi.
|
38
|
-
"poi.
|
39
|
-
"poi.
|
40
|
-
"poi.
|
41
|
-
"poi.10":
|
42
|
-
"poi.11":
|
43
|
-
"poi.12":
|
44
|
-
"poi.
|
45
|
-
"poi.
|
46
|
-
"poi.
|
47
|
-
"poi.
|
48
|
-
"poi.
|
49
|
-
"poi.
|
50
|
-
"poi.
|
51
|
-
"poi.
|
52
|
-
"poi.
|
53
|
-
"poi.
|
54
|
-
"poi.
|
55
|
-
"poi.
|
56
|
-
"poi.
|
57
|
-
"poi.
|
58
|
-
"poi.
|
59
|
-
"poi.
|
60
|
-
"poi.
|
61
|
-
"poi.
|
62
|
-
"poi.
|
63
|
-
"poi.
|
64
|
-
"poi.
|
65
|
-
"poi.
|
66
|
-
"poi.
|
67
|
-
"poi.
|
68
|
-
"poi.
|
69
|
-
"poi.
|
70
|
-
"poi.
|
71
|
-
"poi.
|
72
|
-
"poi.
|
73
|
-
"poi.
|
74
|
-
"poi.
|
75
|
-
"poi.
|
76
|
-
"poi.
|
77
|
-
"poi.
|
78
|
-
"poi.
|
79
|
-
"poi.
|
80
|
-
"poi.
|
81
|
-
"poi.
|
82
|
-
"poi.
|
83
|
-
"poi.
|
84
|
-
"poi.
|
85
|
-
"poi.
|
86
|
-
"poi.
|
87
|
-
"poi.
|
88
|
-
"poi.
|
89
|
-
"poi.
|
90
|
-
"poi.
|
91
|
-
"poi.
|
92
|
-
"poi.
|
93
|
-
"poi.
|
94
|
-
"poi.
|
95
|
-
"poi.
|
96
|
-
"poi.
|
97
|
-
"poi.
|
98
|
-
"poi.
|
99
|
-
"poi.
|
100
|
-
"poi.
|
101
|
-
"poi.
|
102
|
-
"poi.
|
103
|
-
"poi.
|
104
|
-
"poi.
|
105
|
-
"poi.
|
106
|
-
"poi.
|
107
|
-
"poi.
|
108
|
-
"poi.
|
109
|
-
"poi.
|
110
|
-
"poi.
|
111
|
-
"poi.
|
112
|
-
"poi.
|
113
|
-
"poi.
|
114
|
-
"poi.
|
115
|
-
"poi.
|
116
|
-
"poi.
|
117
|
-
"poi.
|
118
|
-
"poi.
|
119
|
-
"poi.
|
120
|
-
"poi.
|
121
|
-
"poi.
|
122
|
-
"poi.
|
123
|
-
"poi.
|
124
|
-
"poi.
|
125
|
-
"poi.
|
126
|
-
"poi.
|
127
|
-
"poi.
|
128
|
-
"poi.
|
129
|
-
"poi.
|
130
|
-
"poi.
|
131
|
-
"poi.
|
132
|
-
"poi.
|
133
|
-
"poi.
|
134
|
-
"poi.
|
135
|
-
"poi.
|
136
|
-
"poi.
|
137
|
-
"poi.232": 35.49358659158504 -80.860455930233 Cornelius YMCA Path Base
|
27
|
+
"/devtools/workspace/RF_Gooby/data/20070101_davidson_11m.csv": 2007/01/01 Davidson Training Run 11-miler
|
28
|
+
"/devtools/workspace/RF_Gooby/data/20070505_davidson_5k.csv": 2007/05/05 Davidson Town Day 5K
|
29
|
+
"course.1": RW to Parting Oaks,1.3,44,49
|
30
|
+
"course.2": White Horse Hill,1.3,72,73,74
|
31
|
+
"course.999": HRM,0,998,999
|
32
|
+
"poi.1": 35.49923370589701 -80.84842085838318 Downtown Davidson, NC Rt 115 @ Concord Rd
|
33
|
+
"poi.2": 35.497908220131436 -80.84894120693207 South St at Chairman Blake Ln and Rt 115
|
34
|
+
"poi.3": 35.49801958798137 -80.84779858589172 Lorimer Rd at Charman Blake Ln
|
35
|
+
"poi.4": 35.4973557459657 -80.85064172744751 Rt 115 at Jackson St
|
36
|
+
"poi.5": 35.500491477766474 -80.84937572479248 Jackson St at Depot St (CATS bus stop)
|
37
|
+
"poi.6": 35.49835150693197 -80.84473013877869 Concord Rd at Faculty Dr
|
38
|
+
"poi.7": 35.49740815474539 -80.84346413612366 Concord Rd at Baker Dr
|
39
|
+
"poi.8": 35.496857860854064 -80.84061026573181 Thompson St at Dogwood Ln
|
40
|
+
"poi.9": 35.49525063171656 -80.83909749984741 Concord Rd at Gray Rd
|
41
|
+
"poi.10": 35.49370451682351 -80.84910750389099 South St at Spring St
|
42
|
+
"poi.11": 35.49449941576726 -80.84570646286011 Woodland St at Ridgewood Ave
|
43
|
+
"poi.12": 35.48767700520774 -80.84839940071106 End of South St at Greenway trail
|
44
|
+
"poi.13": 35.49166045485576 -80.84610342979431 Greenway St at Eastway St
|
45
|
+
"poi.14": 35.49607172018464 -80.84450483322144 Lorimer St at Woodland St
|
46
|
+
"poi.15": 35.494263567450666 -80.8394730091095 Lorimer St at Pine St
|
47
|
+
"poi.16": 35.492813521846315 -80.83651185035706 Crescent Dr at Virginia St
|
48
|
+
"poi.17": 35.49227193183581 -80.83874344825745 Pine St at Crescent Dr
|
49
|
+
"poi.18": 35.4925077859988 -80.83344340324402 Concord Rd at St Albans Ln
|
50
|
+
"poi.19": 35.49226319648314 -80.83325028419495 Concord Rd at Pat Stough Rd (sidewalk, run start)
|
51
|
+
"poi.20": 35.48865541464355 -80.83256363868713 Pat Stough Rd End
|
52
|
+
"poi.21": 35.49333763773541 -80.83255290985107 St Albans Ln at Caldwell Ln
|
53
|
+
"poi.22": 35.49413254030895 -80.83321809768677 Caldwell Ln at Twain Ave
|
54
|
+
"poi.23": 35.494848819408126 -80.8353853225708 Dogweed Ln - end at trail
|
55
|
+
"poi.24": 35.49733827636497 -80.8318018913269 Conroy Ave at Wolfe St
|
56
|
+
"poi.25": 35.49731643935862 -80.83175897598267 Conroy Ave at Wolfe St
|
57
|
+
"poi.26": 35.496591447377874 -80.83210229873657 Conroy Ave at Harper Lee St
|
58
|
+
"poi.27": 35.49592759356077 -80.83266019821167 Conroy Ave at North Faulkner Way
|
59
|
+
"poi.28": 35.495713586884705 -80.83282113075256 Conroy Ave at South Faulkner Way
|
60
|
+
"poi.29": 35.49461733966593 -80.83401203155518 Conroy Ave at Caldwell Ln
|
61
|
+
"poi.30": 35.49767019813067 -80.83367943763733 Gray Rd at Wolfe St
|
62
|
+
"poi.31": 35.49579220164827 -80.83772420883179 Gray Rd at Dogwood Ln (ivy patch)
|
63
|
+
"poi.32": 35.499128890685576 -80.83267092704773 Gray Rd at DC College Entrance (approx)
|
64
|
+
"poi.33": 35.49599310569458 -80.83266019821167 N Faulkner at Conway Ave stopsign
|
65
|
+
"poi.34": 35.494036453602554 -80.83003163337708 Ashby Dr at Fairview Dr
|
66
|
+
"poi.35": 35.49255146261966 -80.8312439918518 Fairview Dr at Caldwell Ln
|
67
|
+
"poi.36": 35.49289213944762 -80.8265769481659 Ashby Dr at Ashby Dr
|
68
|
+
"poi.37": 35.49289213944762 -80.8265769481659 N Kimberly Rd at McConnell Dr
|
69
|
+
"poi.38": 35.488812657906074 -80.82754254341125 Concord Rd at N/S Kimberly Rd
|
70
|
+
"poi.39": 35.48874277204962 -80.82406640052795 End of Morrison Hill Rd
|
71
|
+
"poi.40": 35.48454950944016 -80.82974195480347 Hudson Pl at Greenway trail (approx)
|
72
|
+
"poi.41": 35.48421753347076 -80.82023620605469 Concord Rd at Davidson-Concord Rd
|
73
|
+
"poi.42": 35.481430628498835 -80.82008600234985 Davidson-Concord Rd at Westmoreland Farm Rd
|
74
|
+
"poi.43": 35.48216449372589 -80.82404494285583 End of Westmoreland Farm Rd
|
75
|
+
"poi.44": 35.478023309320065 -80.81953883171082 Davidson-Concord Rd at Robert Walker Dr (sidewalk)
|
76
|
+
"poi.45": 35.47472069290546 -80.80708265304565 Robert Walker Dr at River Crossing Blvd
|
77
|
+
"poi.46": 35.47085873127506 -80.81012964248657 River Falls Dr at River Crossing Blvd
|
78
|
+
"poi.47": 35.46853447491682 -80.81413149833679 Top of River Crossing Blvd
|
79
|
+
"poi.48": 35.46744222598301 -80.80729722976685 River Falls Dr at River Ford Dr
|
80
|
+
"poi.49": 35.465135347484896 -80.80901384353638 River Ford Dr at Parting Oaks Ln
|
81
|
+
"poi.50": 35.46476833798671 -80.81045150756836 Parting Oaks Ln at Cannon Crossing Way
|
82
|
+
"poi.51": 35.46426151259314 -80.81107378005981 Davidson-Concord Rd at Parting Oaks Ln
|
83
|
+
"poi.52": 35.46207688382905 -80.80345630645752 River Ford Dr at Gazaebo
|
84
|
+
"poi.53": 35.4669441555446 -80.79147219657898 River Ford Dr at 12 Hole Cutthrough
|
85
|
+
"poi.54": 35.46509165596578 -80.79842448234558 River Falls Dr at Wildcat Trail
|
86
|
+
"poi.55": 35.46920729287642 -80.79529166221619 Top of Wildcat Trail
|
87
|
+
"poi.56": 35.469888842992326 -80.79007744789124 River Ford Dr at Greyton La
|
88
|
+
"poi.57": 35.46966166026215 -80.78844666481018 Greyton La at River Run Tennis Center
|
89
|
+
"poi.58": 35.4714965793548 -80.79015254974365 River Ford Dr at Dembridge Dr
|
90
|
+
"poi.59": 35.47141794082389 -80.78723430633545 Dembridge Dr at Winged Oak Way
|
91
|
+
"poi.60": 35.472396548176526 -80.78727722167969 E Rock River Rd at Winged Oak Way
|
92
|
+
"poi.61": 35.46942573905536 -80.78446626663208 Dembridge Dr at Greyton La
|
93
|
+
"poi.62": 35.468420881718885 -80.78355431556702 Dembridge Dr at Royal Court Dr
|
94
|
+
"poi.63": 35.466280056828474 -80.78326463699341 Dembridge Dr at Center Court Dr
|
95
|
+
"poi.64": 35.467328631242275 -80.78491687774658 17240 Royal Court Dr
|
96
|
+
"poi.65": 35.46345320686592 -80.77925741672516 Dembridge Dr at S Shearer Rd
|
97
|
+
"poi.66": 35.47347125502918 -80.78517436981201 E Rocky River Rd at Shearer Rd
|
98
|
+
"poi.67": 35.47901930986441 -80.7865583896637 Shearer Rd at Lecheval La
|
99
|
+
"poi.68": 35.479473621804 -80.78529238700867 Lecheval La at Callaway Hills Ln
|
100
|
+
"poi.69": 35.48211207500329 -80.7840371131897 Callaway Hills Ln - base of hill at corner
|
101
|
+
"poi.70": 35.49492743501789 -80.79602122306824 Shearer Rd at Fisher Rd
|
102
|
+
"poi.71": 35.507242930407294 -80.79685807228088 Shearer Rd at Meck/Iredel County Line
|
103
|
+
"poi.72": 35.50739140358269 -80.79728722572327 Shearer Rd at Gray Rd
|
104
|
+
"poi.73": 35.504657706411194 -80.81006526947021 Gray Rd at White Horse (guard railing)
|
105
|
+
"poi.74": 35.500150833163154 -80.81524193286896 Gray Rd at Charden Rd
|
106
|
+
"poi.75": 35.49958745622591 -80.84329515695572 Davidson College Track
|
107
|
+
"poi.76": 35.499550334350985 -80.8489841222763 Water Fountain at Davidson Post Office
|
108
|
+
"poi.77": 35.49835587427745 -80.84894925355911 Summit Coffee House, Davidson, NC
|
109
|
+
"poi.78": 35.501897713273124 -80.84739089012146 Rt 115 at Griffith St
|
110
|
+
"poi.79": 35.50282354432758 -80.85278749465942 Griffith St at Beaty St and Sloan St
|
111
|
+
"poi.80": 35.50215974201284 -80.86120963096619 Griffith St at Jetton St
|
112
|
+
"poi.81": 35.503819237513255 -80.86635947227478 Griffith St at I-77
|
113
|
+
"poi.82": 35.50537389166296 -80.87023258209229 Pool at Goodrum Rd Condos (approx)
|
114
|
+
"poi.83": 35.50772328380566 -80.87085485458374 Northwest Dr circle
|
115
|
+
"poi.84": 35.50778223607025 -80.86805731058121 End of Boardwalk opposite North Harbour
|
116
|
+
"poi.85": 35.504041956668054 -80.87248027324677 Boardwalk Gazebo at 'LKN Beach'
|
117
|
+
"poi.86": 35.49920750210696 -80.86040496826172 Jetton St at Davidson Gateway Dr
|
118
|
+
"poi.87": 35.49723345868036 -80.85290551185608 Jetton St at Potts St
|
119
|
+
"poi.88": 35.49272616886572 -80.85647821426392 Rt 115 at Potts St
|
120
|
+
"poi.89": 35.49401898327994 -80.86023330688477 Front Door of Cornelius YMCA
|
121
|
+
"poi.90": 35.49316730044645 -80.86046397686005 Top of Path from YMCA to Church St
|
122
|
+
"poi.91": 35.48919702903026 -80.86110234260559 Church St at Washam St and McCall St
|
123
|
+
"poi.92": 35.482714888249156 -80.86269021034241 Church St at W Catawba Ave
|
124
|
+
"poi.93": 35.47983182748448 -80.85657477378845 Field St at Zion St
|
125
|
+
"poi.94": 35.4834836869885 -80.87483525276184 I-77 at Catawba Ave
|
126
|
+
"poi.95": 35.463780899356 -80.87566137313843 I-77 at Westmoreland Rd
|
127
|
+
"poi.96": 35.465135347484896 -80.84731578826904 Rt 115 at Bailey Rd
|
128
|
+
"poi.97": 35.45365239982104 -80.84276676177979 Rt 115 at Mayes Rd
|
129
|
+
"poi.98": 35.45735788320527 -80.82118034362793 Mayes Rd at Barnhard Rd
|
130
|
+
"poi.99": 35.45446517375887 -80.80956101417542 Mayes Rd at Rt 73
|
131
|
+
"poi.100": 35.466612106872 -80.81420660018921 Barnhardt Rd at Davidson-Concord Rd
|
132
|
+
"poi.230": 35.49404300497254 -80.86026549339294 Cornelius YMCA
|
133
|
+
"poi.231": 35.494722160763885 -80.86207866668701 Cornelius YMCA "Beach"
|
134
|
+
"poi.232": 35.49358659158504 -80.860455930233 Cornelius YMCA Path Base
|
135
|
+
"poi.998": 35.495499 -80.832152 hrm test 1
|
136
|
+
"poi.999": 35.495465 -80.832151 hrm test 2
|