Notices


Reply
Thread Tools
Posts: 84 | Thanked: 6 times | Joined on Feb 2007 @ Noblesville, IN USA
#491
I have just installed Maemo Mapper 2.05 on my N800. I'm impressed with all the new features. Way to go, gnuite!

I have a question about the way maps are stored. For Google Street maps, all the maps seem to be stored in a single file called GStreet.db. Is there a fuller discussion somewhere about this database file? I would like to know how I can inspect it to see which maps it contains. Is this a sqlite database?

When I installed 2.05, I had to start fresh with downloading all my maps again. No complaint there but I wonder what the best strategy is for doing something like this. I basically want to have the entire US at a fairly zoomed out level and then certain regions at various zoomed in levels. I end up redownloading maps because of the overlap of what is seen on the display. I had the very same issue when I tried to perform this operation when map files were stored in various subdirectories. This is a very hit-and-miss way to do it. Maybe it would be better if we could stage the collection of maps on our desktop and then transfer everthing over to the n800. That's the approach that Garmin Mapsource uses.

Related to the downloading of maps, why is it that when I try to use my desktop (Linux/Firefox) to go
http://mt.google.com/mt?n=404&v=w2.9...d&y=%d&zoom=%d
I get "The requested URL /mt?n=404&v=w2.999&x=%25d&y=%25d&zoom=%25d was not found on this server." What's the trick for downloading maps from google on the desktop?
 
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#492
Originally Posted by rhackenb View Post
I have a question about the way maps are stored. For Google Street maps, all the maps seem to be stored in a single file called GStreet.db. Is there a fuller discussion somewhere about this database file? I would like to know how I can inspect it to see which maps it contains. Is this a sqlite database?
No, it's a GDBM database. There is information about GDBM scattered around the internet.

Originally Posted by rhackenb View Post
When I installed 2.05, I had to start fresh with downloading all my maps again. No complaint there but I wonder what the best strategy is for doing something like this. I basically want to have the entire US at a fairly zoomed out level and then certain regions at various zoomed in levels. I end up redownloading maps because of the overlap of what is seen on the display. I had the very same issue when I tried to perform this operation when map files were stored in various subdirectories. This is a very hit-and-miss way to do it. Maybe it would be better if we could stage the collection of maps on our desktop and then transfer everthing over to the n800. That's the approach that Garmin Mapsource uses.
As with v1.4.x, Maemo Mapper does not download maps that you already have, unless you explicitly enable the "Overwrite" option on the "Manage Maps" dialog. So, it's not really hit-and-miss. In fact, this is the way I cache maps onto my memory card.

Originally Posted by rhackenb View Post
Related to the downloading of maps, why is it that when I try to use my desktop (Linux/Firefox) to go
http://mt.google.com/mt?n=404&v=w2.9...d&y=%d&zoom=%d
I get "The requested URL /mt?n=404&v=w2.999&x=%25d&y=%25d&zoom=%25d was not found on this server." What's the trick for downloading maps from google on the desktop?
The "%d" strings are substituted by Maemo Mapper depending on the particular tile that you want to download (which depends on your latitude and longitude).
Substitude real integer values to get maps. Not all integer combinations are valid, though. For example, substituting x=4, y=2, and zoom=14 will give you a very high-level map this displays much of Europe.
 
Posts: 84 | Thanked: 6 times | Joined on Feb 2007 @ Noblesville, IN USA
#493
Originally Posted by gnuite View Post
The "%d" strings are substituted by Maemo Mapper depending on the particular tile that you want to download (which depends on your latitude and longitude).
Substitude real integer values to get maps. Not all integer combinations are valid, though. For example, substituting x=4, y=2, and zoom=14 will give you a very high-level map this displays much of Europe.
Thanks for the info. I'll look into GDBM. Is there a client for Maemo?

When I used the following url:
http://mt.google.com/mt?n=404&v=w2.9&x=4&y=2&zoom=14
I got the same error:

The requested URL /mt?n=404&v=w2.9&x=4&y=2&zoom=14 was not found on this server.

