Algorithmically Finding the Longest Line of Sight on Earth

39 points by tombh


Hello, we're Tom and Ryan, Lobster regulars, that 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 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:

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!

briankung

Fantastic venture and poetic that the collaboration started here on lobste.rs. Did you account for the irregular curvature of the earth when calculating view sheds or was that built into the data somehow?

tsion

Thanks for posting, I was really looking forward to this! I clicked on my (very flat) hometown and it pointed to some distant hills I don't remember ever spotting on the horizon, so next time I'm there I'll have to see if conditions are good enough to see them. :)

pl

Really cool! Love exploring familiar areas through that, looking forward trying this out during a hike one day.

What's also pretty cool is for example checking out line of sight between the Greek island Crete and Gavdos, as a kid we'd travel across the island and were always surprised on the many different points one could still see Gavdos - I guess this would allow you to play that game even further and explore the most furthest away places.

Impressive work and truly wonderful to see the positive impact of lobste.rs on "What Are You Doing This Week" postings. Whilst it's to quite hard understand all of the write-up on a casual afternoon read, it's still great inspiration. Good job both of you on the entire project, including the impressive write-ups and illustrations.

In regards of the longest distance, here is a blog posting that shows an image of how that look like if one tries to take a picture that far (almost invisible).

Do you have an answer on the mirror problem yet?

nadim

Wow, nice! Has anyone ever taken a photo from up there? All I see in your links is maps.

rggr

That's especially interesting for ham radio enthusiasts.

patryk
Comment removed by author