27.1.4. GPS

27.1.4.1. Convert GPS data

Uses the GPSBabel tool to convert a GPS data file from a range of formats to the GPX standard format.

パラメータ

ラベル

名前

データ型

説明

Input file

INPUT

[ファイル]

File containing the data to convert

Format

FORMAT

[列挙型]

Format of the file to convert, from this list.

Feature type

FEATURE_TYPE

[列挙型]

デフォルト: 0

The type of data to convert

  • 0 --- Waypoints

  • 1 --- Routes

  • 2 --- Tracks

出力

OUTPUT

[ベクタ:任意]

デフォルト: [一時ファイルに保存]

Specification of the output GPX file. One of:

  • 一時ファイルに保存

  • ファイルに保存...

出力

ラベル

名前

データ型

説明

オーバーラップ

OUTPUT_LAYER

[ベクタ:任意]

Output layer with data in GPX standard format

Python コード

Algorithm ID: native:convertgpsdata

import processing
processing.run("algorithm_id", {parameter_dictionary})

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

27.1.4.2. Convert GPX feature type

Uses the GPSBabel tool to convert GPX features from one type to another (e.g. converting all waypoint features to a route).

パラメータ

ラベル

名前

データ型

説明

Input file

INPUT

[ファイル]

File containing the data to convert

Conversion

CONVERSION

[列挙型]

デフォルト: 0

The type of conversion to apply

  • 0 --- Waypoints from a route

  • 1 --- Waypoints from a track

  • 2 --- Routes from waypoints

  • 3 --- Tracks from waypoints

出力

OUTPUT

[vector: point or line]

デフォルト: [一時ファイルに保存]

出力ファイルを指定します。次のいずれかです:

  • 一時ファイルに保存

  • ファイルに保存...

出力

ラベル

名前

データ型

説明

出力

OUTPUT

[ベクタ:任意]

Output layer with converted GPX features

Python コード

Algorithm ID: native:convertgpxfeaturetype

import processing
processing.run("algorithm_id", {parameter_dictionary})

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

27.1.4.3. Download GPS data from device

Uses the GPSBabel tool to download data from a GPS device into the GPX standard format.

パラメータ

ラベル

名前

データ型

説明

Device

DEVICE

[列挙型]

Default:Garmin serial

The GPS device used to create the data. Must be declared in GPS Settings dialog.

Port

PORT

[列挙型]

The port the device is connected to. Available ports depend on the OS.

Feature type

FEATURE_TYPE

[列挙型]

デフォルト: 0

The type of data to convert

  • 0 --- Waypoints

  • 1 --- Routes

  • 2 --- Tracks

出力

OUTPUT

[ベクタ:任意]

デフォルト: [一時ファイルに保存]

出力ファイルを指定します。次のいずれかです:

  • 一時ファイルに保存

  • ファイルに保存...

出力

ラベル

名前

データ型

説明

オーバーラップ

OUTPUT_LAYER

[ベクタ:任意]

Output layer with data in GPX standard format

Python コード

Algorithm ID: native:downloadgpsdata

import processing
processing.run("algorithm_id", {parameter_dictionary})

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

27.1.4.4. Upload GPS data to device

Uses the GPSBabel tool to upload data to a GPS device from the GPX standard format.

パラメータ

ラベル

名前

データ型

説明

Input file

INPUT

[ファイル]

.GPX file containing the data to upload

Device

DEVICE

[列挙型]

Default:Garmin serial

The GPS device you would like to upload the data to. Must be declared in GPS Settings dialog.

Port

PORT

[列挙型]

The port the device is connected to. Available ports depend on the OS.

Feature type

FEATURE_TYPE

[列挙型]

デフォルト: 0

The type of data to upload

  • 0 --- Waypoints

  • 1 --- Routes

  • 2 --- Tracks

出力

No output is provided. If successful, data are loaded to the device.

Python コード

Algorithm ID: native:uploadgpsdata

import processing
processing.run("algorithm_id", {parameter_dictionary})

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。