logo

1 303 279 1021

Loading

Live Chat

All Issues

Golden Software Newsletter

Our newsletters are filled with interesting technical tips, news of how people are using Surfer, Grapher, Voxler, MapViewer, Didger and Strater, and (of course!) great illustrations.

Subscribe to Our Newsletter

Issue 65

Geospatially Analyze Sports Performance in Surfer 10 and Didger 4

You can use Golden Software’s Didger 4 and Surfer 10 to geospatially analyze sports performance data acquired by a GPS-enabled sports watch. With Didger 4 you can digitize graphical sports performance data and resample it so that it matches the associated latitude and longitude GPS tracks. Then use Surfer 10’s worksheet to import and pair the resampled data from Didger with the associated Lat/Long GPS tracks. Using the processed data from the Surfer worksheet, you can create a classed post map in Surfer using the longitude and latitude values from the GPS tracks as your X and Y values, and using the dependent variable from your graphical data as the Z value, which will group the data into discrete classes. Next, use Surfer to create a 3D surface map of the area from which the data was taken. Last, overlay the classed post layer onto the 3D surface map from the area that it was taken, so that you can geospatially analyze athletic performance. I will demonstrate how to create a 3D surface map that is overlain with a post layer that is classed by speed, using cycling data that was recorded with a Garmin GPS-enabled sports watch as my example.

This process was detailed in full in three articles on Golden Software’s blog. See the blog articles for full step by step details.

Acquiring the data from the GPS

The data was acquired during a cycling event in Boulder, CO and was recorded on a Garmin Forerunner 305 GPS-enabled sports watch. Any data recorded with a Garmin GPS-enabled sports watch can be uploaded on to a computer utilizing Garmin’s Training Center software. Amongst many features, Training Center allows you to import and export your XYZ GPS “tracks,” display the GPS tracks on a 2D vector road map, and graphically compare pace, speed, elevation, grade, and heart rate along the Y axes to either distance or time along the X axis.

Once I have imported the cycling data into Training Center, I can export the GPS tracks to a GPX file. In order to use the exported GPS tracks in Surfer 10, I will need to convert the GPX file to an ASCII type data file. GPSies.com provides a free online converter that allows you to convert a GPX file to a CSV file, which can be used in Surfer 10. By opening the CSV file in the Surfer worksheet, I am able to note that there are 412 GPS points. Knowing how many GPS points there are will come into play when resampling the graphical sports performance data in Didger 4.

jj
Upload data recorded with a Garmin GPS-enabled sports watch onto your computer using Garmin’s Training Center Software. Then export the GPS tracks to be used in Surfer 10. Create a distance versus speed graph based on your GPS data with Training Center, and then capture an image of the graph to be digitized and resampled in Didger 4.


j

Training Center exports GPS tracks as a GPX file. In order to use the GPS tracks in Surfer 10, you must convert the GPX file to an ASCII data file. Use GPSies.com to convert the exported GPX file from Training Center to a CSV file.

Back in Training Center, I can select to graphically compare speed, along the Y axis, to distance, along the X axis. To pair the data from the distance versus speed graph with its associated GPS tracks, I will need the aid of Didger 4. I can capture an image of the graph in Training Center, and then import the image into Didger, digitize the line graph, and resample the data so that it will pair correctly with the associated GPS tracks.

Now that I have exported the GPS tracks from Training Center, converted the resulting GPX file to a CSV file using the free online converter hosted by GPSies.com, and captured an image of the distance versus speed graph, I am ready to use Golden Software’s Didger 4 to digitize and resample the graphical data, and Surfer 10’s worksheet to massage the data so that I can create a classed post map to overlay on top of a 3D surface map.

j
Capture an image of the distance versus speed graph produced in Training Center to be digitized and resampled with Didger 4.

Digitizing the data in Didger

With Didger 4 you can spatially reference and calibrate an image, digitize and resample data from the image, and export the resulting data to an ASCII type data file.

Upon importing the image of the distance versus speed graph into Didger 4, I am first tasked with spatially referencing and calibrating the image. In the Image Registration and Warping dialog I will plot four calibration points on the graph and then insert the values from the graph in the corresponding Reference X and Reference Y cells in the Calibration Points section.

After I have correctly spatially referenced and calibrated the image, I will use the Digitize Polyline function to digitize the line graph.

j
Spatially reference and calibrate the image of the distance versus speed graph by plotting four calibration points on the image and then insert the X,Y values from the graph into the appropriate Reference X, Reference Y cells in the Calibration Points worksheet.

Once I am finished digitizing, I will select the line in the Data Manager and select Tools | Resample Polyline. In theResample Polyline dialog I will select Resample Along the X Axis. I will change the Starting Value: to 0, the Ending value: to 17.3, and the Increment Value: to .04209, and will then select OK. This will ensure that I have 412 data points to correspond with the 412 GPS points.

I can now select the newly created polyline in the Data Manager and export it as a DAT file so that I can import it into the Surfer worksheet.

Editing the data in Surfer

You can use Surfer’s full-featured worksheet to import and massage your ASCII data files.

I will first import the CSV file of the GPS tracks into the Surfer worksheet. I will then edit the data so that Longitude is in column A, Latitude is in column B, and Elevation remains in column C. Next I will import the distance versus speed DAT file into an additional Surfer worksheet. Using the Edit | Copy and Edit | Pastecommands, I can add the distance versus speed data to columns D and E in the GPS tracks worksheet, and then insert headers in cells D1 and E1 that readDistance and Speed respectively.

j
Import, process, and pair the GPS tracks with the distance versus speed data in the Surfer 10 worksheet.

Creating the maps in Surfer

Now that I have finished processing my data in the Surfer worksheet, I need to acquire geographic data for Boulder, CO so that I can build a 3D surface map in Surfer 10. The United States Geologic Survey (USGS) provides its Seamless Vieweras a tool to locate and download free geographic data. Using a web browser, I will visit seamless.usgs.gov, and use the USGS Seamless Viewer to download a National Elevation Dataset (NED) of Boulder, CO. Once the NED of Boulder, CO is downloaded, I can use any of the associated ADF files to create a 3D surface map in Surfer 10.

Once I’ve created a 3D surface map of Boulder, I am now ready to use the processed data from the Surfer worksheet to create and overlay a classed post layer. To class my data by speed, I must select the classed post layer in the Object Manager and then in the Property Manger select the General tab and expand the Worksheet Columns section and change the Z coordinates to Column E: Speed.

I can define the number of classes and the binning method by selecting the Classes tab in the Property Manager and then clicking the Edit Classes button to open the Propertiesdialog. I will change the Number of classes: to 3 and theBinning Method: to User Defined. For the first class I will set the Minimum to 0, the Maximum to 17.9, the Symbol toNumber 10, the Color to Red, and the Size to 0.020 in. For the second class I will set the Minimum to 18, the Maximumto 22, the Symbol to Number 10, the Color to Deep Yellow, and the Size to 0.020 in. For the third class I will set theMinimum to 22.01, the Maximum to 40, the Symbol toNumber 10, the Color to Green, and the Size to 0.020 in. Once the Class properties are set I will select OK in theProperties dialog.

j
Create a classed post map in Surfer 10 from the GPS tracks and the distance versus speed data. Class the data by speed and use color to indicate high (green), medium (deep yellow), and low (red) speeds.

I have now successfully paired graphical sports performance data with its associated GPS tracks in the Surfer worksheet. From this data I was able to create a classed post map, which is based on speed, binned into three categories, and overlain onto a 3D surface map of the area from which the data was taken.

j

By overlaying a classed post map created from cycling data onto a 3D surface map in Surfer 10, I can geospatially analyze areas of peak performance (green), medium effort (deep yellow), and areas of fatigue (red). From this map I gain a unique perspective on the data, and I can identify how performance is affected by topography, weather conditions, duration, and more!

Conclusion

I have demonstrated how to use Didger 4 to spatially reference, calibrate, digitize, resample, and export sports performance data acquired by a GPS-enabled sports watch to a DAT file. Using Surfer 10’s worksheet, I have demonstrated how to import, process, and pair GPS tracks with its related sports performance data set. Last, I exhibited the ability to create a classed post map from the combined data set that is classed by speed into three bins, and demonstrated the ability to overlay this map onto a 3D surface map. I can now use this 3D surface map, overlain with the classed post layer to geospatially analyze athletic performance based on speed. By observing the color-coded “tracks,” I can identify areas where athletic performance, based on speed, was high (green), medium (deep yellow), or low (red). Utilizing the 3D surface map I can gain a better perspective as to what may have caused either a dip or rise in performance. I can geospatially analyze the GPS tracks to identify where performance was affected by hills, wind and weather conditions, duration, and more.

With the power of Golden Software’s Didger 4 and Surfer 10 you have the ability gain exceptional insight into sports performance through the geospatial analysis of a classed post map derived from sports performance data acquired by a GPS-enabled sports watch, overlain onto a 3D surface map.

 

Trusted by over 10,000 Companies and Schools


Label Your 3D Point Cloud with Voxler 3

Image Voxler 3 has added the ability to label your 3D point cloud. You can use numbers or text to label your scatter plot, apply a uniform offset in the X... Read More

Subscribe to Our Newsletter

Enter your email address below to receive email notifications of product updates and our newsletter, filled with helpful technical tips and case studies.