So I finally wrote up something:
https://gist.github.com/hbeni/33b807659d8d3a8ff692193712abace0

It counts scraps per author, and individual objects of the scraps.
If a scrap is linked to more than one author, it counts toward all of them.
All th2 files are recursively read and processed.

Call with:
$ therion-statistics-scrapauthors.sh # evaluate from current directory $ therion-statistics-scrapauthors.sh ../survey # evaluate from that directory



Am 2025-03-06 21:00, schrieb Benedikt Hallinger via Therion:
Thank you… seems like counting -author in the scrap files is the way to go then… maybe its an idea to count objects in a scrap, to get a very raw estimate of „workload done“.

Am 06.03.2025 um 20:11 schrieb Bruce Mutton <[email protected]>:



But I need "drawed length", to see who contributet how much to the
maps drawings.

My understanding (from much forum watching rather than actual knowledge) is
that when Therion exports map(s) made of scraps (ie not with any maps
comprised of centrelines), then the length presented in the statistics is length of 'whole centrelines' associated with those scraps. Unfortunately
(perhaps) the finest resolution of the length calculation is on a 'per
centreline' basis (as opposed to 'per leg'). That means that the length reported will almost always overestimate the length that is directly 'under'
the 'footprint' of scraps exported.
So while yes, it is easiest to count the number of scraps authored by each person, it should also be possible to use a similar logic to report the length of whole centrelines beneath scraps drawn by each person. If there are many scrap authors per centreline, the statistic would be worthless due to double reporting of authors for each centreline, but if it is reasonable
to assume that mostly a scrap author will draw all the scraps for a
particular days survey, the double reporting will be minimised.
For surveys that contain only one centreline, the blurring of resolution probably make this a forlorn effort. May as well count scraps per person instead - this is a way of encouraging and rewarding what I consider to be
the good practice of drawing short scraps!
Bruce

_______________________________________________
Therion mailing list
[email protected]
https://mailman.speleo.sk/listinfo/therion
_______________________________________________
Therion mailing list
[email protected]
https://mailman.speleo.sk/listinfo/therion
_______________________________________________
Therion mailing list
[email protected]
https://mailman.speleo.sk/listinfo/therion

Reply via email to