Last time I posted here, about an iPhone app that notices tunnels, the most common reply was some version of "nice, but I don't have an iPhone". LivingWithDragons and Domewey asked for a web version. abeorch asked whether the data could be open, and whether the app could send people back to OSM instead of just taking from it.
I've been chewing on that for a few weeks. Here's where it ended up:
https://findmetunnel.moonage.me/explore/
It's every tunnel, bridge, pass and metro line I've pulled out of OSM so far: 17,876 places in 47 countries, on one map. No account, no ads, no analytics, nothing to install. Type your town into the search and see what's around you.
Each place has its own page. My favourite part is the cross-section: the ground comes from Copernicus elevation data, the line from OSM, and you can drag along it to see how much rock is over your head at any point. Fair warning, the tunnel in those drawings is a straight line between the two portals, and the heights are stretched. The page says so under every drawing now, because r/cartography told me off for not saying it.
About the open data: it's done. All 126 region files are on GitHub under ODbL.
https://github.com/moreonmars/findmetunnel-data
About sending people back to OSM: every place page now ends with "Found a mistake?" and a link straight to that way or relation on openstreetmap.org. If a name is wrong or a tunnel is missing, the fix belongs in OSM, and then everybody gets it, not just me.
And here's where I could use your help. 2,242 of these places have no name. Most are rail tunnels, and I'm fairly sure a lot of them do have names that simply aren't tagged. If you recognise one near you, tunnel:name is the first thing I read.
A few honest notes before someone else brings them up:
Yes, Claude still helps me write the code. The data is the part that eats my evenings.
Nothing on the site queries an OSM server. I build everything from a Geofabrik extract on my own machine and serve it as plain files. The basemap is OpenFreeMap.
Opening years were embarrassing: OSM and Wikidata gave me a year for only one place in four. I filled in 424 from Norway's road registry and 82 from SBB's open tunnel data, both credited on the site.
It's far from finished. A link to a single place doesn't get its own preview yet. Metro lines are counted as whole lines, above-ground parts included. And I only take tunnels from about 150 m and bridges from 300 m, so your favourite little footbridge probably isn't there.
So: search for your town, and tell me what's wrong or missing. That would help me a lot.
Thank you again to everyone who maps tunnel:name. I mean it every time.