maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M5] [Announce] GPXSee viewer for gps track files (https://talk.maemo.org/showthread.php?t=98770)

Halftux 2017-01-18 21:54

[Announce] GPXSee viewer for gps track files
 
1 Attachment(s)
GPXSee is a Qt-based GPS log file viewer and analyzer that supports GPX, TCX, KML, FIT, IGC and NMEA files.
  • User-definable map sources.
  • Elevation, speed, heart rate, cadence, power and temperature graphs.
  • Support for multiple tracks in one view.
  • Support for POI files.
  • Export to PDF.
  • Full-screen mode.


To load user defined map source tiles you need to create a maps.txt in "/home/user/.gpxsee"
or versions >=5.6 a mapname.xml in "/home/user/.gpxsee/maps.
When you downloading many tiles take care of your free memory maybe make a symlink ln -s /home/user/MyDocs/maps/tiles home/user/.gpxsee/tiles same technic apply accordingly for offline maps.

Therefore you need to create the folder ".gpxsee" make sure everyone has write and read access (chmod 777).

maps.txt example for openstreetmaps until maemo gpxsee version 4.16:
Code:

Map1    http://tile.openstreetmap.org/$z/$x/$y.png
Version >= 5.6 the map file is in xml format.
For additional map sources you can have a look here https://github.com/tumic0/GPXSee-maps

GPXSee is in extras-devel repository.
Or you can find it on openrepos.

For further shortcuts open keyboard controls from the application menu.
Menu entries beginning with "->" will go to another menu.
Menu entries ending with "..." will open a dialog.

With a mouse right click (long tap) you can change the units (metric/imperial), the axis (distance/time) and you can choose the map source.

If you have more gpx files in the opening folder, you can switch between them with ctrl+left and ctrl+right.

Zooming works when the map is active with the volume buttons. You could also use a mouse double click.
Since version 5.13 you could use "o"-key and "l"-key for zooming and in the last zoom step whit shift+o and shift+l you will have digital zooming.


Support for the last released version:
GPX, TCX, FIT, KML, IGC, NMEA, OziExplorer (PLT, RTE, WPT) and Garmin CSV
  • GPS data
  • Heart rate
  • Cadence
  • Power
  • Temperature
  • Gear ratio/shifts (Shimano Di2, SRAM eTap)

https://openrepos.net/sites/default/...t-gpxsee03.png

https://openrepos.net/sites/default/...t-gpxsee02.png

Have a look in the coding competition thread for happy voting.

handaxe 2017-01-23 17:33

Re: [Announce] GPXSee viewer for gps track files
 
Using this map:
Hike&Bike http://a.tiles.wmflabs.org/hikebike/$z/$x/$y.png

the map does not display until one moves the slippy map around then the off-screen part is seen as "painted" and you can then do enough movements to get the map displayed.

OpenTopo https://a.tile.opentopomap.org/$z/$x/$y.png

does not display at all, even though the URL works in browser. See for eg. https://a.tile.opentopomap.org/14/8695/5583.png

Looks good.

Halftux 2017-01-23 18:12

Re: [Announce] GPXSee viewer for gps track files
 
Quote:

Originally Posted by handaxe (Post 1522372)
Using this map:
Hike&Bike http://a.tiles.wmflabs.org/hikebike/$z/$x/$y.png

the map does not display until one moves the slippy map around then the off-screen part is seen as "painted" and you can then do enough movements to get the map displayed.

Thank you for trying. So you see your track on a white background and when you are moving the map, tiles get loaded in principle with a shift to your track?
It could be that there is already a commit on git about some correction for the tiles calculation. Will see if I can reproduce this behavior until now never observed this.


Quote:

Originally Posted by handaxe (Post 1522372)
OpenTopo https://a.tile.opentopomap.org/$z/$x/$y.png

does not display at all, even though the URL works in browser. See for eg. https://a.tile.opentopomap.org/14/8695/5583.png

Looks good.

Yes I had the same experience, it seems that https is not supported I will have a look into it.

schorsch 2017-01-23 21:02

Re: [Announce] GPXSee viewer for gps track files
 
That's exactly what I miss on my jolla. Could someone port this :confused: :)?!

handaxe 2017-01-23 21:40

Re: [Announce] GPXSee viewer for gps track files
 
Quote:

Originally Posted by Halftux (Post 1522374)
So you see your track on a white background and when you are moving the map, tiles get loaded in principle with a shift to your track?

As best I can see, there is no shift to the track. Unless I misunderstand you.

Halftux 2017-01-24 12:14

Re: [Announce] GPXSee viewer for gps track files
 
Quote:

Originally Posted by handaxe (Post 1522387)
As best I can see, there is no shift to the track. Unless I misunderstand you.

I guess problems related to tiles were already downstream fixed. So I uploaded a new version and it has free scrolling of the map now.

And yes there is a ssl handshake problem. It seems that I need to implement a ssl-socket connection. Never did this before so now it is time for reading and learning.

Halftux 2017-01-24 12:28

Re: [Announce] GPXSee viewer for gps track files
 
Quote:

Originally Posted by schorsch (Post 1522383)
That's exactly what I miss on my jolla. Could someone port this :confused: :)?!

I would like to port the application to SFOS but I don't know qml.
And this application is not good for beginners to start convert from qwidget to qml. Anyway it would take ages because I need to learn.

On SFOS I have running qtwidget application but there is no good support like rotating an application and as far as I know there is no gl support. I can have a look if it is worth to port and to stick with widgets but I guess it would be a bad performance, it is not maemo....:(

Halftux 2017-01-24 23:52

Re: [Announce] GPXSee viewer for gps track files
 
Quote:

Originally Posted by handaxe (Post 1522372)

OpenTopo https://a.tile.opentopomap.org/$z/$x/$y.png

.

It works now, a little bit slow but it works.:)
Was much easier than I thought .. sooo qt. Hence a new version on his way.

theonelaw 2017-01-25 07:42

Re: [Announce] GPXSee viewer for gps track files
 
1 Attachment(s)
Seven years later,

users are still
(successfully !)
adding new software to the incredible n900.

The tag for this specification is

Peerless.


Now if I could just work out why I cannot get maps.txt to work...

Halftux 2017-01-25 09:05

Re: [Announce] GPXSee viewer for gps track files
 
Quote:

Originally Posted by theonelaw (Post 1522416)
Now if I could just work out why I cannot get maps.txt to work...

I have a check list for you.

- check folder and file permission
- between Map1 and http check if there is really a tabulator.
- file should be unix utf8 encoding
- check if internet is working
- try to toggle the map on and off with ctrl+m

Halftux 2017-01-25 23:39

Re: [Announce] GPXSee viewer for gps track files
 
1 Attachment(s)
Quote:

Originally Posted by theonelaw (Post 1522416)
Now if I could just work out why I cannot get maps.txt to work...

If somebody facing this problem here could be an easy fix.

To be really sure that it will work it is a good idea to delete the folder which holds the maps.txt. Maybe some corrupt tile data or wrong maps.txt causes this error.

I will add a script which will reset and make a default maps.txt.
Run the script as user, when you have enough rights it deletes the /home/user/.gpxsee folder. Otherwise delete the folder as root.
This will wipe all tiles and map configurations. After this it recreates a working default status. Last line is to be really sure.:)

