Active Topics

 



Notices


Reply
Thread Tools
Posts: 33 | Thanked: 0 times | Joined on Dec 2006
#1
In the thread at
http://www.internettablettalk.com/fo...ad.php?p=18579
on version 1.0 there is a python script by Mischa Molhoek.

If you download it, open in a text editor and change 2.11 to 2.99 (same as you had to do for URIs in the program) it works in Google, for the time being anyway. I gave it a file extension of .py, but maybe it'll work without it.

I think you need Python >= 2.3 because it requires the optparse module. I have only tried this on Windows, Python 2.5 installed with extensions, but it works there.

The maps for the Netherlands described in Mischa's post downloaded just fine:

In Windows I opened a DOS box, and instead of using "./getmaps -t 53.820112 -l 3.087158 -b 50.233152 -r 7.69043 -z 3" I entered "$ python getmaps.py -t 53.820112 -l 3.087158 -b 50.233152 -r 7.69043 -z 3" and the proper map structure downloaded. Lots of maps here, maybe you'd want to try a smaller area, see below.

I preferred using a DOS window, because if you use pythonw.exe you don't get any feedback while it's downloading maps.

I'm guessing here, but the -t in Mischa's script is probably northernmost latitude, -b southernmost, -l westernmost longitude and -r easternmost. I found this site which I think should make it easy to get the values for these arguments:

http://www.satsig.net/maps/lat-long-finder.htm

What I'm thinking is, find the northernmost point for the region you want to map, zoom in, write down the latitude and use that for the "-t" argument, pan left as far as you want to map and use that longitude for "-l" (it's getting pretty obvious here, isn't it? I have to be walked through this kind of thing myself so that's okay, maybe), pan down and use the latitude for "-b", pan right and use the longitude for "-r".


p.s. thanks to Jay and Michele for all your help yesterday!

Regards,
burque
 
Reply


 
Forum Jump


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