Streetscape helps to retrieve google street views in a city. This package uses Google's official streetview API only. So finding the locations of GSV is less efficient than utilizing unofficial/undocumented API such as http://cbk0.google.com/cbk.
Prerequistes:
- aiohttp
- geopandas
pip install streetscape
linux and macosx
export GSV_API_KEY=YOUR_GOOGLE_STREET_VIEW_API_KEY
windows
set GSV_API_KEY=YOUR_GOOGLE_STREET_VIEW_API_KEY
Steps:
- get street lines (osmnx, tiger)
- create 1D grid points along with street lines
- check whether gsv exists on each observation points and get panoID
- retrieve gsv images from each observation point
See the notebooke in the sample directory: https://github.com/yonghah/streetscape/blob/master/sample/example.ipynb