Skip to main content

mirrorworld

mirrorworld fetches data about a place from many sources with one consistent API: street-level imagery (Google Street View, Apple Look Around, Mapillary, KartaView, Panoramax and more), detected street assets, aerial and satellite imagery, elevation models, LiDAR point clouds, any OGC/ArcGIS map service and OpenStreetMap features. Everything is downloaded on demand for a point or bounding box; nothing is hosted by this project.

It is a fork of streetlevel by sk-zk, whose street-level providers use the services' internal APIs: no API keys are required for them, but they may break unexpectedly.

(Nearly) all functions are available as either a sync function using requests or an async function using aiohttp, requiring a ClientSession.

Installation

pip install mirrorworld
pip install "mirrorworld[all]"   # plus GeoTIFF (rasterio) and LiDAR (laspy) support

The extras can also be installed separately: mirrorworld[raster] for satellite, elevation and GeoTIFF output, mirrorworld[lidar] for point clouds.

macOS users may need to install additional dependencies:

brew install gettext
brew install inih

Example

Downloading the closest Google Street View panorama to a specific location, sync:

from mirrorworld import streetview

pano = streetview.find_panorama(46.883958, 12.169002)
streetview.download_panorama(pano, f"{pano.id}.jpg")

Or async:

from mirrorworld import streetview
from aiohttp import ClientSession

async with ClientSession() as session:
    pano = await streetview.find_panorama_async(46.883958, 12.169002, session)
    await streetview.download_panorama_async(pano, f"{pano.id}.jpg", session)

More modalities for a place

On top of streetlevel's providers, mirrorworld adds sources that researchers commonly need next to street-level panoramas. Everything is fetched on demand for a point or a bounding box (WGS84, lat/lon order) and nothing is hosted by us; results carry their georeferencing and source metadata. Sync and async variants are provided wherever the work is network-bound.

Modality Module Sources Coverage Key
Open street-level imagery mapillary, kartaview, panoramax Mapillary, KartaView, Panoramax (all CC BY-SA) worldwide, crowd-sourced: Mapillary dense in cities (incl. UK); KartaView and Panoramax patchy (Panoramax strongest in France) Mapillary: free token
Detected street assets mapillary (find_map_features, get_detections, get_point_cloud) Mapillary map features (poles, manholes, junction boxes, signs, ...), segmentations, SfM point clouds wherever Mapillary has imagery free token
Aerial imagery (web tiles) aerial.bing, aerial.google, aerial.esri, aerial.usgs Bing, Google, Esri World Imagery, USGS worldwide (USGS: US only) none
Dated aerial imagery aerial.wayback Esri World Imagery Wayback, 2014 onwards worldwide none
National orthophotos aerial.pdok Netherlands RGB + colour-infrared, 8 cm Netherlands none
Satellite satellite.sentinel2, sentinel1, landsat, naip, worldcover, generic satellite.stac Earth Search, Microsoft Planetary Computer worldwide (NAIP: US only) none
Elevation elevation.ea, elevation.wales, elevation.ahn, elevation.usgs3dep, elevation.copernicus Environment Agency LiDAR (1 m), Welsh Government LiDAR (1 m), AHN (0.5 m), USGS 3DEP, Copernicus GLO-30 England, Wales, Netherlands, US, worldwide (30 m) none
LiDAR point clouds lidar.usgs3dep, generic lidar.ept USGS 3DEP on AWS US (any EPT dataset elsewhere) none
Any map service services.wms, wmts, wcs, arcgis, raster.read_cog any OGC / ArcGIS server or cloud-optimized GeoTIFF depends on the service depends
Vector map data vector.osm OpenStreetMap via Overpass (ODbL) worldwide; tag completeness varies (UK street cabinets and poles are sparsely mapped) none
from mirrorworld import mapillary, panoramax
from mirrorworld.aerial import wayback, pdok
from mirrorworld.satellite import sentinel2
from mirrorworld.elevation import ahn
from mirrorworld.lidar import usgs3dep
from mirrorworld.vector import osm

poles = mapillary.find_map_features(47.68, -122.30, radius=150, values=["object--support--utility-pole"])
pics = panoramax.find_panoramas(51.5088, -0.127, radius=30)
versions = wayback.find_versions(47.6062, -122.3321)            # dated imagery versions at a place
pdok.download_raster(52.3736, 4.8915, 52.3728, 4.8932, "dam_cir.png", infrared=True)
s2 = sentinel2.get_raster(47.615, -122.345, 47.600, -122.325, bands=("red", "nir"))
heights = ahn.get_ndsm(52.3736, 4.8915, 52.3728, 4.8932)         # object heights above ground
las = usgs3dep.get_points(47.6068, -122.3340, 47.6058, -122.3325, resolution=1.0)
cabinets = osm.find_features(47.61, -122.34, 47.60, -122.33, {"man_made": "street_cabinet"})

