View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1191
Originally Posted by inidrog View Post
Far as I can see in the MoNav client there is an option to choose a Data Directory and Load map data eg. Memory Card/MoNav_maps/Norway

Please implement this.
While not that straightforward like in Monav, it can already be done through the ~/.modrana/user_config.conf file. Just uncomment the map_config variable and set it to your new map folder path, for example:
Code:
Memory Card/maps/
then you can add your map folders to Memory Card/maps/monav_data/, with the resulting path looking like this:
Code:
Memory Card/maps/monav_data/Norway
Originally Posted by inidrog View Post
Why on the earth isnt ModRana in Extras-Testing?
Rapid development cycle & many people already having Extras-Devel enabled. But yes, good point, I really should push it there already.

The only other issue might be with some Qt dependencies for the QML GUI that I'm not sure are available in Testing & plain Extras. But I'd guess we will see once I push the promotion button.

Originally Posted by pichlo View Post
I have always used the GUI to start the app, both on the N900 and on the PC. So I don't know what those command-line arguments mean.
ModRana works with the concept of device & GUI modules. The device module provide any device/platform specific tweaks (like map storage paths, location access, custom notification handling, etc.) and the contains all the GUI specific bits. Like this modRana can adapt for a platform just loading the appropriate device and GUI modules on startup.

There are multiple device modules (for the N900, N9, Neo FreeRunner, Smart Q7, Android chroot, PC, etc.) and two GUI modules (the classic GTK GUI and the QML one).

The -d option specifies the current device/platform and -u selects the GUI module. But since at least 0.35 modrana should correctly detect the current environment (at least on the N900, N9 and x86/amd_64 based PCs) and select the appropriate modules automagically.

Originally Posted by pichlo View Post
Vector maps can be just as detailed with the added advantage of being scalable. You could have a single file covering a whole country or even a continent rather than millions of tiles, many of them missing. Street names may be more useful (and intelligible!) in Czech Republic (I know, I come from Slovakia originally ), but here in the UK the situation is a bit different. Street names are often obscured and rarely shown other than at the beginning and the end. If you join the street in the middle, you have no idea what the name is. "Turn left" is much more useful than "turn to Oxford Road", even if it sounded like "Oxford Road" and not "Khrookhfd Road".
There is also the added benefit of proper rotation support. If you use map rotation with pre-rendered maps, you will quite often get upside down street names.

There are also other benefits - you can generate different map themes form the same data - a night theme, high contrast theme, etc.

Originally Posted by pichlo View Post
Please don't get me wrong, I love the product and yes, I have put my money where my mouth is, even though only a small amount for now. It far exceeds any other offering currently available for this platform. But it has a lot of potential it has not quite realized yet.
I've already sent "Thank you!" postcard.

Originally Posted by pichlo View Post
Question: where are navigation messages stored? I mean things like "in xx miles turn to..."
I grepped through the /opt/modrana tree but could not find them...
The "in XX" part (and also the "you should be near the destination" message) are generated by modRana. The rest comes directly from Google and only goes through the substitution rules specified by directions_filter.csv to "unroll" the most common abbreviations.

IIRC:
mod_onlineServices - performs the online route lookup
mod_route - sends the request to onlineServices and handles the result
mod_voice - adds the "in XX" prefix
mod_turnByTurn - handles the turn-by-turn navigation logic & overlay

As Monav returns just the raw route, modRana would need to get a proper turn announcement generator (and turn detector) in the near future.

There are also already translations for the current modRana generated voice command, which are unfortunately not yet integrated in modRana itself.

Originally Posted by pichlo View Post
Question 2: how can I take this offline? There must be a better place than this forum. I tried the ticket wiki but it thought I was a spam.
For continuity purposes - answered in the previous post.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 6 Users Say Thank You to MartinK For This Useful Post: