---
title: Minify
---

<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 }

This tool can be used to reduce the number of GPS points in a trace, which can be useful for decreasing its size.

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>

De tolerantiewaarde vertegenwoordigt de maximale afstand tussen het oorspronkelijke spoor en de vereenvoudigde spoor.
Je kunt meer lezen over het algoritme dat hier wordt gebruikt <a href="https://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm" target="_blank"></a>.

</DocsNote>
