mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-31 15:43:25 +00:00

* New translations map-controls.mdx (Italian) * New translations settings.mdx (Italian) * New translations en.json (French) * New translations en.json (Latvian) * New translations files-and-stats.mdx (Latvian) * New translations getting-started.mdx (Latvian) * New translations gpx.mdx (Latvian) * New translations funding.mdx (Latvian) * New translations mapbox.mdx (Latvian) * New translations translation.mdx (Latvian) * New translations integration.mdx (Latvian) * New translations map-controls.mdx (Latvian) * New translations menu.mdx (Latvian) * New translations edit.mdx (Latvian) * New translations file.mdx (Latvian) * New translations settings.mdx (Latvian) * New translations view.mdx (Latvian) * New translations toolbar.mdx (Latvian) * New translations clean.mdx (Latvian) * New translations extract.mdx (Latvian) * New translations merge.mdx (Latvian) * New translations minify.mdx (Latvian) * New translations poi.mdx (Latvian) * New translations routing.mdx (Latvian) * New translations scissors.mdx (Latvian) * New translations time.mdx (Latvian) * New translations faq.mdx (Latvian) * New translations elevation.mdx (Latvian) * New translations en.json (Latvian) * New translations funding.mdx (Latvian) * New translations translation.mdx (Latvian) * New translations time.mdx (Latvian) * New translations en.json (French)
27 lines
1008 B
Plaintext
27 lines
1008 B
Plaintext
---
|
|
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>
|
|
|
|
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>
|