maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS] [Announce] GPStuff - a GPS logger for Sailfish (https://talk.maemo.org/showthread.php?t=94420)

alfmar 2015-01-06 13:58

[Announce] GPStuff - a GPS logger for Sailfish
 
While commuting, I happen to stare at my phone looking at a bunch of wildly changing numbers. And I love to bookmark the exact location of some interesting spot while on the move. Finally, at home, sometimes I like to fiddle with my list of positions/speeds/altitudes.

Enter GPStuff, a GPS position logger for Sailfish OS.

Latest version and screenshots: openrepos - gpstuff

Installation prerequisite: until Jolla provides Qt5Positioning/Qt5Location libraries "provided" by default, you will need to install them manually using:
Code:

devel-su pkcon install qt5-qtpositioning qt5-qtlocation
Installation: the RPM file can be installed without setting external repositories:
Code:

devel-su rpm -Uvh harbour-gpstuff-*.rpm
Sources: available on github

Note: works also on SailfishX.

alfmar 2015-01-06 18:28

Re: [Announce] GPStuff - a GPS logger for Sailfish
 
Text (TAB-separated) and CSV (comma-separated) files are saved in $HOME/Documents/

Provided an entry "jolla" in the /etc/hosts file, I extract them using:
Code:

rsync -ave ssh --remove-source-files nemo@jolla:Documents/gps* ./mylogs/
File format is:
- Unix timestamp in milliseconds
- latitude (positive values means northern emisphere)
- longitude
- speed (converted to km/hour)
- altitude (meters, integer)
- satellites in view (integer)
- horizontal accuracy (meters)
- vertical accuracy (meters)
- heading (currently Jolla does not support it)
- flags (0: "normal"; 1: "bookmarked")

nodevel 2015-01-06 19:12

Re: [Announce] GPStuff - a GPS logger for Sailfish
 
Quote:

Originally Posted by alfmar (Post 1455543)
Installation prerequisite: until Jolla provides Qt5Positioning library by default, you will need to install it manually using:
Code:

devel-su pkcon install qt5-qtpositioning

Why can't you just make it a dependency of the rpm package?

alfmar 2015-01-06 19:19

Re: [Announce] GPStuff - a GPS logger for Sailfish
 
Example: how to extract bookmarked positions from saved files:

Code:

cat gps-20150106-002425.txt |
  grep 1$ |
  ruby -n -e 'r=$_.split; puts "#{Time.at(r.first.to_i/1000)}:  http://maps.google.com/maps?q=#{r[1]},#{r[2]}  (#{r[3]} km/hr)"'

2015-01-06 00:25:36 +0100: http://maps.google.com/maps?q=40.780963,14.573216 (22.3 km/hr)


Example: let world+dog know your position:
  • - activate GPStuff
  • - click on "Bookmark/copy position"
  • - switch to Sailfish main screen
  • - swipe from down (activates messaging and Twitter)
  • - begin writing a tweet: "I'm currently here: "
  • - press the Paste icon
  • - send

alfmar 2015-01-06 19:25

Re: [Announce] GPStuff - a GPS logger for Sailfish
 
Quote:

Originally Posted by nodevel (Post 1455604)
Why can't you just make it a dependency of the rpm package?

It seems that Jolla does not like (read rpm validator readme and harbour faq).

I delayed the release until SDK 1412 was available... and found that Sailfish 1.1 still refuses to "validate" a qt5-qtpositioning native app.

nodevel 2015-01-06 19:32

Re: [Announce] GPStuff - a GPS logger for Sailfish
 
Quote:

Originally Posted by alfmar (Post 1455607)
It seems that Jolla does not like (read rpm validator readme and harbour faq).

I delayed the release until SDK 1412 was available... and found that Sailfish 1.1 still refuses to "validate" a qt5-qtpositioning native app.

I know that but I was under the impression you don't intend to release it until Jolla supports qt5-qtpositioning.
Installation through OpenRepos should handle dependencies just fine, so I would go that way if I were you.


All times are GMT. The time now is 11:16.

vBulletin® Version 3.8.8