smitchell / garmin-fit-geojson

Library to convert Garmin activity FIT filt into a GeoJSON LineString.

Home Page:http://www.exploringspatial.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exploring Spatial FIT to GeoJSON Utility

This project contains a utility to convert Garmin activity FIT filt into a GeoJSON LineString. It is very primitive. You may include the GarminFitService in your own project to receive FIT files and output JSON files.

See the class GarminFitListenerTest. Specifically, the method testWriteGeoJSON() shows how to take in a FIT file and output a JSON file. To create the test file 155155867.json I substituted a FileOutputStream for the ByteArrayOutputString used in the test.

About

Library to convert Garmin activity FIT filt into a GeoJSON LineString.

http://www.exploringspatial.com

License:MIT License


Languages

Language:Java 100.0%