Skip to content
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.

nst/gmap_tiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Download and merge Google Maps tiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages