55 Commits

Author SHA1 Message Date
Nyall Dawson
4afcddf739 Refactor to move gps logged positions to QgsGeometry method out
to base class
2022-11-23 13:54:18 +10:00
Nyall Dawson
3e818b942b Split out qgsgpsconnection files into modular components 2022-11-17 20:13:41 +10:00
Nyall Dawson
cdffe2ef90 Add option to skip edit buffer when logging GPS to vector layer 2022-11-16 20:13:43 +10:00
Nyall Dawson
281f1d0d0c Make QgsVectorLayerGpsLogger API easier to use, and add capacity
to store all GPS information components
2022-11-14 18:00:29 +10:00
Nyall Dawson
b572e54622 Add more GPS component flags 2022-11-14 18:00:29 +10:00
Nyall Dawson
09b0d0c2ed Fix build 2022-11-14 18:00:29 +10:00
Nyall Dawson
14930d87e1 Sipify 2022-11-14 18:00:29 +10:00
Nyall Dawson
3e532a3897 Fix clang warning 2022-11-14 18:00:29 +10:00
Nyall Dawson
154ab209ce Hook up feature creation in QgsVectorLayerGpsLogger 2022-11-14 18:00:29 +10:00
Nyall Dawson
d5c05e3b17 Refactor out GPS logging classes, so that they share a common base class
Moves GPS track logging logic out of app and into core so that it
can be resused in a generic way.
2022-11-14 18:00:29 +10:00
Nyall Dawson
669fb4b9c0 Add layer fields to QgsGpsLogger 2022-11-14 18:00:29 +10:00
Nyall Dawson
f902248a84 Fix dox 2022-11-14 18:00:29 +10:00
Nyall Dawson
6571b9b573 Empty structure for logger 2022-11-14 18:00:29 +10:00
Nyall Dawson
cc7e5e3769 [gps][feature] Add an explicit "Offset from UTC" option for
storing GPS feature timestamps

This option allows users to manually enter a desired offset from
UTC for storing GPS time stamps. This allows for full flexibility
for users who need to account for daylight savings offsets or
other complex time zone issues.

Sponsored by NIWA
2022-11-08 18:52:17 +10:00
Nyall Dawson
b436282b59 Add GPS Component enum, useful for referring to specific pieces
of GPS information in a generic way
2022-11-08 18:43:39 +10:00
Nyall Dawson
2d4e6ce0e5 Use settings registry for all gps settings 2022-11-04 11:24:05 +10:00
Nyall Dawson
16e81df0aa Record last valid location in GPS connection and add changed signal 2022-11-01 16:08:15 +10:00
Nyall Dawson
fa185872cb Add constellation information to QgsGpsInformation and handle GPS fix type across different constellations 2022-11-01 16:08:15 +10:00
Nyall Dawson
3a89b5505b Add fix status changed signal to QgsGpsConnection 2022-10-31 17:22:54 +10:00
Nyall Dawson
f79eaf61e8 Cleanup GPS fix status handling, remove duplicate code 2022-10-31 17:22:54 +10:00
Nyall Dawson
5840af01dc [gps] Move 'calculate bearing from travel direction' setting to
options GPS pane
2022-10-27 13:37:14 +10:00
Nyall Dawson
2223e19f63 [gps] Move GPS track point filtering settings to settings GPS pane
These are infrequently changed settings
2022-10-27 13:37:14 +10:00
Nyall Dawson
4c3ab10058 [gps] Move GPS connection settings from GPS information panel
to GPS options tab in QGIS settings

