Skip to content

Python module to download 360 degree Panoramas from Google's Street View Platform

Notifications You must be signed in to change notification settings

Georspai/GoogleStreetView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

GoogleStreetView

Python module to download 360 degree Panoramas from Google's Street View Platform.

A Google Maps API Key is needed in order to use the module.

Search street view for closest panorama to latitude =13.18181649 and longitude =55.7087927 :
Creates an Object with the metadata of said Panorama

newPano=Panorama(latitude='13.18181649', longitude='55.70879272' ,api_key='my_key')

  • Latitude (.lat)
  • Longitude (.lng)
  • Google Maps API Key (.api_key)
  • Status
  • Panorama ID (.panoid)
  • Camera Latitude (.cam_lat)
  • Camera Longitude (.cam_lng)
  • Panorama (.img) (Empty at first)

To Download the Panorama:

newPano.download_panorama(zoom=4)

Zoom parameter goes from 0 to 5

To save the Panorama:

newPano.save(directory='Path_to_dir,fname='filename')

Example Output:

test panorama

About

Python module to download 360 degree Panoramas from Google's Street View Platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages