maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] modRana: a flexible GPS navigation system (https://talk.maemo.org/showthread.php?t=58861)

pichlo 2014-12-08 22:20

Re: [Announce] modRana: a flexible GPS navigation system
 
Martin, may I bring your attention to this and the following post. It started off with cross-linking modRana and Poor Maps tile caches, so that they coukd share each other's tiles.

It appears that the MapQuest file type was wrong but all I had to do was edit map_config.conf, find the MapQuest section and change 'png' to 'jpg'. I love it when things are so easy ;)

elastic 2014-12-09 08:10

Re: [Announce] modRana: a flexible GPS navigation system
 
Hi,
Any news about Harmattan ?

rotoflex 2014-12-23 23:40

Re: [Announce] modRana: a flexible GPS navigation system
 
I'm getting a "failed to load routing data" message when attempting to route via point to point, here to point, or address to address.

elastic 2014-12-26 16:10

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by elastic (Post 1451206)
Hi,
Any news about Harmattan ?

nothing?! :-(

jcharpak 2014-12-26 18:12

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by elastic (Post 1451206)
Hi,
Any news about Harmattan ?

See post 1656 and 1665 of this thread. Short version,MartinK is not actively working on harmattan as it lacks some old stuff (gtk as opposed to only qt) so can't use the N900 code and lacks new stuff (qt5, qml 2) so can't use the sailfish code. Since this makes the N9 neither fish nor fowl, Martin isn't actively working on it. Three options were given, rip out the software guts of the N9 and replace them with something newer, rip out te software guts and replace them with something older or rewrite modrana mostly from scratch to use what the N9 has. Martin stated he doesn't particularly care which option is taken, as long as he doesn't have to do the heavy lifting of replacing qt with a newer version or adding gtk. He has also stated he will not rewrite modrana to use qt4 although he will gladly welcome patches from someone who does so.

elastic 2014-12-26 22:17

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by jcharpak (Post 1453996)
He has also stated he will not rewrite modrana to use qt4 although he will gladly welcome patches from someone who does so.

And that's exactly why I'm asking if something happened ;-) - I'm not a coder so I can only keep hoping someone with better skills want's modrana on the N9 as well ...

Sorry for bothering ...

MartinK 2014-12-29 02:04

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by pichlo (Post 1451181)
Martin, may I bring your attention to this and the following post. It started off with cross-linking modRana and Poor Maps tile caches, so that they coukd share each other's tiles.

It appears that the MapQuest file type was wrong but all I had to do was edit map_config.conf, find the MapQuest section and change 'png' to 'jpg'. I love it when things are so easy ;)

I've already committed the modRana "compatibility fix" to the repository and it should be part of the next release. :)

Quote:

Originally Posted by rotoflex (Post 1453656)
I'm getting a "failed to load routing data" message when attempting to route via point to point, here to point, or address to address.

Weird, seems to be working fine for me with both online & offline routing. :)

Quote:

Originally Posted by jcharpak (Post 1453996)
See post 1656 and 1665 of this thread. Short version,MartinK is not actively working on harmattan as it lacks some old stuff (gtk as opposed to only qt) so can't use the N900 code and lacks new stuff (qt5, qml 2) so can't use the sailfish code. Since this makes the N9 neither fish nor fowl, Martin isn't actively working on it. Three options were given, rip out the software guts of the N9 and replace them with something newer, rip out te software guts and replace them with something older or rewrite modrana mostly from scratch to use what the N9 has. Martin stated he doesn't particularly care which option is taken, as long as he doesn't have to do the heavy lifting of replacing qt with a newer version or adding gtk. He has also stated he will not rewrite modrana to use qt4 although he will gladly welcome patches from someone who does so.

Thanks for the summarization - spot on! :) As Harmattan seems to still remain very very dead, the "try to run GTK from the old packages & run the GTK GUI with it" alternative seems to be the only viable alternative. Unfortunately I haven't really got to look on that yet and can't really say when I'll get to it considering all the other modRana work & general being busy. :) Of course anyone willing to help with this would be very welcome! :)

