@gooin/fit2spatial
Version:
Convert Garmin FIT files to GeoJSON, SHP, KML, GPX
11 lines (10 loc) • 766 B
TypeScript
import { EventInterface } from '@sports-alliance/sports-lib/lib/events/event.interface';
export declare const checkIsFitFile: (filePath: string) => boolean;
export declare const checkIsDirectory: (filePath: string) => boolean;
export declare const createDirectory: (directoryPath: string) => void;
export declare const getFitFileName: (filePath: string) => string;
export declare const listFitFiles: (directoryPath: string) => string[];
export declare const writeToFile: (filePath: string, data: any) => void;
export declare const parseFitFile: (filePath: string) => Promise<EventInterface | void>;
export declare function checkFitFilesIncludsGPS(event: EventInterface): boolean;
export declare function extractZipFile(zipFilePath: string): Promise<void>;