From 0516e720477f8eb1d85a567540d212420c19f391 Mon Sep 17 00:00:00 2001 From: L P <39266013+bb4L@users.noreply.github.com> Date: Tue, 20 Aug 2024 21:07:15 +0200 Subject: [PATCH] fix(gpx): try smaller number --- src/utils/gpx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/gpx.rs b/src/utils/gpx.rs index f541cec..5261e3b 100644 --- a/src/utils/gpx.rs +++ b/src/utils/gpx.rs @@ -53,7 +53,7 @@ pub fn generate_partial_gpx( // only consider points within 10km of the start location let distance = point.point().geodesic_distance(&location_point); - if distance > 10_000.0 { + if distance > 50.0 { continue; } if distance < min_distance {