29.1.4. ကမ္ဘာလုံးဆိုင်ရာတည်နေရာပြစနစ် (GPS)

29.1.4.1. GPS data ကိုအခြားဒေတာအဖြစ်ပြောင်းခြင်း (Convert GPS data)

GPS data file တစ်ခုကို format အမျိုးမျိုးမှ GPX စံ format အဖြစ်သို့ပြောင်းလဲရန် GPSBabel tool ကိုအသုံးပြုပါသည်။

သတ်မှတ်ချက်များ (Parameters)

အညွှန်း

အမည်

အမျိုးအစား

ရှင်းလင်းဖော်ပြချက်

Input file (ထည့်သွင်းအသုံးပြုသော file)

INPUT

[file]

ပြောင်းလဲရန် data များပါဝင်သော file

Format

FORMAT

[enumeration]

ဤစာရင်း မှ ပြောင်းလဲမည့် file format

Feature type (Feature အမျိုးအစား)

FEATURE_TYPE

[enumeration]

Default: 0

ပြောင်းလဲမည့် data အမျိုးအစား

  • 0 — Waypoints (အမှတ်များ)

  • 1 — Routes (ခရီးစဉ်လမ်းကြောင်းများ)

  • 2 — Tracks (ခြေရာခံလမ်းကြောင်းများ)

Output (ရလာဒ်များ)

OUTPUT

[vector: any]

Default: [Save to temporary file] ([ယာယီ file အဖြစ်သိမ်းဆည်းပါ])

Output GPX file ၏ သီးခြားသတ်မှတ်ချက်။ အောက်ပါတို့ထဲမှ တစ်ခုခုဖြစ်ပါသည် -

  • ယာယီ file တစ်ခုတွင် သိမ်းဆည်းပါ

  • File တွင်သိမ်းဆည်းပါ

ရလာဒ်များ (Outputs)

အညွှန်း

အမည်

အမျိုးအစား

ရှင်းလင်းဖော်ပြချက်

Output layer

OUTPUT_LAYER

[vector: any]

GPX standard format ဖြင့် data များပါဝင်သော output layer

Python code

Algorithm ID: native:convertgpsdata

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

Processing Toolbox ထဲရှိ algorithm ပေါ်တွင် mouse ကိုတင်ထားလျှင် algorithm id ကိုပြသပေးပါသည်။ parameter dictionary သည် parameter နာမည်များနှင့် တန်ဖိုးများကို ပေးပါသည်။ Python console မှ algorithm များကို မည်သို့လုပ်ဆောင်ရမည် ဆိုသည့် အသေးစိတ်ကို သိရှိလိုလျှင် Console တွင် processing algorithm များကို အသုံးပြုခြင်း တွင်ကြည့်ပါ။

29.1.4.2. GPX feature အမျိုးအစားပြောင်းခြင်း (Convert GPX feature type)

GPX feature များကို အမျိုးအစားတစ်ခုမှ အခြားအမျိုးအစားသို့ပြောင်းလဲရန် (ဥပမာ- waypoint များအားလုံးကို route တစ်ခုအဖြစ်ပြောင်းလဲခြင်း) GPSBabel tool ကိုအသုံးပြုပါသည်။

သတ်မှတ်ချက်များ (Parameters)

အညွှန်း

အမည်

အမျိုးအစား

ရှင်းလင်းဖော်ပြချက်

Input file (ထည့်သွင်းအသုံးပြုသော file)

INPUT

[file]

ပြောင်းလဲရန် data များပါဝင်သော file

Conversion (ပြောင်းလဲခြင်း)

CONVERSION

[enumeration]

Default: 0

အသုံးပြုမည့် ပြောင်းလဲခြင်း အမျိုးအစား

  • 0 — Waypoints from a route (Route တစ်ခုမှ Waypoint များသို့)

  • 1 — Waypoints from a track (Track တစ်ခုမှ Waypoint များသို့)

  • 2 — Routes from waypoints (Waypoint များမှ Route များသို့)

  • 3 — Tracks from waypoints (Waypoint များမှ Track များသို့)

Output (ရလာဒ်များ)

OUTPUT

[vector: point သို့မဟုတ် line]

Default: [Save to temporary file] ([ယာယီ file အဖြစ်သိမ်းဆည်းပါ])

Output file ၏ သီးခြားသတ်မှတ်ချက်။ အောက်ပါတို့ထဲမှ တစ်ခုခုဖြစ်ပါသည် -

  • ယာယီ file တစ်ခုတွင် သိမ်းဆည်းပါ

  • File တွင်သိမ်းဆည်းပါ

ရလာဒ်များ (Outputs)

အညွှန်း

အမည်

အမျိုးအစား

ရှင်းလင်းဖော်ပြချက်

Output

OUTPUT

[vector: any]

ပြောင်းလဲထားသော GPX feature များဖြင့် output layer

Python code

Algorithm ID: native:convertgpxfeaturetype

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

Processing Toolbox ထဲရှိ algorithm ပေါ်တွင် mouse ကိုတင်ထားလျှင် algorithm id ကိုပြသပေးပါသည်။ parameter dictionary သည် parameter နာမည်များနှင့် တန်ဖိုးများကို ပေးပါသည်။ Python console မှ algorithm များကို မည်သို့လုပ်ဆောင်ရမည် ဆိုသည့် အသေးစိတ်ကို သိရှိလိုလျှင် Console တွင် processing algorithm များကို အသုံးပြုခြင်း တွင်ကြည့်ပါ။

