Files
gpx.studio/website/src/lib/docs/zh/gpx.mdx
T
vcoppe 2681900a0a New Crowdin updates (#407)
* New translations en.json (Chinese Simplified)

[ci skip]

* New translations en.json (Chinese Simplified)

[ci skip]

* New translations files-and-stats.mdx (Chinese Simplified)

[ci skip]

* New translations gpx.mdx (Chinese Simplified)

[ci skip]

* New translations edit.mdx (Chinese Simplified)

[ci skip]

* New translations merge.mdx (Chinese Simplified)

[ci skip]

* New translations scissors.mdx (Chinese Simplified)

[ci skip]
2026-11-15 11:36:16 +01:00

44 lines
2.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: GPX 文件格式
---
<script>
import DocsNote from '$lib/components/docs/DocsNote.svelte';
import { Waypoints, Route, MapPin } from '@lucide/svelte';
</script>
# { title }
<a href="https://www.topografix.com/gpx.asp" target="_blank">GPX 文件格式</a> 是应用程序和 GPS 设备之间交换 GPS 数据的一种开放标准。它本质上由一系列 GPS 点组成,用以编码形成一条或多条轨迹,以及兴趣点(可选)。这些连线可以储存为轨迹或路线。
还可以包含元数据,其中 **名称(name)** 和 **描述(description)** 字段对用户最有用。
### <Waypoints size="16" class="inline-block" style="margin-bottom: 2px" /> 轨迹、路段和 GPS 点
如上所述,GPX 文件可包含多条 GPS 轨迹。它们按照分层结构组织起来,其中轨迹位于顶层:
- **轨迹** 由一系列不相连的路段组成。它可以包含 **名称**、**描述** 和 **外观属性** 等元数据;
- **路段** 是由一系列 GPS 点组成的连续路径;
- **GPS 点** 主要用来存储一个位置的经纬度,也可包含时间戳和高度信息。一些设备可能还会记录心率、节奏、温度和功率等其他信息;
GPX 文件通常只包含一条轨迹,且该轨迹仅有一个路段。不过这个层级结构支持高级用法,例如用来规划多日旅程且每日可包含多个行程信息。
### <Route size="16" class="inline-block" style="margin-bottom: 2px" /> Routes
**路线**是一个由**路线点**序列组成的单一连续路径。
These are mandatory checkpoints, which correspond to the anchor points of the [routing tool](./toolbar/routing).
两者之间的点只是一条连接路线点的建议路径。像轨迹一样,路线可以有**名称**、**描述**和**路线属性**。
<DocsNote>
现在,大多数应用和 GPS 设备都与轨迹完全兼容,甚至用于导航。
However, some of them only work with routes: in that case, you can [convert](./menu/edit) your tracks to routes, or [create](./menu/file) a route file from the start.
</DocsNote>
### <MapPin size="16" class="inline-block" style="margin-bottom: 2px" /> 兴趣点
**兴趣点**(_航点_)用来表示 GPS 设备或数字地图上需要显示的特殊位置。
除坐标外,兴趣点也可包含 **名称** 和 **描述** 信息。