Quote:

Originally Posted by elastic (Post 1454027)
And that's exactly why I'm asking if something happened ;-) - I'm not a coder so I can only keep hoping someone with better skills want's modrana on the N9 as well ...

Sorry for bothering ...

It's fine. :)

MartinK 2015-01-02 22:15

Re: [Announce] modRana: a flexible GPS navigation system
 
modRana 0.50.x has been released!

New modRana release is finally here with various highlights! :)

Automatic tile refresh for dynamic layers
ModRana now automatically redownloads tiles for dynamic tile layers (such as traffic, weather, etc.) if the cached tile is older than a given per-layer threshold. So often updated map layers should now up to date. :)

Network mode setting in Qt 5 GUI
It is now possible to switch between full and minimal (don't download map tiles automatically) in Options->Network in the Qt 5 GUI. :)

Thanks a lot to Fredric Ferner for contributing these two improvements! :)

Android support
ModRana now also finally works on Android. Thanks a lot to Thomas Perl for helping me to get my Android PyOtherside expeiriments to a usable shape and thus making modRana on Android possible! :)

Also I'm really glad that "modRana alumni" who left the Maemo world for Android might be able to enjoy modRana yet again! :)

ModRana is using the Qt 5 GUI on Android and should generally provide the same features as when running on Sailfish OS or on desktop with the Qt 5 GUI. :)

So go ahead and grab the latest modRana Android APK and report any issues! :)

Changelog

Code:

* Fri Jan 02 2015 Martin Kolman - 0.50.4
 * the actual Python 2.5 compatibility fixes
* Thu Jan 01 2015 Martin Kolman - 0.50.3
 * Python 2.5 compatibility fixes
* Thu Jan 01 2015 Martin Kolman - 0.50.2
 * first official modRana release for Android! :)
 * make theme parsing more robust
 * fix window sizing regression on Sailfish OS
* Wed Dec 31 2014 Martin Kolman - 0.50.1
 * layer timeout support (Frederic Ferner)
  * dynamic map layers (traffic, weather, etc.) now automatically load new tiles once the oled ones time out
  * not yet handles staring at the same part of map for hours
  * you need to move the map a bit so that the tiles are requested again & refetched
 * support for setting network usage mode in Qt 5 GUI (Frederic Ferner)
  * max - unlimited network usage
  * minimal - no automatic tile download
 * Thanks a lot to Frederic for these nice two patches! :)
 * fix text sizing on icon grid
 * fix compass rose display with qrc (Android)
  * it still does not rotate on Android some reason :)
* Sat Nov 01 2014 Martin Kolman - 0.49.12
 - add missing qt5-qtsensors dependency on Fedora
* Sat Nov 01 2014 Martin Kolman - 0.49.11
 - fix Qt 5 GUI icon & naim in desktop file on Fedora
* Sat Nov 01 2014 Martin Kolman - 0.49.10
 - add the qt5-qtquickcontrols dependency on Fedora
* Sat Nov 01 2014 Martin Kolman - 0.49.9
 - fix the modrana-gtk startup script on Fedora
* Fri Oct 31 2014 Martin Kolman - 0.49.8
 - exclude Monav binaries from the Fedora package


klinglerware 2015-01-03 01:31

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 1454910)

Automatic tile refresh for dynamic layers

This is one of the features I've been waiting for. Thanks so much for incorporating it!

And of course, thank you for continuing to actively develop and support modRana after all of these years!

nokiabot 2015-01-03 07:36

Re: [Announce] modRana: a flexible GPS navigation system
 
What about renaming modrana stable to LTS ;

pichlo 2015-01-03 08:26

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by nokiabot (Post 1454939)
What about renaming modrana stable to LTS ;