Code:

#!/bin/sh
DIR=/home/user/.gpxsee
if [ -d "$DIR" ]; then
rm -rf "$DIR"
fi
mkdir $DIR
map=Map1'        'http://a.tile.openstreetmap.org/\$z/\$x/\$y.png
printf '%s\n' "$map" > "$DIR"/maps.txt
chmod 755 "$DIR"/maps.txt

The attachment could be renamed and set to executable.
After running the script you could test the internet connection and start gpxsee. Hope it helps.

theonelaw 2017-01-26 06:11

Re: [Announce] GPXSee viewer for gps track files
 
Quote:

Originally Posted by Halftux (Post 1522418)

- between Map1 and http check if there is really a tabulator.

huh.
more coffee, add the tabulator. :o

works with openstreetmap,
but opentopo.org seems to be in
"Notmodus-Kacheln/emergency mode"

so maybe that explains the moment. :confused:

And,
noting the n900 has no 'mouse',
I discovered that tapping or long-fingering the map area
invokes the menu referred to here:
Code:

With a mouse right click you can change the units (metric/imperial), the axis (distance/time) and you can choose the map source.
All good :D

(still looking for how to zoom/unzoom the display,
gotta be around here somewhere...)
- see next post

theonelaw 2017-01-26 06:31

Re: [Announce] GPXSee viewer for gps track files
 
On a separate note,

1.
it would be convenient to have this
launch inside a "gpx directory".
Probably just an edit we can play with on the launcher hopefully.

