+ All Categories
Home > Documents > My Race Pace: GIS Solution for Marathons

My Race Pace: GIS Solution for Marathons

Date post: 02-Feb-2016
Category:
Upload: leann
View: 37 times
Download: 0 times
Share this document with a friend
Description:
My Race Pace: GIS Solution for Marathons. Matthew Garrod GEOG 596A Capstone Project Proposal, 12/19/2012. 26.2 Miles?!. Fred Lebow, New York City Marathon co-founder: - PowerPoint PPT Presentation
Popular Tags:
35
Matthew Garrod Matthew Garrod GEOG 596A GEOG 596A Capstone Project Proposal, 12/19/2012 Capstone Project Proposal, 12/19/2012 My Race Pace: My Race Pace: GIS Solution for GIS Solution for Marathons Marathons 1
Transcript
Page 1: My Race Pace: GIS Solution for Marathons

Matthew GarrodMatthew GarrodGEOG 596AGEOG 596A

Capstone Project Proposal, 12/19/2012Capstone Project Proposal, 12/19/2012

My Race Pace:My Race Pace:GIS Solution for GIS Solution for

MarathonsMarathons

11

Page 2: My Race Pace: GIS Solution for Marathons

26.2 Miles?!26.2 Miles?!Fred Lebow, New York City Marathon co-founder:"The marathon is a charismatic event. It has everything. It has drama. It has competition. It has camaraderie. It has heroism. Every jogger can't dream of being an Olympic champion, but he can dream of finishing a marathon.”

Kathrine Switzer, women's marathoning pioneer:"If you are losing faith in human nature, go out and watch a marathon.”

22

Page 3: My Race Pace: GIS Solution for Marathons

Just 2 Things…Just 2 Things…

1. How fast / what pace am I going to run?

2. Where can my family & friends find me along the course?

33

Page 4: My Race Pace: GIS Solution for Marathons

How fast / what pace am I How fast / what pace am I going to run?going to run?

44

Page 5: My Race Pace: GIS Solution for Marathons

How fast / what pace am I How fast / what pace am I going to run?going to run?

55

Page 6: My Race Pace: GIS Solution for Marathons

Where can my family & Where can my family & friends find me along the friends find me along the

course?course?

66

Page 7: My Race Pace: GIS Solution for Marathons

GEOG 863GEOG 863GIS Mashups for Geospatial ProfessionalsGIS Mashups for Geospatial Professionals

Spring 2012Spring 2012

77

Page 8: My Race Pace: GIS Solution for Marathons

GEOG 863 Final ProjectGEOG 863 Final Project

Create a GIS Web Mashup with a clickable sidebar to interact with the map

88

Page 9: My Race Pace: GIS Solution for Marathons

GEOG 863 Final ProjectGEOG 863 Final Project

• Used Google Maps API V3 with dojo JavaScript framework, PHP, and MySQL database for storing the polyline of marathon courses

• Created a sidebar to select a marathon and a goal time (i.e. pace chart)

• Created a function to calculate distance when a user clicks on the polyline

• Used time = distance / speed to calculate time of day the runner should be at the point clicked

• Included a map with a polyline of the marathon course selected

• Used Google’s direction service to calculate directions to the point clicked

99

Page 10: My Race Pace: GIS Solution for Marathons

GEOG 863 Final ProjectGEOG 863 Final Project

1010

Page 11: My Race Pace: GIS Solution for Marathons

Calculate Distance on Calculate Distance on PolylinePolyline

1111

Page 12: My Race Pace: GIS Solution for Marathons

Calculate Distance on Calculate Distance on PolylinePolyline

1212

Page 13: My Race Pace: GIS Solution for Marathons

Calculate Distance on Calculate Distance on PolylinePolyline

1313

Page 14: My Race Pace: GIS Solution for Marathons

Calculate Distance on Calculate Distance on PolylinePolyline

1414

Page 15: My Race Pace: GIS Solution for Marathons

Capstone ProjectCapstone Project

Expand on GEOG 863 Final Project by adding the following GIS features:

• Create Python script with ESRI’s arcpy Python module to populate the database with marathon courses as polylines

• Include an option to download a GPX file that represents the course and goal time the user selected

• Add point layer on map for water stops along the marathon course

• Use Google’s elevation service to accurately determine changes in elevation for the course

• Enhance the function that calculates the distance from the start of the polyline to where the user clicked

1515

Page 16: My Race Pace: GIS Solution for Marathons

Python ScriptPython Script

• Use standard Python library and ESRI’s arcpy Python module to:

• Manually find marathon courses on Garmin Connect (kml file)

1. Convert the kml to a shapefile

2. Simplify the polyline

3. Insert string representation of polyline (as JSON) into the MySQL database along with attributes associated to the marathon

1616

Page 17: My Race Pace: GIS Solution for Marathons

Water StopsWater Stops

• Add an option to toggle water stops on/off

• Insert the point features into the MySQL database representing water stops along a marathon course

1717

Page 18: My Race Pace: GIS Solution for Marathons

GPXGPX

