4 ms·
Oh that project is right up my alley, as I did the same! Back in 2021, for fun, I wrote an algorithm to find the longest sightline on earth. And I did find a pr
by mrb 1y ago
Oh that project is right up my alley, as I did the same! Back in 2021, for fun, I wrote an algorithm to find the longest sightline on earth. And I did find a previously undiscovered sightline.
My code was relatively unoptimized, it ran for 95 days on an 8-core 16-thread AMD Ryzen 5750G to crunch all the data. I have never published my code or results. I should really do it...
I downloaded a digital earth model of about 30 gigabytes from http://www.viewfinderpanoramas.org/Coverage%20map%20viewfinderpanoramas_org3.htm http://www.viewfinderpanoramas.org/Coverage%20map%20viewfind... which had a resolution of 3 seconds, so I had the elevation of each 90x90 meters "tile" of land. I wrote a simple algo in C that: finds potential viewpoints (mountain peaks or plateaus above a minimum ), calculates the longest sightline 360° around you, taking into account an atmospheric refraction coefficient (I used 0.13 which seems to be a default used by some panorama tools like https://www.udeuschle.de https://www.udeuschle.de). It's really basic trigonometry: look one tile ahead of you, and the next one, etc, until you find the one with the highest vertical angle of view. Stop one sightline exploration when reaching a certain maximum distance (750 km in my implementation) when it becomes mathematically impossible to find a visible tile beyond this distance. And I found the longest sightline:
In Kyrgyzstan from Pik Dankova (41.059167,77.683333) which is at 5977.5 meters (in my DEM data), you can see 538.1 km into China if you look toward bearing 169.7° (roughly south) as you see some distant minor peak at 36.295364,78.75593 which is 6444.0 meters high. However this sightline is already known. But it's only theoretical. No one ever encountered good enough atmospheric clear-sky conditions to observe it from Pik Dankova. Using the panorama tool maintained by this cool German guy, you can verify it: https://www.udeuschle.de/panoramas/panqueryfull.aspx?mode=newstandard&data=lon:77.684167$$$lat:41.059167$$$alt:auto$$$altcam:2$$$hialt:false$$$resolution:600$$$azimut:169.7$$$sweep:1$$$leftbound:169.2$$$rightbound:170.2$$$split:2$$$splitnr:1$$$tilt:-2.14166666666667$$$tiltsplit:false$$$elexagg:1$$$range:750$$$colorcoding:false$$$colorcodinglimit:493$$$title:Pik+Dankova$$$description:$$$email:$$$language:ge$$$screenwidth:2560$$$screenheight:1414 https://www.udeuschle.de/panoramas/panqueryfull.aspx?mode=ne...
However one notable finding my tool gave me was it discovered the second longest sightline that is competely unknown up until this day AFAIK:
In Colombia, from Pico Cristóbal Colón (10.838333,-73.687500) which is at 5668.5 meters (in my DEM data), you can see 502.6 km over the plains of the Caribbean region all the way to the Colombian Andes if you look toward bearing 206.2° (roughly south-south-west) as you see some distant peak at 6.777286,-75.692304 which is 3347.0 meters high. Here you can verify it here: https://www.udeuschle.de/panoramas/panqueryfull.aspx?mode=newstandard&data=lon:-73.6875$$$lat:10.838333$$$alt:auto$$$altcam:2$$$hialt:false$$$resolution:600$$$azimut:206.2$$$sweep:1$$$leftbound:205.7$$$rightbound:206.7$$$split:2$$$splitnr:1$$$tilt:-2.29166666666667$$$tiltsplit:false$$$elexagg:1.2$$$range:750$$$colorcoding:false$$$colorcodinglimit:502$$$title:Pico%20Crist%C3%B3bal%20Col%C3%B3n$$$description:$$$email:$$$language:ge$$$screenwidth:2304$$$screenheight:1440 https://www.udeuschle.de/panoramas/panqueryfull.aspx?mode=ne...
I am not sure if this Comlombian sighline has ever been observed.
As I said I should really publish my code and results. And at some point I would like to optimize it and re-run it using a higher-precision DEM with 30x30 meters tiles instead of 90x90 meters. I think there are a few 30-meter DEMs available but I need to find the highest-quality one.
- JR1427 1y agoThis is really cool - thanks for posting!
- tombh 1y agoWow, 95 days!! Who would have thought that Colombia had the second highest, I just assumed it'd be another part of the Himalayas. I'm the author of the post, I suppose there's a chance I might find something different if I'm literally calculating every single line of sight on the planet? As there's a chance that the longest line isn't from a peak or plateau? I'd love to geek out with you about your journey and thoughts if you're up for it?
- dmurray 1y ago> As there's a chance that the longest line isn't from a peak or plateau? Is there such a chance? I'm struggling to think what this could look like. If the furthest point you can see is in a bowl or a valley, why can't you see all the way to the far side of the valley? I think we can rule out topographic ridiculousness like a mountain with a hole in it that you can see through. OK, instead of a peak or a plateau, perhaps the longest line could be from a ridge in a saddle. So it's a peak when approached from one orientation (say north/south) but a trough when looking east-west. You can't see the higher ground to the east and west because it's hidden behind some other mountain.
- tombh 1y agoI wonder if this is related to the so-called coastline paradox? https://en.wikipedia.org/wiki/Coastline_paradox https://en.wikipedia.org/wiki/Coastline_paradox In other words, what is the criteria for filtering out good and bad elevation candidates? Does it help imagining this on a tennis ball? Let's say we make 2 pyramid-like blobs of plasticine and put them on opposing sides of the tennis ball. Now we slowly move them closer to each other until they can both just see other. Is it not possible to form the pyramids in such a way, that the first point of visibility is the pyramids' bases, and not their peaks? For me it comes down to the fact that although it might seem obvious what a peak is when you see one, I don't think there's any meaningful way to geographically define one. They're always just _locally_ higher points. BTW this is exactly why I wrote the post, it's a fairly unique problem, and I'm sure I've made some problematic assumptions.