29.1.4.3. GPS data များကို download ရယူခြင်း (Download GPS data from device)

GPS ကိရိယာမှ data များကို GPX စံ format ဖြင့် download ရယူရန် GPSBabel tool ကိုအသုံးပြုပါသည်။

သတ်မှတ်ချက်များ (Parameters)

အညွှန်း

အမည်

အမျိုးအစား

ရှင်းလင်းဖော်ပြချက်

Device

DEVICE

[enumeration]

Default:Garmin serial

Data ဖန်တီးရန်အသုံးပြုသော GPS ကိရိယာ ။ GPS Settings dialog ထဲတွင် အတိအလင်းဖော်ပြပေးထားရပါမည်။

Port (ချိတ်ဆက်မည့်နေရာ)

PORT

[enumeration]

GPS ကိရိယာ ချိတ်ဆက်မည့်နေရာ။ အသုံးပြုနိုင်သော port များသည် OS ပေါ်တွင် မူတည်ပါသည်။

Feature type (Feature အမျိုးအစား)

FEATURE_TYPE

[enumeration]

Default: 0

ပြောင်းလဲရန် data အမျိုးအစား

  • 0 — Waypoints

  • 1 — Routes

  • 2 — Tracks

Output (ရလာဒ်များ)

OUTPUT

[vector: any]

Default: [Save to temporary file] ([ယာယီ file အဖြစ်သိမ်းဆည်းပါ])

Output file ၏ သီးခြားသတ်မှတ်ချက်။ အောက်ပါတို့ထဲမှ တစ်ခုခုဖြစ်ပါသည် -

  • ယာယီ file တစ်ခုတွင် သိမ်းဆည်းပါ

  • File တွင်သိမ်းဆည်းပါ

ရလာဒ်များ (Outputs)

အညွှန်း

အမည်

အမျိုးအစား

ရှင်းလင်းဖော်ပြချက်

Output layer (ရလာဒ် layer)

OUTPUT_LAYER

[vector: any]

GPX စံ format ဖြင့် data များပါဝင်သော output layer

Python code

Algorithm ID: native:downloadgpsdata

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

Processing Toolbox ထဲရှိ algorithm ပေါ်တွင် mouse ကိုတင်ထားလျှင် algorithm id ကိုပြသပေးပါသည်။ parameter dictionary သည် parameter နာမည်များနှင့် တန်ဖိုးများကို ပေးပါသည်။ Python console မှ algorithm များကို မည်သို့လုပ်ဆောင်ရမည် ဆိုသည့် အသေးစိတ်ကို သိရှိလိုလျှင် Console တွင် processing algorithm များကို အသုံးပြုခြင်း တွင်ကြည့်ပါ။

29.1.4.4. GPS ကိရိယာထဲသို့ data များထည့်ခြင်း (Upload GPS data to device)

GPX စံ format မှ data များကို GPS ကိရိယာထဲသို့ထည့်သွင်းရန် GPSBabel tool <https://www.gpsbabel.org/index.html> ကိုအသုံးပြုပါသည်။

သတ်မှတ်ချက်များ (Parameters)

အညွှန်း

အမည်

အမျိုးအစား

ရှင်းလင်းဖော်ပြချက်

Input file (ထည့်သွင်းအသုံးပြုသော file)

INPUT

[file]

ထည့်သွင်းရန် data များပါဝင်သော .GPX file

Device

DEVICE

[enumeration]

Default:Garmin serial

Data ထည့်သွင်းလိုသော GPS ကိရိယာ။ GPS Settings dialog ထဲတွင် အတိအလင်းဖော်ပြထားရပါမည်။

Port (ချိတ်ဆက်မည့်နေရာ)

PORT

[enumeration]

GPS ကိရိယာ ချိတ်ဆက်မည့်နေရာ။ အသုံးပြုနိုင်သော port များသည် OS ပေါ်တွင် မူတည်ပါသည်။

Feature type (Feature အမျိုးအစား)

FEATURE_TYPE

[enumeration]

Default: 0

ထည့်သွင်းမည့် data အမျိုးအစား

  • 0 — Waypoints

  • 1 — Routes

  • 2 — Tracks

ရလာဒ်များ (Outputs)

Output မရှိပါ။ လုပ်ဆောင်ပြီးသွားလျှင် data များကို ကိရိယာထဲသို့ထည့်သွင်းပြီးသား ဖြစ်သွားပါလိမ့်မည်။

Python code

Algorithm ID: native:uploadgpsdata

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

Processing Toolbox ထဲရှိ algorithm ပေါ်တွင် mouse ကိုတင်ထားလျှင် algorithm id ကိုပြသပေးပါသည်။ parameter dictionary သည် parameter နာမည်များနှင့် တန်ဖိုးများကို ပေးပါသည်။ Python console မှ algorithm များကို မည်သို့လုပ်ဆောင်ရမည် ဆိုသည့် အသေးစိတ်ကို သိရှိလိုလျှင် Console တွင် processing algorithm များကို အသုံးပြုခြင်း တွင်ကြည့်ပါ။