Files
gpx.studio/website/src/lib/docs/en/toolbar/scissors.mdx

33 lines
1.3 KiB
Plaintext
Raw Normal View History

2024-07-08 22:43:50 +02:00
---
2024-07-09 22:49:57 +02:00
title: Crop and split
2024-07-08 22:43:50 +02:00
---
2024-07-09 22:49:57 +02:00
<script>
import { ScissorsIcon } from 'lucide-svelte';
import Scissors from '$lib/components/toolbar/tools/Scissors.svelte';
2024-07-10 15:09:52 +02:00
import splitScreenshot from '$lib/assets/img/docs/tools/split.png?enhanced';
import DocsImage from '$lib/components/docs/DocsImage.svelte';
2024-07-09 22:49:57 +02:00
</script>
# <ScissorsIcon size="24" class="inline-block" style="margin-bottom: 5px" /> { title }
2024-07-10 15:09:52 +02:00
## Crop
Using the slider, you can define the part of the selected trace that you want to keep.
The start and end markers on the map and the [statistics and elevation profile](../files-and-stats) are updated in real time to reflect the selection.
Alternatively, you can drag a selection rectangle directly on the elevation profile.
Validate the selection when you are satisfied with the result.
2024-07-09 22:49:57 +02:00
<div class="flex flex-row justify-center">
<Scissors class="text-foreground p-3 border rounded-md shadow-lg" />
2024-07-10 15:09:52 +02:00
</div>
## Split
To split the selected trace into two parts, you can hover over the trace on the map.
Scissors will appear at the cursor position, and you can click to split the trace at that point.
You can choose to split the trace into two GPX files, or to keep the split parts in the same file as [tracks or segments](../gpx).
<DocsImage src={splitScreenshot} alt="Hovering over the selected trace turns your cursor into scissors." />