maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Patched maemo mapper 2.4.1 with google traffic (https://talk.maemo.org/showthread.php?t=22704)

Shmuma 2008-08-10 08:51

Patched maemo mapper 2.4.1 with google traffic
 
Hello,

recently I finished maemo mapper patch which supports layers displayed on top of base map. Initially this planned to display transparent google traffic tiles on top of google street or google satellite map, but implementation is quite generic (any amount of layers which can be turned on and off), so you can find other usages.

You can download deb here. It was tested on n810 and n800 under chinook and diablo.

To display google traffic, you need to add layer (In dialog Maps->Manage repositories press 'Layers' button) with URL http://mt0.google.com/mapstt?zoom=%0d&x=%d&y=%d

Layer's tiles have autorefresh feature which will track age (in minutes) of each layer's tile and redownload tile when age is expired (As traffic tiles are very small, gprs is enougth). To turn automatic tile fetching on, set layer's attribute to value greater than zero.

There is also new action 'Toggle layers' which can be bind to tablet hardware key. It toggles visible layers on and off, to see original underlying map.

You can download patch here.

Source tarball.

2gnuite: There are at least two feature requests which can be closed by this patch (921 and 2354), can it be imported in official sources?

scanman717 2008-08-10 13:02

Re: Patched maemo mapper 2.4.1 with google traffic
 
Fantastic!!! Now I just need to figure out how to get a weather layer in there with Google Traffic and this will truly be a killer app!!

lardman 2008-08-10 13:39

Re: Patched maemo mapper 2.4.1 with google traffic
 
+1 to the weather layer

scanman717 2008-08-10 14:42

Re: Patched maemo mapper 2.4.1 with google traffic
 
I found this which I can add as a map and it shows the radar, but no map info... Tried adding it as a layer and got nothing...
Quote:

"http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi?&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap& LAYERS=nexrad-n0r&STYLES=&SRS=EPSG:4326&BBOX=%.6f,%.6f,%.6f,%.6f &WIDTH=256&HEIGHT=256&FORMAT=image/png&BGCOLOR=0x000000"

Mara 2008-08-10 15:15

Re: Patched maemo mapper 2.4.1 with google traffic
 
Great feature... only if I could make it to work... :(

I downloaded the deb and installed in top of MaemoMapper. (I was going to try the patch method, but it just opened in browser window as text file.) It said it installed correctly. After update I did see the "Layers" button and added the Google traffic URL as shown in the first thread. I enabled layer and can not see anything... I have internet connection on.

I checked the same in my PC (maps.google.com) and it work there. (Turning on Traffic I can see some traffic data in my PC map.)

The Traffic database file I created on internal memory card. I see the file size 12kB and last update was the time when I created the database file. I have set to update the traffic data every one minute.

I'm thinking if the URL has a mistake?

Shmuma 2008-08-10 15:30

Re: Patched maemo mapper 2.4.1 with google traffic
 
Mara,
please check that you typed the URL correctly (there is must be zero in zoom argument, as well as in server's name: mt0.google.com). If this won't help, could you upload the database you get somewhere and point to location you are trying to view. Screenshot of you layer settings would also be helpful.

Mara 2008-08-10 15:38

Re: Patched maemo mapper 2.4.1 with google traffic
 
Quote:

Originally Posted by Shmuma (Post 212010)
Mara,
please check that you typed the URL correctly (there is must be zero in zoom argument, as well as in server's name: mt0.google.com). If this won't help, could you upload the database you get somewhere and point to location you are trying to view. Screenshot of you layer settings would also be helpful.

Shmuma, I did double check the URL and last try was a copy and paste (CTRL+v) the URL from the first post. Still no go.

I live in the Dallas area, if that has anything to do with this. (Very unlikely...)

Shmuma 2008-08-10 15:51

Re: Patched maemo mapper 2.4.1 with google traffic
 
For Dallas at zoom 12 I can see the following: http://fotki.yandex.ru/users/shmuma/view/68652/

Could you upload your traffic DB file?

Mara 2008-08-10 16:00

Re: Patched maemo mapper 2.4.1 with google traffic
 
1 Attachment(s)
Quote:

Originally Posted by Shmuma (Post 212016)
For Dallas at zoom 12 I can see the following: http://fotki.yandex.ru/users/shmuma/view/68652/

Could you upload your traffic DB file?

Thanks, this looks like what I was expecting.

The db file is attached. Just remove the .txt from the end.

Shmuma 2008-08-10 16:09

Re: Patched maemo mapper 2.4.1 with google traffic
 
This db is correct, but completely empty. Do you have 'Maps->Auto download' checkbox turned on?


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

vBulletin® Version 3.8.8