Zh-hans:Beginners Guide 1.2.1

将数据保存成GPX格式

本页仅供快速参考,更多信息请查看Making GPX Tracks。

如果你通过GPS收集轨迹,需要将轨迹保存为GPX格式。请查阅GPS的手册或软件使用指南来确定如何将轨迹保存成GPX格式。如果GPS设备不能将轨迹直接保存为GPX格式,可以现将其保存成其它的格式轨迹,再使用 GPSbabel 或其他的程序将其转换为GPX格式轨迹。在不同格式间转换上可以查到你可以使用的格式和能识别并转换这种格式的程序。

(在将其它的格式转换成GPX格式时, 请确定GPX文件使用的是WGS-84座标基准.)

怎样用GPSBabel将轨迹转换成GPX格式

GPSBabel是一个免费、跨平台的转换程序。它可以直接从GPS读取数据,也可以转换不同的数据格式。


Windows系统

  1. 在sourceforge.net下载GPSBabel.
  2. 将下载的zip文件解压缩到一个目录, GPSBabel无需安装.
  3. 运行 GPSBabelgui.exe 文件.
  4. 在 Input 选择你的轨迹文件类型,选定你的原始轨迹文件.
  5. 在 Output 选择 GPX XML 并确定将转换后的文件名.
  6. 点击 "let's go".

Mac OS X系统

安装

  1. 在官方网站 downloads section下载GPSBabel. 在2009年八月, 供下载的 .dmg文件兼容 PPC 及 Intel 芯片的苹果电脑 (universal),系统版本为 10.4.x (Tiger) 及 10.5.x (Leopard).
  2. 装载 .dmg文件 (双击文件)
  3. 出现新窗口,内含两个文件 ("gpsbabel" 和 "GPSBabel+.app"). 在你的Mac OS X用户目录下任何位置创建一个新文件夹, 将两个文件拖入新文件夹.
  4. 卸载 .dmg文件 (将其推出). 现在你可以将 .dmg 文件删除.

Converting using the app

  1. Go to your specific GPSBabel newly created folder, and launch GPSBabel+.app
  2. Follow the same procedure as for Windows, beginning with point 4.

Converting using the Mac OS X Terminal

This procedure fits well with some GPS receivers (i.e. NaviGPS) which are not included in the .app GUI

  1. Launch Terminal.app in your Applications/Utilities folder
  2. type this command, adapting the parameters in italic to your configuration :

    /path to gpsbabel/gpsbabel -t -i [input format] -f [input file name] -o gpx -F [output file name]
    Here is a converting example : /Applications/gpsbabel -t -i navilink -f XXX.BIN -o gpx -F xxx.gpx

Linux系统

  1. 安装gpsbabel.
  2. 执行命令 gpsbabel -t -i [input format] -f [input file name] -o gpx -F [output file name] replacing the relevant parts.

其它

  1. 有许多图形界面可以简化GPSBabel的操作,详情参照GPSBabel。
  2. An alternative converter for tcx files is Jander's TCX to GPX converter. (Note: this does not work with the tcx files firect from an Edge device - see the todo about pretty formats)
  3. For Edge TCX files, try TCX Convertor.
  4. TangoGps - TangoGPS convert script
  5. You can also use the TCX-Support Plugin for JOSM to be able to directly open TCX Files. Check JOSM Plugins for more information.
  6. Prune can act as a frontend to GPSBabel or can open various file formats itself and convert to GPX.



返回

This article is issued from Openstreetmap. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.