refactor(shared): share the thinning of a recorded line

Ramer-Douglas-Peucker and the even-stride cap move from the Dawarich
helpers into @trek/shared as thinRecordedLine and capLinePoints, so a
second source of recorded days thins its lines the same way. The Dawarich
helpers keep their names for them.
This commit is contained in:
Maurice
2026-11-30 14:32:02 +01:00
parent 535503b73d
commit cd20a0371f
4 changed files with 158 additions and 70 deletions
+1
View File
@@ -121,6 +121,7 @@ export * from './wanderer/wanderer-watch.schema';
export * from './wanderer/wanderer-mcp.schema';
export * from './geo/haversine';
export * from './geo/longitude';
export * from './geo/recorded-line';
export * from './collection/collection.schema';
export * from './collection/collection-file.schema';
export * from './places-library/places-library.schema';