Files
gpx.studio/website/src/lib/docs/zh/toolbar/minify.mdx
T

26 lines
985 B
Plaintext
Raw Normal View History

2024-07-23 17:21:34 +02:00
---
2024-09-26 17:25:08 +02:00
title: 最小化
2024-07-23 17:21:34 +02:00
---
<script>
import { Filter } from 'lucide-svelte';
import Reduce from '$lib/components/toolbar/tools/Reduce.svelte';
import DocsNote from '$lib/components/docs/DocsNote.svelte';
</script>
# <Filter size="24" class="inline-block" style="margin-bottom: 5px" /> { title }
2024-09-26 17:25:08 +02:00
此工具可用来减少轨迹中GPS点的数量,这对缩小其大小是有用的。
2024-07-23 17:21:34 +02:00
You can adjust the tolerance of the simplification algorithm using the slider, and see the number of points that will be kept, as well as the simplified trace on the map.
<div class="flex flex-row justify-center">
<Reduce class="text-foreground p-3 border rounded-md shadow-lg" />
</div>
<DocsNote>
The tolerance value represents the maximum distance allowed between the original trace and the simplified trace.
You can read more about the algorithm used <a href="https://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm" target="_blank">here</a>.
</DocsNote>