Skip to content

striter-no/gmaps-scrapping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

GMaps downloader

Please, use proxy in case of google-side ban for scrapping (but with provided UA no bans occurred for now, scrapped 10k+ images with TOR proxy)

Usage

usage: main.py [-h] --lat LAT --lon LON [--zoom ZOOM] [--rect RECT] [--dir DIR] [--path PATH] [--version VERSION]

options:
  -h, --help            show this help message and exit
  --lat, -t LAT         Latitude (coordinate of the point)
  --lon, -n LON         Longtitude (coordinate of the point)
  --zoom, -z ZOOM       Zoom (max 21)
  --rect, -r RECT       Rect size for the image
  --dir, -d DIR         Directory for storing tiles
  --path, -p PATH       Path for final image
  --version, -v VERSION
                        Version of the map

Examples:

python ./main.py -t 40.69203211540114 -n -73.97539405578557 -z 20 -r 100

Generates VERY big image of NYC with zoom 20, will use ~20GB of RAM and result will be ~4.5GB

python ./main.py -t 40.69203211540114 -n -73.97539405578557 -z 21 -r 10 

Generates small, high-quality image of a small zone

PROXY SETTINGS

Default is socks5://127.0.0.1:9050, change the address in first lines of the code if you need

About

Small project for downloading given area as satelite shots from google maps

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages