
* New translations en.json (Polish) * New translations en.json (Chinese Simplified) * New translations getting-started.mdx (Chinese Simplified) * New translations menu.mdx (Chinese Simplified) * New translations view.mdx (Chinese Simplified) * New translations files-and-stats.mdx (Chinese Simplified) * New translations edit.mdx (Chinese Simplified) * New translations file.mdx (Chinese Simplified) * New translations settings.mdx (Chinese Simplified) * New translations routing.mdx (Chinese Simplified) * New translations toolbar.mdx (Chinese Simplified) * New translations files-and-stats.mdx (Chinese Simplified) * New translations poi.mdx (Chinese Simplified) * New translations time.mdx (Chinese Simplified) * New translations routing.mdx (Chinese Simplified) * New translations scissors.mdx (Chinese Simplified) * New translations merge.mdx (Chinese Simplified) * New translations extract.mdx (Chinese Simplified) * New translations en.json (Chinese Simplified) * New translations minify.mdx (Chinese Simplified) * New translations extract.mdx (Chinese Simplified) * New translations map-controls.mdx (Chinese Simplified) * New translations clean.mdx (Chinese Simplified) * New translations elevation.mdx (Chinese Simplified) * New translations en.json (Chinese Simplified) * New translations gpx.mdx (Chinese Simplified) * New translations integration.mdx (Chinese Simplified) * New translations faq.mdx (Chinese Simplified) * New translations map-controls.mdx (Chinese Simplified) * New translations elevation.mdx (Chinese Simplified) * New translations en.json (Chinese Simplified) * New translations en.json (Chinese Simplified)
34 lines
1.5 KiB
Text
34 lines
1.5 KiB
Text
---
|
||
title: GPX 文件格式
|
||
---
|
||
|
||
<script>
|
||
import { Waypoints, 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 文件通常只包含一条轨迹,且该轨迹仅有一个路段。
|
||
不过这个层级结构支持高级用法,例如用来规划多日旅程且每日可包含多个行程信息。
|
||
|
||
### <MapPin size="16" class="inline-block" style="margin-bottom: 2px" /> 兴趣点
|
||
|
||
**兴趣点**(_航点_)用来表示 GPS 设备或数字地图上需要显示的特殊位置。
|
||
|
||
除坐标外,兴趣点也可包含 **名称** 和 **描述** 信息。
|