That's of course up to Martin to decide but as I would see it,
  1. What would be the point?
  2. We already have extras (stable) and CSSU-Stable, so people are used to it.
  3. LTS means Long Term Support, implying some sort of contract. Stable implies done, with no or minimal changes.
  4. LTS implies branching for maintaing it separately from the main development. I would not expect Martin having that much manpower.

ggabriel 2015-01-03 12:29

Re: [Announce] modRana: a flexible GPS navigation system
 
Admittedly, I haven't been able to make modrana download tiles in Sailfish for a few versions now. Finally, I got to see the logs :) Here they are:
Code:

2015-01-03 12:26:01,386 ERROR mod.mapTiles: exception in tile download manager thread
Traceback (most recent call last):
  File "modules/mod_mapTiles/mod_mapTiles.py", line 349, in _tileLoadingManager
    tileData = self._storeTiles.getTileData(lzxy)
  File "modules/mod_storeTiles.py", line 344, in getTileData
    result = self.getTileFromDb(lookupConn, dbFolderPath, lzxy)
  File "modules/mod_storeTiles.py", line 391, in getTileFromDb
    lookupCursor = lookupConn.cursor()
sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 1366291440 and this is thread id 1359639536

Of course this could be fixed by switching sqlite off, but really don't want to do that...

MartinK 2015-01-03 13:08

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by nokiabot (Post 1454939)
What about renaming modrana stable to LTS ;

What's modRana stable ? ;) Do you mean the older modRana version that is in Extras ?

Quote:

Originally Posted by ggabriel (Post 1454966)
Admittedly, I haven't been able to make modrana download tiles in Sailfish for a few versions now. Finally, I got to see the logs :) Here they are:
Code:

2015-01-03 12:26:01,386 ERROR mod.mapTiles: exception in tile download manager thread
Traceback (most recent call last):
  File "modules/mod_mapTiles/mod_mapTiles.py", line 349, in _tileLoadingManager
    tileData = self._storeTiles.getTileData(lzxy)
  File "modules/mod_storeTiles.py", line 344, in getTileData
    result = self.getTileFromDb(lookupConn, dbFolderPath, lzxy)
  File "modules/mod_storeTiles.py", line 391, in getTileFromDb
    lookupCursor = lookupConn.cursor()
sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 1366291440 and this is thread id 1359639536

Of course this could be fixed by switching sqlite off, but really don't want to do that...

Thanks, I'll take a look! Hopefully it is just some minor locking/threading related mess triggered by the way how Sailfish OS fetches tiles. :)

BTW, sqlite should not be that needed on Sailfish OS as btrfs even with all its issues and general lack of stability is a modern filesystem and unlike FAT32 should generally handle many small files in an efficient manner.

On the other hand sqlite tile storage is indeed much nicer for estimating storage space consumed by tiles (no need to go over thousands of file to check it) and avoids stuff like tiles possibly ending in the gallery (thankfully tracker seems to avoid hidden/starting with "." folders - so just don't move your tiles into a folder without "." in the path :D ).

ggabriel 2015-01-03 13:12

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 1454974)
On the other hand sqlite tile storage is indeed much nicer for estimating storage space consumed by tiles (no need to go over thousands of file to check it) and avoids stuff like tiles possibly ending in the gallery (thankfully tracker seems to avoid hidden/starting with "." folders - so just don't move your tiles into a folder without "." in the path :D ).

Yeah, but isn't btrfs still inode based, hence each file will use an inode? Also, it's much easier to copy across the sqlite db(s) between laptop and phone than running an rsync of multiple files.
I'll wait for you to have a look, it isn't like I'm in a hurry or anything :-)

MartinK 2015-01-03 13:24

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by ggabriel (Post 1454976)
Yeah, but isn't btrfs still inode based, hence each file will use an inode?

They note "Space-efficient packing of small files" as one of their main current features, so hopefully not. :)

Quote:

Originally Posted by ggabriel (Post 1454976)
Also, it's much easier to copy across the sqlite db(s) between laptop and phone than running an rsync of multiple files.

