isaychris / gpx-streetview-imager

Pull google streetview images along a given path

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gpx-streetview-imager

This python script will pull google street images along a given path specified by a .gpx file.

There are two versions of the script:

  • [street.py] = Pulls images along a given path at random angles.
  • [street2.py] = Pulls images along a given path at a fixed angle (Hyperlapse effect).

Image

The other folder contains scripts to rename image files and to remove invalid image files.

Prerequisites

Creating a path

Creating a path to use in the script is easy. Image

  1. Go to https://www.plotaroute.com/routeplanner
  2. Enter the location you want to take streetview images from.
  3. Change Auto Pilot to 'On Foot'.
  4. Enable Streetview Overlay.
  5. Create your desired route along the blue streetview paths. The number of points plotted is a good indiction of how many images the script will pull.
  6. Download and save as 'File type: GPX, File Format: GPX, GPX TYPE: Track'.

Running the script

  1. Put your .gpx file in the same directory as the script.
  2. Open the script and change the API_KEY, SAVE_PATH, and GPX_FILE variables.
  3. Run the script
python street.py

About

Pull google streetview images along a given path


Languages

Language:Python 100.0%