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

33 lines
1.4 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>
2025-06-21 21:07:36 +02:00
import { ScissorsIcon } from '@lucide/svelte';
2024-07-25 16:20:51 +02:00
import Scissors from '$lib/components/toolbar/tools/scissors/Scissors.svelte';
2024-07-10 15:09:52 +02:00
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
2024-07-25 16:15:44 +02:00
To split the selected trace into two parts, click on one of the split markers displayed along the trace.
To split at a specific point of your choice, hover over the trace on the map.
Scissors will appear at the cursor position, showing that you can split the trace at that point.
2024-07-10 15:09:52 +02:00
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).
2024-09-24 13:50:44 +02:00
<DocsImage src="tools/split" alt="Hovering over the selected trace turns your cursor into scissors." />