Yep, that's for sure! :)

Quote:

Originally Posted by ggabriel (Post 1454976)
I'll wait for you to have a look, it isn't like I'm in a hurry or anything :-)

:D

ggabriel 2015-01-03 13:42

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 1454980)
They note "Space-efficient packing of small files" as one of their main current features, so hopefully not. :)

I suspected you'd respond as much, but there are a few bugs with the fs in general, plus the fact that btrfs's implementation in Sailfish is quite old, so I'll play it safe for now.

nokiabot 2015-01-03 13:45

Re: [Announce] modRana: a flexible GPS navigation system
 
@martink pichlo pretty much nailed it theres no point renaming i called lts as its really long term support ;
Btw any progress on qt5 and 3d on n900 )

skanky 2015-01-05 10:28

Re: [Announce] modRana: a flexible GPS navigation system
 
Finally got a Jolla and am moving to that. I've installed modrana on it and am having the sqlite tile issues as mentioned above. I'm also having an issue downloading the OS tiles from VE. A quick look around and I see that (a) not all the features are implemented in Jolla? and (b) I should be able to get a log of the download failure. I'll get that sorted, but thought I'd quickly check whether it's expected to fail on Jolla at the moment?

Thank you again for this great app, and for porting it to the Jolla. It's much appreciated.

skanky 2015-01-05 13:49

Re: [Announce] modRana: a flexible GPS navigation system
 
Okay, re the VE OS request, looking at the log there's a lot of entries like this:

Code:


2015-01-05 13:37:22,174 WARNING mod.mapTiles: tile data returned by remote tileserver was not an ima
ge
layer:vaer_ukos z:11 x:1016 y:662
tile url: http://tiles.virtualearth.net/tiles/r00000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002
222223011?g=41&productSet=mmOS
NOTE: this probably means that the tileserver returned an
error page in place of the tile, because it doesn't like you

The number of zeroes looks like it varies a little, but it's generally of that order for each request.

Does this help?

nodevel 2015-01-07 14:22

Re: [Announce] modRana: a flexible GPS navigation system
 
Having picked the top SailfishOS apps, I tried to think why the most useful app on my N900 is launched only once a while after an update on my Jolla.

It's not just the lack of routing (even though that's major). I think the reasons are:
  • unreliability - on the N900, it was very reliable. I even used it as an online map source during my travels through the US as it hardly ever (yes, sometimes, but not very often) missed a download. Now I launched Modrana on Jolla, showed a POI on the map and 15 minutes later, the whole map is still covered with grey tiles with "mapnik: downloading" and "gtraffic_overlay: downloading". Sure, there might be problem in one layer, but both?
  • The most used feature other than routing was searching for POIs (mostly businesses). Is the provider on SailfishOS the same as in the Fremantle version? Because in 90% of cases, I chose an item from the menu [Food/Groceries] or so. Is it possible to add these categories on Sailfish as well? Keyword search isn't that useful to me.
  • The UI - when I'm driving, I prefer not to see any state change animations. Even though I have animations on SailfishOS disabled, the standard system animations (page changes) still occur - could this be overriden?
    And second, the back button - while driving, I don't want to swipe and the dot in the top left corner is too tiny to press without looking. Could you add the 'Back' menu option as in the Fremantle version?

Still, thanks for working on my favorite app from Fremantle!

http://my-maemo.com/grafika/modrana2.jpg

xes 2015-01-07 14:43

Re: [Announce] modRana: a flexible GPS navigation system
 
@MartinK ...i think to remember that some time ago you prepared the modrana rpm packages for fedora... Is it correct? Do you have a repo for them?

skanky 2015-01-07 14:46

Re: [Announce] modRana: a flexible GPS navigation system
 
@nodevel: Re the downloads - do you have sqlite selected? I find downloads don't work unless I save tiles as files (this is mentioned up thread).

