heatmap-parse

Crates.ioheatmap-parse
lib.rsheatmap-parse
version0.1.3
created_at2025-06-28 05:07:34.93765+00
updated_at2025-06-28 05:48:08.010129+00
descriptionA robust GPS track processor for creating frequency-based route heatmaps from GPX, FIT, and polyline data
homepage
repositoryhttps://github.com/motiongis/activityHeatmap
max_upload_size
id1729520
size1,009,580
(a0a7)

documentation

README

heatmap-parse

GPS track processor for frequency-based route heatmaps from GPX, FIT, and polyline data.

Features

  • GPX file parsing
  • FIT file parsing
  • Polyline decoding
  • Route frequency analysis
  • WebAssembly bindings

Usage

Rust

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);

WebAssembly

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

License

MIT

Commit count: 0

cargo fmt