Download and merge Google Maps tiles
Branch: master
Clone or download
Nicolas Seriot
Latest commit e312359 May 10, 2013
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.markdown added reference to Swiss Topo tiles May 10, 2013
download_tiles.py first version Nov 17, 2011
gmap.png first version Nov 17, 2011
gmap_utils.py first version Nov 17, 2011
merge_tiles.py first version Nov 17, 2011

README.markdown

Download Google Maps tiles

Edit download_tiles.py to specify the area and the zoom level you want.

zoom = 15

lat_start, lon_start = 46.53, 6.6
lat_stop, lon_stop = 46.49, 6.7

satellite = True    # roads if false

You can easily find coordinates with http://itouchmap.com/latlong.html.

Then, run $ python download_tiles.py and get individual tiles:

...
15_16989_11588_s.jpg
15_16989_11589_s.jpg
15_16989_11590_s.jpg
...

Merge Google Maps tiles

Edit merge_tiles.py to specify the area and the zoom level you want, it's just the same as before.

zoom = 15

lat_start, lon_start = 46.53, 6.6
lat_stop, lon_stop = 46.49, 6.7

satellite = True    # roads if false

Then, run $ python merge_tiles.py and get map_s.jpg for satellite or map_r.png for roads.

Google Maps Tiles

Note: merging the tiles requires Python Image Library.

Swiss Topo Tiles

You can do the same with Swiss Topo maps: https://www.github.com/nst/swiss_topo_tiles.