[josm-dev] TCX Support

Sven Sommerkamp s_sommerkamp at gmx.de
Sun Aug 10 11:42:21 BST 2008


Am Sonntag, 10. August 2008 12:24:42 schrieb 
josm-dev-request at openstreetmap.org:
> Hi JOSM Devs!
>
> I added support for TCX files in JOSM. For those who don't know, TCX files
> are GPS/Training log files used by the Training Center software from
> Garmin.
>
> The code depends on JAXB (Java Architecture for XML Binding) so I don't
> know if you like this dependency or not (it's GPLv2).
>
> I'm supplying a patch that includes the generated code. Usually it is not
> good practice to commit generated code into a SCM, but since the schema
> won't change in the near future it might be easier for everyone to have it
> in the SCM.
>
> The JAXB can be downloaded here:
> https://jaxb.dev.java.net/
>
> For the patch to work you will need the jaxb-api.jar and jaxb-api.jar in
> your classpath.
>
> I have added some information on JAXB and how to generate the parsing code
> in the java doc of the TcxReader class.
> Using this approach we could add support for more XML based file formats.
> It only takes a few minutes to do that.
>
> Hope you will add this patch to the source code.
>
> Regards,
> Adrian.

Oh, that is a good thing I think.
I have a device (and many Sportsmen) that is writing tcx Files.

It would more easy to work with these Tracks.
Now I must konvert them to gpx.

Greetings Sven S.






More information about the josm-dev mailing list