gpscon

Rating: 
5
Your rating: None Average: 5 (1 vote)

Gpscon is a command line tool to acquire the gps position with the qtlocation api.

Furthermore it has a logfile support with gpx export function.

Start with the following command: /opt/gpscon/bin/gpscon --help

/opt/gpscon/bin/gpscon

without parameter gpscon will be in endless loop and print to stdout: Latitude; Longitude; Altitude
The application exits with:x+[enter]
t+[enter]: will mark a new track in the logfile.
s+[enter]: will mark a new track segment in the logfile.

[--fout]
will enhance the output with additional values: Direction; Ground Speed; Vertical Speed;
Horizontal Acc;Vertical Acc

[--sat]
with this option also the satellite status will be requested and printed out
"Using x of x satellites"

[posm=string]
this will select the positioning method. Default is all.
string=all |AllPositioningMethods
string=onlysat |SatellitePositioningMethods
string=nonesat |NonSatellitePositioningMethods

[interval=integer]
This property holds the requested interval in milliseconds between each update.
If the update interval is not set (or is set to 0) the source will provide updates as often as necessary.
If the update interval is set, the source will provide updates at an interval as close to the requested interval as possible. If the requested interval is less than the minimumUpdateInterval(), the minimum interval is used instead.

[runs=integer]
sets the amount on how many requests are made before exit

[limit=integer]
sets the limit of the needed horizontal/vertical accuracy value before print out.
There will be only one print out and after this the app is closing

[log=string]
writing to a log file
string=txt |write/append gpscon.log to user dir
string=gpx |write/append gpscon.log to user dir after last run or exit, the log file will be converted and written to gpscon.gpx in user dir
string=log2gpx |convert log to gpx and exit.

[tout=integer]
sets the timeout for aquire a gps position in seconds.

[--del]
If log file exists it will be removed

[--date]
adds date to output

[--time]
adds time to output

[--newtrack]
will mark in the log file a new track. When converting to gpx old log file data and new data will be visible as separate track.

[--lknv]
This should output the last known value once at first (debug). If runs=1 it will only print the last known value out and quit.

[--script]
Will deactivate the user input which causes trouble with cron or python scripts. This option is recommended when using gpscon with scripts.

[--help]
prints help

Screenshots: 
Application versions: 
AttachmentSizeDate
gpscon_0.0.4ham1_armel.deb17.22 KB13/11/2015 - 04:48
gpscon_0.0.6ham1_armel.deb29.81 KB22/11/2015 - 18:21
gpscon_0.0.7ham1_armel.deb31.3 KB26/12/2015 - 18:32
gpscon_0.0.8ham1_armel.deb31.57 KB28/02/2016 - 01:00
gpscon_0.0.9ham1_armel.deb32.78 KB28/11/2016 - 17:24
gpscon_0.0.10ham1_armel.deb33.49 KB01/12/2016 - 13:43
Changelog: 

* Tue Nov 29 2016 Halftux  0.0.10-1
- added track segment to gpx export

* Sun Nov 27 2016 Halftux  0.0.9-1
- added timeout function

* Sat Feb 27 2016 Halftux  0.0.8-1
- added script option (deactivate user input)

* Sun Nov 22 2015 Halftux  0.0.7-1
- added convert status
- added mark tracks in log file

* Sun Nov 22 2015 Halftux  0.0.6-1
- added icon to debian package
- changed package description
- changed category to navigation