(edited due to cross posting)

sixwheeledbeast 2015-01-07 14:55

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by xes (Post 1455764)
@MartinK ...i think to remember that some time ago you prepared the modrana rpm packages for fedora... Is it correct? Do you have a repo for them?

I don't remember RPM packages, I have installed modRana on Ubuntu.
The source is here so you can build it yourself.
http://modrana.org/trac

nodevel 2015-01-07 15:26

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by skanky (Post 1455765)
@nodevel: Re the downloads - do you have sqlite selected? I find downloads don't work unless I save tiles as files (this is mentioned up thread).

(edited due to cross posting)

Yes, I have sqlite selected just as I had it on the N900 (ever since this option was available). I will try to disable it; thanks for the hint.

I wonder why it doesn't works though - I clearly have some tiles downloaded from the past, but no new seem to succeed.

skanky 2015-01-07 15:48

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by nodevel (Post 1455771)
Yes, I have sqlite selected just as I had it on the N900 (ever since this option was available). I will try to disable it; thanks for the hint.

I wonder why it doesn't works though - I clearly have some tiles downloaded from the past, but no new seem to succeed.

No idea, I've only just moved to Jolla, so only started using the latest version - I can only assume an older version worked and it's a recent regression?

skanky 2015-01-07 16:43

Re: [Announce] modRana: a flexible GPS navigation system
 
http://talk.maemo.org/showpost.php?p...postcount=1733 ? :)

MartinK 2015-01-07 17:44

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by nokiabot (Post 1454986)
@martink pichlo pretty much nailed it theres no point renaming i called lts as its really long term support ;

I'll probably just promote the current modRana package in Extras-Devel to Extras if no major issues show up. :)


Quote:

Originally Posted by nokiabot (Post 1454986)
Btw any progress on qt5 and 3d on n900 )

I still don't have a working Maemo 5 SDK and no one else has ported PyOtherSide to Maemo 5 yet. So still no Qt 5 GUI on the N900 until the needed PyOtherSide is ported. :)

Quote:

Originally Posted by skanky (Post 1455333)
Finally got a Jolla and am moving to that. I've installed modrana on it and am having the sqlite tile issues as mentioned above. I'm also having an issue downloading the OS tiles from VE. A quick look around and I see that (a) not all the features are implemented in Jolla?

Yep - while the Python core is the same on the Jolla as on the N900, there are still many features that are missing the the Qt 5 GUI used on the Jolla compared to what is available in the GTK GUI used on the N900.

Quote:

Originally Posted by skanky (Post 1455333)
and (b) I should be able to get a log of the download failure. I'll get that sorted, but thought I'd quickly check whether it's expected to fail on Jolla at the moment?

I'll check if it also fails for me & thanks for the log. :)

Quote:

Originally Posted by skanky (Post 1455333)
Thank you again for this great app, and for porting it to the Jolla. It's much appreciated.

Thanks! :)

marmistrz 2015-01-07 18:31

Re: [Announce] modRana: a flexible GPS navigation system
 
MartinK: do you have anything working what concerns the vector maps? I'm looking forward to beta-testing it and possibly hunting some bugs (hopefully there'll be no bugs ;))

MartinK 2015-01-07 18:41

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by nodevel (Post 1455759)
Having picked the top SailfishOS apps, I tried to think why the most useful app on my N900 is launched only once a while after an update on my Jolla.

It's not just the lack of routing (even though that's major). I think the reasons are:

Frederic Ferner, who already contributed two nice features that have been included in the latest modRana release, is now aiming at adding routing support to modRana on Sailfish OS. :) So the situation should should hopefully improve in the near future.

Quote:

Originally Posted by nodevel (Post 1455759)
  • unreliability - on the N900, it was very reliable. I even used it as an online map source during my travels through the US as it hardly ever (yes, sometimes, but not very often) missed a download. Now I launched Modrana on Jolla, showed a POI on the map and 15 minutes later, the whole map is still covered with grey tiles with "mapnik: downloading" and "gtraffic_overlay: downloading". Sure, there might be problem in one layer, but both?

