![]() |
Re: Downloading Maemo Mapper maps on PC, is it possible?
Quote:
Quote:
It works. :D |
Re: Downloading Maemo Mapper maps on PC, is it possible?
Quote:
Not a biggie, just curious. TX |
Re: Downloading Maemo Mapper maps on PC, is it possible?
Nah, I hadn't noticed anything different.
|
Re: Downloading Maemo Mapper maps on PC, is it possible?
Hmm, and I messed up my earlier post. I forgot to rename GStreet.db back to GStreet so the command works (regardless of if you put the database file first or last in commands) with a fresh file. But without a file it still says.
Quote:
|
Re: Downloading Maemo Mapper maps on PC, is it possible?
If it's an older database, or was built with the previous version, then it's likely GDBM. I'd probably ask someone to include GDBM support in their script, but after the hell I went through trying to work with GDBM, I'm not gonna put anyone else through that. >.<
|
Re: Downloading Maemo Mapper maps on PC, is it possible?
This may be because "Double Pixels" was checked when the maps were downloaded.
An easy way to check this is to: 1. Determine what zoom level you are currently on. 2. Go to "Maps" > "Manage Maps" and select the "Zoom" tab. 3. Whatever Zoom level is checked automatically, should be the level that you manually download for your database. That is, if you are used to a Double Pixel view and you set up your Zoom Steps to skip every other level you may think you need to download levels 2, 4, 6, 8, 10, and 12 manually. Because Pixels are doubled, you really need to manually download levels 3, 5, 7, 9, 11, and 13. |
Re: Downloading Maemo Mapper maps on PC, is it possible?
Ok, I've been playing with this some and if you use the google URL, it works fine, but I prefer Virtual Earth maps, and yet when I put that URL in, it doesn't work. It's likely because of the formatting on the URL. Here's the Virtual Earth Street URL.
http://r0.ortho.tiles.virtualearth.n.../r%0s.png?g=45 Is there any way to get that to work with this script? Do I need to change the formatting of the URL or do I need to hack the script some? EDIT: Nevermind. I just checked the Google maps, and evidently this version 2.95 they're pushing just utterly blows away the old VEstreets maps! Geez, what a switch! I guess I'll go back to Google Maps for now and skip VEstreets for a while. lol. Man, what a difference 9 months makes! :o |
Re: Downloading Maemo Mapper maps on PC, is it possible?
Quote:
|
Re: Downloading Maemo Mapper maps on PC, is it possible?
Here's an idea for a much needed improvement. Multiple threads. Given the size of the files, I can easily do up to 20 download threads at the same time, so if there's a way to do more than one download thread at a time, that'd really speed up the work and get the db compilations done much quicker. Right now it's all sequential and that's making things slow. As I said, if it could be done in parallel, with up to 20 threads, that'd make downloading several gigs worth of maps a much quicker proposition.
And I know there's an easy way to do threading in Python. I just don't know offhand what it is, but I've seen other apps that use it. |
Re: Downloading Maemo Mapper maps on PC, is it possible?
Hey, I've been studying that script and I know how to make it do threading without actually doing threading. :) It's called building children. Here's how it works in principle. You start the program by doing the single line command like this:
./getmaps GStreet.db -children=20 -t 53.00000 -l -98.00000 -b 34.00000 -r -71.00000 -z 16 -z 14 -z 12 -z 10 -z 6 -z 8 -z 6 The -children=20 tells the script to do the build using 20 child processes. Leave that out, and the script goes into normal single process mode. But if you loaded it with the children option, it would in turn spawn child versions of the script where it calls a command line option to spawn another instance of itself instead of handling all the work itself. Thus the spawning command would be something like this: ./getmaps GStreet.db -child -range=1000-1500 -t 53.00000 -l -98.00000 -b 34.00000 -r -71.00000 -z 16 -z 14 -z 12 -z 10 -z 6 -z 8 -z 6 The -child option would tell the script that this is a child and to act accordingly. -range=xxx-xxx would tell it to only process map tiles 1000 through 1500 and then die. The script would then go to sleep after spawning all the processes and then wake up every so many seconds to see who was still alive. If any have exited, it spawns another process to replace it until all maps have been downloaded and the map file is built. That way the script could process as many as 20x's as many maps and on high speed connections with fast machines you could do as many as 100 child processes, thus allowing you to build a database in record time. :D That's just an idea for you to chew on. The choice is up to you. :) |
All times are GMT. The time now is 16:10. |
vBulletin® Version 3.8.8