2.
Looking around the .config file, map1`
appears to be set as the default,
which means if someone has a preference to launch a particular map
they might want to set that as the map1 entry.

In restarting,
the previous map used is what is launched on restart.
Nicely done :D

3.
Looks like the volume buttons handle zoom/unzoom,
but it looks like it needs a wiggle to kick it into play ?

All in all this is an excellent piece of work.
Plays well with gpsrecorder gpx and kml files.

Halftux 2017-01-26 08:02

Re: [Announce] GPXSee viewer for gps track files
 
Quote:

Originally Posted by theonelaw (Post 1522456)
huh.
more coffee, add the tabulator. :o

coffee helps everytime.:)

Quote:

Originally Posted by theonelaw (Post 1522456)

And,
noting the n900 has no 'mouse',
I discovered that tapping or long-fingering the map area
invokes the menu referred to here:

Before it was in the upper menu I put it on a long tap. But you can use also keyboard short cuts for all functions.

Quote:

Originally Posted by theonelaw (Post 1522456)
1.
it would be convenient to have this
launch inside a "gpx directory".
Probably just an edit we can play with on the launcher hopefully.

Sorry this I don't get it. You mean when opening a file to have a different default folder?

Quote:

Originally Posted by theonelaw (Post 1522456)
3.
Looks like the volume buttons handle zoom/unzoom,
but it looks like it needs a wiggle to kick it into play ?

These buttons zooming the map only if the map is active. So tab it once. With a double click it zooms too.

theonelaw 2017-01-27 17:23

Re: [Announce] GPXSee viewer for gps track files
 
Quote:

Sorry this I don't get it. You mean when opening a file to have a different default folder?
Just suggesting perhaps
that it could start inside a folder designated for gpx file
(or, alternatively, ' last previous accessed ')
As opposed to starting from
/home/user every time we 'open' a new gpx.

handaxe 2017-01-27 21:49

Re: [Announce] GPXSee viewer for gps track files
 
Quote:

Originally Posted by theonelaw (Post 1522508)
Just suggesting perhaps
that it could start inside a folder designated for gpx file
(or, alternatively, ' last previous accessed ')
As opposed to starting from
/home/user every time we 'open' a new gpx.

I concur, would be sensible.

Your fixes work great - I particularly value the ability to use opentopo maps as most of my .gpx trails are in the "wilderness" rather than cities.

Thank you, good stuff!!!

HA

Halftux 2017-01-31 12:56

Re: [Announce] GPXSee viewer for gps track files
 
New version released GPXSee 0.3.8maemo1.

Changelog:
* added hide statusbar [ctrl+s]
* added hide map widget [ctrl+h]
* removed virtual qsplitter
* added autoload last file
* added shortcut for toolbar [ctrl+b]
* fixed poi loading and menu
* updated keyboard controls
* fixed zooming behavior

Quote:

Originally Posted by theonelaw (Post 1522508)
Just suggesting perhaps
that it could start inside a folder designated for gpx file
(or, alternatively, ' last previous accessed ')
As opposed to starting from
/home/user every time we 'open' a new gpx.

Fixed: It saves the last accessed file and reopen it during next start.


Quote:

Originally Posted by theonelaw (Post 1522508)
Looks like the volume buttons handle zoom/unzoom,
but it looks like it needs a wiggle to kick it into play ?

Fixed: Now they will work everytime.

handaxe 2017-02-01 10:41

Re: [Announce] GPXSee viewer for gps track files
 
Quote:

Originally Posted by Halftux (Post 1522658)
Fixed: It saves the last accessed file and reopen it during next start.

This is looking good and working well, thank you.

If I may, I think the more useful function would be to be able to set the folder holding the .gpx files, so that the file selector opens up there immediately, or that the program remembers the folder (that is, no actual setting).

Is there any possibility of being able to open multiple tracks at once - displayed in different colours (as gpxsee already does, I believe if you add another trail)?

Hope this doesn't come across "as the ungrateful public"...

HA

PS: my device is localised to Sweden but the device language is English (UK). GPXsee should use the latter but is taking it's cue from the former.

Halftux 2017-02-01 12:00

Re: [Announce] GPXSee viewer for gps track files
 
Quote:

Originally Posted by handaxe (Post 1522701)
If I may, I think the more useful function would be to be able to set the folder holding the .gpx files, so that the file selector opens up there immediately, or that the program remembers the folder (that is, no actual setting).

Yes I see should be possible.


Quote:

Originally Posted by handaxe (Post 1522701)
Is there any possibility of being able to open multiple tracks at once - displayed in different colours (as gpxsee already does, I believe if you add another trail)?

Gpxsee can display multiple tracks in different colors but atm it can not open them at once.You need to open them seperatly and the statusbar changes the path to numbers of open files.
I guess I need to write a new file selector dialog for that, or does somebody know how to do it with the native dialog.


Quote:

Originally Posted by handaxe (Post 1522701)
Hope this doesn't come across "as the ungrateful public"...

I am grateful to read any useful comments or wishes.


Quote:

Originally Posted by handaxe (Post 1522701)
PS: my device is localised to Sweden but the device language is English (UK). GPXsee should use the latter but is taking it's cue from the former.

It is the first time I am doing something with languages and never heard of linguist before. So I need to dig into this topic.


@eekkelund Thank you for adding Swedish localisation language. I already feared that this will make some trouble and more work.:)
edit: sorry it was not you mixed something up it was eson.:)

tumic 2017-02-01 15:59

Re: [Announce] GPXSee viewer for gps track files
 
Hi,
Where are the sources of the Maemo GPXSee port, please? I can not find them on Openrepos.net.

tumic 2017-02-01 16:02

Re: [Announce] GPXSee viewer for gps track files
 
Hi,
Where are the Maemo GPXSee port sources located, please? I can not find them on Openrepos.net. Thanks.

Halftux 2017-02-01 16:55

Re: [Announce] GPXSee viewer for gps track files
 
Quote:

Originally Posted by tumic (Post 1522713)
Hi,
Where are the Maemo GPXSee port sources located, please? I can not find them on Openrepos.net. Thanks.

Hi and welcome!

You will find the source in the fremantle extras-devel repo. When I have time I try to upload it to github.

And thank you very much for making such a great app.

theonelaw 2017-02-02 08:06

Re: [Announce] GPXSee viewer for gps track files
 
1 Attachment(s)
Quote:

Originally Posted by Halftux (Post 1522658)
New version released GPXSee 0.3.8maemo1.

Changelog:
* added hide statusbar [ctrl+s]
* added hide map widget [ctrl+h]
* removed virtual qsplitter
* added autoload last file
* added shortcut for toolbar [ctrl+b]
* fixed poi loading and menu
* updated keyboard controls
* fixed zooming behavior



Fixed: It saves the last accessed file and reopen it during next start.




Fixed: Now they will work everytime.

Excellent, Thank you.
PM me your litecoin address and I will donate a couple of LTC
cheers

Halftux 2017-02-02 10:25

Re: [Announce] GPXSee viewer for gps track files
 
Quote:

Originally Posted by theonelaw (Post 1522739)
Excellent, Thank you.
PM me your litecoin address and I will donate a couple of LTC
cheers

Sounds interesting but I have no wallet. I consider just for fun to create one.
Does the screenshot shows the waypoints of your buried litecoins?

However keep in mind that my work compared to the original author is much less. So in principle we need to share the litecoins or the donation should go to him. When the donation should be a reward for my overall maemo efforts I could accept it much easier.

Halftux 2017-02-03 22:08

Re: [Announce] GPXSee viewer for gps track files
 
I published the sources on github. This was my first git experience seems reasonable to learn. Takes a bit time to configure and getting to know how the game runs but its nice.
Also I need to learn that tabs and spaces could be annoying.

In the end I cleaned the code and added more #ifdefs. During code cleaning I saw that I accidentally commented out the close action from the toolbar. Fixed this and the code has also the poi radius fix from tumic0. There is one new feature the motion time, but I disabled the checkbox. I think then it is no violation to upload to extras?

Source code on github

Maybe someone did not recognized that the Map Menu has many things to toggle on and off. See the screen shot and happy track recording & viewing.:)

https://openrepos.net/sites/default/...ot-mapmenu.png

Halftux 2017-03-12 13:23

Re: [Announce] GPXSee viewer for gps track files
 
New version released:

0.3.9maemo1

* Fixed broken POI radius computation.
* Added moving time info.
* Improved pause detection/handling.
* removed translation
* close button now visible

Halftux 2017-04-06 10:43

Re: [Announce] GPXSee viewer for gps track files
 
Quote:

Originally Posted by theonelaw (Post 1522456)
opentopo.org seems to be in
"Notmodus-Kacheln/emergency mode"

So there was a problem with ssl connection and redirection.
Hopefully now it is working correctly with TSLv1.

New version released:

0.4.1maemo1

* merged with upstream 4.1
* pdf export process indicator
* pdf export free memory
* no more rescale when toggle (status,tool,graph)
* set ssl fixed to TSLv1

So far I did not try the new offline maps support. But you can go ahead ;)


Offline maps

Offline maps are loaded on program startup from the following directory:
Code:

/home/user/.gpxsee/maps
The expected structure is one map/atlas in a separate subdirectory. Supported map formats are OziMap image-based maps and tiled TrekBuddy maps/atlases (tared and non-tared).

upstream changelog:
-------------------------------------------------------------------
Sun Apr 2 23:59:35 CEST 2017

- Update to version 4.1
* Added support for Lambert conformal conic projection.

-------------------------------------------------------------------
Sat Apr 1 19:15:59 CEST 2017

- Update to version 4.0
* Added support for offline maps.
* Fixed zoom issues on touchpads.

-------------------------------------------------------------------

Halftux 2017-04-07 10:30

Re: [Announce] GPXSee viewer for gps track files
 
So I tried some offline maps and they are working.

Due to the fact that the folder is under user space it is recommended to make a symlink. On the long term I will move completely this folder to another location or make it optional. So that the tiles get saved in MyDocs or on a chooseable location.

For testing I downloaded some maps from here:
http://denker.bplaced.net/tb_eng.php

I created under MyDocs a folder maps and a subfolder de.
In the subfolder i put the extracted maps from zip archive.

Then I created a folder maps in /home/user/.gpxsee and made a symbolic link.
Code:

mkdir /home/user/.gpxsee/maps
cd /home/user/.gpxsee/maps
ln -s /home/user/MyDocs/maps/de de

Thats it. Start gpxsee and you have a new map item 'de'.

Halftux 2018-05-29 08:44

Re: [Announce] GPXSee viewer for gps track files
 
New version (5.6) in extras-devel.
Due to a major update the map.txt file is obsolete and should be deleted.

The map sources have for each source a xml-file now.
See the description from original homepage.
http://www.gpxsee.org/doc.html

The package comes with some preconfigured map sources, which can be overwritten by placing new files in the user map folder.
Code:

/home/user/.gpxsee/maps
The global map and csv files are located in:

Code:

/opt/maemo/usr/share/gpxsee
For additional map sources you can have a look here https://github.com/tumic0/GPXSee-maps

It could be that you need a newer qt-network library to download map files from an encrypted site.

For cssu-testing there is a patched file from jonwil https://drive.google.com/file/d/1L7T...RsC16a7hd/view. Otherwise install the qt version from cssu-devel.

Halftux 2018-09-29 11:09

Re: [Announce] GPXSee viewer for gps track files
 
1 Attachment(s)
Quote:

Originally Posted by Halftux (Post 1522403)
I can have a look if it is worth to port and to stick with widgets but I guess it would be a bad performance, it is not maemo....:(


First run of GPXSee on the Jolla1 which I won at the last CC. I implemented a simple file browser to be able to open a file.
The performance is really good.
GUI needs a lot of work: menu, dialogs and polishing, zoom gestures and scrolling needs to be done.

But there is the possibility and hope that it will run nicely in the future.

Halftux 2018-10-02 17:21

Re: [Announce] GPXSee viewer for gps track files
 
new version out now 5.13 only for maemo

Now you could use in addition the "o"-key and "l"-key for zooming and in the last zoom step with shift+o and shift+l you will have digital zooming in and out. Sadly digital zoom does not work with the usual zoom keys.

Halftux 2018-10-16 23:33

Re: [Announce] GPXSee viewer for gps track files
 
If you are on cssu stable or testing and would like to use the new libqt4 from cssu-devel you will need another gpxsee from openrepos.

To be able to install the gpxsee from openrepos you need to install newer libqt4 first. Therefore activate the cssu-devel repo and ....

Code:

apt-get install maemosec-certman-common-ca
apt-get install libssl1.1
apt-get install openssl
c_rehash /etc/certs/common-ca
apt-get install libqt4-core
dpkg -i gpxsee_0.5.13maemo1_armel.deb

After installation you can disable the cssu-devel repo again.

It is up to you but I recommend that after the installation you should disable the cssu-devel repository catalog again!!!

peterleinchen 2018-10-17 05:52

Re: [Announce] GPXSee viewer for gps track files
 
Quote:

Originally Posted by Halftux (Post 1549407)
...
After installation you can should / need to / must disable the cssu-devel repo again.

Fixed that for you ;)

Halftux 2018-10-17 08:15

Re: [Announce] GPXSee viewer for gps track files
 
Quote:

Originally Posted by peterleinchen (Post 1549413)
Fixed that for you ;)

Thank you transfered and modified.
Was late yesterday and forgot that new development could be evil to a running system and that I should highlight it more.
So it is more the cssu-devil repo.:)

Be aware
Quote:

Originally Posted by merlin1991
CSSU devel, it may eat your brain



All times are GMT. The time now is 22:06.

vBulletin® Version 3.8.8