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-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.


All times are GMT. The time now is 13:36.

vBulletin® Version 3.8.8