[Therion] Feature request - control over sort order for carto and copyright similar to explo and topo
Bruce Mutton
bruce at tomo.co.nz
Wed Nov 25 09:56:06 CET 2020
Stacho
Looks like it is counting scraps correctly. The following statements…
statistics carto all
statistics carto-count hide (or on or off)
… work perfectly.
One thing that does seem to be a problem however. The syntax…
statistics <explo/topo/carto/copyright> number
… is giving me problems. They all seem to result in what seems to be an untrapped error, and truncating the therion.log file in random locations.
For example this is what I have been trying…
statistics topo 10
statistics topo-length hide
I checked with the previous recent version, 552f923 and after removing all the carto-count statements, I get the same behaviour, an untrapped error. So I think the carto-count is working perfectly and I have just unearthed a different problem.
Have not yet tested statistics copyright-count. I presume it will be OK based on the success with carto-count.
Bruce
From: Therion <therion-bounces at speleo.sk> On Behalf Of Stacho Mudrak
Sent: Friday, 20 November 2020 09:19
To: List for Therion users <therion at speleo.sk>
Subject: Re: [Therion] Feature request - control over sort order for carto and copyright similar to explo and topo
Hi Bruce,
I have tried to implement your feature in the latest commit (it will take a while until win installer will be available), I was able to count by scraps - hope this is OK.
Could you please check, whether it works as expected?
S.
On Mon, 16 Nov 2020 at 09:48, Bruce Mutton <bruce at tomo.co.nz <mailto:bruce at tomo.co.nz> > wrote:
>From the Therion Book…
• statistics <explo/topo/carto/copyright all/off/number> or
• statistics <explo/topo-length on/hide/off> ▷ display some basic statistics; if set to off, team members are sorted alphabetically; otherwise according to their contribution to exploration and surveying (M, A; default: off)
…and explained a little more completely here <https://therion.speleo.sk/wiki/faq?s%5b%5d=statistics#why_do_peoples_names_sort_alphabetically_when_they_used_to_sort_by_length_of_cave_explored_and_surveyed>
ie
on = sorts by length and shows the length with each person’s name;
hide = sorts as above and does not show the lengths;
off = sorts alphabetically and does not show the lengths.
I have a feature request (unless we can already do this?).
We have the option of sorting exploration and survey team members by the length of the passage centrelines that they have contributed to.
Can we do a similar thing for scrap authors and copyrights?
ie
statistics <carto/copyright-count on/hide/off> where:
on = sorts by number of scraps and surveys by a particular author, or number of scraps and surveys by a particular copyright, respectively, and displays the numbers;
hide = sorts as above and does not show the numbers;
off = sorts alphabetically by surname and does not show the numbers.
This last setting matches the current behaviour for carto, and as I posted recently, the sort order for copyright seems to be unpredictable.
Why do I want this feature?
Because regularly I draw 98 scraps, and someone else will draw 2, and their name will be displayed in front because of the spelling of our names!
Bruce
_______________________________________________
Therion mailing list
Therion at speleo.sk <mailto:Therion at speleo.sk>
https://mailman.speleo.sk/listinfo/therion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20201125/b2d16fc0/attachment.htm>
More information about the Therion
mailing list