https://github.com/timharek/gpx-to-svg
A simple module to make a GPX route into a minimal SVG.
https://github.com/timharek/gpx-to-svg
Last synced: 3 months ago
JSON representation
A simple module to make a GPX route into a minimal SVG.
- Host: GitHub
- URL: https://github.com/timharek/gpx-to-svg
- Owner: timharek
- License: gpl-3.0
- Created: 2024-06-01T18:56:16.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-06-01T18:58:09.000Z (12 months ago)
- Last Synced: 2025-02-18T06:46:57.149Z (3 months ago)
- Language: TypeScript
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://jsr.io/@timharek/gpx-to-svg)
[](https://jsr.io/@timharek/gpx-to-svg/score)
[](https://git.sr.ht/~timharek/gpx-to-svg)# GPX to SVG
A simple module to make a GPX route into a minimal SVG.
## Example
```typescript
import { generateSVGFile } from "jsr:@timharek/gpx-to-svg";const gpxFile = "your/gpx/file/path.gpx";
await generateSVGFile(gpxFile, "./output.svg");
```