Ważne

Tłumaczenie jest wysiłkiem społeczności QGISa przyłącz się. Ta strona jest obecnie przetłumaczona w 66.04%.

24.1.5. GPS

24.1.5.1. Convert GPS data

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

Parametry

Etykieta

Nazwa

Typ

Opis

Plik wejściowy

INPUT

[plik]

File containing the data to convert

Format

FORMAT

[wyliczenie]

Format of the file to convert, from this list.

Feature type

FEATURE_TYPE

[wyliczenie]

Domyślnie: 0

The type of data to convert

  • 0 — Waypoints

  • 1 — Routes

  • 2 — Tracks

Wynik

OUTPUT

[vector: any]

Domyślnie: [Zapisz do pliku tymczasowego]

Specification of the output GPX file. One of:

  • Zapisz do pliku tymczasowego

  • Zapisz do pliku…

Wyniki

Etykieta

Nazwa

Typ

Opis

Warstwa wynikowa

OUTPUT_LAYER

[vector: any]

Output layer with data in GPX standard format

Kod pythona

ID algorytmu: native:convertgpsdata

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

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.

24.1.5.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).

Parametry

Etykieta

Nazwa

Typ

Opis

Plik wejściowy

INPUT

[plik]

File containing the data to convert

Conversion

CONVERSION

[wyliczenie]

Domyślnie: 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

Wynik

OUTPUT

[vector: point or line]

Domyślnie: [Zapisz do pliku tymczasowego]

Specification of the output file. One of:

  • Zapisz do pliku tymczasowego

  • Zapisz do pliku…

Wyniki

Etykieta

Nazwa

Typ

Opis

Wynik

OUTPUT

[vector: any]

Output layer with converted GPX features

Kod pythona

ID algorytmu: native:convertgpxfeaturetype

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

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.

24.1.5.3. Download GPS data from device

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

Parametry

Etykieta

Nazwa

Typ

Opis

Device

DEVICE

[wyliczenie]

Default:Garmin serial

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

Port

PORT

[wyliczenie]

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

Feature type

FEATURE_TYPE

[wyliczenie]

Domyślnie: 0

The type of data to convert

  • 0 — Waypoints

  • 1 — Routes

  • 2 — Tracks

Wynik

OUTPUT

[vector: any]

Domyślnie: [Zapisz do pliku tymczasowego]

Specification of the output file. One of:

  • Zapisz do pliku tymczasowego

  • Zapisz do pliku…

Wyniki

Etykieta

Nazwa

Typ

Opis

Warstwa wynikowa

OUTPUT_LAYER

[vector: any]

Output layer with data in GPX standard format

Kod pythona

ID algorytmu: native:downloadgpsdata

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

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.

24.1.5.4. Upload GPS data to device

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

Parametry

Etykieta

Nazwa

Typ

Opis

Plik wejściowy

INPUT

[plik]

.GPX file containing the data to upload

Device

DEVICE

[wyliczenie]

Default:Garmin serial

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

Port

PORT

[wyliczenie]

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

Feature type

FEATURE_TYPE

[wyliczenie]

Domyślnie: 0

The type of data to upload

  • 0 — Waypoints

  • 1 — Routes

  • 2 — Tracks

Wyniki

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

Kod pythona

ID algorytmu: native:uploadgpsdata

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

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.