All Projects → rrwen → google_streetview

rrwen / google_streetview

Licence: MIT license
A command line tool and module for Google Street View Image API

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to google streetview

SimpleCLI
Command Line Interface Library for Arduino
Stars: ✭ 197 (+155.84%)
Mutual labels:  command, line, interface
Simplecli
Command Line Interface Library for Arduino
Stars: ✭ 135 (+75.32%)
Mutual labels:  command, line, interface
arboles
Mapa de Arbolado Urbano
Stars: ✭ 13 (-83.12%)
Mutual labels:  map, location, city
Administrative Divisions Of China
中华人民共和国行政区划:省级(省份直辖市自治区)、 地级(城市)、 县级(区县)、 乡级(乡镇街道)、 村级(村委会居委会) ,中国省市区镇村二级三级四级五级联动地址数据。
Stars: ✭ 11,727 (+15129.87%)
Mutual labels:  address, city, street
Placepicker
Free Android Map Place Picker alternative using Geocoder instead of Google APIs
Stars: ✭ 126 (+63.64%)
Mutual labels:  map, location, address
pikaz-location
定位插件(限中国)
Stars: ✭ 78 (+1.3%)
Mutual labels:  location, city
iceaddr
Python package to look up information about Icelandic street addresses, postcodes and placenames
Stars: ✭ 21 (-72.73%)
Mutual labels:  address, street
zx-ip-address
Deprecated
Stars: ✭ 96 (+24.68%)
Mutual labels:  location, address
crab
JavaScript library for building user interfaces with Custom Elements, Shadow DOM and React like API
Stars: ✭ 22 (-71.43%)
Mutual labels:  interface, view
GoogleMap Demo
GoogleMap一些常用API总结库
Stars: ✭ 24 (-68.83%)
Mutual labels:  map, location
running-on-streetview
Virtual Running on Google Street View.
Stars: ✭ 20 (-74.03%)
Mutual labels:  map, streetview
administrative-divisions-of-China-on-Python
中华人民共和国行政区划爬虫,分为省级、地级、县级、乡级、村级,最多五级连动,可通过本项目自行爬取数据也可使用本项目在线接口直接调用。
Stars: ✭ 91 (+18.18%)
Mutual labels:  address, city
GeoLite2-City
GeoLite2-City.mmdb.gz CDN files based on Free Open Source CDN jsDelivr!
Stars: ✭ 170 (+120.78%)
Mutual labels:  location, city
Server
The whir.io chat server.
Stars: ✭ 15 (-80.52%)
Mutual labels:  command, interface
Maps
🌍🌏🌎 The whole world fits inside your cloud!
Stars: ✭ 253 (+228.57%)
Mutual labels:  map, location
L7
🌎 Large-scale WebGL-powered Geospatial Data Visualization analysis framework which relies on Mapbox GL or AMap to render basemaps.
Stars: ✭ 2,517 (+3168.83%)
Mutual labels:  map, line
s60-maps
Yet another maps for Symbian OS
Stars: ✭ 27 (-64.94%)
Mutual labels:  map, location
PSCityPickerView
城市选择器,可以选择国内所有的城市和地区
Stars: ✭ 47 (-38.96%)
Mutual labels:  address, city
gab-cmdline
A GABStudios Java library to help with command line parsing.
Stars: ✭ 12 (-84.42%)
Mutual labels:  command, line
FGRoute
Get your device ip address, router ip or wifi ssid
Stars: ✭ 128 (+66.23%)
Mutual labels:  address, route

google_streetview

Richard Wen
[email protected]

A command line tool and module for Google Street View Image API.

pypi version Build Status Coverage Status Stars GitHub license Donarbox Donate PayPal Donate Twitter

Note: Google changed StreetView API pricing and a billing plan may be required (checked March 5, 2019).

Install

  1. Install Python
  2. Install google_streetview via pip
pip install google_streetview

For the latest developer version, see Developer Install.

Usage

For help in the console:

google_streetview -h

Ensure that a Google API developer key is set:

google_streetview -s key="your_dev_key"

Search street view for latitude and longitude 46.414382,10.013988:

google_streetview "46.414382,10.013988"

Save images to a directory:

google_streetview --location="46.414382,10.013988" --save_downloads=downloads

Obtain a 360 panorama by rotating the camera heading given a 90 degree field of vision fov::

google_streetview --location="46.414382,10.013988" --fov=90 --heading=0;90;180;270

Use as a Python module:

# Import google_streetview for the api module
import google_streetview.api

# Define parameters for street view api
params = [{
	'size': '600x300', # max 640x640 pixels
	'location': '46.414382,10.013988',
	'heading': '151.78',
	'pitch': '-0.76',
	'key': 'your_dev_key'
}]

# Create a results object
results = google_streetview.api.results(params)

# Download images to directory 'downloads'
results.download_links('downloads')

For more usage details, see the Documentation.

Contributions

  1. Reports for issues and suggestions can be made using the issue submission
  2. Code contributions are submitted via pull requests

See CONTRIBUTING.rst for more details.

Implementation

The package google_streetview uses the following components:

Component Purpose
Google Street View Image API API for Google Street View images
google_streetview.api Module for interfacing with Google Street View Image API using requests
requests Download and get URLs from Google Street View Image API
  
  Google Street View Image API     <-- API for Street View Images
               |
      google_streetview.api        <-- URL Request with query string
               |
            request                <-- Download URLs and images

For more information, see NOTES.rst.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].