maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps (https://talk.maemo.org/showthread.php?t=85353)

sony123 2012-08-03 00:49

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by WhitP (Post 1246663)
Here's hoping for the traffic re-routing!
The traffic in maps is very handy - thanks..

I would be glad to even find a way to enable "optimized" routing based on traffic. I tried setting useTraffic in Router to true, but didn't see any difference in the resulting route.

Sorry for raising your expectation :D Need to dig further....

solstice88 2012-08-03 15:06

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
If this has not already been offered up as a suggestion, and im sure you already dug into it

I noticed in TrafficdetailsPage.qml has the ability to offer Estimated Delay time but isnt available due to missing plugin. Would this have any effect in calculating routing based on traffic? Given that we can even find/create this plugin.

I wonder if there was a associated qml file for Trafficviewhelper. Would it also take in consideration for routing based on traffic? Also probably allowing us to bring up descriptions of traffic :D

mbanck 2012-08-03 23:41

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by sony123 (Post 1246704)
I would be glad to even find a way to enable "optimized" routing based on traffic. I tried setting useTraffic in Router to true

Can you post the patch for that, please?

Teun 2012-08-05 07:41

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Thanks very much.. This is excellent !! Love the community

colin.stephane 2012-08-05 09:22

Re: [MOD] Enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Quote:

Originally Posted by sony123 (Post 1246309)
Sorry the earlier patch seemed to be bad,

I have re-uploaded the patch, please download it and put it in /home/user/MyDocs

Launch terminal, become root, then type:
patch -p0 -i /home/user/MyDocs/maps.patch
(That's -p[zero] not p.o.)

Well, back from beach ...

Time to update my full patch to reveal your last hunt treasure :)

I added the content of this patch and also updated the commands to install & revert the whole thing without troubles ...

A++

taviman 2012-08-05 17:15

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Colin, this is what I get:

~ $ devel-su
Password:


BusyBox v1.20.0.git (MeeGo 3:1.20-0.2+0m8) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # rm /root/*.diff 2>/dev/null ; wget http://b
igbob.fun.free.fr/N9/Patch-to-enable-traffic-an
d-day-night-autoswitch-in-drive-for-N9-PR1.3+ET
A-UNSTABLE.diff -O
sh: wget: not found
~ #


however, I'll try the download link you provided and I'll report back

thedead1440 2012-08-05 17:18

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
wget needs to be installed either by doing as root, apt-get install wget

OR:

open settings -> security -> developer mode -> install utilities...

somedude 2012-08-05 17:24

Re: [MOD] Enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Quote:

Originally Posted by colin.stephane (Post 1247681)
Well, back from beach ...

Time to update my full patch to reveal your last hunt treasure :)

I added the content of this patch and also updated the commands to install & revert the whole thing without troubles ...

A++

Does your latest unstable patch include the correct calculation for the time to travel when its larger than an hour drive?

Edit:
Yes it does thanks.

colin.stephane 2012-08-05 19:30

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by thedead1440 (Post 1247875)
wget needs to be installed either by doing as root, apt-get install wget

OR:

open settings -> security -> developer mode -> install utilities...

Thanks thedead1440, I have updated my full patch to add this step as Mandatory ...

A++

sony123 2012-08-06 04:05

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by mbanck (Post 1247152)
Can you post the patch for that, please?

It's one line change in RoutingModel.qml

Code:

Router {
    id : router
        useTraffic: true
       
....
}

But I see no difference in routes after setting this property....


All times are GMT. The time now is 12:11.

vBulletin® Version 3.8.8