World-wide ranking of geographic locations based on OpenStreetMap tile logs.
Updated weekly. Aggregated over the past 52 weeks to smoothen seasonal effects.
For any location on the planet, up to ~150m/z18 resolution.
Use from Python:
# pip install osmviews
import osmviews
# Fetch the GeoTIFF (~594 MB, updated weekly) from osmviews.DOWNLOAD_URL
# to a local file, then look up locations by (longitude, latitude):
with osmviews.open('osmviews.tiff') as o:
print(f'Tokyo, Shibuya: {o.rank(139.7013, 35.6586):.2f}')
print(f'Zürich, Altstetten: {o.rank( 8.4889, 47.3915):.2f}')
print(f'Ushuaia: {o.rank(-68.3030, -54.8019):.2f}')
print(f'Sahara: {o.rank( 13.0000, 23.0000):.2f}')
Tokyo, Shibuya: 0.69
Zürich, Altstetten: 0.66
Ushuaia: 0.56
Sahara: 0.00
Ranks range from 0.0 (never viewed) to 1.0 (most viewed). For high-throughput lookups, use the Rust client, which is considerably faster than the Python one.
Author: Sascha Brawer
Backend:
github.com/brawer/osmviews
Clients:
Python,
Rust
Download: Cloud-Optimized GeoTIFF
License: CC0-1.0 (data), MIT (code)