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
_whiteCaps_#
Oh, neat. I do an amateur radio challenge called SOTA where any peak with 150m prominence is a candidate. British Columbia has detailed LIDAR data so I figure it would be straightforward to do, I just don't know anything about GIS to make it happen. I'll have to browse the repo for some hints.
noosphr2 replies#
Since you have the data could you show how far you can see in every direction rather than the longest direction?
bartread#
This would be incredible - please add this!
tombh1 reply#
Yes, but, there's one small problem, storing this extra data for the whole world starts to run into the petabytes!
em-bee1 reply#
what if you put a limit on it? like only a dozen views per point, and only views that are at least 100km. or only do this for peaks or points of interest. or some combination like more views for higher peaks, less for lower ones.
tombh1 reply#
Ohh yes, nice ideas.

Continue this thread — 1 reply

tombh#
Oh wow, yes, very curious. I believe that is caused by the cleaning of the original NASA data by the creator of https://viewfinderpanoramas.org/dem3.html So whilst they improved the data, it still isn't perfect.

Ultimately we plan to mix in higher resolution data from different more recent surveys.

1970-01-013 replies#
There was a post here about 6 years ago for a site that calculated line of site for any two points on a map with both the max line of sight and 2D cross sectional view of the terrain difference between the two points. I haven't been able to find it since 2020, but it was awesome.
1970-01-01#
No, it used a much heavier JS interface and IIRC it also used Google Earth. That is a nice tool, thanks for sharing it.
sandos1 reply#
heywhatsthat?
1970-01-01#
I think that was it, thank you for finding it again!

Actually, I was thinking of https://caltopo.com/map.html but your site led me to it.

Load more comments