| Crates.io | heatmap-parse |
| lib.rs | heatmap-parse |
| version | 0.1.3 |
| created_at | 2025-06-28 05:07:34.93765+00 |
| updated_at | 2025-06-28 05:48:08.010129+00 |
| description | A robust GPS track processor for creating frequency-based route heatmaps from GPX, FIT, and polyline data |
| homepage | |
| repository | https://github.com/motiongis/activityHeatmap |
| max_upload_size | |
| id | 1729520 |
| size | 1,009,580 |
GPS track processor for frequency-based route heatmaps from GPX, FIT, and polyline data.
use heatmap_parse::{process_gpx_files, decode_polyline, process_polylines};
let files = vec![/* Vec<u8> file data */];
let result = process_gpx_files(files);
let coords = decode_polyline("_p~iF~ps|U_ulLnnqC_mqNvxq`@");
let polylines = vec!["polyline1".to_string(), "polyline2".to_string()];
let tracks = process_polylines(polylines);
import init, { process_gpx_files, decode_polyline_string } from 'heatmap-parse';
await init();
const files = [/* Uint8Array buffers */];
const result = process_gpx_files(files);
const coords = decode_polyline_string("_p~iF~ps|U_ulLnnqC_mqNvxq`@");
## Building
```bash
# Native Rust
cargo build --release
# WebAssembly
wasm-pack build --target web
MIT