<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"><div class="gmail_default">Thanks a lot for the feedback Bruce, you are right - only copyrights from scraps are used for maps, not from the centerline.</div><div class="gmail_default"><br></div><div class="gmail_default">Definitely, this part of the code needs deeper refactoring, but unfortunately, I am leaving for a caving trip tomorrow, so I will not be able to work on it until next week.</div><div class="gmail_default"><br></div><div class="gmail_default">I have tried today to reproduce your untrapped error but without success. Could you please send me even a corrupted therion.log file, to have at least an idea, where these strange things happen?</div><div class="gmail_default"><br></div><div class="gmail_default">Thanks, S.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 25 Nov 2020 at 20:21, Bruce Mutton <<a href="mailto:bruce@tomo.co.nz">bruce@tomo.co.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-NZ" style="overflow-wrap: break-word;"><div class="gmail-m_-5333238675573495874WordSection1"><p class="MsoNormal">Stacho<u></u><u></u></p><p class="MsoNormal">My first two test runs of copyright counting and sorting appeared to go OK, as below.  However the third shows up an anomaly.<u></u><u></u></p><p class="MsoNormal">Adding a second copyright to one or two scraps results in that copyright counting as zero (0).<u></u><u></u></p><p class="MsoNormal">If I remove the first copyright from each of those scraps, leaving just the second, there is no change to either of the counts ie (32) and (0).<u></u><u></u></p><p class="MsoNormal">And then I make further changes as described below, and the output is sometimes updated, but other times not.<u></u><u></u></p><p class="MsoNormal">Part of this is consistent with me making a mistake in my testing, but it seems repeatable just now, and is perhaps consistent with one of the effects that I posted on 1 November, and copied below.<u></u><u></u></p><p class="MsoNormal">Authors (carto) are always counted correctly.  Copyright counting appears random and usually wrong.  I’m not sure there are actually 32 NZSS copyrights, but I guess that is something I should manually check.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I’ll reboot and try again tonight!<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Bruce<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">  statistics carto all         # all/off/number<u></u><u></u></p><p class="MsoNormal">  statistics carto-count on  # on/off/hide <u></u><u></u></p><p class="MsoNormal">  statistics copyright all     # all/off/number<u></u><u></u></p><p class="MsoNormal">  statistics copyright-count <span style="background:yellow">off</span>  # on/off/hide<u></u><u></u></p><p class="MsoNormal"><img width="393" height="65" style="width: 4.0972in; height: 0.6805in;" id="gmail-m_-5333238675573495874Picture_x0020_2" src="cid:1760113e9c95b16b22"><u></u><u></u></p><p class="MsoNormal">Copyright alpha-sorted. This is expected behaviour.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">  statistics carto all         # all/off/number <u></u><u></u></p><p class="MsoNormal">  statistics carto-count on  # on/off/hide<u></u><u></u></p><p class="MsoNormal">  statistics copyright all     # all/off/number<u></u><u></u></p><p class="MsoNormal">  statistics copyright-count <span style="background:yellow">hide</span>  # on/off/hide<u></u><u></u></p><p class="MsoNormal"><img width="390" height="64" style="width: 4.0625in; height: 0.6666in;" id="gmail-m_-5333238675573495874Picture_x0020_3" src="cid:1760113e9c9692e333"><u></u><u></u></p><p class="MsoNormal">Copy-right count-sorted and count hidden.  This is expected behaviour.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">  statistics carto all         # all/off/number<u></u><u></u></p><p class="MsoNormal">  statistics carto-count on  # on/off/hide<u></u><u></u></p><p class="MsoNormal">  statistics copyright all      # all/off/number <u></u><u></u></p><p class="MsoNormal">  statistics copyright-count <span style="background:yellow">on</span>  # on/off/hide<u></u><u></u></p><p class="MsoNormal"><img width="401" height="75" style="width: 4.1805in; height: 0.7847in;" id="gmail-m_-5333238675573495874Picture_x0020_1" src="cid:1760113e9c94cff311"><u></u><u></u></p><p class="MsoNormal">Copyright count-sorted and count shown, but note that:<u></u><u></u></p><p class="MsoNormal">- count of NSG is (0) regardless of whether there are 1 or 2 scraps with NSG and whether those scraps have only NSG or both NSG and NZSS set,<u></u><u></u></p><p class="MsoNormal">- count of NZSS is (32) regardless of whether copyright NZSS is removed and replaced with NSG for two of the scraps.<u></u><u></u></p><div style="border-top:none;border-right:none;border-left:none;border-bottom:1.5pt solid windowtext;padding:0cm 0cm 1pt"><p class="MsoNormal" style="border:none;padding:0cm"><u></u> <u></u></p><p class="MsoNormal" style="border:none;padding:0cm">…but after adding an author…<u></u><u></u></p><p class="MsoNormal" style="border:none;padding:0cm"><img width="384" height="62" style="width: 4in; height: 0.6458in;" id="gmail-m_-5333238675573495874Picture_x0020_8" src="cid:1760113e9c9855d354"><u></u><u></u></p><p class="MsoNormal" style="border:none;padding:0cm">… the authors are correctly listed<u></u><u></u></p><p class="MsoNormal" style="border:none;padding:0cm">… the NSG copyright-count is (1) when there are <b>two</b> NSG copyrights!<u></u><u></u></p><p class="MsoNormal" style="border:none;padding:0cm">… the NZSS copy-right-count is (32) when there should be two less, as I removed two of them!!<u></u><u></u></p><p class="MsoNormal" style="border:none;padding:0cm"><u></u> <u></u></p><p class="MsoNormal" style="border:none;padding:0cm">On removing an author…<u></u><u></u></p><p class="MsoNormal" style="border:none;padding:0cm"><img width="388" height="60" style="width: 4.0416in; height: 0.625in;" id="gmail-m_-5333238675573495874Picture_x0020_9" src="cid:1760113e9c920fef515"><u></u><u></u></p><p class="MsoNormal" style="border:none;padding:0cm">… the authors are still correctly listed, but<u></u><u></u></p><p class="MsoNormal" style="border:none;padding:0cm">… NSG copyright is still (1) when it should be (2)<u></u><u></u></p><p class="MsoNormal" style="border:none;padding:0cm">… NZSS copyright has reduced to (31) when it would seem it should be (30) <u></u><u></u></p><p class="MsoNormal" style="border:none;padding:0cm"><u></u> <u></u></p></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Therion <<a href="mailto:therion-bounces@speleo.sk" target="_blank">therion-bounces@speleo.sk</a>> <b>On Behalf Of </b>Bruce Mutton<br><b>Sent:</b> Sunday, 1 November 2020 15:48<br><b>To:</b> 'List for Therion users' <<a href="mailto:therion@speleo.sk" target="_blank">therion@speleo.sk</a>><br><b>Subject:</b> [Therion] copyright for survey centrelines not recognised<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">For many years I have been adding a copyright date and text string to each of my scraps and survey centrelines.<u></u><u></u></p><p class="MsoNormal">Always the same text string, and the date according to when the scrap and centreline was created.<u></u><u></u></p><p class="MsoNormal">Always with the same result – a statistic in the pdf export that includes the string and a date range.<u></u><u></u></p><p class="MsoNormal"><img width="174" height="30" style="width: 1.8125in; height: 0.3125in;" id="gmail-m_-5333238675573495874Picture_x0020_5" src="cid:1760113e9c921e06d26"><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Just now I broke with tradition, and added a new string to a centreline.  To my surprise the new copyright did not appear in the output.<u></u><u></u></p><p class="MsoNormal">After a little experimentation I have come to come tentative conclusions.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><ol style="margin-top:0cm" start="1" type="1"><li class="gmail-m_-5333238675573495874MsoListParagraph" style="margin-left:0cm">Copyrights added to survey centrelines are not added to the statistics in pdf exports that include only survey centrelines.<u></u><u></u></li><li class="gmail-m_-5333238675573495874MsoListParagraph" style="margin-left:0cm">Copyrights added to survey centrelines are not added to the statistics in pdf exports that include maps.<u></u><u></u></li><li class="gmail-m_-5333238675573495874MsoListParagraph" style="margin-left:0cm">Copyright strings (different to the majority) added to scraps in large projects may not be added to statistics in pdf exports.  In smaller projects they are however.<u></u><u></u></li><li class="gmail-m_-5333238675573495874MsoListParagraph" style="margin-left:0cm">Copyrights sorting in the pdf output is unpredictable.  <br>It is not according to spelling A to Z, but changing the spelling changes the output sorting.<br><img width="270" height="25" style="width: 2.8125in; height: 0.2638in;" id="gmail-m_-5333238675573495874Picture_x0020_6" src="cid:1760113e9c922c1e537"><br><img width="236" height="25" style="width: 2.4583in; height: 0.2638in;" id="gmail-m_-5333238675573495874Picture_x0020_7" src="cid:1760113e9c923a35d48"><br>It is not according to date, changing the date does not change the sort order.<br><img width="232" height="23" style="width: 2.4166in; height: 0.243in;" id="gmail-m_-5333238675573495874Picture_x0020_4" src="cid:1760113e9c925664d69"><br>In all these examples, there are a number of scraps with “NZSS” as the copyright string, and there is only one example of the other string (“NSG” or “<a href="http://caves.org.nz" target="_blank">caves.org.nz</a>” respectively.<br>So the sort order is also not related to the number of instances of the same string, because sometimes NZSS sorts first, and sometimes last.<u></u><u></u></li></ol><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Any one have insights or experience with this?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div>_______________________________________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk" target="_blank">Therion@speleo.sk</a><br>
<a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
</blockquote></div>