尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Nearest Station Map: find the closest subway, rail, airport or bus station anywhere in the world, drawn as a Voronoi diagram over OpenStreetMap
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
Interactive map showing colored regions for transit stations worldwide. Each colored region represents the area closest to a particular station — hover anywhere to see which station you're nearest to and how far away it is.
The map uses Delaunay triangulation to connect all station points into a triangle mesh, then derives the Voronoi diagram — the dual structure where each cell contains all points closer to its station than to any other. The cells are filled as colored polygons on an HTML canvas overlay.查看完整 README ↗How far is my station?
Interactive map showing colored regions for transit stations worldwide. Each colored region represents the area closest to a particular station — hover anywhere to see which station you're nearest to and how far away it is.
Try it live: nearest-station.loessl.org
The map uses Delaunay triangulation to connect all station points into a triangle mesh, then derives the Voronoi diagram — the dual structure where each cell contains all points closer to its station than to any other. The cells are filled as colored polygons on an HTML canvas overlay.
The same Delaunay structure powers the floating station label: delaunay.find(x, y) locates the nearest station for any cursor position in roughly O(1) time by walking the triangulation, so there's no need to hover precisely on a station dot.
Station data comes from OpenStreetMap via the Overpass API. Subway, rail, and airport data is pre-fetched and served as static JSON files. Bus stops are queried live from the current viewport.
| Dataset | Stations | Source |
|---|---|---|
| Subways | ~18,000 | Static, pre-fetched |
| All rail | ~85,000 | Static, pre-fetched |
| Airports | ~46,000 | Static, pre-fetched |
| Buses | Varies | Live Overpass query |
./scripts/fetch-stations.fish
Downloads data from Overpass in 10-degree longitude strips (36 per mode) with retry logic. Skips already-downloaded strips on rerun. The normalization step (scripts/normalize.jq) deduplicates same-name stations within 500m.
There's a hidden developer mode. Try pressing c three times. Or add ?chris=1 to the URL.
index.html file