Optional dependencies: pip install "mirrorworld[raster]" (rasterio: GeoTIFF/COG for satellite, elevation, WCS, ArcGIS) and pip install "mirrorworld[lidar]" (laspy with LAZ support). Mapillary reads its token from access_token= or MAPILLARY_ACCESS_TOKEN.

Each source keeps its own terms (listed in each module's docstring and the docs). Bing and Google tiles use unofficial endpoints; check their terms before relying on them.

Documentation

The API reference lives in docs/ (Sphinx: pip install -r docs/requirements.txt && make -C docs html). The original streetlevel documentation is at streetlevel.readthedocs.io.

Functionality overview

Services covering multiple countries are on the left; services covering one specific country are on the right.

✔ implemented / available; 🟡 partially implemented; ❌ not implemented; ⚫ not available / not applicable

Google
Street View
Apple
Look Around
Yandex
Panorama
Bing
Streetside
🇨🇳 Baidu
Panorama
🇰🇷 Kakao
Road View
🇰🇷 Naver
Street View
🇨🇿 Mapy.cz
Panorama
🇮🇸 Já
360

Finding panoramas
How panoramas can be retrieved through the API.
Find panoramas around a point ✔1 ⚫ ✔1 ✔ ✔1 ✔ ✔1 ✔1 ✔1
Find panoramas by map tile or bbox ✔2 ✔2 ⚫ ✔3 ⚫ ⚫ ⚫ ⚫ ⚫
Get specific panorama by ID ✔ ⚫ ✔ ✔ ✔ ✔ ✔ ✔ ✔

Imagery
The type of imagery returned by the service.
Panoramas ✔ ✔4 ✔ ✔ ✔ ✔ ✔ ✔ ✔
Depth ✔5 ❌ ⚫ ⚫ ❌?10 ✔ ✔14 ⚫
⚫
Image projection Equirectangular ??? Equirectangular Cubemap Equirectangular Equirectangular Equirectangular/Cubemap13 Equirectangular Cubemap
Image format JPEG HEIC JPEG JPEG JPEG JPEG JPEG JPEG JPEG

Available metadata
Metadata returned by the API of the service alongside ID and location.
Capture date ✔6 ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔9
Heading, pitch, roll ✔ ✔ ✔7 ✔ ✔ ✔7 ✔11 ✔ ✔7
Elevation ✔ ✔ ⚫ ✔ ✔ ⚫ ⚫12 ✔ ⚫
Nearby / linked panoramas ✔ ⚫ ✔ ✔8 ✔ ✔ ✔ ✔ ✔
Historical panoramas ✔ ⚫ ✔ ⚫ ✔ ✔ ✔ ✔ ⚫
Address ✔ ⚫ ✔ ⚫ ⚫ ✔ ✔ ⚫ ✔
PoIs ✔ ❌ ✔ ⚫ ⚫ ❌ ❌ ⚫ ⚫
Creator ✔ ⚫ ✔ ⚫ ✔ ⚫ ⚫ ✔ ⚫

1: Returns closest only
2: Tile, z=17
3: Bounding box
4: Unstitched
5: Appears to be a synthetic depth map created from elevation data and building footprints
6: Month and year only for official coverage, full date for inofficial coverage
7: Only heading; pitch/roll do not appear to be available
8: Previous and next image in sequence
9: Month and year only
10: There is a has_depth field in the raw metadata, but I've yet to find a panorama that actually has depth
11: Pitch/roll are only available for the new 3D imagery
12: Camera altitude is available, however
13: 3D imagery panos have both an equirectangular and a cubemap version; everything else is only available as cubemap
14: Non-3D imagery appears to use a synthetic depthmap created from elevation data and building footprints

Metadata

Release files for mirrorworld 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mirrorworld 0.1.0
File Size Uploaded Provenance Actions
mirrorworld-0.1.0.tar.gz 209.4 kB With provenance Details for mirrorworld-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mirrorworld 0.1.0
File Interpreter ABI Platform Actions
mirrorworld-0.1.0-py3-none-any.whl Python 3 none any Details for mirrorworld-0.1.0-py3-none-any.whl

Total release size: 412.8 kB

Release files / mirrorworld-0.1.0.tar.gz

Download URL mirrorworld-0.1.0.tar.gz
Size 209.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b1fe7f3c5a577d833371d879f5b8decd938a0050681b7f206e67dc20daa5dbb8
BLAKE2b-256 checksum
How to use checksums
b0c38b2038ef4a549bee80b2dd488bf642596fedc9bffb54d2cf861cba246fe6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / mirrorworld-0.1.0-py3-none-any.whl

Download URL mirrorworld-0.1.0-py3-none-any.whl
Size 203.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1fbcff3d1dc81da65369dd8b29b0095a865284ee858edc6c18c17d0cef70af29
BLAKE2b-256 checksum
How to use checksums
5f3f9372c0a2c10a7c6ae27ada6c8ae3db84627cb35383a0592723b005d59e3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Security for mirrorworld 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mirrorworld-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page