[Therion] Distance between two survey station
Benedikt Hallinger
beni at hallinger.org
Fri Sep 5 09:26:39 CEST 2025
Hi,
I once found a GPL2 library called "survex.py" from Thomas Holder.
Using that it is possible to find the shortest path (as you walk)
between two points.
Survex itself just shows the shortest path as the crow flies.
I made a convinience wrapper "shortestPath.py" for the task, call
example (linux):
$ ./shortestPath.py Hirlatzhoehle.Zubringer.1.1.0
Hirlatzhoehle.Alter_Teil.2.1.55
('Shortest route length:', 2214.546790435116, 'm')
('Cumulated height going upwards:', 354, 'm')
('Cumulated depth going downwards:', -196, 'm')
I hope its useful,
greetings, Beni
Am 2025-09-04 22:28, schrieb eric georges via Therion:
> Hello,
>
> I'd like to know if there's a method for calculating the distance
> between two survey station, and also for identifying the shortest
> path, or even for determining all possible paths.
> I think this should be possible using the .slq file.
>
> thanks
>
> Eric Georges
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: survex-shortest.tar.gz
Type: application/gzip
Size: 13875 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20250905/b4ac181c/attachment-0001.gz>
More information about the Therion
mailing list