Opened 4 years ago

Last modified 4 years ago

#115 new enhancement

cavern: show total length of splays

Reported by: Beni Owned by: Olly Betts
Priority: minor Milestone:
Component: cavern Version:
Keywords: Cc:

Description

Currently, cavern produces no info on the splay information. It would be good if cavern could output information about the total length of splay shots in the processed dataset, like:

n> total length of splay/duplicate shots = 726.21m

current output:

####################### cavern log file ########################

1> Survex 1.2.42

2> Copyright © 1990-2018 Olly Betts

3> Vermessung hat keine Festpunkte. 1 wurde als Nullpunkt (0,0,0) gewählt

4>

5> Vermessung enthält 6 Messpunkte, verbunden durch 5 Messstrecken.

6> Es gibt 0 Ringverbindungen.

7> Gesamtlänge der Messstrecken = 10037.00m (10037.00m ausgeglichen)

8> Gesamte Horizontallänge der Messstrecken = 10036.08m 9> Gesamte Vertikallänge der Messstrecken = 6.99m

10> Vertikale Erstreckung = 6.99m (von 2 auf 0.00m bis 5 auf -6.99m)

11> Nord-Süd-Erstreckung = 7073.93m (von 6 bei 7061.41m bis 5 bei -12.52m)

12> Ost-West-Erstreckung = 7077.20m (von 6 bei 7071.41m bis 5 bei -5.79m)

13> 3 1-Verzweigungspunkte.

Change History (6)

comment:1 Changed 4 years ago by Olly Betts

I tested and for me the total length shown does NOT include any of the sorts of splay legs:

olly@gemse:~/git/survex$ cat splaylength.svx 
*begin survey
*fix 1 0 0 0
1  2  1.00 000 00
2  .  10.00 090 00
2  .. 10.00 240 00
*begin
*flags splay
2  s  10.00 300 00
*end
*end survey
olly@gemse:~/git/survex$ cavern splaylength.svx
Survex 1.2.42
Copyright © 1990-2018 Olly Betts

Removing trailing traverses...

Concatenating traverses...

Simplifying network...

Calculating network...

Calculating traverses...

Calculating trailing traverses...

Calculating statistics...

Survey contains 5 survey stations, joined by 4 legs.
There are 0 loops.
Total length of survey legs =    1.00m (   1.00m adjusted)
Total plan length of survey legs =    1.00m
Total vertical length of survey legs =    0.00m
Vertical range = 0.00m (from survey.s at 0.00m to survey.s at 0.00m)
North-South range = 10.00m (from survey.s at 6.00m to anonymous station at -4.00m)
East-West range = 18.66m (from anonymous station at 10.00m to survey.s at -8.66m)
   4 1-nodes.
   1 4-node.
CPU time used  0.00s

Are you sure you're correctly flagging your splay legs?

If you think you are, can you provide an example to reproduce this?

comment:2 Changed 4 years ago by Beni

Hi Olly,

thats not the problem here; i ask for an enhancement of the log output:

Currently, cavern produces no info on the splay information. It would be good if cavern could output information about the total length of splay shots in the processed dataset, like: n> total length of splay/duplicate shots = 726.21m

aka show how much splay/duplicate is contained in the data. Maybe it is also a good idea to explicitely differentiate between the two: "n> total length of splay=123.45m and duplicate=32.21m (total=155.66m)"

comment:3 Changed 4 years ago by Olly Betts

Oh right, I was misled by your summary.

comment:4 Changed 4 years ago by Olly Betts

Summary: cavern: statistics on cave length should show length without splayscavern: show total length of splays

comment:5 Changed 4 years ago by Beni

sorry :(

comment:6 Changed 4 years ago by Olly Betts

I checked and we don't currently track this.

I wonder if it's better to do via aven so we don't end up tracking a zillion different things here - people might reasonably also want plan and vertical for splays and duplicates, and adjusted for duplicates (and maybe splays - you can make a loop containing legs explicitly flagged splay!) That would also provide a way to get these stats for a sub-survey too.

Note: See TracTickets for help on using tickets.