+

Quote:

Originally Posted by skanky (Post 1455765)
@nodevel: Re the downloads - do you have sqlite selected? I find downloads don't work unless I save tiles as files (this is mentioned up thread).

(edited due to cross posting)

Yep, that could very well be it. So please check if it also happens when you select files as the tile storage backend.

And if it still happens even after that, then:
  • go to Options->Debug
  • enable Log file and Tile handling debugging
  • note the path to the log file below
  • browse the affected area a bit
  • send me the resulting log file/s :)


Quote:

Originally Posted by nodevel (Post 1455759)
  • The most used feature other than routing was searching for POIs (mostly businesses). Is the provider on SailfishOS the same as in the Fremantle version? Because in 90% of cases, I chose an item from the menu [Food/Groceries] or so. Is it possible to add these categories on Sailfish as well? Keyword search isn't that useful to me.

Quote:

Originally Posted by nodevel (Post 1455759)
  • The UI - when I'm driving, I prefer not to see any state change animations. Even though I have animations on SailfishOS disabled, the standard system animations (page changes) still occur - could this be overriden?
    And second, the back button - while driving, I don't want to swipe and the dot in the top left corner is too tiny to press without looking. Could you add the 'Back' menu option as in the Fremantle version?

The page animations should be skipped when animations are disabled, so I'll investigate if something is wrong. As for showing the back button - this should be rather easy to add as an options as modRana already shows a back button with Qt 5 GUI outside of Sailfish (desktop, Android).

Quote:

Originally Posted by nodevel (Post 1455759)
Still, thanks for working on my favorite app from Fremantle!

http://my-maemo.com/grafika/modrana2.jpg

Thanks! :)


Quote:

Originally Posted by xes (Post 1455764)
@MartinK ...i think to remember that some time ago you prepared the modrana rpm packages for fedora... Is it correct? Do you have a repo for them?

Here it is:
https://copr.fedoraproject.org/coprs/m4rtink/modrana/

Just note that is is a bit out of date & the Qt 5 GUI might not work at all as Fedora (both 20 & 21) has since been upgraded to Qt 5.4 and PyOtherSide 1.3 (the latest version & the version in the copr) reportedly crashes with 5.4. :D Hopefully new PyOtherSide will be released soon so that it works again. But the "classic" GTK GUI should work just fine. :)

BTW, the Fedora spec file for modRana is still really really horrendous and there is also quite a lot of bundled Python modules. I really need to finally clean it up a bit sometime. :)

Quote:

Originally Posted by sixwheeledbeast (Post 1455767)
I don't remember RPM packages, I have installed modRana on Ubuntu.
The source is here so you can build it yourself.
http://modrana.org/trac

As long as you have the prerequisites installed, you can just clone the modRana source code repository and run it. I've basically designed the repository structure to explicitly make this as easy as possible so that modRana users and/or (potiential :) ) modRana contributors can get modRana up and running as easily as possible - without any esoteric build steps.

So basically:

1) install the dependencies

2) clone the repo

Code:

git clone https://github.com/M4rtinK/modrana.git
3) run modRana

with GTK GUI
Code:

cd modrana
python modrana.py

with Qt 5 GUI
Code:

cd modrana/run
./qt5.sh

And that's it! :)

Quote:

Originally Posted by nodevel (Post 1455771)
I wonder why it doesn't works though - I clearly have some tiles downloaded from the past, but no new seem to succeed.

I've quite rapidly changed how the Qt 5 GUI handles tile down-/loading a few months ago to make it truly asynchronous and parallel (before it had a various issues like one slow tile download blocking all tile loading). That probably resulted in the sqlite tile storage getting wonky when the Qt 5 GUI is used as multiple threads are trying to access the database and Sqlite does not like that.

