Lurker News
We're Tom and Ryan and we teamed up to build an algorithm with Rust and SIMD to exhaustively search for the longest line of sight on the planet. We can confirm that a previously speculated view between Pik Dankova in Kyrgyzstan and the Hindu Kush in China is indeed the longest, at 530km.

We go into all the details at https://alltheviews.world
And there's an interactive map with over 1 billion longest lines, covering the whole world at https://map.alltheviews.world Just click on any point and it'll load its longest line of sight.
Some of you may remember Tom's post[1] from a few months ago about how to efficiently pack visibility tiles for computing the entire planet. Well now it's done. The compute run itself took 100s of AMD Turin cores, 100s of GBs of RAM, a few TBs of disk and 2 days of constant runtime on multiple machines.
If you are interested in the technical details, Ryan and I have written extensively about the algorithm and pipeline that got us here:
* Tom's blog post: https://tombh.co.uk/longest-line-of-sight
* Ryan's technical breakdown: https://ryan.berge.rs/posts/total-viewshed-algorithm
This was a labor of love and we hope it inspires you both technically and naturally, to get you out seeing some of these vast views for yourselves!
1. https://news.ycombinator.com/item?id=45485227

Comments (181) 49 threads

Earlier comments
keepamovin#
And yet all you have to do is look up to the stars and you can see millions, trillions of kilometeres away. Starlight straight line of sight in so many directions. Almost nothing in the way. Crazy.

This is cool tho. What about to an ocean point from a mountain? Was there anything longer?

12ian34#
this is very cool, but i want to see photos!
cozzyd1 reply#
I was wondering if this used a Gnomonic projection but the AEQD makes way more sense here (especially if defined in polar coordinates, as I imagine it must be? Then you only need to project the points you actually use?).

Any chance of writing a QGIS plugin with the algorithm?

tombh1 reply#
The AEQD projection radiates from the anchor right? Is that what you mean by polar coordinates? This was my first foray into optimising projections so if you have any insight I'd love to learn.

If you know anything about QGIS plugins please feel free to make a brief write up in our issues https://github.com/AllTheLines/viewview/issues

cozzyd#
I just mean that you only need it evaluated at the points along the azimuths you consider, but maybe that doesn't make sense computationally and it's faster to interpolate from a grid anyway.

I might create an issue after I conceptualize what it might look like more!

umpriel1 reply#
Claps!
ryanbberger#
Thanks umpriel for the PR, hope you're well!

Load more comments