What is GPX?GPX (the GPS eXchange Format) is a light-weight XML data format for the interchange of GPS data (waypoints, routes, and tracks) between applications and web services on the Internet. (GPX, 2012)

• Add an option to generate a GPX file based on the marathon course selected and the goal time entered

1818

Page 19: My Race Pace: GIS Solution for Marathons

Elevation ServiceElevation Service

• Use Google’s elevation service to generate an elevation model of the selected marathon course

elevationService.getElevationAlongPath({path: latlngs,samples: samples

}, plotElevation);

1919

Page 20: My Race Pace: GIS Solution for Marathons

Enhance Calculate Distance Enhance Calculate Distance FunctionFunction

2020

Page 21: My Race Pace: GIS Solution for Marathons

ResearchResearch

• Search for web applications with similar functionality

• Demonstrate that I’m adding something new and of value

• Any changes to my project based on research?

2121

Page 22: My Race Pace: GIS Solution for Marathons

Research – races2rememberResearch – races2remember

2222

Page 23: My Race Pace: GIS Solution for Marathons

Research - MapMyRunResearch - MapMyRun

2323

Page 24: My Race Pace: GIS Solution for Marathons

Research – My Athlete LiveResearch – My Athlete Live

2424

Page 25: My Race Pace: GIS Solution for Marathons

Research – XL RunResearch – XL Run

2525

Page 26: My Race Pace: GIS Solution for Marathons

Changes after ResearchChanges after Research

• Options to adjust mile splits. Use Google’s elevation service to calculate when to slow down for positive elevation change and when to speed up on negative elevation change

• Real-time tracking based on runner’s goal time

• Add point features for medical stations

• Smart phone app?

2626

Page 27: My Race Pace: GIS Solution for Marathons

Mile Splits from ElevationMile Splits from Elevation• In addition to even mile splits, include option to use the elevation

model to adjust mile splits

2727

Page 28: My Race Pace: GIS Solution for Marathons

Mile Splits from ElevationMile Splits from Elevation

• Two pass balanced distribution around zero

• First pass will distribute seconds based on elevation gain or loss

• Second pass will alter seconds from first pass. Weighted depending on percentage in each distribution

2828

Page 29: My Race Pace: GIS Solution for Marathons

Mile Splits from ElevationMile Splits from ElevationFirst pass. For every mile, add or subtract % of seconds depending on

elevation change

2929

Page 30: My Race Pace: GIS Solution for Marathons

Mile Splits from ElevationMile Splits from ElevationFirst pass. For every mile, add or subtract % of seconds depending on

elevation change

3030

Page 31: My Race Pace: GIS Solution for Marathons

Mile Splits from ElevationMile Splits from ElevationSecond pass. Alter mile split seconds from first pass

3131

Page 32: My Race Pace: GIS Solution for Marathons

Real-time TrackingReal-time Tracking

• Real-time tracking based on runner’s goal time. Possible simple smart phone app to update runner’s current position.

3232

Page 33: My Race Pace: GIS Solution for Marathons

TimelineTimeline

3333

Page 34: My Race Pace: GIS Solution for Marathons

ConclusionConclusion

• Purpose: Link web application from individual marathon sites and/or MarathonGuide.com

• Additional non-GIS features will be added (interval change to km, social media integration, print PDF of pace band, time to start line)

• Only web application that would offer the combination of time and distance with an interactive map (exception of XL Run)

• Incorporate real-time GPS tracking using smart phones with GPS

• Full featured smart phone app? Not yet, but a must

3434

Page 35: My Race Pace: GIS Solution for Marathons

CitationsCitationsSpecial thanks to Jim Detwiler

Luff, Christine. (November 12, 2012). About.com. In Quotes About Running Marathons. Retrieved December 1, 2012, from http://running.about.com/od/runninghumor/tp/marathonquotes.htm.

Foster, Dan. (n.d.). GPX: The GPS Excahnge Format. In GPX: the GPS Exchange Format. Retrieved December 1, 2012, from http://www.topografix.com/gpx.asp.

[Course map of Cincinnati Flying Pig Marathon]. Retrieved December 1, 2012, from: http://www.flyingpigmarathon.com/race_information/schedule/marathon.shtml [Course map of Carmel Marathon]. Retrieved December 1, 2012, from: http://www.carmelmarathon.com/pages/marathon-half-marathon-8k-national-championship-course [Image of Garmin Forerunner 405 watch]. Retrieved December 1, 2012, from: https://buy.garmin.com/shop/shop.do?pID=11039 [Image capture of pace band from races2remember]. Retrieved December 1, 2012, from: http://www.races2remember.com/PaceBands.php [Image capture of MapMyRun map of Cincinnati Flying Pig Marathon]. Retrieved December 1, 2012, from: http://www.flyingpigmarathon.com/race_information/schedule/marathon.shtml

[Image capture of map from My Athlete Live]. Retrieved December 1, 2012, from: http://www.myathletelive.com/storage/races/2012/ohio/index.html

[Image capture of XL Run iPhone App]. Retrieved December 1, 2012, from: http://www.xlrun.com/?p=170

GEOG 863 Final Project: http://206.130.112.6/PSU/863/Final_Project/3535


Recommended