As files is still the default on Sailfish OS, it probably went kinda unnoticed since then.

MartinK 2015-01-07 18:53

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by marmistrz (Post 1455803)
MartinK: do you have anything working what concerns the vector maps? I'm looking forward to beta-testing it and possibly hunting some bugs (hopefully there'll be no bugs ;))

Maemo/N900 or Sailfish ? On Sailfish there should hopefully be something to test as soon as the Merkator app/daemon by Basil is released as for initial support modRana just needs to add a new layer pointing to the localhost tile server.

As for N900 there and generally outside of Sailfish - it will depend how portable Basils solution is it might be also possible to use it outside of Sailfish or a corss platform modRana-based solution would be needed. But such a solution is still just in the (even though quite detailed) design phase with not much usable code. Also I'll really finally try out your python-mapnik port soon (TM), I promise! :)

nodevel 2015-01-07 19:18

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 1455805)
Frederic Ferner, who already contributed two nice features that have been included in the latest modRana release, is now aiming at adding routing support to modRana on Sailfish OS. :)

That's great news!

Quote:

Originally Posted by MartinK (Post 1455805)
Yep, that could very well be it. So please check if it also happens when you select files as the tile storage backend.

Just checked and it works fine with files. So it must be something with the sqlite database.


Quote:

Originally Posted by MartinK (Post 1455805)
The page animations should be skipped when animations are disabled, so I'll investigate if something is wrong.

That's weird - just tried the switch in the settings and it seems to work, but the other way around - if the 'Animations' switch is active, then animations are not shown. The 'back' animation is still there, but it should be solved by adding the back button in the UI.


What about the categories? I could make a pull request if I knew what categories are available.
From the poi database, it seems like these are possible?
Code:

1|Service Station|Stations for purchasing fuel for vehicles.|1
2|Residence|Houses, apartments, or other residences of import.|1
3|Restaurant|Places to eat or drink.|1
4|Shopping/Services|Places to shop or acquire services.|1
5|Recreation|Indoor or Outdoor places to have fun.|1
6|Transportation|Bus stops, airports, train stations, etc.|1
7|Lodging|Places to stay temporarily or for the night.|1
8|School|Elementary schools, college campuses, etc.|1
9|Business|General places of business.|1
10|Landmark|General landmarks.|1
11|Other|Miscellaneous category for everything else.|1

I think there were also subcategories in the GTK version, but I might be wrong.

Thanks again.

MartinK 2015-01-13 23:16

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by nodevel (Post 1455808)
That's weird - just tried the switch in the settings and it seems to work, but the other way around - if the 'Animations' switch is active, then animations are not shown. The 'back' animation is still there, but it should be solved by adding the back button in the UI.

Yeah, looks like there was an bug in how the animate flag was being handled, basically inverting its value on Sailfish OS. This will be fixed in the next version. :)

Quote:

Originally Posted by nodevel (Post 1455808)
What about the categories? I could make a pull request if I knew what categories are available.
From the poi database, it seems like these are possible?
Code:

1|Service Station|Stations for purchasing fuel for vehicles.|1
2|Residence|Houses, apartments, or other residences of import.|1
3|Restaurant|Places to eat or drink.|1
4|Shopping/Services|Places to shop or acquire services.|1
5|Recreation|Indoor or Outdoor places to have fun.|1
6|Transportation|Bus stops, airports, train stations, etc.|1
7|Lodging|Places to stay temporarily or for the night.|1
8|School|Elementary schools, college campuses, etc.|1
9|Business|General places of business.|1
10|Landmark|General landmarks.|1
11|Other|Miscellaneous category for everything else.|1

I think there were also subcategories in the GTK version, but I might be wrong.

The categories used in the GTK GUI are defined here. As for the Qt 5 GUI - I've just not got to displaying them in the GUI yet. :)

But the map layer selector has a pretty similar structure to the preset categories, so i I should be able to reuse it to host the categories so that they can also be used for local search in the Qt 5 GUI in the near future. :)

