View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#306
Originally Posted by 白い熊 View Post
Hey Martin:

Happy Nameday :O)
Hey, thanks !

Originally Posted by 白い熊 View Post
Autorotation depends on python-osso but modrana doesn't have it as a depend. You should update the package info. Once python-osso is installed, works no prob.
OK, I have added python-osso to the dependencies

Originally Posted by 白い熊 View Post
With the partial crash, I think I see what's going on and why it gets stuck:
...
I'm in Russia now and using Mapnik as the source, it quite nicely has all the streetnames in Russian. I assume however that espeak does not know how to handle this UTF-8 text, since the lang isn't specified and so it seems it gets stuck on reiterating the same instruction. Nothing comes out of the speaker, i.e. nothing is said, and the blue box doesn't appear.

I was successful a couple of times in getting the blue box with instructions to appear, I assume this must've been where the directions were not in UTF-8, for a lack of a streetname in Russian or what have you. Nothing was said though. And then when I hit reroute, it'd say 'rerouting' and then get stuck, probably on the Russian directions.

If this is the case and programming in the language support would be too big of a task, I'd just recommend hacking in to skip saying the streetnames if they are in UTF-8 and just say 'turn' 'in' '80' 'meters' so that it'd still work and not have probs.
I think I have fixed the issue in the current unreleased version:
I looked through the routing API definition and found how to request directions in more languages, including Russian.
So I can get native directions in some language + make espeak use the same language for voice output. Google provides directions in more languages than Espeak supports. I have therefore added only languages that are supported both by Google and espeak.

These languages will be supported:
Code:
Catalan
Chinese(Cantonese)
Chinese(Mandarin)
Croatian
Czech
Dutch
English
Finnish
French
German
Greek
Hindi
Hungarian
Indonesian
Italian
Latvian
Norwegian
Polish
Portuguese(Brazil)
Portuguese(European)
Romanian
Russian
Serbian
Slovak
Spanish
Tamil
Turkish
Vietnamese
I have faked my current location to Moscow and tried to do some routing, no crashes so far + all the Cyrillic letters were displayed without problems, just the espeak Russian voice output could be better
That reminds me:
The espeak output quality varies per language, some languages may be barely usable, others are quite good.

Originally Posted by 白い熊 View Post
You must've the same probs in Czech though...
The only problem was espeak reading Czech place names with english pronunciation, which is often quite funny But it worked even before without problems, most probably because our alphabet is basically just ASCII + čřžýáíéůú.

Originally Posted by woody14619 View Post
One would hope. The nice part is that it would allow one to customize the route in a GUI drag/drop environment on line, then send that specific route (with turn by turn) to the phone.
It might not be so difficult to implement, as it means basically just analysing incoming SMS for the right keywords and then loading the appropriate route (provided the message contents are not encrypted, etc.).
But it seems to be USA-only, so I would not be able to directly test/debug it there in Europe

Originally Posted by woody14619 View Post
Handy for those routes where one must re-route the default Google route because it uses a seasonal road that's closed, or has holes larger than your car.
The directions API used by modRana supports adding waypoints, but it is not yet accessible from the GUI.

Originally Posted by woody14619 View Post
Yeah... Not too bad. But eatting 1/4 of your free space to have local maps kinda sucks. I'm sure I can break it out by major area (Americas, Europe, Australia, etc), which will at least help cut it in half for most people. Can't wait to start on this project now... but have to wait to get free time to do so. Soon though!
There are already some extracts available from Cloudmade and other sources.
They are quite nicely available for individual countries and continents , on the other hand a (possibly resource intensive ?) import from the OSM XML to the tileserver database would be needed.

Originally Posted by janszoon View Post
Hi Martin,
Awesome application, big credit to you for the time and energy that you are putting into this !!

I have been trialling ModRana in the past few days based on your advice (and PM), and brilliant assistance from another thread on Mapping, I have loaded Nautical maps as one of my repositories and use this (overlayed to Google Satellite) whilst out on the water to record tracks, mark fishing spots/POI's and understanding the depth/terrain of the current position (based on map data).
Wow, modRana being used on a boat, well that's awesome I wonder how long before someone reports about using it in an aircraft
[QUOTE=janszoon;870784]
Some Questions:

1) How is the screen blanking controlled/determined? What conditions/setting would keep the screen on?
Originally Posted by janszoon View Post
There is currently no screen blanking control in ModRana, but its on my high priority list. I have alredy looked how the brightness applet does it (by manipulating some gconf values) and it should not be difficult to implemen in modRana too. Something like "leave backlight on" for starters, and more advanced stuff like turning the screen on when approaching a turn later
(probably userguide related so let me know if I can find this already somewhere)

Originally Posted by kureyon View Post
This thread is the user guide
Well, that's unfortunately true The modRana project wiki is currently horribly outdated, I just haven't got to updating it yet BTW, I someone wants to add something like a walkthrough, feature description, etc. to the modRana wiki, just send it to me and I'll add it

Originally Posted by kureyon View Post
2) I have a POI DB with 2044 marks.
Just how did you add so many points ?

Originally Posted by kureyon View Post
Navigating through these easily is difficult in Modrana (long list). Is there an easy way to keyword search the POI's loaded or Display the nearest POI's to your location from the db ?
OK, I'll add both
Originally Posted by kureyon View Post
I'll keep testing and let you know of my thoughts. I'm thinking a 'Boat' mode could be cool, it would seem this is easily achieved with your customizable interface.
Well done, and thank you !
Why not
BTW, modes work like this in modRana:
  • each mode can have its own map GUI settings
  • each mode can have its own widgets settings
  • current mode is considered when when routing (foot mode -> walking directions, etc.)

Do you have any nice boat mode specific optimizations on your mind ?
__________________
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)

Last edited by MartinK; 2010-11-14 at 19:54.
 

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