2. Types of Garmin API/SDK offerings
The VIRB Network Services API gives you
freedom to develop applications to discover,
control, configure, stream and access media
over Wi-Fi.
The Connect IQ SDK contains all the
necessary tools to build the different types of
apps (watch faces, data fields, widgets and
apps) for the Connect IQ platform.
The Garmin Connect API gives you access
this robust data. With the Connect API, the
innovation possibilities are endless.
www.letsnurture.com
3. Types of Garmin API/SDK offerings
Garmin Wellness API makes it easy to
create a wellness program with wellness data
from Garmin devices.
Garmin fleet managment developer kit
contains the communication protocols and
system requirements for our Fleet
Management Interface (FMI).
Create custom maps that can be easily
loaded onto Garmin devices with Map
Product Creator (MPC).
www.letsnurture.com
4. Types of Garmin API/SDK offerings
The Content Toolkit by Garmin gives you the
tools to create secure points of interest (POIs)
and customizable voices for our GPS devices.
You can market your products to owners of
our GPS systems, creating an entirely new
ecosystem of content, devices and customers
who are eager to expand the capability of their
Garmin devices.
www.letsnurture.com
5. Access the Data from Garmin Connect
Garmin Connect is the only online community
created specifically for, and works seamlessly with,
our Forerunner, Edge and fēnix products.
Garmin Connect stores and analyzes end-user data
and supports more than 30 different activity types.
The Garmin Connect API gives you access this
robust data. With the Connect API, the innovation
possibilities are endless.
www.letsnurture.com
6. Access the Data from Garmin Connect
API Features
Potential access to data from millions of end users
worldwide
Access to full FIT files (or TCX files, depending on
device) with minute- and second-level data
Near real-time data pushed directly to developer
server (it is your responsibility to have your servers
accessible for data reception)
www.letsnurture.com
7. Access the Data from Garmin Connect
What’s Included
API and OAuthToken
Advanced notification of upcoming API updates,
including new and improved functionality
Access to technical support
Access to official Garmin Connect logo and
branding requirements
www.letsnurture.com
8. Access the Data from Garmin Connect
Back up data
Export your activity for upload to other programs.
From the Details page you can export a .TCX file for
other fitness programs and .KML for Google Earth.
From the Splits page you can export a CSV file with
the details of your activity.
www.letsnurture.com
9. TCX FILES
There are two versions of TCX files: TCX Course
and TCX History.
TCX Course files contain all the navigation to use
with your Garmin Edge series devices. This is the
most common file format that we recommend to get
turn-by-turn navigation.
TCX History files contain the entire track of the
recorded ride including sensor information like heart
rate, cadence, and power if applicable. Export as a
TCX History if you wish to transfer a ride to another
service or application for analysis.
www.letsnurture.com
10. GPX FILES
There are two kinds of GPX files: GPX Track and
GPX Route.
GPX Track This file type contains the thousands of
points used to draw the map. Your GPS will follow
this track and is the next most common format we
recommend for units that cannot use a TCX Course
file.
GPX Route only contains the cuesheet entries, and
relies on the GPS device to calculate a route
between each of the cuesheet entries.
www.letsnurture.com
11. Differences
Since the maps inside the GPS unit are different
than the Google maps used to plan the route, often
times the route chosen by the GPS unit will be
slightly different than the one planned using our site.
Unless you know what you are doing, GPX Routes
are not as useful and should be avoided.
www.letsnurture.com
12. Two reasons to choose GPX file:
You have a GPS unit that doesn’t read TCX files.
The eTrex, Oregon, Montana, and GPSmap series
do not read TCX.
You don’t care about riding a certain speed, and you
don’t need the basic turn guidance offered by the
TCX.
If you have Garmin maps or OSM maps installed on
a microSD card in your map-capable GPS unit, your
GPS will provide native turn guidance and there is no
need for the basic navigation offered by the TCX
format.
www.letsnurture.com
13. Other File Types:
FIT: Used by newer fitness units (Edge 500/800/810/1000,
newer Forerunner watches). This file contains the ride data
and is pulled off the unit to be uploaded to a site like the Ride
with GPS Upload page. It is not used as an export format for
navigation.
KML: Not used as an export format for navigation on GPS
devices, but a useful export for viewing a route or activity in
Google Earth.
CSV: Comma Separated Values, useful for importing into a
spreadsheet program. This export option only includes the
cues for printing and none of the navigation for GPS devices
or the mobile app.
www.letsnurture.com
14. GPX Files & Xcode
Xcode uses a standardized file type to simulate
locations.
The GPX spec defines many different ways to define
a path or a set of geolocation coordinates. Xcode
only uses the <wpt> tag so if you find a tool that
generates <rte> or <trk> based gpx files, Xcode
won't be able simulate your location properly.
You can find more information about GPX files here:
http://en.wikipedia.org/wiki/GPSeXchangeFormat
www.letsnurture.com
15. Using Xcode, we can simulate our locations two
ways.
The first way is to have the location simulated from
application launch.
To do this, we need to open up the Scheme Editor
(Product->Scheme->Edit Scheme or
Command+Shift+,) and make sure the "Allow
Location Simulation" checkmark is checked. To
import the freshly created gpx file, open the
dropdown control and select "Add GPX File to
Project...".
Navigate to the file and select it and have Xcode
copy the file into the destination group's folder.
www.letsnurture.com
17. Drag the framework file into the project's
Frameworks group, and import the header file.
#import <GPX/GPX.h>
To parsing the GPX file, simply call the parse
method :
GPXRoot *root = [GPXParser
parseGPXWithString:gpx];
www.letsnurture.com
18. You can generate the GPX :
GPXRoot *root = [GPXRoot rootWithCreator:@"Sample Application"];
GPXWaypoint *waypoint = [root newWaypointWithLatitude:35.658609f
longitude:139.745447f];
waypoint.name = @"Tokyo Tower";
waypoint.comment = @"The old TV tower in Tokyo.";
GPXTrack *track = [root newTrack];
track.name = @"My New Track";
[track newTrackpointWithLatitude:35.658609f longitude:139.745447f];
[track newTrackpointWithLatitude:35.758609f longitude:139.745447f];
[track newTrackpointWithLatitude:35.828609f longitude:139.745447f];
www.letsnurture.com
19. What are the benefits of GPX?
Here are some of the benefits that GPX provides:
GPX allows you to exchange data with a growing list of
programs for Windows, MacOS, Linux, Palm, and PocketPC.
GPX can be transformed into other file formats using a simple
webpage or converter program.
GPX is based on the XML standard, so many of the new
programs you use (Microsoft Excel, for example) can read
GPX files.
GPX makes it easy for anyone on the web to develop new
features which will instantly work with your favorite programs.
www.letsnurture.com