MartinK 2015-01-13 23:20

Re: [Announce] modRana: a flexible GPS navigation system
 
modRana 0.50.5 has been released!

The main highlight is that Sqlite tile storage now works again on Sailfish OS (and with the Qt 5 GUI in general). Also it is now possible to enable the back button on Sailfish OS and the animation switch has been fixed.

And you should no longer get stuck on black screen after clicking on a POI that has been restored on startup and then clicking on the back arrow in the GTK GUI. :)

Changelog
Code:

* Tue Jan 13 2015 Martin Kolman - 0.50.5
- make it possible to show the back button on Sailfish OS
 - can be enabled from Options->UI
- fix Sqlite tile storage with Qt 5 GUI
- fix the Animate switch to work correctly on Sailfish OS
- fix a few page push transitions that have not respected the animation setting in Qt 5 GUI
- fix back button in the detail menu of a POI restored on startup breaking the GTK GUI


gianko 2015-01-14 01:14

Re: [Announce] modRana: a flexible GPS navigation system
 
POIs in modrana are from google or openstreetmap?

if using osm data, is possible to search, for example: "liquid petroleum gas fuel stations" as nodes with tag amenity=fuel and fuel:lpg=yes ?

MartinK 2015-01-14 11:19

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by gianko (Post 1456483)
POIs in modrana are from google or openstreetmap?

Local search currently uses Google, mostly because it supports "natural language" queries and is more tolerant to ambiguous input. This makes the preset categories easier to define and also makes it easy for users to write free form queries (the current local search mechanism used on Sailfish OS).

I investigated how to use OSM for local search last time Google broke the local search API, but then got patches for using the new API from Geoff Kuenning and went with that. :)

I would like to eventually add OSM based local/POI search, but it will be quite a bit more complicated than using the simple Google API - but also much more powerful! :) It would probably work fine with a preset list containing relevant tags for search, but free form search would be most probably limited to advanced users knowing how the OSM tags work, given how the OSM data is structured.

As for the other search options, address search is using Nominatim (so it is based on OSM data) and Wikipedia search goes over Geonames.

Quote:

Originally Posted by gianko (Post 1456483)
if using osm data, is possible to search, for example: "liquid petroleum gas fuel stations" as nodes with tag amenity=fuel and fuel:lpg=yes ?

Yep, the preset list could be defined like this. :)

CRCulver 2015-01-16 22:23

Re: [Announce] modRana: a flexible GPS navigation system
 
Map downloading for offline use isn't working for me. Sure, I can grab tiles when I have a network connection. However, if I close Modrana, turn the network connection off, and open Modrana again, it show only a "Downloading failed" message for each tile instead of the actual tile. If I look at MyDocs/.maps/, the tiles are there, it's just that Modrana won't actually display them.

I've deleted all Modrana directories and tried to start afresh, and I've also tried both tile storage as files and as a SQL database, but the same problem persists: this program just cannot be used unless a network connection is up at all times.

pichlo 2015-01-16 22:38

Re: [Announce] modRana: a flexible GPS navigation system
 
http://talk.maemo.org/showthread.php...67#post1445967

CRCulver 2015-01-16 23:11

Re: [Announce] modRana: a flexible GPS navigation system
 
The advice given to that poster was to delete the directories and start from scratch. As I said, I did that, with no success. When starting up without a network connection, Modrana will still try to download tiles, and then it displays an error message for each tile instead of the tiles it has cached in the .maps folder.

pichlo 2015-01-16 23:20

Re: [Announce] modRana: a flexible GPS navigation system
 
That poster also thought he deleted all modRana directories...

CRCulver 2015-01-16 23:55

Re: [Announce] modRana: a flexible GPS navigation system
 
I actually did delete all directories, including ~/.modrana. No effect.


All times are GMT. The time now is 02:56.

vBulletin® Version 3.8.8