Shmuma
|
2008-08-10
, 21:14
|
Posts: 20 |
Thanked: 36 times |
Joined on Sep 2007
@ Russia, Moscow
|
#21
|
|
2008-08-10
, 21:35
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#22
|
|
2008-08-11
, 05:04
|
|
Posts: 1,245 |
Thanked: 421 times |
Joined on Dec 2005
|
#23
|
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?
|
2008-08-11
, 05:09
|
|
Posts: 1,245 |
Thanked: 421 times |
Joined on Dec 2005
|
#24
|
Sorry, this won't work. WMS maps need external utility for lat-lon to tile addressing translation (/usr/bin/cs2cs IIRC). Even if this utility is installed, layer's tile addressing scheme must match to underlying map's. In other words, layer's tiles must exactly match tiles they are drawn on. All maps repositories supported by MM by default, have google scheme (which is WGS on top of sphere).
Layers can be implemented to support any tile addressing, but this would be extremely inefficient and too complicated (we must deal not with whole tile, but with part of it).
I did a quick search for weather services for google maps, and found nothing usefull. All services display weather information as points on top of google map which handled by javascript.
|
2008-08-11
, 05:17
|
|
Posts: 1,245 |
Thanked: 421 times |
Joined on Dec 2005
|
#25
|
The Following User Says Thank You to gnuite For This Useful Post: | ||
|
2008-08-11
, 05:43
|
Posts: 20 |
Thanked: 36 times |
Joined on Sep 2007
@ Russia, Moscow
|
#26
|
I haven't looked at your patch yet, but Maemo Mapper already has support for WMS-based repositories, assuming you've also installed the "proj" package (which does the translation to which you're referring). Does your patch make it impossible for WMS-based repositories to work?
|
2008-08-11
, 05:47
|
Posts: 20 |
Thanked: 36 times |
Joined on Sep 2007
@ Russia, Moscow
|
#27
|
By the way, if the patch allows arbitrary repositories to be used as layers (except maybe WMS-based ones), then it should also allow people to use the Google version of Virtual Earth's "Hybrid" maps. The reason Google's never worked was because they use multiple layers for their hybrid maps.
To get Google's "road overlay" (aka "labels") layer (which should be drawn on top of Google's satellite layer) would use a repository URL format like this:
http://mt.google.com/mt?v=w2t.999&x=%d&y=%d&zoom=%d
Once the patch is incorporated, I'll add this URL format to the Maemo Mapper Repositories thread.
|
2008-08-11
, 05:48
|
Posts: 20 |
Thanked: 36 times |
Joined on Sep 2007
@ Russia, Moscow
|
#28
|
|
2008-08-12
, 13:10
|
|
Posts: 1,390 |
Thanked: 642 times |
Joined on Nov 2007
@ California USA
|
#29
|
|
2008-08-12
, 14:18
|
|
Posts: 1,076 |
Thanked: 176 times |
Joined on Mar 2007
|
#30
|
Tags |
maemomapper |
Thread Tools | |
|