manalang
-
05:17:50 pm on June 24, 2005 | # |
Over the past week, I’ve been spending some time learning Python. My real interest is in Jython, the Python interpreter for Java, but there’s no difference in language semantics so it’s just like learning Python. Earlier this week, I ran into the “Google Map Hack for Large Maps” in my del.icio.us/popular feed. This is a great way to build poster sized maps using Google’s map images. Noah Vawter, the original author of the hack wrote a Perl based script that downloads Google Maps’ tile images based on a location you feed then stitches them together to make a giant image. I decided to take his Perl script and rewrite it as a Jython script. It’ll actually work in Python with some minor modifications to the code. If you want to use this script, you’ll need Jython and ImageMagick. Noah’s Perl script relies on wget… my script uses Python’s urllib to grab the images and save them… so no need for wget. Enjoy!
Add New Comment
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Add New Comment
Trackbacks