Notices


Reply
Thread Tools
Posts: 1 | Thanked: 2 times | Joined on Oct 2009 @ Wrocław, Poland
#241
Thanks guys for URLs over and over again. I've just missed Google Street URL and created one based on alephito's link: http://mt.google.com/vt/v=w2.95&x=%d&y=%d&zoom=%d

By the way, how do you figure out Google's URL for maps?
 

The Following 2 Users Say Thank You to dozzie For This Useful Post:
Lord Raiden's Avatar
Posts: 1,562 | Thanked: 349 times | Joined on Jun 2008
#242
Yeah, I'm with Dozzie on that one. How are you guys figuring this out?
__________________
Popular Sci-Fi author and creator of the Earthfleet Series.
www.realmsofimagination.net
 
Posts: 3 | Thanked: 10 times | Joined on Oct 2009 @ UK
#243
Originally Posted by Lord Raiden View Post
Yeah, I'm with Dozzie on that one. How are you guys figuring this out?
After reading around the forum, the best way to find what the current URL format Google uses is to visit Google Maps, and using either Firebug in Firefox or Web Inspector in Safari/Webkit you can inspect one of the tiles to get the image URL.

As of right now, here's an example of a Google Street Image URL in London, UK.

http://mt0.google.com/vt/lyrs=m@110&...y=2724&z=13&s=

From the query string, we can see the x, y and z params that we need. The other stuff isn't needed. Plus as Google uses multiple servers, we don't need the "mt0" bit at the beginning, just "mt"

So that leaves us with.

http://mt.google.com/vt/x=4092&y=2723&z=13

But it's not quite right yet!

Maemo Mapper uses the "zoom" param instead of "z", as it uses 1 for the closest, up to 17. The "z" value is reversed by subtracting the "z" value from the maximum zoom.

Using the example above, this would mean that:

17 - 13 = 4
The "zoom" value would be 4, which would give us

http://mt.google.com/vt/x=4092&y=2723&zoom=4

Now to convert the URL into the format for Mapper

http://mt.google.com/vt/x=%d&y=$d&zoom=%d


The same approach can be used for the Satellite view.

An example using the same area

http://khm2.google.com/kh/v=46&x=409...z=13&s=Galileo

In this case, we would need the "v" param, the version, but the rest can go

http://khm.google.com/kh/v=46&x=4092&y=2723&z=13

Apply the same with the "zoom"

http://khm.google.com/kh/v=46&x=4092&y=2723&zoom=4

And convert to Mapper URL

http://khm.google.com/kh/v=46&x=%d&y=%d&zoom=%d


So after all that, as of now, here are the URLs

Google Street
http://mt.google.com/vt/x=%d&y=$d&zoom=%d

Google Satellite
http://khm.google.com/kh/v=46&x=%d&y=%d&zoom=%d


Hope that makes sense!
 

The Following 10 Users Say Thank You to scavmink For This Useful Post:
Posts: 4 | Thanked: 0 times | Joined on Nov 2009
#244
how do I use this repository to maemo mapper

http://khm0.google.com/kh/v=48&cooki...&z=17&s=Galile

http://map1.terra.com.br/modulos/0.2...=0&type=hybrid

wanted to know how to convert it for use in maemo mapper anyone know?
 
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#245
Originally Posted by Dudusat View Post
how do I use this repository to maemo mapper

http://khm0.google.com/kh/v=48&cooki...&z=17&s=Galile

http://map1.terra.com.br/modulos/0.2...=0&type=hybrid

wanted to know how to convert it for use in maemo mapper anyone know?
I think those aren't "repositories" but are just maps, no?

You should look through Fragos' tutorial for maemo-mapper.
__________________
.
. .

Help Save This Forum
for N8x0/Diablo Users! Register and Vote for Solution #1 on this Brainstorm. (The Solution will let you see New Posts with any threads you choose -- like the N900 and Maemo5/Fremantle threads -- filtered out.) (To understand the Solution better, see these posts #17, #18, and #19.)
 
Posts: 4 | Thanked: 0 times | Joined on Nov 2009
#246
Originally Posted by GeraldKo View Post
I think those aren't "repositories" but are just maps, no?

You should look through Fragos' tutorial for maemo-mapper.
wanted to find the repository of this map here in order to use the maemo because it's alright with me to the streets

http://mapas.terra.com.br/portal_terra/light/
thanks
 
Posts: 4 | Thanked: 0 times | Joined on Nov 2009
#247
??????????????????
 
Posts: 3 | Thanked: 10 times | Joined on Oct 2009 @ UK
#248
Originally Posted by Dudusat View Post
wanted to find the repository of this map here in order to use the maemo because it's alright with me to the streets

http://mapas.terra.com.br/portal_terra/light/
thanks
I had a look at the site, and the map is not generated in the way others are. It seems to use a simple X,Y coordinate based on the level of zoom, therefore there are less map tiles when you are zoomed out all the way, and thousands when zoomed in close.

I tried using the url format of the image tiles, and although it managed to download them in mapper, the map itself was offset by a large amount.

For example, I live in the UK, so my gps marker would give a good indication where I am in the world, and according to the terra map, my gps location was in the middle of the South Atlantic Ocean, halfway between South American and Africa!!!

Here is the URL format I managed to get
http://map1.terra.com.br/modulos/0.2...12&y=9&zoom=12

Converted to mapper
http://map1.terra.com.br/modulos/0.2...d&y=%d&zoom=%d

Feel free to try it for yourself, but as I said, the offset is "noticable"!

I wonder if there is a way of offsetting the map to fix this issue.

Hope this has been helpful
 
Posts: 4 | Thanked: 0 times | Joined on Nov 2009
#249
Originally Posted by scavmink View Post
I had a look at the site, and the map is not generated in the way others are. It seems to use a simple X,Y coordinate based on the level of zoom, therefore there are less map tiles when you are zoomed out all the way, and thousands when zoomed in close.

I tried using the url format of the image tiles, and although it managed to download them in mapper, the map itself was offset by a large amount.

For example, I live in the UK, so my gps marker would give a good indication where I am in the world, and according to the terra map, my gps location was in the middle of the South Atlantic Ocean, halfway between South American and Africa!!!

Here is the URL format I managed to get
http://map1.terra.com.br/modulos/0.2...12&y=9&zoom=12

Converted to mapper
http://map1.terra.com.br/modulos/0.2...d&y=%d&zoom=%d

Feel free to try it for yourself, but as I said, the offset is "noticable"!

I wonder if there is a way of offsetting the map to fix this issue.

Hope this has been helpful

It was very useful but I already used these maps tinah more they find the same silent lot more anyway thanks for everything

do not know why the google map does not fit in my city he is bent then I go out walking him checking out all wrong

Last edited by Dudusat; 2009-11-19 at 11:46.
 
Posts: 28 | Thanked: 9 times | Joined on Nov 2009
#250
Hi does anyone know a URL for Google satellite images. None listed here work.
Regards
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:42.