Elektrine lite

← Feed

@pbarker@social.afront.org

Post #2046014

2026-03-21 21:52 UTC

For comparison, the foreground blue track is after processing by gpxtidy with the default error threshold of 5m. The background red track is the original, just peeking out in a few places but barely distinguishable. The blue track is accurate enough for someone to follow the route you took. The original (red) GPX file was 1200 points, 278kiB of data. After gpxtidy processing (blue) it's 194 points, 10kiB as a GPX file, or 4.3kiB as geojson data you can use with leaflet.js. (Map data from https://www.openstreetmap.org/)

Replies (1)

  • @pbarker@social.afront.org 2026-03-22 12:38

    It is published: https://crates.io/crates/gpxtidy https://codeberg.org/pbarker/-/packages/cargo/gpxtidy/0.1.0 https://codeberg.org/pbarker/gpxtidy/releases/tag/v0.1.0

    Open ##2046015