This is a more of a "set once and forget" setting, vs something
which needs to be frequently changed and always right in the user's
face.
2022-10-27 13:37:14 +10:00
Mauro Bettella
c8192cb71c
Added GNSS constellation abbreviation (#50205) 2022-09-16 06:58:07 +10:00
Mathieu Pellerin
52a34cc7b7 [positioning] Add missing equal-to operator to the QgsSatelliteInfo class 2022-07-08 10:05:10 +10:00
Mathieu Pellerin
5bbad02806 [nmea] Convert RMC mode indicator to its equivalent signal variant to provide accurate quality description 2022-03-28 13:57:22 +07:00
Juergen E. Fischer
c6008b7ee1 fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
reverting 3fb0f66 (followup #45348)

Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00
nirvn
ef84e48a09 Run sipify_all.sh 2021-10-12 16:34:05 +10:00
Denis Rouzaud
ec16736306 run sipify 2021-10-12 16:34:05 +10:00
Nyall Dawson
47f7612004 Add flag to babel command generation methods to control whether
paths should be quoted
2021-08-02 13:36:46 +10:00
Nyall Dawson
377f1d42ec Make QgsBabelFormatRegistry responsible for generating a file
filter string for all import formats
2021-08-02 13:36:46 +10:00
Nyall Dawson
ebd7d0c50d Add file extensions for babel import formats 2021-08-02 13:36:46 +10:00
Nyall Dawson
3ee1f2b2b5 Rework QgsBabelSimpleImportFormat to avoid storing using keys
based on the format description, and instead use the (constant)
format name instead
2021-08-02 13:36:46 +10:00
Nyall Dawson
612af1fb7b Add a registry for GPSbabel formats 2021-07-31 10:12:16 +10:00
Nyall Dawson
0a77401d1c Add python bindings 2021-07-30 16:07:36 +10:00
Matthias Kuhn
ff3be3df40 Remove QTMOBILITY
It's days are gone
2021-06-19 06:20:57 +10:00
Denis Rouzaud
ba8a445850 run sipify 2021-03-22 21:13:52 +01:00
Nyall Dawson
7dfef3a0b1 Newer doxygen versions don't auto convert the first line in a class'
documentation to a brief note, so we have to do it explicitly...
2021-02-19 08:15:29 +10:00
Nyall Dawson
50b9beaad6 [sipify] Catch more class references and insert :py:class: annotations 2021-01-31 05:41:22 +10:00
Matthias Kuhn
74d053242e Add new field for geoid-ellipsoid diff 2021-01-12 10:25:19 +10:00
Matthias Kuhn
e0ad337a2f NMEA calculate 3D RMS 2021-01-11 12:25:05 +10:00
Jürgen Fredriksson
4ca7cd3d63
More detail on GGA quality indicator (#38234)
- UPDATE mTxtAltitude, mTxtHacc and mTxtVacc because GNSS receivers can output higher accuracy! (RTK)

According to https://www.gpsinformation.org/dale/nmea.htm#GGA I suggest an update to the quality information for the GGA sentence.
Since RTK solutions become more and more standard the info.quality "Fix RTK" is a very important information!
2020-09-01 14:28:21 +10:00
Nyall Dawson
f496173bd7 Fix messy doxygen blocks which mess with sipify script
Fixes #38291
2020-08-20 17:01:35 +10:00
Nyall Dawson
81a9db9f57 [sipify] Fix creation of cross references 2020-06-15 13:43:58 +10:00
Nyall Dawson
4179b17144 Some memory modernization in QgsGpsDetector
But unfortunately the public API used here is extremely fragile and
either crash prone or leaky -- it needs revisiting for 4.0
2020-01-13 13:45:34 +13:00
Nyall Dawson
d8a40818f0 Dox++ 2020-01-13 13:45:34 +13:00
Nyall Dawson
a0c455b292 [gps] Add missing Transfer annotation 2020-01-13 13:45:34 +13:00
Nyall Dawson
494b52b231 [gps] Sync some changes from a fork of nmealib, and add support for
handling HCHDG and HCHDT heading packets
2020-01-07 12:29:19 +13:00
Nyall Dawson
d182cf2d76 [gps] Correctly set initial value of hoz/vert accuracy and direction as not available 2019-12-06 04:50:53 +10:00
Nyall Dawson
6b5f983ad6 [gps] Add support for GPHDT heading from true north messages 2019-12-06 04:50:53 +10:00