Project: QGIS

Version: 3.44

Feature: Expose QGIS GPS Tools to Python API and Plugins

The GPS tools class is now available in the PyQGIS API via a brand new QgsAppGpsTools class, accessed via QgisInterface::gpsTools(), so that plugins have more control on the QGIS GPS tracking session.
From QGIS 3.44 on, plugins can create a vector layer feature from the current GPS track, using the method iface.gpsTools().createFeatureFromGpsTrack().
This also exposes additional functionalities, such as setting the GPS track line symbol by changing the corresponding setting in QgsOptions and updating the eventual current GPS track geometry accordingly, e.g. iface.gpsTools().setGpsTrackLineSymbol( line_symbol )

This feature was funded by the Danish Nature Agency, Naturstyrelsen

This feature was developed by Germán Carrillo