streetlevel is a module for downloading panoramas and metadata from Google Street View, Bing Streetside and Mapy.cz Panorama.
Since it relies on internal / inofficial API calls, it may break unexpectedly.
pip install streetlevel
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")
✔ implemented / available; 🟡 partially implemented / available; ❌ not implemented; ⚫ not available / not applicable
Street View | 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) |
✔ (bounding box) |
⚫ |
Get specific panorama by ID | ✔ | ⚫ | ⚫ |
Imagery The type of imagery returned by the service. |
|||
Download panoramas | ✔ | ✔ | ✔ |
Download depth information | ✔ | ⚫ | ⚫ (?) |
Image projection | Equirectangular | Cubemap | Equirectangular |
Image format | JPEG | 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) |
✔ | ✔ |
Yaw/heading, pitch, roll | ✔ | ✔ | ✔ |
Elevation | ⚫ | ✔ | ✔ |
Nearby / linked panoramas | ✔ | ✔ (previous and next image in sequence) |
✔ |
Historical panoramas | ✔ | ⚫ | ✔ |
Address | ✔ | ⚫ | ⚫ |
Creator | ✔ | ⚫ | ✔ |
Documentation of all available functionality can be found in the doc
folder.