중요
번역은 여러분이 참여할 수 있는 커뮤니티 활동입니다. 이 페이지는 현재 36.51% 번역되었습니다.
24.2. 실시간 GPS 추적
QGIS can help you do field mapping with a GPS receiver. Such a live tracking operation is done using the GPS Toolbar. Some device configuration may be needed before connecting QGIS and the GPS receiver.
24.2.1. GPS toolbar
The GPS Toolbar provides the main tools to control a live tracking session. It can be activated from . It follows the state of the project, GPS, and current GPS track, and enables actions only when they make sense. Once a device is detected by QGIS, you will be able to interact with it:
Recenter map on GPS location: the map will immediately recenter on the current GPS position regardless of the automatic recentering parameter.
Set destination layer for GPS digitized features: By default, QGIS will Follow active layer for feature digitizing, meaning that GPS digitizing tools will adapt to the layer selected in Layers panel and created features will be stored in it accordingly. While this may be useful in some contexts, it also implies careful interaction with other layers to avoid storing inadvertently features in undesired layers. This option allows you to explicitly indicate a layer for the data storage during the live tracking session, and you could switch depending on your needs. Exposed tools will adapt as well to the selected layer type.
The GPS destination layer is made automatically editable when a feature is being created, and the user is notified accordingly.
actions for feature creation:
Show GPS information: opens the GPS Information panel
a display box for quick access to some GPS information components you may need:
The Settings button opens a drop-down menu with common settings which are expected to be modified mid-session:
Options to control map recentering:
Automatically add track vertices whenever new locations are received from the GPS device.
Automatically save added features: features created from GPS locations are immediately committed to their target layers (skipping the usual layer edit buffer)
Time stamp destination to adjust the field for time fix storage
Log to GeoPackage/SpatiaLite…: When activated, the user will be prompted to select an existing GeoPackage/SpatiaLite file or enter a new file name. A
gps_points
andgps_tracks
table will be created in the file with a predefined structure.All incoming GPS messages will be logged to the
gps_points
layer, along with speed, bearing, altitude and accuracy information from the GPS.When the GPS is disconnected (or QGIS closed), the entire recorded GPS track will be added to the
gps_tracks
table (along with some calculated information like track length, start and end times).Log NMEA sentences…: enables logging all raw NMEA strings from the device to a text file
GPS settings… to access the GPS global options dialog
팁
Live status bar information on position
When a GPS device is connected and the user moves the cursor over the map canvas, a live status bar message displays the distance and bearing from the cursor to the GPS position. Project distance and bearing settings are respected in this display. On a touch screen device, use a tap-and-hold event to trigger the live status bar message.
24.2.2. GPS Information Panel
For full monitoring of a live GPS tracking in QGIS, you may need to enable the GPS Information Panel ( or press Ctrl+0).
In the top right corner of the GPS Information Panel, you press Connect to initiate connection between QGIS and a plugged-in GPS receiver, or Disconnect them.
In the top left of the panel, following buttons are accessible:
Settings: drop-down menu to live tracking options you may need to modify during a session
24.2.2.1. 위치 및 추가 속성
In the Position tab, if the GPS is receiving signals from satellites, you will see your position in latitude, longitude and altitude together with additional attributes.
Latitude
Longitude
Altitude (Geoid): Altitude/elevation above or below the mean sea level
Altitude (WGS 84 ellipsoid): Altitude/elevation above or below the WGS-84 Earth ellipsoid
Geoidal separation: Difference between the WGS-84 Earth ellipsoid and mean sea level (geoid),
-
means mean sea level is below ellipsoidTime of fix
Speed: Ground speed
Direction: Bearing measured in degrees clockwise from true north to the direction of travel
HDOP: Horizontal dilution of precision
VDOP: Vertical dilution of precision
PDOP: Dilution of precision
H accuracy: Horizontal accuracy in meters
V accuracy: Vertical accuracy in meters
3D accuracy: 3D Root Mean Square (RMS) in meters
Mode: GPS receiver configuration 2D/3D mode, can be
automatic
ormanual
Dimensions: Position fix dimension, can be
2D
,3D
orNo fix
Quality: Positioning quality indicator
Status: Position fix status, can be
Valid
orInvalid
Satellites: Count of satellites used in obtaining the fix
Total track length: Total distance of current GPS track
Distance from start of track: Direct distance from first vertex in current GPS track to latest vertex
24.2.2.2. Signal
With Signal tab, you can see the signal strength of the satellites you are receiving signals from.
24.2.3. 실시간 추적을 위해 블루투스 GPS 기기에 연결
현장 데이터 수집을 위헤 QGIS에 블루투스 GPS 기기를 연결할 수 있습니다. 이 작업을 하려면 블루투스 GPS 기기와 사용자 컴퓨터 상에 있는 블루투스 수신기가 필요합니다.
먼저 사용자 컴퓨터가 GPS 기기를 인식하고 페어링해야만 합니다. GPS 기기의 전원을 켠 다음, 사용자 컴퓨터의 알림 영역에 있는 블루투스 아이콘을 클릭하고 새 장치를 검색하십시오.
장치 선택 화면의 우측에서 모든 장치 유형을 선택해서 사용자의 GPS 기기가 연결할 수 있는 장치 목록에 나타나도록 하십시오. 다음 단계에서 시리얼 연결 서비스를 선택할 수 있을 겁니다. 해당 연결을 선택한 다음 Configure 버튼을 누르십시오.
블루투스 속성에서 GPS 연결에 할당된 COM 포트 번호를 확인해서 기억해두십시오.
GPS 기기를 인식한 후, 페어링해서 연결하십시오. 대부분의 경우 인증 코드는 0000
입니다.
이제 QGIS에서 GPS information 패널을 열고 GPS 옵션 화면으로 전환하십시오. GPS 연결에 할당된 COM 포트 번호를 선택한 다음 Connect 버튼을 클릭하십시오. 잠시 후 사용자의 위치를 나타내는 커서가 나타날 것입니다.
QGIS가 GPS 데이터를 받지 못 하는 경우, 사용자 GPS 기기를 재시작하고 5 ~ 10초 동안 기다린 다음 다시 연결을 시도해야 합니다. 대부분의 경우 이렇게 하면 해결됩니다. 다시 연결 오류가 발생한다면 사용자 GPS 기기와 연결된 다른 블루투스 수신기가 근처에 있는지 확인해보십시오.
24.2.4. Examples of GPS devices connection in QGIS
24.2.4.1. GPSMAP 60cs 사용법
MS 윈도우
이 GPS 기기를 가장 쉽게 사용하는 방법은 GPSGate 라는 (공개 소프트웨어는 아니지만 자유 소프트웨어인) 미들웨어입니다.
Launch the program, make it scan for GPS devices (works for both USB and BT ones) and then in QGIS:
우분투/민트 GNU/리눅스
윈도우와 마찬가지로 미들웨어를 사용하는 것이 가장 쉬운 방법입니다. 이 경우에는 gpsd
를 다음과 같이 설치하십시오:
Install the program
sudo apt install gpsd
그리고
garmin_gps
커널 모듈을 다음과 같이 불러오십시오:sudo modprobe garmin_gps
And then connect the unit and check with
dmesg
the actual device being used by the unit, for example/dev/ttyUSB0
.Now you can launch gpsd
gpsd /dev/ttyUSB0
마지막으로 QGIS의 실시간 GPS 추적 도구와 연결하십시오.
24.2.4.2. BTGP-38KM DataLogger (블루투스 전용)
gpsd
(리눅스) 또는 GPSGate (윈도우) 프로그램을 사용하는 것이 가장 쉬운 방법입니다.
24.2.4.3. BlueMax GPS-4044 DataLogger (블루투스 및 USB 둘 다)
MS 윈도우
The live tracking works for both USB and BT modes, by using GPSGate or even without it, just use the Autodetect mode, or point the tool to the right port.
우분투/민트 GNU/리눅스
USB 연결
다음과 같이 gpsd
를 통해 실시간 추적을 할 수도 있고:
gpsd /dev/ttyACM3
또는 gpsd
를 사용하지 않고 QGIS 실시간 GPS 추적 도구에 기기를 직접 (예: /dev/ttyACM3
) 연결해서 실시간 추적을 할 수도 있습니다.
블루투스 연결
다음과 같이 gpsd
를 통해 실시간 추적을 할 수도 있고:
gpsd /dev/rfcomm0
또는 gpsd
를 사용하지 않고 QGIS 실시간 GPS 추적 도구에 기기를 직접 (예: /dev/rfcomm0
) 연결해서 실시간 추적을 할 수도 있습니다.