Re: [Therion] Get shortest route

2021-11-28 Thread Tarquin Wilton-Jones via Therion
> I implemented such functionality (not the visualization) a while ago
> as a little exercise in Python. If you know how to run a Python
> script, then you might find this useful.

Awesome!

I would love for that to be built in to Aven, so it could actually
highlight the route too (you know the problem, you give someone an inch
they ask for a mile).

It's something I have wanted when showing someone a survey in Aven;
"Show me the route I took". That is not always the shortest route, but
much like with Google Maps, it would use the shortest route between
control points.

Instead, I end up manually copying it into an image editor, and adding a
background along the route.

(This is kind of off topic for Therion of course, but actually, I would
love for Loch to have a lot of the features that I still rely on Aven
for, such as selecting stations and splays and measuring between them.
So I guess that would be needed first!)
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Export centerline and/or stations to SHP without th2 files

2021-11-28 Thread עמרי גסטר
Hi Stacho & Martin
I ran it with the new release, it world good now.
Thanks!

On Wed, Nov 24, 2021, 9:23 PM Martin Budaj  wrote:

> ‪On Thu, Nov 18, 2021 at 12:09 PM ‫עמרי גסטר‬‎  wrote:‬
> > When I try to export to SHP or kml I get empty layers because I don't
> use th2 files.
> > What I don't understand is why the centerline / splayes / stations
> layers are empty as well.
>
> Hi,
>
> there is a bug in the embedded shapefile library if it's used under
> Windows. The latest commit contains a local fix, so it should work
> well now.
>
> Martin
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Get shortest route

2021-11-28 Thread Thomas Holder
Hi Benedikt and Olly,

I implemented such functionality (not the visualization) a while ago
as a little exercise in Python. If you know how to run a Python
script, then you might find this useful.

First download this file:
https://raw.githubusercontent.com/speleo3/inkscape-speleo/master/extensions/survex.py

Then run this code (replace the file name and station names):

filename = "smk-arge.3d"
station_from = "p87"
station_to = "115.commando.105"

from survex import Survex3D
survey = Survex3D(filename)
length, p = survey.shortestpath(station_from, station_to)
upwards = sum(max(0, t.z - f.z) for (f, t) in zip(p[:-1], p[1:]))
downwards = sum(min(0, t.z - f.z) for (f, t) in zip(p[:-1], p[1:]))
print("Shortest route length:", length / 100, "m")
print("Cumulated height going upwards:", upwards / 100, "m")
print("Cumulated depth going downwards:", downwards / 100, "m")


Cheers,
  Thomas

On Sat, Nov 27, 2021 at 8:25 PM Olly Betts  wrote:
>
> On Fri, Nov 26, 2021 at 05:10:18PM +0100, Benedikt Hallinger wrote:
> > i would want to get some advanced statistics regarding lengths in a very 
> > big cave (130km/Hirlatz).
> >
> > Basicly i want to supply two stations and get the following data for the 
> > shortest path:
> > - length of shots
> > - cumulated height for shots going upwards
> > - cumulative depth for shots going downwards
> > - optionally it would be cool to be able to somehow visualize the route in 
> > aven/loch, or in a therion map output
> >
> > Is this possible already?
>
> I don't think so.
>
> Someone was working on it, but I guess it didn't come to anything as
> that was 2016:
>
> https://lists.survex.com/pipermail/survex/2016-October/002082.html
>
> Cheers,
> Olly
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Hiding cross-section symbols

2021-11-28 Thread Martin Sluka via Therion


> 28. 11. 2021 v 13:47, Bill Gee :
> 
> I like to use "-direction both" on my section lines.  Yes, I could put the 
> direction arrow on one end only, but that is not my work habit.

Anyway you may use this trick:



Both lines are group sections.

M.___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Hiding cross-section symbols

2021-11-28 Thread Bill Gee
A good idea that I had not thought of!  But it won't work for me.  I like to 
use "-direction both" on my section lines.  Yes, I could put the direction 
arrow on one end only, but that is not my work habit.

For others - an excellent idea.


Bill Gee


On Sunday, November 28, 2021 4:04:58 AM CST Martin Sluka via Therion wrote:
> line section could have more than one segment. Second (third, …) section you 
> may use instead of arrows.
> 
> Martin
> 
> > 27. 11. 2021 v 23:58, Bill Gee :
> > 
> > Placing a scrap near its section line is not always possible, so I use an 
> > arrow line to indicate which scrap belongs to which line.
> 
> 




___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


[Therion-cs] nový Therion 6.0.4

2021-11-28 Thread Therion via Therion-cs
Ahoj, dostupná je nová verzia 6.0.4 Therionu.
Prehľad zmien v angličtine: 
https://github.com/therion/therion/releases/tag/v6.0.4

S pozdravom,
Therion team
___
Therion-cs mailing list
Therion-cs@speleo.sk
https://mailman.speleo.sk/listinfo/therion-cs


[Therion] new Therion 6.0.4

2021-11-28 Thread Therion via Therion
Hi, there is a new release 6.0.4 of Therion.
Check https://github.com/therion/therion/releases/tag/v6.0.4 for more details.

Best regards,
Therion team
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Hiding cross-section symbols

2021-11-28 Thread Martin Sluka via Therion
line section could have more than one segment. Second (third, …) section you 
may use instead of arrows.

Martin

> 27. 11. 2021 v 23:58, Bill Gee :
> 
> Placing a scrap near its section line is not always possible, so I use an 
> arrow line to indicate which scrap belongs to which line.

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion