/gmap_tiles

Download and merge Google Maps tiles

Primary LanguagePython

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 https://getlatlong.net/.

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.