maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Maemo Mapper Repositories (https://talk.maemo.org/showthread.php?t=5209)

dozzie 2009-10-16 21:34

Re: Maemo Mapper Repositories
 
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?

Lord Raiden 2009-10-17 03:22

Re: Maemo Mapper Repositories
 
Yeah, I'm with Dozzie on that one. How are you guys figuring this out?

scavmink 2009-10-21 14:22

Re: Maemo Mapper Repositories
 
Quote:

Originally Posted by Lord Raiden (Post 349304)
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! :)

Dudusat 2009-11-15 17:13

Re: Maemo Mapper Repositories
 
how do I use this repository to maemo mapper :confused:

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?

GeraldKo 2009-11-15 18:24

Re: Maemo Mapper Repositories
 
Quote:

Originally Posted by Dudusat (Post 377124)
how do I use this repository to maemo mapper :confused:

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.

Dudusat 2009-11-15 20:16

Re: Maemo Mapper Repositories
 
Quote:

Originally Posted by GeraldKo (Post 377151)
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

Dudusat 2009-11-17 16:04

Re: Maemo Mapper Repositories
 
??????????????????:(:(

scavmink 2009-11-18 18:00

Re: Maemo Mapper Repositories
 
Quote:

Originally Posted by Dudusat (Post 377226)
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

Dudusat 2009-11-19 11:15

Re: Maemo Mapper Repositories
 
Quote:

Originally Posted by scavmink (Post 381045)
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

Engmex 2009-11-26 20:00

Re: Maemo Mapper Repositories
 
Hi does anyone know a URL for Google satellite images. None listed here work.
Regards

LES.. 2009-11-27 08:55

Re: Maemo Mapper Repositories
 
Quote:

Originally Posted by Engmex (Post 394448)
Hi does anyone know a URL for Google satellite images. None listed here work.

Give this a go:
Code:

http://khm.google.com/kh/v=49&x=%d&y=%d&zoom=%d
I have just tested it and it is working for me, please not that this is just the satellite imagery, it does not include an overlay of roads or labels.

Engmex 2009-12-01 03:46

Re: Maemo Mapper Repositories
 
Quote:

Originally Posted by LES.. (Post 395392)
Give this a go:
Code:

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

that's working thanks

romanianusa 2009-12-04 09:25

Re: Maemo Mapper Repositories
 
So when is this thing coming out?

lingenfr 2010-02-20 23:44

Re: Maemo Mapper Repositories
 
I installed maemo-mapper and downloaded the "sample" repositories however Google Street is the only one that does not work. Attempting to use it produces the following error:

Unable to create map database for reopository: Google Street

I can't find any obvious errors. I have googled and looked in what I thought were the obvious places, but can't find a solution. Does anyone know what to do to correct this? It looks like a useful app, but I would like to use Google Streets if possible. Once I've had a chance to use it for a trip I intend to donate. Thanks.

speedmartini 2010-02-21 00:01

Re: Maemo Mapper Repositories
 
Quote:

Originally Posted by lingenfr (Post 539074)
I installed maemo-mapper and downloaded the "sample" repositories however Google Street is the only one that does not work. Attempting to use it produces the following error:

Unable to create map database for reopository: Google Street

I can't find any obvious errors. I have googled and looked in what I thought were the obvious places, but can't find a solution. Does anyone know what to do to correct this? It looks like a useful app, but I would like to use Google Streets if possible. Once I've had a chance to use it for a trip I intend to donate. Thanks.

Hello!
Had this concern myself a couple weeks ago. Go back a little through this thread and you'll find directions to access the page / media info from Google maps that will show you the URL you need to then edit to Maemo Mapper specs. I did this and played with it a bit, and all my repositories are great now. Plus, you'll be able to update the URL easily if Google changes it again. Cheers,

lingenfr 2010-02-21 13:29

Re: Maemo Mapper Repositories
 
I read the thread before I posted this. In 26 pages of posts there are many about google. If you know of a particular one that is working for you for Google Streets, I would appreciate your identifying the actual post or just providing your information which is working. This appears to be the most recent post:

http://talk.maemo.org/showpost.php?p...&postcount=243

I tried the URL from this post and it does not work for me. I still get the same database error. I am not sure whether the URL is the problem, one of the other settings or just my machine.

speedmartini 2010-02-22 04:26

Re: Maemo Mapper Repositories
 
Here's the general area I'm looking at in google maps in firefox:

http://maps.google.com/?ie=UTF8&ll=4...,0.891953&z=11

Then tools/ page info/ media

A representative tile that gives us the repository URL (pick any really):

http://mt1.google.com/vt/lyrs=m@118&...718&z=11&s=Gal

You had the right post (#243) so we convert this to Maemo Mapper format and:

http://mt.google.com/vt/lyrs=m@118&x=%d&y=%d&zoom=%d

This is then entered into the Google Street URL in Manage Repositories and saved - enable auto download if off and it should work. The above is what I changed my repository URL to and it's been working without problem. With this process you can then update the repository info any time Google might change it. Another good idea is to create a MMaps folder on one of your media cards and change the Cache DB to point there as I hit over a GB in cached maps pretty quickly. Hope this helps,

mmlado 2010-02-22 07:57

Re: Maemo Mapper Repositories
 
Quote:

Originally Posted by lingenfr (Post 539074)
I installed maemo-mapper and downloaded the "sample" repositories however Google Street is the only one that does not work. Attempting to use it produces the following error:

Unable to create map database for reopository: Google Street

I can't find any obvious errors. I have googled and looked in what I thought were the obvious places, but can't find a solution. Does anyone know what to do to correct this? It looks like a useful app, but I would like to use Google Streets if possible. Once I've had a chance to use it for a trip I intend to donate. Thanks.

Problem with Google Street is in the resource it is getting the repositories from. Somewhere the separator for parameters is bad, so when it gets the data the url contains the Cache DB name at the end of the url.
Just edit the url and delete " Google Maps" from the end of it. Add Couch DB name, original is Google Maps.
Besides this I set the Download Zoom Steps to 2 and unchecked the "Double something" (can't see the end) besides it.
You'll also need to set the Downloadable Zooms (Mine is Min:4 Max: 20). This step is needed because all the settings are moved one up, because the separator for url, cache db is missing. So it takes the next setting for each of them after that.

rlpowell 2010-02-24 09:28

Re: Maemo Mapper Repositories
 
This looks like a great app, and I'm hoping to be able to make it work.

So having fixed all the problem just mentioned with the Google Street repository, I still can't "Manage Maps...". It tells me that I must set a valid database filename. I know it's correct, though, because I can see the directory under .maps taking up more space as I zoom in and out.

I have lots of other bugs and questions; where's the best place to discuss this app or report bugs?

-Robin

Alan_Peery 2010-02-24 10:20

Re: Maemo Mapper Repositories
 
Quote:

Originally Posted by lingenfr (Post 539074)
... the following error:

Unable to create map database for reopository: Google Street

Quote:

Originally Posted by speedmartini (Post 539084)
...the URL you need to then edit to Maemo Mapper specs. I did this and played with it a bit, and all my repositories are great now.

@SpeedMartini: Just to confirm, you were only changing the URL, and not the file path? If so, you've solved a puzzle for me, because I thought that error message was referring to the inability to create the file -- not an inability to connect to the maps file repository.

ossipena 2010-02-24 11:10

Re: Maemo Mapper Repositories
 
http://wiki.maemo.org/Maemo-mapper_topomaps

don't know if this is already here...

speedmartini 2010-02-24 11:21

Re: Maemo Mapper Repositories
 
Quote:

Originally Posted by Alan_Peery (Post 544012)
@SpeedMartini: Just to confirm, you were only changing the URL, and not the file path? If so, you've solved a puzzle for me, because I thought that error message was referring to the inability to create the file -- not an inability to connect to the maps file repository.

I changed both the URL and the cache file path. The URL to fix a problem, the cache to permit adequate storage space

I believe posts #254 and #256 to which I was replying only referred to an inability to connect to the repository - Oops - wrong, see next post...

The (Google Street) URL that worked for me is as post #257:

http://mt.google.com/vt/lyrs=m@118&x=%d&y=%d&zoom=%d

That goes in the "URL Format" line in the Google Street repository from "Manage Repositories"

This isn't an error with Maemo Mapper, as previously noted (I don't want to take credit for figuring this out), Google changed their URL's so we just needed to match that to connect to the repositories. This was the reason my maps "failed to download"

With the process as outlined, I was able to update all of my Mapper repositories to the current Google source repository.

I then changed my default cache file path from the internal memory to my external media card to allow for better storage. I did it through the "Browse" function of the Cache DB line after creating a MMaps folder.

The file path was then:

/media/mmc1/MMaps/GStreet

I used the same names for the higher level folder and Google Street maps as the program defaults

The best place for all things Maemo Mapper is:

http://fragostech.com/MaemoMapper/

Note I'm using an N800 with an external GPS so some of the 810 stuff doesn't apply to me. I've also never had any trouble with anything other than the repository URL so I haven't tried any of the troubleshooting or problem fixes outlined. I cannot speak to any other devices.

There's also a wiki for the program

Here's the garage page where bugs and whatnot are reported, though I don't know how active it is:

https://garage.maemo.org/projects/maemo-mapper/

Note the program was last updated for OS2008, so I have no idea how it'd work on the N900

I also have A-GPS installed (though I'm not sure if it has helped any, but it's supposed to). And I just installed City Guide which is neat too.

It really is a great program - Enjoy!

speedmartini 2010-02-24 11:30

Re: Maemo Mapper Repositories
 
Quote:

Originally Posted by Alan_Peery (Post 544012)
@SpeedMartini: Just to confirm, you were only changing the URL, and not the file path? If so, you've solved a puzzle for me, because I thought that error message was referring to the inability to create the file -- not an inability to connect to the maps file repository.

Hey - after re-reading everything I should clarify that lingenfr did have the "unable to create map database" error, but I wanted to give a good URL to eliminate that as requested, and also help anyone who couldn't connect to the repositories and might want to cache out on a media card.

That's a good catch Alan - Thanks!

ossipena 2010-02-24 11:36

Re: Maemo Mapper Repositories
 
i can confirm severe problems with maemo-mapper repositories. lets just hope a better version emerges soon.

spooley 2010-02-24 12:16

Re: Maemo Mapper Repositories
 
Quote:

Originally Posted by ossipena (Post 544136)
i can confirm severe problems with maemo-mapper repositories. lets just hope a better version emerges soon.

I don't see any evidence of anyone actively working on Maemo Mapper (particularly the N900 version), so I don't expect a better version to appear any time soon.

With the N900 version of Maemo-Mapper (sorry, can't give the version no. as the About... menu entry displays nothing), the default, OpenStreet map repository, worked well.

Download Sample Repositories... installed several working map repositories, but Google Maps (the one I particularly wanted) was broken. I deleted the installed repositories and re-created Google Maps (see below) and now have a setup, on my N900, with working OpenStreet and Google maps.

Changing between map repositories does not seem to automatically re-draw the current map with the new map, but zooming causes a redraw to the new map.

My working Manage Repositories settings are as follows:

OpenStreet
Code:

URL format=http://tile.openstreetmap.org/%0d/%d/%d.png
  Cache DB=OpenStreetMap
Download Zoom Steps=XX__    _ Double...
    View Zoom Steps=X___    X Next-a-...
Downloadable Zooms:Min=4  Max=20

Google Maps
Code:

URL format=http://mt.google.com/vt/x=%d&y=%d&zoom=%d
  Cache DB=Google Maps
Download Zoom Steps=XX__    _ Double...
    View Zoom Steps=X___    X Next-a-...
Downloadable Zooms:Min=4  Max=20

Simon.

lingenfr 2010-02-25 02:24

Re: Maemo Mapper Repositories
 
Quote:

Originally Posted by mmlado (Post 540683)
Problem with Google Street is in the resource it is getting the repositories from. Somewhere the separator for parameters is bad, so when it gets the data the url contains the Cache DB name at the end of the url.
Just edit the url and delete " Google Maps" from the end of it. Add Couch DB name, original is Google Maps.
Besides this I set the Download Zoom Steps to 2 and unchecked the "Double something" (can't see the end) besides it.
You'll also need to set the Downloadable Zooms (Mine is Min:4 Max: 20). This step is needed because all the settings are moved one up, because the separator for url, cache db is missing. So it takes the next setting for each of them after that.

I've tried the suggestions so far and still have the same error. It would be great if you could clarify this and just share the line and the settings that are working for you.

dylanemcgregor 2010-03-02 16:14

Re: Maemo Mapper Repositories
 
Apologies in that I've just skimmed this thread, but I'm trying to download some maps for a trip I'm taking tonight and am having trouble. I haven't used Maemo Mapper to download new maps in quite awhile (and never really got the hang of it in the first place), but from what I understand from this thread is that some of the URLs for the repositories have changed. This would explain why on Google Maps and VE I'm getting maps failed to download errors, but Open Street and Yahoo both still seem to work (in that I get no obvious errors) but I can't seem to download or view any maps (at any zoom level).

Would someone be able to walk me through downloading some maps for Barbados like I was 5?

Edit: I'm using an N800 if it matters.

shiroinazuma 2010-03-04 06:03

Re: Maemo Mapper Repositories
 
I'm just wondering if someone could be so kind as to tell if this web sites maps will work with Maemo Mapper. If yes could you tell me how to or convert to use with this program.

Thanks in Advance..

http://www.its-mo.com/map/mapeng.htm

http://www.e-map.ne.jp/pc/index.htm?...lv=10&icn=emap

yenice 2010-03-10 10:35

Re: Maemo Mapper Repositories
 
Thanks SpeedMartini, I solved my map download problem with your clear instructions :D.

I also (just started today ) use N800 with Holux M-1000 bluetooth GPS receiver.


Quote:

Originally Posted by speedmartini (Post 544098)

The (Google Street) URL that worked for me is as post #257:

http://mt.google.com/vt/lyrs=m@118&x=%d&y=%d&zoom=%d

That goes in the "URL Format" line in the Google Street repository from "Manage Repositories"

This isn't an error with Maemo Mapper, as previously noted (I don't want to take credit for figuring this out), Google changed their URL's so we just needed to match that to connect to the repositories. This was the reason my maps "failed to download"

.........
.........


The best place for all things Maemo Mapper is:

http://fragostech.com/MaemoMapper/

Note I'm using an N800 with an external GPS so some of the 810 stuff doesn't apply to me.

.......

Note the program was last updated for OS2008, so I have no idea how it'd work on the N900
........


rsl360 2010-03-13 04:25

Re: Maemo Mapper Repositories
 
Quote:

I'm just wondering if someone could be so kind as to tell if this web sites maps will work with Maemo Mapper. If yes could you tell me how to or convert to use with this program.
I don't have the answer, but I'll second your request. I've looked all over but I cannot find a good summary of how to convert various maps to the correct uri format. I know that %d, %0d, z/zoom and some other stuff is involved. I get the basic idea. I've read the source code to try to figure it out, but to no avail. (I'm not much with C) My goal is to get msrmaps.com into my N800.

Robbie

mad_nassos 2010-04-02 17:32

Re: Maemo Mapper Repositories
 
Quote:

Originally Posted by LES.. (Post 395392)
Give this a go:
Code:

http://khm.google.com/kh/v=49&x=%d&y=%d&zoom=%d
I have just tested it and it is working for me, please not that this is just the satellite imagery, it does not include an overlay of roads or labels.

For me this works but with a 58 instead of 49. :confused:

By the way, I found that by right clicking in google maps using Opera browser and checking "Image properties".
The guy who found this solution is the best!!


Can I ask something stupid? Couldn't we ask google to provide us the new URLs when they change?? :rolleyes:
We are very lucky that some people like LES spent their time to find the solution to this problem...
I'm still using the URL he gave one year ago (post 176) and I am afraid to try change it with something new.... :o

wartstew 2010-04-02 19:49

Re: Maemo Mapper Repositories
 
Does anyone know the current way to get Google Labels layer to work on their satellite and terrain maps?

wartstew 2010-04-10 04:04

Re: Maemo Mapper Repositories
 
Terraserver-usa stopped working. Did the website change and it is now msrmaps?

assetburned 2010-04-17 20:51

Re: Maemo Mapper Repositories
 
hmm I tried to add the Repositories from the first posting in here, but it looks like something went wrong.
except the RunwayFinder.com i can't use any of the sources I've tested.

are there maybe some other things then just adding the URLs, that I have to do?
is there maybe a full list of settings in a wiki?

skywalker_world 2010-04-19 05:50

Re: Maemo Mapper Repositories
 
Thanks Spooley, I have got my google map works!!!

Quote:

Originally Posted by spooley (Post 544214)
I don't see any evidence of anyone actively working on Maemo Mapper (particularly the N900 version), so I don't expect a better version to appear any time soon.

With the N900 version of Maemo-Mapper (sorry, can't give the version no. as the About... menu entry displays nothing), the default, OpenStreet map repository, worked well.

Download Sample Repositories... installed several working map repositories, but Google Maps (the one I particularly wanted) was broken. I deleted the installed repositories and re-created Google Maps (see below) and now have a setup, on my N900, with working OpenStreet and Google maps.

Changing between map repositories does not seem to automatically re-draw the current map with the new map, but zooming causes a redraw to the new map.

My working Manage Repositories settings are as follows:

OpenStreet
Code:

URL format=http://tile.openstreetmap.org/%0d/%d/%d.png
  Cache DB=OpenStreetMap
Download Zoom Steps=XX__    _ Double...
    View Zoom Steps=X___    X Next-a-...
Downloadable Zooms:Min=4  Max=20

Google Maps
Code:

URL format=http://mt.google.com/vt/x=%d&y=%d&zoom=%d
  Cache DB=Google Maps
Download Zoom Steps=XX__    _ Double...
    View Zoom Steps=X___    X Next-a-...
Downloadable Zooms:Min=4  Max=20

Simon.


munky261 2010-05-29 02:41

Re: Maemo Mapper Repositories
 
Why cant I download any repositories in maemo mapper? It's giving an error saying the web service may be down.....have never seen it do this in all the years Ive used it.

burbie 2010-05-29 13:24

Re: Maemo Mapper Repositories
 
Mapa Polski, UMP-pcPL, i.e. a decent open map of Poland
Free of charge, CC license

repo at http://tiles.ump.waw.pl/ump_tiles/%0d/%d/%d.png

I tested it with mapper 2.6.2 on a N800. It would be nice if someone could report usability with more recent hw/sw versions.

Cheers,
/burbie

tomaz 2010-06-13 08:08

Re: Maemo Mapper Repositories
 
hello ,

anyone has any idea how to look for url - tiles on this site or how to add in to repository?

http://www.geopedia.si/#T197_L4525_F55_s15_b4_vF

thank you for any hint ...

tomaz

foxdanger 2010-07-15 14:10

Re: Maemo Mapper Repositories
 
Google Maps (street)
http://mt.google.com/mt?x=%d&y=%d&zoom=%d

Google Maps (street) (alternative)
http://mt.google.com/mt?v=ap.999&x=%d&y=%d&zoom=%d



So, when google change this adress, how can i know (find) the new address for myself? How U know this address? How u guys find it?


Tnx

foxdanger 2010-07-19 03:16

Re: Maemo Mapper Repositories
 
No one knows how to find this adress????


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

vBulletin® Version 3.8.8