Modify

Opened 4 years ago

Last modified 15 months ago

#8647 new enhancement

Garmin FIT import

Reported by: pschonmann Owned by: team
Priority: normal Milestone:
Component: Plugin dataimport Version:
Keywords: import, FIT, Garmin Cc:

Description

Hi,
New garmin devices for bikes, like Edge series arent exporting tracks to GPX, but into FIT. Should be fine import that file directly without converting it in gpsbabel or other utility.

Attachments (3)

2013-05-26-11-02-15.fit (138.4 KB) - added by mvestola 4 years ago.
Example fit file produced by Garmin Edge 800 during cycling
2013-06-01-16-10-20.gpx (726.4 KB) - added by mvestola 4 years ago.
Example fit file converted to GPX via Garmin Connect
Fit.java (3.3 KB) - added by simon04 3 years ago.

Download all attachments as: .zip

Change History (16)

comment:1 Changed 4 years ago by skyper

Type: defectenhancement

comment:2 Changed 4 years ago by skyper

Owner: changed from team to pschonmann
Status: newneedinfo

Is it not possible to change to export gpx ?

What is the advantage of FIT ?

comment:3 Changed 4 years ago by pschonmann

No option to export/output file to GPX in device.
FIT file has less size than gpx even i record 1s and record HR, CADENCE from ant. Maybe this is some Garmin magic.

I dont know any advantage from gpx, but would be nice have direct import rather do some magic with convert tools thats hard to use for begginers.

comment:4 Changed 4 years ago by Don-vip

Owner: changed from pschonmann to team
Status: needinfonew

comment:5 Changed 4 years ago by stoecker

Component: CorePlugin dataimport

Nothing for the core.

comment:6 Changed 4 years ago by Don-vip

comment:7 Changed 4 years ago by Don-vip

Also, you should attach a .fit sample file if you want this ticket resolved some day, because developers do not have all devices released by Garmin :D

Changed 4 years ago by mvestola

Attachment: 2013-05-26-11-02-15.fit added

Example fit file produced by Garmin Edge 800 during cycling

Changed 4 years ago by mvestola

Attachment: 2013-06-01-16-10-20.gpx added

Example fit file converted to GPX via Garmin Connect

comment:8 Changed 4 years ago by mvestola

I would really need this feature too. I have Garmin Edge 800 which I use in my mountain bike. Edge 800 always outputs the GPS trail using the fit file format. The device has a very precise GPS unit and thus is an excellent device for OSM mapping. I know this is a very popular device with bikers.

However, it is a shame that I can't directly import the GPS trails from my Edge 800 to JOSM because the fit format is not supported by JOSM. But now I need to first convert the fit file to gpx via Garmin Connect website (because the linux version I use in my computer does not have the latest version of gpsbabel which has the fit file support and I don't like building the software from the git sources). I honestly must say that this limits my OSM mapping due to the time-consuming converting between fit and gpx formats.

I attached an example fit file I recorded with my Edge 800. I also attached the same GPS trail in GPX format. I converted the fit file to GPX with garmin connect website. I'm not 100% sure that the files have exactly the same information since the fit file is binary encoded but I assume that the Garmin connect produces the same GPS trail for the GPX file.

comment:9 Changed 3 years ago by simon04

I obtained a working implementation of a FIT importer based on fit.jar from http://www.thisisant.com/resources/fit. I'm unsure whether the "Flexible and Interoperable Data Transfer (FIT) Protocol License" is compatible with GPL.

Changed 3 years ago by simon04

Attachment: Fit.java added

comment:10 Changed 3 years ago by simon04

Summary: Garmin FIT import[Patch] Garmin FIT import

comment:11 in reply to:  9 Changed 3 years ago by bastiK

Replying to simon04:

I obtained a working implementation of a FIT importer based on fit.jar from http://www.thisisant.com/resources/fit. I'm unsure whether the "Flexible and Interoperable Data Transfer (FIT) Protocol License" is compatible with GPL.

This license is definitely not compatible with GPL. What we could do:

  • find a Java library for FIT under GPL
  • port the GPSBabel code to Java
  • work around the GPL restrictions, e.g.
    • Create a stand alone application (jar file) that can convert FIT to GPX. Make it available on the JOSM website.
    • Let the JOSM-Plugin download this application to the home folder, the first time it is needed. Do not link the jar file, but call it as an external application (something like new ProcessBuilder("java","~/.josm/fit2gpx.jar",fit_filename).start();)

comment:13 Changed 15 months ago by simon04

Summary: [Patch] Garmin FIT importGarmin FIT import

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user. Next status will be 'new'.
Next status will be 'needinfo'.The owner will change to pschonmann
as duplicate The resolution will be set to duplicate. Next status will be 'closed'.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.