Download panoramas and metadata from Street View and others
Project description
streetlevel
streetlevel is a module for downloading panoramas and metadata from street-level imagery services including Google Street View and Apple Look Around.
Since it relies on calls to internal APIs, it may break unexpectedly.
Installation
pip install streetlevel
Example
Downloading the closest Street View panorama to a specific location:
from streetlevel import streetview
pano = streetview.find_panorama(46.8839586, 12.169002)
streetview.download_panorama(pano, f"{pano.id}.jpg")
Documentation
Documentation is available at streetlevel.readthedocs.io.
Functionality overview
✔ implemented / available; 🟡 partially implemented / available; ❌ not implemented; ⚫ not available / not applicable
Street View | Look Around | Streetside | Mapy.cz Panorama | |
---|---|---|---|---|
Finding panoramas How panoramas can be retrieved through the API. |
||||
Find panoramas around a point | ✔ (returns closest only) |
⚫ | ✔ | ✔ (returns closest only) |
Find panoramas by slippy map tile or bounding box | ✔ (tile, z=17) |
✔ (tile, z=17) |
✔ (bounding box) |
⚫ |
Get specific panorama by ID | ✔ | ⚫ | ✔ | ⚫ |
Imagery The type of imagery returned by the service. |
||||
Download panoramas | ✔ | ✔ (unstitched) |
✔ | ✔ |
Download depth information | ✔ (simplified) |
❌ | ⚫ | ⚫ (?) |
Image projection | Equirectangular | ??? | Cubemap | Equirectangular |
Image format | JPEG | HEIC | JPEG | JPEG |
Available metadata Metadata returned by the API of the service alongside ID and location. |
||||
Capture date | ✔ (month and year only for official coverage; full date for inofficial coverage) |
✔ | ✔ | ✔ |
Heading, pitch, roll | ✔ | 🟡 (only heading is implemented; inaccurate in some locations) |
✔ | ✔ |
Elevation | ⚫ | ❌ | ✔ | ✔ |
Nearby / linked panoramas | ✔ | ⚫ | ✔ (previous and next image in sequence) |
✔ |
Historical panoramas | ✔ | ⚫ | ⚫ | ✔ |
Address | ✔ | ⚫ | ⚫ | ⚫ |
Creator | ✔ | ⚫ | ⚫ | ✔ |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
streetlevel-0.4.0.tar.gz
(35.3 kB
view hashes)
Built Distribution
Close
Hashes for streetlevel-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1a5fc0dfa0680bca218c990ace2326d441bc5b7e7706325021d1f928fa6da58 |
|
MD5 | 9161401461c1e6806b08615fe8aa97c1 |
|
BLAKE2b-256 | 3cb6c79fa821fc219a689ec3d37be22ac82652fe46ba1978cea6dabcd987af35 |