The problem doesn't seem like it's just with the numbers but it doesn't use the http;/ That's the problem I have been having all along. Is there url correct?
 
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#494
Originally Posted by rhackenb View Post
Thanks for the info. I'll look into GDBM. Is there a client for Maemo?

When I used the following url:
http://mt.google.com/mt?n=404&v=w2.9&x=4&y=2&zoom=14
I got the same error:

The requested URL /mt?n=404&v=w2.9&x=4&y=2&zoom=14 was not found on this server.

The problem doesn't seem like it's just with the numbers but it doesn't use the http;/ That's the problem I have been having all along. Is there url correct?
Ah, I see the problem. The original URL that you posted was the "abbreviated" version that Internet Tablet Talk displays when you try to paste a long URL. If you go to the Maemo Mapper Repositories thread, you'll see URLs with ellipses ("...") in them, but if you right-click (or tap-and-hold on your Nokia device) and select "Copy Link Location", then the entire URL will be copied to the clipboard. That is the URL with the %d's that you need to replace.

FYI, the only problem with the URL in your latest post was the "version number" ("v=w2.9"). w2.9 is a very old version number that Google Maps deprecated long ago. The current version is up to w2.61, but since it's always changing (and since this hack seems to work), I recommend using w2.999. Specifying a greater-than-the-current-maximum version forces Google to use the latest version, and it means you won't have to worry about updating the version number every time it's deprecated.
 
Posts: 84 | Thanked: 6 times | Joined on Feb 2007 @ Noblesville, IN USA
#495
I actually put in the url without the v=w2.9 and it got me a map. The v-w2.9 was the thing that was killing it. I then put in the following url as you suggested:
http://mt.google.com/mt?v=w2.999&x=4&y=2&zoom=14
and it worked fine. Maybe we don't even have to use the version parameter. Here it is without the version:
http://mt.google.com/mt?x=4&y=2&zoom=14

Thank you for taking the time to help with this. This whole issue with downloading these maps is somewhat mysterious and now I think I understand it. I wonder what other parameters can be used. I now can write some Perl code that will do my own bulk downloads to my desktop. I will try to write up a wiki on this. Not sure how to post it to the maemo wiki but I may post it to may own website. I may include the Perl code as well.

Thanks for all the help.

rhackenb
 
Posts: 28 | Thanked: 1 time | Joined on Aug 2007
#496
To find a destination you need to be on the internet to get the route?
 
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#497
Originally Posted by nightwing310 View Post
To find a destination you need to be on the internet to get the route?
Yes. Maemo Mapper doesn't have access to road information, because it is free and that data is generally expensive. It can be retrieved from an internet-based web service, however, which does have access to road information.
 
Posts: 38 | Thanked: 2 times | Joined on Sep 2007
#498
Have you seen new Google Terrain map? It would be cool to add it into repository.

Thanks, BTW. I love the app.
 
Posts: 3 | Thanked: 3 times | Joined on Nov 2007
#499
Originally Posted by dont View Post
I am interested in trying MM with nautical charts, has anyone done this?
I figured this out yesterday. I spent quite a bit of time messing with it, but ultimately, it's quite simple. As you said, you start with mapcruncher and the tiff of the chart. You recalibrate it and let map cruncher do its rendering into tiles. And then what you're left with are tile files in the same format/naming convention that Virtual Earth uses internally. So what's left to do is roll your own Virtual Earth style map repository, which can be done simply by dumping the tile files into a directory of a handy web server and creating a repository in Maemo Mapper. I have a web server running locally on a computer on my home network with an address of 192.168.0.9, and the tiles are in a web server directory called tiles, so the url looks like:

http://192.168.0.9/tiles

and the Maemo mapper repository url looks like:

http://192.158.0.9/tiles/%0s.png

Then I used the maemo mapper auto downloading to pull in the chart. Using another repository, I navigated to the chart area, then switched to my chart repository and scrolled around to bring in the chart.
 
Posts: 84 | Thanked: 6 times | Joined on Feb 2007 @ Noblesville, IN USA
#500
MarkW,
192.168.0.9 is an address within your home network and is not visible to the outside world. You may have that server visible from the outside but it will probably be an address assigned to you by your provide.
 
Reply


 
Forum Jump


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